- 250g lentils
- 1 oinion
- 3 garlic cloves
- 1 fat tomatoe
- 3 tbsp. olive oil
- 1 tsp. of tomatoe paste
- 1.5 tsp. of poudered cumin
- 1 tsp. of poudered curcuma (or turmeric)
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
"city_code" | |
"A" | |
"AA" | |
"AB" | |
"ABG" | |
"ABI" | |
"AC" | |
"AE" | |
"AH" | |
"AIB" |
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 | |
if [ ! -z $1 ]; then | |
MATCHER=$1 | |
else | |
# Try to guess the project based on directory name | |
MATCHER=`pwd | sed 's/\/.*\///'` | |
fi | |
echo "Looking for web container named '$MATCHER'..." |
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
openssl req -x509 -out localhost.crt -keyout localhost.key \ | |
-newkey rsa:2048 -nodes -sha256 \ | |
-subj '/CN=localhost' -extensions EXT -config <( \ | |
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth") |
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
🚀 | |
★○• | |
¸. ¸☆ ☆ | |
° ○ ° ★ | |
☾ ★☆ ☾° | |
° ☆ ○ ° . • | |
○ ° ★☾ ☆ |
I hereby claim:
- I am ngryman on github.
- I am ngryman (https://keybase.io/ngryman) on keybase.
- I have a public key ASBd_NtgNSEMC6YmT6USKEd6kbAU4pf1_lxkPNrY2NVChQo
To claim this, I am signing this 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
has_package_changed=$(git diff --cached --quiet */package.json packages/*/package.json; echo $?) | |
if [ $has_package_changed = 1 ]; then | |
# do stuff | |
fi |
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
addTask({ | |
variables: { input }, | |
optimisticResponse: { | |
addTask: { | |
__typename: 'Task', | |
id, | |
...input | |
} | |
}, | |
update: (proxy: any, { data: { addTask } }: any) => { |
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
function createGif(width, height) { | |
const b64wh = btoa( | |
String.fromCharCode(width & 0xFF) + | |
String.fromCharCode(width >> 8 & 0xFF) + | |
String.fromCharCode(height & 0xFF) + | |
String.fromCharCode(height >> 8 & 0xFF) + | |
String.fromCharCode(0) + | |
String.fromCharCode(0) | |
) | |
return `R0lGODlh${b64wh}ACwAAAAAAQABAAAC` |
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
function createGif(width, height) { | |
const buffer = new ArrayBuffer(24) | |
const byteView = new Uint8Array(buffer) | |
// signature | |
byteView.set([ 71, 73, 70, 56, 57, 97 ], 0) | |
// size | |
byteView.set([width, width >> 8], 6) | |
byteView.set([height, height >> 8], 8) |
NewerOlder