Skip to content

Instantly share code, notes, and snippets.

View abtris's full-sized avatar

Ladislav Prskavec abtris

View GitHub Profile
@abtris
abtris / sifttter.rb
Last active January 3, 2016 02:59 — forked from craigeley/sifttter.rb
#!/usr/bin/ruby
# Sifttter: An IFTTT-to-Day One Logger by Craig Eley 2014 <http://craigeley.com>
# Based on tp-dailylog.rb by Brett Terpstra 2012 <http://brettterpstra.com>
#
# Notes:
# * Uses `mdfind` to locate a specific folder of IFTTT-generated text files changed in the last day
# * The location of your folder should be hardcoded in line 53
# * Scans leading timestamps in each line matching today's date
# * Does not alter text files in any way
# * Changes ampersand ('&') to 'and' so the script keeps running
@abtris
abtris / index.html
Last active December 14, 2015 08:38 — forked from darwin/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">XXX</tspan>
</label>
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">
@abtris
abtris / gist:703694
Created November 17, 2010 17:30
Capfile
require 'rubygems'
require 'railsless-deploy'
set :user, "testapp"
set :application, "test"
set :repository, "git@github.com:Vrtak-CZ/#{application}.git"
set :deploy_to, "/home/#{user}/web"
# set :document_root, "#{deploy_to}/current/document_root"