This file contains 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
// ==UserScript== | |
// @name Hide Basketball Scores | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide scores from courtside1891.basketball | |
// @author You | |
// @match https://www.courtside1891.basketball/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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 | |
cd "$(dirname "$0")/pre-push.d" | |
for hook in *; do | |
bash $hook | |
RESULT=$? | |
if [ $RESULT != 0 ]; then | |
echo "pre-push.d/$hook returned non-zero: $RESULT, abort commit" | |
exit $RESULT |
This file contains 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
List list = new ArrayList(); | |
list.add("hello"); | |
list.add(123); | |
list.add(new object); |
This file contains 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 | |
remote=$1 | |
url=$2 | |
###extract host: | |
host=${url#*@} # chop off the beginning until the first '@' | |
host=${host%%:*} # chop off everything after the first ':' | |
###extract org: |