Skip to content

Instantly share code, notes, and snippets.

@sygo
sygo / kali_aws_setup.sh
Last active September 25, 2017 01:34
lazy kali setup for AWS
!/usr/bin/bash
sudo -i
passwd
passwd ec2-user
### upgrade all things
apt-get update
apt-get -y upgrade
@sygo
sygo / bootstrap_fedora_23
Last active January 19, 2016 01:20
bootstrap_fedora_23
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
sudo dnf -y update
sudo dnf -y install vim
sudo dnf -y install gnome-tweak-tool
sudo dnf -y install vlc
sudo dnf -y install unzip
sudo dnf -y install gimp
sudo dnf -y install VirtualBox
####
# much insipiration (and down right copy-paste) from https://github.com/g0tmi1k/os-scripts/blob/master/kali.sh)
####
# Update all the things
apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
# ssh new keys
@sygo
sygo / workforme.sh
Last active August 29, 2015 14:17
fedora setup script
## essentials ##
yum -y install vim
yum -y install git
yum -y install rxvt-unicode
yum -y install i3
yum -y install i3status
yum -y install w3m
yum -y install mc
yum -y install htop
@sygo
sygo / kali_setup.sh
Last active November 16, 2016 18:39
quick script that sources all my relevant gists, installs essential tools and configures stuff to look prettier
# Update all the things
apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
# ssh new keys
rm /etc/ssh/ssh_host_* && dpkg-reconfigure openssh-server
# modules, gems & such
apt-get install python.xlwt
@sygo
sygo / .screenrc
Last active November 16, 2016 18:39
screenrc
# status
hardstatus alwayslastline '%{= M} %H%{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c '
hardstatus off
hardstatus alwayslastline
#scrollback goodness
defscrollback 5000
@sygo
sygo / keybase.md
Last active July 3, 2016 23:26
keybase.md

Keybase proof

I hereby claim:

  • I am sygo on github.
  • I am nuno (https://keybase.io/nuno) on keybase.
  • I have a public key whose fingerprint is 8F08 BF19 03B3 EFD0 0E19 6C5A 98DA AA47 AFD3 4F5B

To claim this, I am signing this object:

@sygo
sygo / le_prompt.zsh
Last active December 21, 2015 20:09
zsh prompt (Somewhat customized version of Aaron Toponce's awesome prompt) I find that have the two info lines of the prompt being the same color as regular text on the terminal makes the whole screen somewhat less readable, so I changed most of the prompt's text from white to dark gray (though the on the script it's identified and BRIGHT_BLACK)…
#Somewhat modified from the Aaron's original and awesome work --
# My ZSH prompt theme to match the 88_madcows.theme for Irssi
# Author: Aaron Toponce
# License: Public Domain
function precmd {
# let's get the current get branch that we are under
# ripped from /etc/bash_completion.d/git from the git devs
git_ps1 () {
@sygo
sygo / .zshrc
Last active December 21, 2015 20:09
This is really a variation of my old .bashrc, it calls for the prompt (you can find it under my gists as well) as an external script, you will also want at least zsh-syntax-highlight installed to have neat on-the fly...well...erm...syntax highlighting.
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify correctall
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '$HOME/.zshrc'
@sygo
sygo / earth.css
Created March 8, 2013 14:30
alternative css for the pinapple
.navbar {
top:10px;
min-width:80%;
background:khaki;
padding-left: 5px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
border-top-left-radius: 10px 10px;
border-top-right-radius: 10px 10px;