Skip to content

Instantly share code, notes, and snippets.

View program247365's full-sized avatar
💭
YOLO 💯

Kevin Ridgway program247365

💭
YOLO 💯
View GitHub Profile
@program247365
program247365 / .tmux.conf
Created September 4, 2012 19:41
A nice tmux configuration
set -g default-terminal "screen-256color"
# act like GNU screen
unbind C-b
set -g prefix C-a
# Scroll with mouse, and select pane with mouse
setw -g mode-mouse on
setw -g mouse-select-pane on
@import "compass/css3/images";
.test {
@include background(linear-gradient(top left, #333, #0c0),
radial-gradient(#c00, #fff 100px));
width: 100%;
height: 500px;
}
@program247365
program247365 / Home.html
Created May 30, 2012 21:16
Styling Sharepoint 2007 Wikis with Twitter Bootstrap
<div class=container-fluid>
<div class=row-fluid>
<div class=span2>
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class=nav-header>Sidebar</li>
<li class=active><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
@program247365
program247365 / QuakeConsole.ahk
Created March 11, 2012 03:59
Console 2 Settings File and Quake Awesomeness
; Change your hotkey here
^1::
DetectHiddenWindows, on
IfWinExist ahk_class Console_2_Main
{
IfWinActive ahk_class Console_2_Main
{
WinHide ahk_clasas Console_2_Main
WinActivate ahk_class Shell_TrayWnd
@program247365
program247365 / .gitignore
Created February 29, 2012 14:37 — forked from amokan/.gitignore
.gitignore file I use for VS2008 C# projects
obj
bin
*.user
*.suo
*.cache
*.scc
*.vssscc
*.vspcc
*.bak
*.log
@program247365
program247365 / script.js
Created January 11, 2012 16:06
A small jquery component switch widget.
var switchComponent = {
init : function(){
var firstSwitch = ".swfirst";
var secondSwitch = ".swsecond";
var compContent = $(".componentscontent");
var envContent = $(".environmentscontent");
$(firstSwitch).click(function() {
$(this).css({background: '#eaefd8', color: '#000', borderRight: '2px solid #d6e1b4'});
$(secondSwitch).css({background: '#e0e8c6', color: '#ccc', borderLeft: '2px solid #ccc'});
@program247365
program247365 / httpd.conf
Created September 17, 2011 11:25
Improved Shaun Inman's excellent script for allowing a PHP file to generate a HTML file so that Quicksilver can index it. Originally his script (specifically the regex) didn't work for me.
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@program247365
program247365 / gist:963273
Created May 9, 2011 20:08 — forked from briangershon/gist:832491
Integrating Git on Mac OSX with Microsoft TFS on Windows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.811765 0.796078 0.564706 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Inconsolata - 16.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
@program247365
program247365 / Outlook07GetLinkOfMessage.vba
Created February 8, 2011 18:36
VBA Macro for Outlook 2007 that will allow you to get a link for a particular message that is selected. Be sure to go to "Insert" > "UserForm" to be able to get a reference to the clipboard in your project for this to work.
' Code lifted and adjusted from: http://superuser.com/questions/71786/can-i-create-a-link-to-a-specific-email-message-in-outlook
' You may have to enable links in Outlook if these links are destined for Outlook itself - http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/
' Reference: http://www.davidtan.org/create-hyperlinks-to-outlook-messages-folders-contacts-events/
' To Assign Keyboard Shortcut to your new Macro: http://stackoverflow.com/questions/57075/how-do-i-assign-a-keyboard-shortcut-to-a-vba-macro-in-outlook-2007
'Adds a link to the currently selected message to the clipboard
Sub AddLinkToMessageInClipboard()
Dim objMail As Outlook.MailItem