Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View yyolk's full-sized avatar
🍯
𝙧𝙚𝙘𝙪𝙧𝙨𝙞𝙫𝙚 𝙩𝙖𝙪𝙩𝙤𝙡𝙤𝙜𝙮

Joseph Chiocchi yyolk

🍯
𝙧𝙚𝙘𝙪𝙧𝙨𝙞𝙫𝙚 𝙩𝙖𝙪𝙩𝙤𝙡𝙤𝙜𝙮
View GitHub Profile
@synchrone
synchrone / .duplicity-config
Last active August 29, 2015 13:57
duplicity to s3
#!/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=
# 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'
/* 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,
@tedheich
tedheich / samba.conf
Created November 17, 2009 14:22
Simple samba configuration file
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
@naoto
naoto / flickr_uploader.rb
Created January 20, 2010 07:36
Flickr Uploader
#!/usr/bin/env ruby
require 'rubygems'
require 'flickr'
require 'fileutils'
api_key = ""
secret = ""
flickr = Flickr.new('flickr.dat',api_key, secret)
@mrdoob
mrdoob / gist:845802
Created February 27, 2011 01:09
video to looped animated gif
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
@mirisuzanne
mirisuzanne / animation.sass
Created April 24, 2011 16:18
find a new compass animation syntax
// Mixins --------------------------------------------------------------
=keyframes($name)
@-moz-keyframes #{$name}
@children
@-webkit-keyframes #{$name}
@children
@keyframes #{$name}
@chldren
@nissuk
nissuk / _colors.scss
Created April 26, 2011 16:01
Sass(SCSS): CSS3拡張カラーキーワードの変数
// 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;
@blackfalcon
blackfalcon / complies.css
Created May 6, 2011 19:25
A pure CSS3 tooltip
.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;
@rpavlik
rpavlik / install_ppc_homebrew.rb
Created June 2, 2011 15:32 — forked from mxcl/install_homebrew.markdown
Installs PowerPC fork of Homebrew to /usr/local so you don't need sudo to `brew install`
#!/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