Skip to content

Instantly share code, notes, and snippets.

@satomilky
satomilky / step_bar.html
Last active August 29, 2015 13:57
flatdesign_form_step_bar
<div id="step_bar_box">
<ol class="step_bar">
<li class="current">サインイン</li>
<li>配送&会計</li>
<li>ギフト</li>
<li>確認</li>
</ol>
</div>
@satomilky
satomilky / sifttter_1.8.7.rb
Created November 8, 2015 14:15 — forked from craigeley/sifttter_1.8.7.rb
This script looks for text files in a specific folder modified today that include completed tasks ('@done') and timestamps, and then collects them into a daily log for the Day One journaling application. It works especially well when it's connected to IFTTT. See more details at http://craigeley.com/tagged/sifttter Use this script if you are runn…
#!/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
@satomilky
satomilky / sifttter.rb
Created November 8, 2015 14:45 — forked from craigeley/sifttter.rb
This script looks for text files in a specific folder that include completed tasks ('@done') and timestamps, and then collects them into a daily log for the Day One journaling application. It works especially well when it's connected to IFTTT. See more details at http://craigeley.com/tagged/sifttter
#!/usr/bin/ruby
# SIFTTTER 1.5: 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>
# Multiple Date Function by Paul Hayes 2014 <http://paulrhayes.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 67, and the location of your Day One in line 66
# * Scans leading timestamps in each line matching the selected dates
# * Does not alter text files in any way