Ingredients
- 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)
#!/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'..." |
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") |
🚀 | |
★○• | |
¸. ¸☆ ☆ | |
° ○ ° ★ | |
☾ ★☆ ☾° | |
° ☆ ○ ° . • | |
○ ° ★☾ ☆ |
I hereby claim:
To claim this, I am signing this object:
has_package_changed=$(git diff --cached --quiet */package.json packages/*/package.json; echo $?) | |
if [ $has_package_changed = 1 ]; then | |
# do stuff | |
fi |
addTask({ | |
variables: { input }, | |
optimisticResponse: { | |
addTask: { | |
__typename: 'Task', | |
id, | |
...input | |
} | |
}, | |
update: (proxy: any, { data: { addTask } }: any) => { |
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` |
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) |