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
| #!/usr/bin/env bash | |
| # ============================================================================= | |
| # check-axios-compromise.sh | |
| # Detects systems/projects affected by the axios npm supply chain attack | |
| # (axios@1.14.1 / axios@0.30.4 — published 2026-03-31, malicious versions | |
| # injecting plain-crypto-js@4.2.1 which drops a cross-platform RAT) | |
| # | |
| # Reference: https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan | |
| # | |
| # Usage: |
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
| #!/usr/bin/env bash | |
| # ============================================================================= | |
| # check_litellm_compromise.sh | |
| # Detects compromised litellm versions (1.82.7 & 1.82.8) across: | |
| # - System Python / pip / pyenv / conda / pipx / uv | |
| # - Malware persistence artifacts (sysmon backdoor, litellm_init.pth) | |
| # - [Optional] All venvs and PyPI modules under a given workspace directory | |
| # | |
| # Incident: TeamPCP supply-chain attack — March 24 2026 | |
| # |
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
| mysql> DROP DATABASE [dbName]; | |
| mysql> CREATE DATABASE [dbName]; | |
| mysql> USE [dbName]; | |
| mysql> SOURCE [pathToSQLDump]; |
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
| cat urls.txt | parallel 'x=`curl -I -s -o response.txt -w "%{http_code}" {}`; if [[ "$x" == "200" ]];then echo "{} OK";else echo "{} NOT OK";fi >> output.txt' |
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
| git clone <remote-url> --branch <branch-name> --depth 1 | |
| git config remote.origin.fetch | |
| git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" | |
| git remote update | |
| git fetch --unshallow | |
| or | |
| git fetch --depth 10 |
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
| function onOpen() { | |
| var ui = SpreadsheetApp.getUi(); | |
| checkAndAddTodayColumnForAllSheets(); | |
| ui.createMenu('Actions') | |
| .addItem('Add Today Column - All sheets', 'checkAndAddTodayColumnForAllSheets') | |
| .addItem('Delete Today Column - All sheets', 'deleteTodayColumnForAllSheets') | |
| .addItem('Add Today Column', 'checkAndAddTodayColumnForActiveSheet') | |
| .addItem('Delete Today Column', 'deleteTodayColumnForActiveSheet') | |
| .addToUi(); | |
| } |
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
| /var/lib/locales/supported.d/en | |
| en_HK.UTF-8 UTF-8 | |
| en_DK.UTF-8 UTF-8 | |
| en_IN UTF-8 | |
| en_ZM UTF-8 | |
| en_ZW.UTF-8 UTF-8 | |
| en_NZ.UTF-8 UTF-8 | |
| en_PH.UTF-8 UTF-8 | |
| en_NG UTF-8 |
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
| 1. Optimizing SSD: https://haydenjames.io/increase-performance-lifespan-ssds-sd-cards/ | |
| 2. If you have less RAM enable SWAP, else use tmpfs. | |
| 3. Save battery turning off all services using `systemctl` (from startup/init). | |
| 4. Use powertop command to find out which process taking power. | |
| 5. Use iotop -oPa to find disk usage. |
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
| sudo chmod a-x /usr/share/oneconf/oneconf-service | |
| sudo chmod a-x /usr/share/oneconf/oneconf-query | |
| sudo chmod a-x /usr/share/oneconf/oneconf-update |
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
| @JsonIgnoreProperties(ignoreUnknown = true) | |
| open class Comment { | |
| var user: User? = null | |
| var msg: String? = "" | |
| var date: String? = null | |
| var likeCount: Int = 0 | |
| var isDeleted: Boolean = false | |
| var isReported: Boolean = false | |
| constructor() |
NewerOlder