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 | |
if [ $# -lt 2 ]; then | |
echo "USAGE: $0 [METHOD] [/path/to/endpoint] -d [key=value] " | |
exit 1 | |
fi | |
COOKIES=.cookies | |
# JSONLINTER='python -mjson.tool' | |
JSONLINTER=jsonpretty # gem install jsonpretty | |
SERVER=http://localhost:3000 |
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
tell application "Safari" | |
make new document | |
activate | |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>- XCode Custom Keys -</name> | |
<item> | |
<name>Fn+Return completes line with semicolon only in XCode</name> | |
<identifier>private.xcode.completeline</identifier> | |
<only>XCODE</only> | |
<autogen> | |
--KeyToKey-- |
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
#!/usr/bin/env ruby | |
require 'date' | |
class Date | |
def workday? | |
return !(self.saturday? or self.sunday?) | |
end | |
end | |
def tally_tasks(hrs_per_day, start_date=nil) |
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
var Pebble = new (function(){ | |
var dispatchTable = {}; | |
this.addEventListener = function(eventName, delegate) { | |
if (!(eventName in dispatchTable)) dispatchTable[eventName] = []; | |
dispatchTable[eventName].push(delegate); | |
} | |
this.dispatchEvent = function(event) { |
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
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
body { | |
background-color: black; | |
color: white; | |
} | |
.select { | |
position: absolute; |
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
#!^d:: | |
FormatTime, Timestamp,, yyyyMMdd | |
SendInput, %Timestamp% | |
return |
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
using System; | |
using System.Linq; | |
using System.Reflection; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
#endif | |
namespace com.partlyhuman |
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
using UnityEditor; | |
using UnityEngine; | |
namespace com.hololabs.editor | |
{ | |
public class FindByGuid : EditorWindow | |
{ | |
[MenuItem("Utility/Find Asset by Guid %&g")] | |
public static void DoFindByGuidMenu() | |
{ |
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
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.Animations; | |
using UnityEngine; | |
namespace com.hololabs | |
{ | |
public static class EmbeddedAnimationClipUtility | |
{ | |
[MenuItem("Assets/Add Embedded Animation Clip", false)] |
OlderNewer