(thick cream)
- 500g mascarpone
- 4 eggs
- 80g sugar
(the original one)
ls * | cat -n | while read i f; do mv "$f" `printf "%04d.${f#*.}" "$i"`; done | |
ls * | cat -n | while read i f; do mv "$f" `printf "$(basename $f .${f#*.})_%04d.${f#*.}" "$i"`; done | |
https://stackoverflow.com/a/45569550/302005 |
#!/bin/bash | |
set -e | |
current_dir=$PWD | |
die() { cd $current_dir; echo $* >&2; exit 1; } | |
if [ $# != 1 ]; then | |
die "Usage: $0 REPO_PATH" |
const deep_search = (obj, id) => { | |
if (obj) { | |
if (obj.constructor === Object) { | |
if (obj.id === id) { | |
return obj | |
} else { | |
const keys = Object.keys(obj) | |
for(let i = 0; i < keys.length; i++) { | |
let r = deep_search(obj[keys[i]], id) | |
if (r) return r |
require 'net/http' | |
require 'json' | |
require 'tty-progressbar' | |
SPECID_MAP = { | |
250 => 'Death Knight Blood', | |
251 => 'Death Knight Frost', | |
252 => 'Death Knight Unholy', | |
577 => 'Demon Hunter Havoc', |
iptables -A INPUT -p tcp --match multiport --dports 3000:6000 -s 127.0.0.1 -j ACCEPT | |
iptables -A INPUT -p tcp --match multiport --dports 3000:6000 -j DROP | |
# to remove this rules | |
iptables -D INPUT -p tcp --match multiport --dports 3000:6000 -s 127.0.0.1 -j ACCEPT | |
iptables -D INPUT -p tcp --match multiport --dports 3000:6000 -j DROP | |
# Use iptables-persist to make this rules persistant |
<html> | |
<head> | |
<style> | |
h1.megiston { | |
font-family: helvetica; | |
font-weight: normal; | |
font-size: 100px; | |
line-height: 80%; | |
} | |
h1.megiston span { |
jhead -autorot -nf%Y-%m-%d_%H-%M-%S *.jpg |
Ricetta per 36 muffin | |
* 375g di burro | |
* 800g di farina | |
* 400g di zucchero | |
* 400g di latte | |
* 300g di gocce di cioccolato | |
* 6 uova | |
* 2 bustine di vanillina | |
* 2 pizzichi di sale |
1000ml latte fresco intero | |
250ml panna liquida | |
200g zucchero | |
200g zucchero | |
100g farina | |
5 rossi uova |