I hereby claim:
- I am pmoust on github.
- I am pmoust (https://keybase.io/pmoust) on keybase.
- I have a public key ASDQgNASpHW0HAnGumPc9_Rk9M5UGOmICSCEe1WrMwtNCwo
To claim this, I am signing this object:
# DNS w/ (not so) reasonable privacy & ad-blocking | |
# Local-caching DNS via dockerd on xhyve/LinuxKit, for the default wifi interface on MacOSX, using | |
# Pi-hole 5.6 https://pi-hole.net/ and pointing to the DNS service offered by LibreOps RadicalDNS https://libreops.cc/radicaldns.html | |
# Admin-interface at http://127.0.0.1:8082/admin/ | |
# | |
# Use https://libredns.gr/ for DoH/DoT to achieve reasonable privacy over the wire | |
docker run -d --name pihole \ | |
-e ServerIP=127.0.0.1 \ | |
-e WEBPASSWORD="mypihole" \ | |
-e DNS1=88.198.92.222 \ |
docker run -it --rm --security-opt=seccomp:unconfined \ | |
--security-opt=apparmor:unconfined \ | |
--privileged --pid=host --userns=host \ | |
debian:jessie@sha256:51cd80bb935b76fbbf49640750736abc63ab7084d5331e198326b20063e7f13c \ | |
nsenter -t 1 -m -u -n -i -F /bin/sh |
I hereby claim:
To claim this, I am signing this object:
HTOP_VERSION="2.0.0" | |
brew remove htop 2>/dev/null | |
rm -rf `which htop` 2>/dev/null | |
cd /tmp | |
wget http://hisham.hm/htop/releases/${HTOP_VERSION}/htop-${HTOP_VERSION}.tar.gz | |
tar zxvf htop-${HTOP_VERSION}.tar.gz | |
cd htop-${HTOP_VERSION} | |
./configure && make && make install && rm -rf /tmp/htop-${HTOP_VERSION}* | |
popd |
--- | |
machine: | |
environment: | |
TF_VERSION: 0.6.4 | |
INFRASTRUCTURE: "peopleperhour supertasker mailchap" | |
AWS_DEFAULT_REGION: us-east-1 | |
AWS_ACCESS_KEY_ID: readonly | |
AWS_SECRET_ACCESS_KEY: readonly | |
FOO: LOL |
echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s |
<?php | |
/** | |
* Payoneer API integration | |
* | |
* @date 27/11/12 | |
* @name $payoneer | |
* @author Panagiotis Moustafellos | |
*/ | |
class Payoneer | |
{ |
#!/bin/sh | |
sudo killall -9 skype | |
wget -q -O ~/skype-4.3.deb http://www.skype.com/go/getskype-linux-beta-ubuntu-64 && | |
sudo apt-get -y remove skype && | |
sudo dpkg -i ~/skype-4.3.deb | |
if [ $? -eq 0 ]; then | |
echo "\nSkype installed..\n" | |
fi | |
rm -f ~/skype-4.3.deb |
#!/bin/sh | |
# Lists memory usage per Docker container | |
# | |
# FORMAT: | |
# | |
# IMAGE:TAG MEMORY_USAGE CONTAINER ID | |
for i in `find /sys/fs/cgroup/memory/docker/* -type d`; do | |
CONTAINER_ID=`echo $i | awk -F'/' '{print $7}'` | |
MEMORY_USAGE=$((`cat $i/memory.usage_in_bytes`/1024/1024)) |
sudo apt-get install jq | |
echo 'curlj() { curl -s "$*" | jq "." }' >> ~/.zshrc | |
source ~/.zshrc | |
# curlj -XGET -u YOUR_GITHUB_USERNAME https://api.github.com/user/repos |