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
// Tacit, Wrist mounted tactile feedback for the blind. | |
// By Steve Hoefer at Grathio Labs (http://grathio.com) | |
// Version 12.02.04 | |
// | |
// Copyright (c) 2012 Steve Hoefer | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
// associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
// and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
// subject to the following conditions: |
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
[Colors] | |
base_color=lightgray,green:normal=green,default:selected=white,gray:marked=yellow,default:markselect=yellow,gray:directory=blue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default |
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
startup_message off | |
vbell off | |
defscrollback 5000 | |
#change the hardstatus settings to give an window list at the bottom of the | |
#screen, with the time and date and with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%{r}%H %{g}][%= %{= kw}%?%-Lw%?%{+b m}(%{W}%n*%f%t%?(%u)%?%{m})%{-b w}%?%+Lw%?%?%= %{g}][%{g} %Y/%m/%d %{c}%c:%s %{g}]' | |
#change names and add screens as you wish |
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
# verbose git branch on bash PS1 | |
# get accompaning script with this command: | |
# curl https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git | |
if [ -f ~/.bash_git ]; then | |
source ~/.bash_git | |
export PS1='[\u@\h \W$(__git_ps1 ":%s")]\$ ' | |
fi |
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 | |
# Automagically config git with a proper set of settings. | |
# Update and uncomment the following lines to change your user. | |
#git config --global user.name="" | |
#git config --global user.email="" | |
git config --global core.editor vim | |
git config --global core.page more |
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
server { | |
listen 8080; | |
server_name localhost; | |
root /var/www/workshop/drupal; | |
index index.php; | |
access_log /var/www/workshop/access.log; | |
error_log /var/www/workshop/error.log; |
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
CREATE USER 'workshop'@'localhost' IDENTIFIED BY 'workshop'; | |
CREATE DATABASE workshop; | |
GRANT ALL PRIVILEGES ON workshop.* TO 'workshop'@'localhost'; |
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
var gulp = require('gulp'); | |
del = require('del'); | |
stripDebug = require('gulp-strip-debug'); | |
gulpIgnore = require('gulp-ignore'); | |
plumber = require('gulp-plumber'); //error handling | |
replace = require('gulp-replace'); //replace text | |
livereload = require('gulp-livereload'); // push css changes to browser | |
autoprefixer = require('gulp-autoprefixer'); // vendor-prefix css | |
sass = require('gulp-sass'); //libsass | |
sourcemaps = require('gulp-sourcemaps'); // sourcemaps for SASS->CSS |
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
# Set Ctrl-a as control instead of ctrl-b | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
# Nested Multiplexers | |
bind-key a send-prefix | |
# Switch to last window with two C-a | |
bind-key C-a last-window |
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
# An example configuration file for MPD | |
# See the mpd.conf man page for a more detailed description of each parameter. | |
# Files and directories ####################################################### | |
# | |
# This setting controls the top directory which MPD will search to discover the | |
# available audio files and add them to the daemon's online database. This | |
# setting defaults to the XDG directory, otherwise the music directory will be | |
# be disabled and audio files will only be accepted over ipc socket (using |
OlderNewer