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
do shell script "uuidgen" | |
set uuid to (get result) | |
display dialog "Have a UUID on the house:" with title "UUID Generator" default answer uuid buttons "OK" default button "OK" |
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
-- Adapted from http://www.ithug.com/2007/09/applescript-moving-and-resizing-windows/: | |
tell current application | |
activate | |
set the bounds of the first window to {0, 0, 1024, 768} | |
end tell |
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
Show hidden characters
[ | |
{ | |
"keys": ["shift+alt+super+left"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.5, 1.0], | |
"rows": [0.0, 0.5, 1.0], | |
"cells": | |
[ |
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
javascript:(function(){/* Do stuff here. */}());void(0); |
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
outline: 1px dotted rgba(255, 0, 255, 0.5); | |
outline-offset: -1px; |
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
# OS X | |
.DS_Store | |
# Adobe Dreamweaver | |
_notes/ | |
# Sublime Text | |
*.sublime-project | |
*.sublime-workspace | |
# JetBrains IDEs | |
.idea/ | |
# CodeKit |
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
{ | |
"folders": | |
[ | |
{ | |
"path": "/path/to/project/root", | |
"file_exclude_patterns": [".gitignore", "*.sublime-*"], | |
"folder_exclude_patterns": [".idea"] | |
} | |
] | |
} |
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
(function() { | |
/* | |
An AngularJS Directive via Isolated Module JavaScript | |
This is just a simple example of an AngularJS module that defines a | |
directive within an immediately invoked function expression, which can | |
be stored in and loaded from a separate file for clear, lean code | |
organization and easy distribution. |
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
window.addEventListener("load", function(event) { | |
console.log("Hello! Non-destructive load-event handlers are the best kind! Don't you agree?"); | |
console.log("load event: %o", event); | |
}); |
OlderNewer