I hereby claim:
- I am onlydole on github.
- I am onlydole (https://keybase.io/onlydole) on keybase.
- I have a public key whose fingerprint is 7B49 13AE C30D 0E4A E5AD C0F0 CC6C 0DB3 E4A2 F92B
To claim this, I am signing this object:
| Plan: 1 to add, 0 to change, 0 to destroy. | |
| Do you want to perform these actions? | |
| Terraform will perform the actions described above. | |
| Only 'yes' will be accepted to approve. | |
| Enter a value: yes | |
| helm_release.datadog_agent: Creating... | 
| alias accio=wget | |
| alias avadaKedavra='rm -f' | |
| alias imperio=sudo | |
| alias priorIncantato='echo `history |tail -n2 |head -n1` | sed "s/[0-9]* //"' | |
| alias stupefy='sleep 5' | |
| alias wingardiumLeviosa=mv | |
| alias sonorus='set -v' | |
| alias quietus='set +v' | 
I hereby claim:
To claim this, I am signing this object:
| defmodule EmailValidator do | |
| # ensure that the email looks valid | |
| def validate_email(email) when is_binary(email) do | |
| case Regex.run(~r/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/, email) do | |
| nil -> | |
| {:error, "Invalid email"} | |
| [email] -> | |
| try do | |
| Regex.run(~r/(\w+)@([\w.]+)/, email) |> validate_email | 
| #!/bin/bash | |
| # | |
| # When you are working on your macbook sitting in cafe and you have to go pee, | |
| # you need some way to guard you machine. | |
| # | |
| # Start this script, remove any earphones, and go do the job. | |
| # The assumption is the thief will close the lid of the laptop before taking it away. | |
| # This script detects the closing of the lid and plays some loud audio that will | |
| # likely distract the thief and/or grab attention of nearby people, making the | 
| for bin in VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT VBoxHeadless; do | |
| sudo chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}" | |
| done | 
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get -y install linux-image-extra-$(uname -r) | |
| sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
| sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list" | |
| sudo apt-get update | |
| sudo apt-get -y install lxc-docker | 
| $.each($('.format-epub > a'), | |
| function( k, v ) { | |
| window.open(v.baseURI, '_blank'); | |
| } | |
| ) | 
| $.each($('a[title="download ePub"]'), | |
| function( k, v ) { | |
| window.open(v, '_blank'); | |
| } | |
| ) |