Skip to content

Instantly share code, notes, and snippets.

@tzarskyz
tzarskyz / Custom Searches.md
Created July 8, 2011 17:39 — forked from fixlr/Custom Searches.md
Some of my current Alfred shortcuts
@tzarskyz
tzarskyz / Bash.sublime-build
Created June 19, 2012 18:56 — forked from typeoneerror/Bash.sublime-build
Bash build system for running currently open script in Sublime Text 2
{
"cmd" : ["$file"],
"selector" : "source.shell",
"shell" : "bash"
}
@tzarskyz
tzarskyz / gist:3001493
Created June 27, 2012 04:37
TextMate 2 .tm_properties

This is all based on the [alpha release][1].

Properties

From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

@tzarskyz
tzarskyz / gist:3051873
Created July 5, 2012 06:46 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@tzarskyz
tzarskyz / gist:3068892
Created July 8, 2012 01:21 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@tzarskyz
tzarskyz / README.md
Created July 8, 2012 01:31 — forked from goblindegook/README.md
Notational Velocity (nvALT) Custom Stylesheet and Markup HTML

Usage

Copy these files to your ~/Library/Application Support/Notational Velocity/ folder.

@tzarskyz
tzarskyz / editscript.rb
Created August 5, 2012 19:48 — forked from ttscoff/editscript.rb
Fuzzy CLI file search through configured directories, ranked results displayed as menu
#!/usr/bin/env ruby
# encoding: utf-8
# == Synopsis
# Proof of concept using Fuzzy File Finder to locate a script to edit
# Searches a set of predefined locations for a fuzzy string
# e.g. "mwp" matches both "myweatherprogram" and "mowthelawnplease"
# ................on "(m)y(w)eather(p)rogram" and "(m)o(w)thelawn(p)lease"
#
# Results are ranked and a menu is displayed with the most likely
# match at the top. Editor to be launched and directories to search
@tzarskyz
tzarskyz / nvaltjournal.applescript
Created August 20, 2012 22:11 — forked from msabramo/nvaltjournal.applescript
Fix for "Append to nvALT journal" Alfred extension. Handling non-English characters as well.
on alfred_script(q)
set theYear to year of (current date) as string
set theMonth to (month of (current date) as number)
if theMonth < 10 then
set theMonth to "0" & theMonth
else
set theMonth to "" & theMonth
end if
@tzarskyz
tzarskyz / Tomorrow-Night-Eighties.tmTheme
Created October 24, 2012 22:03
Modified Tomorrow-Night-Eighties Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>http://chriskempson.com</string>
<key>name</key>
<string>Tomorrow Night - Eighties</string>
<key>settings</key>
<array>
@tzarskyz
tzarskyz / Tomorrow-Night-Eighties.tmTheme
Created October 24, 2012 22:30
Modified Tomorrow-Night-Eighties Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>http://chriskempson.com</string>
<key>name</key>
<string>Tomorrow Night - Eighties</string>
<key>settings</key>
<array>