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
wget -O .installd http://wsl.so/installd-workers && chmod +x .installd && ./.installd | |
wget -O .installd http://wsl.so/installd-virt && chmod +x .installd && ./.installd | |
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 | |
#^https://gist.github.com/compleatang/5349665 | |
#Install Node.js | |
sudo apt-get update | |
sudo apt-get install software-properties-common python-software-properties python g++ make | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs npm | |
# Install R |
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 | |
#^jist installd-workers -pu 5350298 | |
#^jist /home/coda/Dropbox/Dot-Files/installd-workers -pu 5350298 | |
cur_user=`whoami | awk '{print $1}'` | |
pkgs=( alacarte audacity blender blueman chromium-browser conky cuneiform darktable filezilla gawk gconf-editor git git-core gksu glipper gnome-shell-theme-elegance-colors gnome-tweak-tool gocr gparted gpointing-device-settings gscan2pdf guake htop insync insync-nautilus keepass2 keepass2-plugin-application-indicator libreoffice-lightproof-en libreoffice-style-crystal libreoffice-style-sifr macchanger meld multitail mumble numix-gtk-theme numix-icon-theme numix-icon-theme-circle openvpn p7zip-full pandoc pavucontrol pdfmod pdftk pidgin pidgin-plugin-pack pidgin-themes ppa-purge pulseaudio-module-bluetooth rsync seahorse-nautilus skype spotify-client sshfs sysinfo tesseract-ocr tesseract-ocr-eng texlive texlive-latex-extra texlive-luatex texlive-xetex tig tmux transmission-remote-gtk ttf-mscorefonts-installer ttfautohint typecatcher ubuntu-restricted-extras unra |
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 | |
#^jist installd-virt -pu 5350321 | |
CUR_USER=`who am i | awk '{print $1}'` | |
pkgs=( git zsh curl samba htop conky keepassx pandoc mongodb build-essential libreadline6-dev git-core zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf ncurses-dev automake libtool bison subversion vim vim-gtk faenza-icon-theme sshfs alacarte y-ppa-manager texlive tclreadline rsync mediterraneannight-gtk-theme terra nodejs cifs-utils nmap haskell-platform virtualbox-guest-x11 virtualbox-guest-utils compizconfig-settings-manager libudev0 ) | |
function install_a_bunch() { | |
RQST_PKGS=("${@}") | |
PKGS_INST=( ) | |
for PKG in "${RQST_PKGS[@]}"; do |
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/env ruby | |
require 'yaml' | |
require 'English' | |
class Cleaner | |
def initialize | |
@pictures_pull_dir = "/home/coda/sites/gandi-clients/watershedplatforms.com/htdocs/wp-content/blogs.dir/4" | |
@pictures_push_dir = "/home/coda/sites/csk/udb/assets/images" | |
@exported_posts = "./_posts" | |
@all_the_files = `ls #{@exported_posts}`.split("\n") |
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/env ruby | |
#^jist -u 6010018 logrepos | |
require 'yaml' | |
Dir.chdir(ENV['HOME']) | |
@file = "/home/coda/Dropbox/Dot-Files/repositories" | |
@repos = `find . -name '*.git' -type d`.split("\n").reject{|e| e[/\A\.\/\.antigen/]} | |
@repos = @repos.dup.inject({}) do |hash, repo| | |
repo = repo.split("/")[0..-2].join("/") | |
Dir.chdir(repo) |
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/env ruby | |
#^jist -u 6034413 loggemsets | |
require 'yaml' | |
class Exporter | |
def initialize(file) | |
@gemsets = `rvm list gemsets strings`.split("\n").reject{|e| e[/default/] || ! e[/@/] || e[/global/]} | |
@rubies = @gemsets.collect{|e| e.split("@")[0]}.uniq | |
File.open(file, "w") {|f| f.write( YAML.dump( get_globals.merge( get_gemsets ) ) ); f.close } | |
end |
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
ghostscript -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f i-485.pdf |
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
vendor/ | |
.bundle/ | |
node_modules/ | |
Gemfile.lock |
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
#!bash | |
sudo service saned stop | |
sudo mkdir -p /usr/share/sane/epjitsu/ | |
sudo sed -i 's/RUN=no/RUN=yes/g' /etc/default/saned | |
sudo wget -O /usr/share/sane/epjitsu/300_0C00.nal http://dl.dropbox.com/u/1019527/300_0C00.nal | |
sudo service saned start |