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
COPY & PASTE!!! |
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
//Name: Derrik Fleming | |
//Class: CS162 | |
//Prof: Karla Fant | |
#include <iostream> | |
using namespace std; |
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
//Name: Derrik Fleming | |
//Class: CS162 | |
//Prof: Karla Fant | |
#include <iostream> | |
#include <fstream> | |
#include <stdlib.h> | |
using namespace std; |
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
#!/usr/bin/env ruby | |
def is_mac? | |
RUBY_PLATFORM.downcase.include?("darwin") | |
end | |
def getc_input | |
# http://stackoverflow.com/a/174967/250407 | |
# http://bit.ly/PMZdKv | |
begin |
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
info: Starting app mouseparty | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: There was an error while attempting to deploy the app | |
error: | |
error: tar exited with code: 2 | |
error: Error output from Haibu: | |
error: | |
error: Error: tar exited with code: 2 | |
error: at ChildProcess.Tar.init (/root/haibu-orchestra/node_modules/haibu/lib/haibu/repositories/tar.js:58:26) |
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
<script> | |
$(document).ready(function() { | |
// Hidden elements | |
$('.mainbox-title').hide(); | |
$('.left-column').hide(); | |
$('.top-tools-container').hide(); | |
$('.content-tools').hide(); | |
$('.breadcrumbs').hide(); | |
// Main content area padding/width adjustments |
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
// Remove white space between table cells | |
$('.wysiwyg-content table').attr('cellspacing', 0).attr('cellpadding', 0); | |
// 100% Width content area. Useful for making full-width backgrounds that | |
// span the page, and centered width-restrained inner content. Current | |
// width is 978px for reference. | |
// Remove these lines to return to normal width. | |
$('.container-right').width('100%'); | |
$('.container-right #header').width('978px').css('margin', '0 auto'); |
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
var protocol = 'http://'; | |
function checkFlash() { | |
var flashinstalled = false; | |
if (navigator.plugins) { | |
if (navigator.plugins["Shockwave Flash"]) { | |
flashinstalled = true | |
} else if (navigator.plugins["Shockwave Flash 2.0"]) { | |
flashinstalled = true | |
} |
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
newalias() { | |
echo "\n" >> ~/.aliases | |
echo "alias $1=\"$2\"" >> ~/.aliases | |
. ~/.aliases | |
} |
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 | |
# | |
# God | |
# | |
# chkconfig: 2345 85 15 | |
# description: start, stop, restart God | |
# | |
# Also consider adding this line (kills god weekly) to your crontab (sudo crontab -e): | |
# | |
# # deicide is painless |
OlderNewer