This file contains hidden or 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
# /etc/fstab: static file system information. | |
# | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
proc /proc proc nodev,noexec,nosuid 0 0 | |
#Entry for /dev/sda2 : | |
UUID=9985b8e0-c4d9-45b0-8ae5-5c2edf16186b / ext4 errors=remount-ro 0 1 | |
#Entry for /dev/sda5 : | |
UUID=70205578-8c03-42c9-9d7c-18c5755550ca none swap sw 0 0 |
This file contains hidden or 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 | |
# | |
# imgurdrop | |
# | |
# Watches a folder (/tmp/imgur) for new files and uploads any new files | |
# in folder to imgur. The imgur URL will then appear in your clipboard. | |
# | |
# Intended to be used as a daemon, via dtach, screen, or simply "imgurdrop &" | |
# | |
# Originally inspired by: |
This file contains hidden or 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
function relpath(){ python -c "import os.path; print os.path.relpath('$1','${2:-$PWD}')" ; } |
This file contains hidden or 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 | |
NET_DIR="//stevestv.local/portable" | |
TARGET_DIR="/media/wdtv" | |
SOURCE_DIR="/srv/wdtv/" #Include the trailing slash | |
# Exit upon errors | |
set -e | |
# Check if directory exists |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Monokai Soda</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Espresso Soda</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
This file contains hidden or 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
# Quick gist of how to generate and place authorized keys | |
ssh-keygen -t rsa | |
ssh [user]@[remote] mkdir -p ~/.ssh | |
cat ~/.ssh/id_rsa.pub | ssh [user]@[remote] 'cat >> ~/.ssh/authorized_keys' | |
ssh [user]@[remote] hostname |
This file contains hidden or 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
""" | |
Generic fabfile.py template for deploying to remote servers. | |
This fabfile is designed to be used as a template when working in environments | |
where the production server may not have access to the primary 'repository' or | |
'staging' server. For example, a small develop may lack a dedicated development | |
or staging server and lack a static-ip or permanent address. | |
Instead of the production server pulling changes from the remote machine, changes | |
are pushed to a bare repository on the server and checked out from there. |
This file contains hidden or 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 | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
This file contains hidden or 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
[global_config] | |
title_transmit_bg_color = "#4c4c4c" | |
title_inactive_fg_color = "#afafaf" | |
title_inactive_bg_color = "#2d2d2d" | |
[keybindings] | |
copy = <Primary>c | |
paste = <Primary>v | |
[profiles] | |
[[default]] | |
palette = "#000000:#f92672:#6cc72c:#fe9720:#5f91ef:#9358fe:#36af90:#8c8c8c:#4c4c4c:#ff80f4:#a7e22e:#ffee99:#5fd9ef:#ae82fe:#66efd5:#c7cece" |
OlderNewer