This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" The hell that is my vimrc | |
set nocompatible " be iMproved, required | |
filetype off " required | |
"powerline | |
"set rtp+=/home/pnappa/.local/lib/python3.5/site-packages/powerline/bindings/vim/ | |
"set laststatus=2 | |
" fzf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cut -d',' -f2 "top-1m.csv" | while read -r domain; do | |
nslookup "$domain" > /dev/null || echo "$domain" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
""" | |
This script will clone your repositories to a consistent directory hierarchy. | |
e.g the following will install the repo to ~/github.com/pnappa/xkcdfools | |
$ gitclono.py git@github.com:pnappa/xkcdfools.git | |
This is a nice way to organise your repositories, symlinking to them when necessary. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am pnappa on github. | |
* I am pnappa (https://keybase.io/pnappa) on keybase. | |
* I have a public key ASDs-jYv--4bMdTqrtowM0MLW7rdBDlqsfsfSVG_PUFzWgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _POSIX_C_SOURCE 200809 | |
#include <signal.h> | |
#include <stdatomic.h> | |
#include <unistd.h> | |
#include <threads.h> | |
#include <stdio.h> | |
#include <stdbool.h> | |
#include <poll.h> | |
#include <string.h> | |
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _POSIX_C_SOURCE 200809 | |
#include <signal.h> | |
#include <stdatomic.h> | |
#include <unistd.h> | |
#include <pthread.h> | |
#include <sys/prctl.h> | |
#include <assert.h> | |
#include <sys/wait.h> | |
#include <stdio.h> | |
#include <stdbool.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rough script to install docker-compose and setup ec2 user to use it. | |
# this is the pseudo-code equivalent of a shell script.. :) | |
# run stuff as root | |
# install docker and stuff and allow the ec2-user to run it | |
sudo yum install docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
sudo yum install -y git |
![baby.gif](https://gist.github.com/pnappa/fab64adc9b43e80817b2f23b2f16eebd/raw/a4f0e572b369b7f9b0164268f583b9fc43c5724c/baby.gif)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer