--- some tricks for macos
To exit Finder using cmd+Q use this command
defaults write com.apple.finder QuitMenuItem -bool YES && killall Finder
This won't remove it from dock though.
To Revert
--- some tricks for macos
To exit Finder using cmd+Q use this command
defaults write com.apple.finder QuitMenuItem -bool YES && killall Finder
This won't remove it from dock though.
To Revert
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; | |
| ; Opinion Lexicon: Positive | |
| ; | |
| ; This file contains a list of POSITIVE opinion words (or sentiment words). | |
| ; | |
| ; This file and the papers can all be downloaded from | |
| ; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html | |
| ; | |
| ; If you use this list, please cite one of the following two papers: |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; | |
| ; Opinion Lexicon: Negative | |
| ; | |
| ; This file contains a list of NEGATIVE opinion words (or sentiment words). | |
| ; | |
| ; This file and the papers can all be downloaded from | |
| ; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html | |
| ; | |
| ; If you use this list, please cite one of the following two papers: |
| /* ==UserStyle== | |
| @name Undistracted Youtube | |
| @namespace userstyles.world | |
| @version 0.0.5 | |
| @description Undistracted Youtube | |
| @author Abhinav K | |
| @preprocessor stylus | |
| @var checkbox checkbox-shorts "Hide Shorts" 1 |
| /** | |
| * StringUtil.ts | |
| * | |
| * A collection of utility functions for string manipulation. | |
| * | |
| * Attribution: Custom implementations inspired by common JavaScript practices. | |
| * | |
| * ## Contents: | |
| * - `trimWhitespace(str)`: Removes leading and trailing whitespace from a string. | |
| * - `toCamelCase(str)`: Converts a string to camelCase. |
| /** | |
| * CryptoUtil.ts | |
| * | |
| * A collection of utility functions for cryptographic operations using Node.js's built-in crypto module. | |
| * | |
| * Attribution: Utilizes Node.js's native crypto module for cryptographic operations. | |
| * | |
| * ## Contents: | |
| * - `sha256(message)`: Creates a SHA-256 hash of the input message. |
| /** | |
| * RandomUtil.ts | |
| * | |
| * A collection of utility functions for generating random data. | |
| * | |
| * Attribution: This file was inspired by various online resources and personal coding experience. | |
| * | |
| * ## Contents: | |
| * - `getRandomInt(min, max)`: Generates a random integer within a specified range. | |
| * - `getRandomFloat(min, max)`: Generates a random floating-point number within a specified range. |
| /** | |
| * XLSX Utilities | Abhinav Kulshreshtha | Unlicense | |
| * | |
| * A collection of utility functions for working with XLSX files in Node.js. These utilities facilitate common tasks such as converting row/column indices to cell addresses, extracting headers from sheets, and converting arrays of objects into worksheets. Feel free to use, modify, and distribute under the Unlicense. | |
| * | |
| * ## Contents: | |
| * - `rowIndexColToCellAddress`: Converts row and column indices to an Excel cell address in A1 notation. | |
| * - `cellAddressToIndices`: Convert Excel cell address (A1 Notation) to row and column indices | |
| * - `getHeaders`: Extracts headers from the first row of an Excel sheet. | |
| * - `objectsToArrayWorksheet`: Converts an array of objects into a worksheet. |
| /** | |
| * FileUtils Collection | Abhinav Kulshreshtha | Unlicense | |
| * | |
| * A collection of utility functions for file operations, including reading, writing, and checking file existence. | |
| * These functions are designed to simplify common tasks in Node.js applications. Feel free to use, modify, and distribute | |
| * under the Unlicense. | |
| * | |
| * ## Contents: | |
| * - `fileExists`: Checks if a file exists and creates the directory if it doesn't. | |
| * - `readJsonFromFile`: Reads JSON data from a file and returns it as a string. |
| #!/bin/bash | |
| # Ensure we're working on the latest version of the main branch | |
| git switch main | |
| git fetch | |
| git pull | |
| # Create a new branch | |
| git switch -c vitest |