Skip to content

Instantly share code, notes, and snippets.

View dydFreeman's full-sized avatar

Riccardo Pancotti dydFreeman

View GitHub Profile
@myrtleTree33
myrtleTree33 / install-node-pi.sh
Last active March 8, 2024 22:37
Install Node JS in 30 seconds for Raspberry Pi / ARM
#!/bin/bash
## Check for versions compiled with ARM at http://nodejs.org/dist/
## Inspired by http://oskarhane.com/raspberry-pi-install-node-js-and-npm/
## Fill in the Node Version here:
##########################################################################
NODE_VERSION="v0.10.21"
@Faheetah
Faheetah / Jenkinsfile.groovy
Last active June 17, 2024 15:05
Jenkinsfile idiosynchrasies with escaping and quotes
node {
echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1'
echo 'No quotes, pipeline command in single quotes'
sh 'echo $BUILD_NUMBER' // 1
echo 'Double quotes are silently dropped'
sh 'echo "$BUILD_NUMBER"' // 1
echo 'Even escaped with a single backslash they are dropped'
sh 'echo \"$BUILD_NUMBER\"' // 1
echo 'Using two backslashes, the quotes are preserved'
sh 'echo \\"$BUILD_NUMBER\\"' // "1"
@bruno-brant
bruno-brant / privacy.css
Last active July 11, 2022 12:47
Whatsapp CSS Injection
/* SIDEBAR */
div[data-testid="cell-frame-container"]:not(:hover) {
/*#pane-side:not(:hover) img { */
filter: blur(6px);
}
div[data-testid="cell-frame-container"]:not(:hover) span {
font-size: 125%;
color: transparent;
text-shadow: 0 0 8px #FFF;