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 | |
####### | |
# Keep in mind that Ubuntu 14.04 has a little broken python-boto. I found that installing https://launchpad.net/~chris-lea/+archive/ubuntu/python-boto does help | |
###### | |
declare -x S3_USE_SIGV4=True #required for eu-central-1 | |
declare -x AWS_ACCESS_KEY_ID= |
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
# Install these gems first: | |
# gem install 'google_custom_search_api' 'wolfram-alpha' 'imdb' 'wunderground' 'whois' 'sinatra' | |
require 'google_custom_search_api' | |
require 'wolfram-alpha' | |
require 'imdb' | |
require 'wunderground' | |
require 'whois' | |
require 'json' | |
require 'sinatra' |
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
/* Welcome to Susy. Use this file to define screen styles. | |
* Import this file using the following HTML or equivalent: | |
* <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" /> */ | |
/* RESET STYLES */ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
dl, dt, dd, ol, ul, li, |
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
security=user | |
username map=/etc/samba/smbusers | |
[homes] | |
comment=Home Directories | |
browseable=yes | |
writable=yes | |
valid=%S ; so that only the defined users can view it |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'flickr' | |
require 'fileutils' | |
api_key = "" | |
secret = "" | |
flickr = Flickr.new('flickr.dat',api_key, secret) |
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
ffmpeg -i out.ogv -s 160x128 -pix_fmt rgb24 -ss 62.6 -t 3 -r 5 -loop 0 -f gif out.gif | |
convert -loop 0 -layers Optimize out.gif outopt.gif |
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
// Mixins -------------------------------------------------------------- | |
=keyframes($name) | |
@-moz-keyframes #{$name} | |
@children | |
@-webkit-keyframes #{$name} | |
@children | |
@keyframes #{$name} | |
@chldren |
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
// CSS3 Extended color keywords (http://www.w3.org/TR/2010/PR-css3-color-20101028) | |
$aliceblue : #F0F8FF; | |
$antiquewhite : #FAEBD7; | |
$aqua : #00FFFF; | |
$aquamarine : #7FFFD4; | |
$azure : #F0FFFF; | |
$beige : #F5F5DC; | |
$bisque : #FFE4C4; | |
$black : #000000; |
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
.axle_tooltip { | |
width: 200px; | |
height: auto; | |
padding: 10px 40px 20px 20px; | |
background: rgba(28, 29, 31, 0.6); | |
background: -moz-linear-gradient(top, rgba(28, 29, 31, 0.6) 0%, #1c1d1f 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(28, 29, 31, 0.6)), color-stop(100%, #1c1d1f)); | |
background: -webkit-linear-gradient(top, rgba(28, 29, 31, 0.6) 0%, #1c1d1f 100%); | |
background-image: -o-linear-gradient(top, rgba(28, 29, 31, 0.6) 0%, #1c1d1f 100%); | |
border: 2px solid white; |
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
#!/usr/bin/ruby | |
# | |
# This script installs to /usr/local only. To install elsewhere you can just | |
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like. | |
# | |
# | |
# 30th March 2010: | |
# Added a check to make sure user is in the staff group. This was a problem | |
# for me, and I think it was due to me migrating my account over several | |
# versions of OS X. I cannot verify that for sure, and it was tested on |
OlderNewer