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
| // Java leak finder | |
| function scan(ps, msg, src) { | |
| var alertRisk = 3 | |
| var alertConfidence = 3 | |
| var alertTitle = 'Java leak - investigation required (script)' | |
| var alertDesc = 'Java leaks were found' | |
| var alertSolution = 'Investigate Java leaks found in the response, remove or mask as required' | |
| var cweId = 200 | |
| var wascId = 0 |
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
| javascript:location.hostname.includes("youtube.com")?location.assign("https://invidious.protokolla.fi"+location.pathname+location.search+location.hash):location.assign("https://invidious.protokolla.fi"); |
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
| #!/bin/sh | |
| #copy this file to /usr/local/bin/unzip | |
| /usr/bin/unzip "$@" | |
| sleep 0.2 |
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
| [Adblock Plus 2.0] | |
| ! Version: 1.0 | |
| ! Title: Block shorts in youtube subscription feed | |
| ! Expires: 30 days | |
| ! | |
| ! GLOBAL RULES | |
| ! | |
| www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer) | |
| www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer) | |
| www.youtube.com##ytd-browse #dismissible ytd-rich-grid-slim-media[is-short]:upward(ytd-rich-section-renderer) |
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
| export DOCKER_BUILDKIT=1 | |
| export LESSCHARSET=utf-8 | |
| export HISTCONTROL=ignoredups:erasedups | |
| shopt -s histappend | |
| export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" | |
| export PS1='$(whoami)@$(hostname):$(pwd) #' |
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
| #!/bin/bash | |
| set -e | |
| NAMESPACE=${NAMESPACE:-default} | |
| echo "************************************************************************************************************" | |
| echo "This screen session is for namespace \"${NAMESPACE}\" " | |
| echo "If you are not the owner of this namespace please exit now (Ctrl-C) , thanks :)" | |
| echo "If you want to use your own screen namespace, use: NAMESPACE=youname $0" |
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
| takeown /f D:\website\mysite /r /d y | |
| icacls D:\website\mysite /reset /t /c /l |
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
| takeown /f D:\website\mysite /r /d y | |
| icacls D:\website\mysite /reset /t /c /l |
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
| javascript: { (function () { document.cookie = "XDEBUG_TRIGGER=1" + "" + ";expires=Mon, 05 Jul 2099 00:00:00 GMT;path=/;Samesite=strict"; })(); console.log("Xdebug turned on"); }; | |
| ---- | |
| javascript: { (function () { document.cookie = "XDEBUG_TRIGGER=0" + "" + ";expires=Mon, 05 Jul 2000 00:00:00 GMT;path=/;Samesite=strict"; })(); console.log("Xdebug turned off"); }; |
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
| #!/bin/bash | |
| # Example: ./create_image.sh /mnt/raspios-$(date "+%Y%m%d").img | |
| #helper function | |
| log_message() | |
| { | |
| LOGPREFIX="[$(date '+%Y-%m-%d %H:%M:%S')][$(basename $0)]" | |
| MESSAGE=$1 | |
| echo "$LOGPREFIX $MESSAGE" |