I hereby claim:
- I am fuxy22 on github.
- I am fuxy (https://keybase.io/fuxy) on keybase.
- I have a public key ASCF7f-UT3w-Fw6WOs7NrpclJekRbde9OIEs6-NN3C7PWAo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import argparse | |
import time | |
from datetime import datetime | |
from pynput.mouse import Controller as MouseController | |
from pynput.keyboard import Key, Controller as KeyboardController | |
mouse = MouseController() | |
keyboard = KeyboardController() |
I hereby claim:
To claim this, I am signing this object:
# remove specified host from /etc/hosts | |
function removehost() { | |
if [[ "$1" ]] | |
then | |
HOSTNAME=$1 | |
if [ -n "$(grep $HOSTNAME /etc/hosts)" ] | |
then | |
echo "$HOSTNAME Found in your /etc/hosts, Removing now..."; | |
sudo sed -i".bak" "/$HOSTNAME/d" /etc/hosts |
image: php56 | |
cache: | |
paths: | |
- vendor/ | |
- node_modules/ | |
before_script: | |
- service mysql start | |
- service apache2 start |
[ | |
{ | |
"key": "320x200", | |
"name": "CGA", | |
"width": 320, | |
"height": 200 | |
}, | |
{ | |
"key": "320x240", | |
"name": "QVGA", |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/