#Documentation
#Contribution
#JavaScript
- JSLint
- JSHint
from datetime import datetime | |
now = datetime.now() | |
print "Today is: ", now.strftime('%a, %d, %h %Y') | |
how_many_days = raw_input("How many days from now should this post? ") | |
print how_many_days | |
how_many_hours = (int(how_many_days)) * 24 | |
print "This is %d hours." % how_many_hours |
<?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>author</key> | |
<string>Jacob Rus</string> | |
<key>comment</key> | |
<string>Created by Jacob Rus. Based on ‘Slate’ by Wilson Miner</string> | |
<key>name</key> | |
<string>Cowboy - Presentation</string> |
# -*- coding: utf-8 -*- | |
""" | |
Cowboy Colorscheme | |
~~~~~~~~~~~~~~~~~~ | |
Converted by Vim Colorscheme Converter | |
""" | |
from pygments.style import Style | |
from pygments.token import Token, Comment, Name, Keyword, Generic, Number, Operator, String |
-- Make sure a presentation is opened in Keynote. If not, notify the user and stop. | |
tell application "Keynote" | |
if (front slideshow exists) = false then | |
display alert "Unable to proceed." message "Please open a presentation in Keynote." | |
return | |
end if | |
set extractBody to button returned of (display alert "Would you like to extract slide content too?" buttons {"Yes", "No"}) = "Yes" | |
-- Target the front presentation. |
// Core variables and mixins. | |
// Unless otherwise noted, all @imports are from standard Bootstrap. | |
@import "variables.less"; // Modify this for custom colors, font-sizes, etc | |
@import "mixins.less"; // Note: this is where Bootstrap establishes those '.span[...]' styles | |
@import "/css/less/lesshat/lesshat.less"; // Create your own Frankengrid by importing mixins from totally different libraries! | |
// CSS Reset | |
@import "reset.less"; |
alias ls='ls -al -G' | |
alias crm='open -a "Google Chrome" --args --proxy-pac-url=http://[workplace proxy address].pac' | |
alias bcc='bower cache-clean' | |
alias mx='cd /Library/WebServer/Documents/mds; ls -al' | |
alias ix='cd /Library/WebServer/Documents/iids; ls -al' | |
alias g='grunt' | |
alias rl='source ~/.bash_profile' |
#Documentation
#Contribution
#JavaScript
class BoggleBoard | |
def initialize(grid) | |
@grid = grid | |
end | |
def create_word(*coords) | |
coords.map { |coord| @grid[coord.first][coord.last] }.join("") | |
end | |
def get_row(row) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# foo_test.rb | |
class Meme | |
def i_can_has_cheezburger? | |
"OHAI!" | |
end | |
def will_it_blend? | |
"YES!" | |
end |