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
set dir to "~/Dropbox/Dropbox2/ScreenshotTimer/" | |
do shell script ("mkdir -p " & dir) | |
set intervalMins to 15 -- Change as per your desired frequency (in minutes) | |
set durationHours to 8 -- Change as per your desired duration (in hours) | |
-- Convert minutes to seconds for screenshot interval | |
set intervalSecs to intervalMins * 60 | |
-- Calculate total repetitions within duration | |
set totalReps to durationHours * 60 / intervalMins |
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 | |
# set qry to the query (argument one) | |
qry="$1" | |
# fix SNIP_DB location in case it contains tilde (won't expand in quotes) | |
SNIP_DB=$( echo $SNIP_DB | sed "s:^~:$HOME:" ) | |
# set the internal delimeter (idlm) to some char(s) that will never be used | |
idlm='' |
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
/** | |
* Previewer test | |
*/ | |
background: #f06; | |
background: linear-gradient(left bottom, | |
hsla(340, 100%, 50%,.7), yellow); | |
min-width: 100px; | |
width: 2in; | |
transition-duration: 6s; |
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
# rails application template for generating customized rails apps | |
# | |
# == requires == | |
# | |
# * rails 2.3+, rspec, cucumber, culerity (langalex-culerity gem), machinist | |
# | |
# == a newly generated app using this template comes with == | |
# | |
# * working user registration/login via authlogic, cucumber features to verify that it works | |
# * rspec/cucumber/culerity for testing |