Skip to content

Instantly share code, notes, and snippets.

View koesherbacon's full-sized avatar

Ev koesherbacon

View GitHub Profile
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
@koesherbacon
koesherbacon / debian-sid_main.list
Created January 19, 2016 18:52 — forked from Roboe/debian-sid_main.list
A collection of /etc/apt/sources.list (Spanish endpoints)
deb http://ftp.es.debian.org/debian/ unstable main
#deb-src http://ftp.es.debian.org/debian/ unstable main
@koesherbacon
koesherbacon / manjaro-install.sh
Created February 10, 2016 00:43 — forked from gabrielmoreira/manjaro-install.sh
Manjaro Install script
# Prepare pacman
sudo mkdir -p /root/.gnupg
sudo pacman-key --init && sudo pacman-key --populate archlinux manjaro && sudo pacman-key --refresh-keys
# Remove packages
sudo pacman -R empathy accerciser gnome-chess gnome-sudoku gnome-tetravex polari five-or-more four-in-a-row steam-native ipython hitori gnome-klotski steam quadrapassel gnome-nibbles aisleriot lightsoff gnome-mahjongg gnome-mines iagno gnome-robots tali swell-foop
# Upgrade all
sudo pacman -Syyu
@koesherbacon
koesherbacon / post_install.sh
Created February 10, 2016 00:45 — forked from gustafnk/post_install.sh
Post install for Manjaro XFCE Edition
####################################################
# Post install for Manjaro XFCE Edition
# Do not run this as a shell script
####################################################
## Install essentials
sudo pacman -S vim git curl
git config --global core.editor "vim"
## Install rvm (ruby)
@koesherbacon
koesherbacon / .zshrc
Created March 4, 2016 19:19
my .zshrc (might have to redo with equo instead of dnf)
## ZSH Theme
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="ev"
## Anytime a change is made to the .zsh plugins below, re-source zsh with this command:
# All sources at once command:
# source $ZSH/oh-my-zsh.sh ; source /home/ev/.oh-my-zsh/plugins/ev-aliases/ev-aliases.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/extract/extract.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/colorize/colorize.plugin.zsh ; clear
@koesherbacon
koesherbacon / ev.zsh-theme
Last active May 6, 2016 17:56
ev.zsh-theme
# ZSH ev.zsh-theme
# By: Ev <ev.bacon@gmail.com>
# I know the name of the theme is really lame, but whatevs.
# get it? WhatEVs?
# Wow, that was terrible. I'm so sorry.
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
PROMPT='%F{magenta}╔═◯ %B%F{magenta}%~%F%b
%F{magenta}╚═▷ $reset_color'
@koesherbacon
koesherbacon / ev-aliases.plugin.zsh
Last active May 6, 2016 18:35
my zsh aliases (need to redo with expo instead of dnf)
## Ev's Aliases
#### Remember to re-source zsh after making any changes with this commands:
#### source $ZSH/oh-my-zsh.sh ; source /home/ev/.oh-my-zsh/plugins/ev-aliases/ev-aliases.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/extract/extract.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/colorize/colorize.plugin.zsh ; source /home/ev/.oh-my-zsh/plugins/zsh-autosuggestions ; source /home/ev/.oh-my-zsh/plugins/zsh-completions/zsh-completions.plugin.zsh ; clear
#### These commands should also work, assuming ev-aliases have already been sourced before:
#### allsource
#### sourceall
####
@koesherbacon
koesherbacon / fish_prompt.fish
Created August 23, 2016 04:13
My Regular FISH Prompt
function fish_prompt
# Main
echo " "(set_color green)'❨'(set_color magenta)(prompt_pwd)(set_color green)'❩'(set_color yellow)' ❯'(set_color green)'❯'(set_color magenta)'❯ '
end
# screenshot available here: http://imgur.com/uzLsmhO
@koesherbacon
koesherbacon / fish_prompt.fish
Last active August 23, 2016 04:14
Fish ROOT Prompt I made because I was bored
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
echo ''
set_color red
echo '┏━━━━━━━━━━━━━━━━━━┓'
echo '┣━━━ FISH ROOT ━┳━┛'
if not test $last_status -eq 0