-- These queries can be used to verify schema migrations.
-- Get all enum types in specific schemas
SELECT n.nspname AS schema, t.typname AS enum_name
FROM pg_type t
JOIN pg_namespace n ON n.oid = t.typnamespace
WHERE t.typtype = 'e'
AND n.nspname IN ('schema1','schema2','schema3', 'public');
--- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; | |
| ; 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; | |
| ; 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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. |
NewerOlder