I hereby claim:
- I am mluis on github.
- I am mluis (https://keybase.io/mluis) on keybase.
- I have a public key ASDCdeoMxaYIDuuvjoiuD170KfADgkxNtqDFBVzfcQB3dgo
To claim this, I am signing this object:
All actions are performed in Terminal.app. | |
1. Install Homebrew http://brew.sh/ | |
2. Install Jack (route audio tool) http://jackaudio.org/. Current stable version from official website doesn't work with | |
MacOS Sierra (I use 10.12.3) so you need to download beta version from there https://yadi.sk/d/JwT10b7v3Dm5yy. | |
After installing reboot your computer. | |
3. Install Darkice (audio streamer) via brew. |
[Unit] | |
Description = Kodi Media Center | |
After = systemd-user-sessions.service network.target sound.target | |
[Service] | |
User = kodi | |
Group = kodi | |
Type = simple | |
ExecStart = /usr/bin/kodi-standalone | |
Restart = always |
Verifying my Blockstack ID is secured with the address 1AULu6c7NwWkYGatJQLf3CSBjncE3jPHBp https://explorer.blockstack.org/address/1AULu6c7NwWkYGatJQLf3CSBjncE3jPHBp |
import BaseHTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import sys | |
import base64 | |
key = "" | |
class AuthHandler(SimpleHTTPRequestHandler): | |
''' Main class to present webpages and authentication. ''' | |
def do_HEAD(self): |
I hereby claim:
To claim this, I am signing this object:
; a hand-made GIF containing valid JavaScript code | |
; abusing header to start a JavaScript comment | |
; inspired by Saumil Shah's Deadly Pixels presentation | |
; Ange Albertini, BSD Licence 2013 | |
; yamal gifjs.asm -o img.gif | |
WIDTH equ 10799 ; equivalent to 2f2a, which is '/*' in ASCII, thus starting an opening comment |
#!/usr/bin/env sh | |
# (run)$ ./Dockerfile-recovery.sh <IMAGE ID> | |
docker history --no-trunc "$1" | sed -n -e 's,.*/bin/sh -c #(nop) \(MAINTAINER .*[^ ]\) *0 B,\1,p' | head -1 | |
docker inspect --format='{{range $e := .Config.Env}} | |
ENV {{$e}} | |
{{end}}{{range $e,$v := .Config.ExposedPorts}} | |
EXPOSE {{$e}} |
let f = (...args) => args[0].filter(p => p.gender == "male" && p.age > 30 && p.age < 40) | |
/* | |
Example: | |
const ppl = [ {"name":"Dr David Darmanin","age": 31, "gender": "male"}, | |
{"name":"Diana De Jesus","age": 32, "gender": "female"}, | |
{"name":"Marc von Brockdorff ","age": 33, "gender": "male"}, | |
{"name":"Christian Nussbaumer ","age": 29, "gender": "male"}, | |
{"name":"Erik Näslund","age": 35, "gender": "male"}, | |
{"name":"Shira Harash","age": 41, "gender": "female"}, |