Notebook
Today I Learned
140 concise notes grouped by topic—the useful scraps that did not need a full article.
140 notes
Android 5
Angular 18
- Add a Window Resize event listener for a component
- Add dynamic css style properties
- Add SEO to an Angular App
- Apply two or more pipes
- Bind local method to Dom event listener
- Close Dialog from typescript
- Disable closing the dialog on clicking outside the dialog window in Angular
- Get query parameters
- Hide an element based on window size
- Pass data to routerLink
- Pretty print json object in template
- Safe template data binding with ngOnInit
- Select option with default value
- Send multipart form data with post request
- Specify port for ng serve
- Update Data Model from any component or service using @Input Decorator
- Use div contenteditable property with template model binding
- Using and importing custom font in Angular 5
C# 6
CSS 3
Docker 3
Facebook 1
Firebase 3
Git 16
- Add or link another git repository as a submodule
- Check if local git files are older than remote
- Clone without folder
- Delete local branch
- Delete remote branch
- Fixing Detached HEAD in a Git Submodule
- Fresh Start: Backing Up Main Branch and Creating Clean Main
- Git empty commits with --allow-empty
- Ignore local commits and pull repository from the remote branch
- Move commits to a new branch
- Pull A single file or a folder from another branch
- Pull changes from the master or other branch
- Remove staged files
- Revert Changes from Folder to Branch
- Revert the latest commit
- Undo git pull
GitHub 3
JavaScript 9
- Add an attribute to a json object using spread operator
- Document getElementById check if not null
- Filter a Javascript Array
- Get only unique values from a Javascript Array
- Local Storage
- Remove class name from element
- Remove element from DOM
- Replace everything in a string before a certain point using regex
- Trim/Remove first or last character in Javascript
Jekyll 1
Kubernetes 1
Nginx 1
Node.js 2
Other 6
PHP 5
Programming 1
Python 37
- Check if a string is a palindrome
- Check if list contains unique elements
- Check if string is numeric
- Combine or merge two pandas Dataframes using a index
- Convert dictionary values or keys to list
- Convert list to dictionary with indexes
- Convert list to string
- Delete key from dictionary
- Docstring for describing functions
- Enumerate list / get index in for loop
- For each loop with index
- Get a list of dictionary values
- Get json from a URL
- Get unique elements from a list
- Get unique elements from a list of lists
- infinity
- Iterate over dictionary key value pairs
- Iterate over nested lists
- Label plot lines in matplotlib
- Print object to string
- Python null object singleton
- Read json file to pandas Dataframe
- Remove word starting with a specific character
- Replace multiple terms from a string
- Replace URLs using Regex
- Reservoir sampling a list
- Reverse string
- Select columns from a pandas dataframe
- Set difference
- Set intersection
- Shallow copy a dictionary
- Shuffle list
- Sort dictionary by value
- Split dictionary into chunks
- String starts with a list of strings
- Strip non-alphabetical or non-alphanumeric characters in a string
- Trim strings in Python
Security 1
SQL 5
SSH 8
- Executing remote commands with SSH
- File transfers using scp with remote locations
- Fix REMOTE HOST IDENTIFICATION HAS CHANGED warning with ssh-keygen -R
- SSH connection basics: password, keys, and parameters
- SSH connection without welcome message or banner
- Using rsync for file transfers
- Using scp for file transfers
- Using SSH agent to manage keys
TypeScript 1
Vue.js 4
No notes match that filter.