Ruby-on-Rails-style date arithmetic for Scala
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
class Yajl < Formula | |
desc "Yet Another JSON Library" | |
homepage "https://lloyd.github.io/yajl/" | |
url "https://github.com/lloyd/yajl/archive/2.1.0.tar.gz" | |
sha256 "3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a" | |
license "ISC" | |
head "https://github.com/edenhill/yajl.git", | |
branch: "edenhill" |
I hereby claim:
- I am darrenbishop on github.
- I am darrenbishop (https://keybase.io/darrenbishop) on keybase.
- I have a public key ASDE9yaeGMRaEABsxQNDnW6yReoWbaXKgliPQjwmv1foBwo
To claim this, I am signing this object:
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
<script> | |
// <![CDATA[ | |
jQuery(function ($) { | |
const UUID_RE = /^.*(uuid\:([\w-]+)).*$/i; | |
const PAGE_RE = /^.*(page(\d+|All)).*$/i; | |
const SECTION_RE = /^.*(section-(\d+(:?_\d+)+)).*$/i; |
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
package com.darrenbishop.support.flexunit.async { | |
import flash.utils.setTimeout; | |
import mx.core.mx_internal; | |
import mx.rpc.AsyncResponder; | |
import mx.rpc.AsyncToken; | |
import mx.rpc.events.ResultEvent; | |
import mx.rpc.remoting.RemoteObject; | |
use namespace mx_internal; |
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
# to install the latest stable version: | |
brew install scala --with-docs | |
# to install scala-2.10: | |
brew install https://gist.github.com/DarrenBishop/c906f3e895e48bfaf6fa/raw/a7b7ac28d4febc656995e2e58913ab4ea354ed8b/scala.rb --with-docs | |
# to switch versions (from https://github.com/mxcl/homebrew/wiki/External-Commands): | |
brew switch scala 2.11.7 | |
brew switch scala 2.10.5 | |
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" encoding="UTF-8"?> | |
<Module> | |
<ModulePrefs height="300" title="BlogSocial"> | |
<Require feature="opensocial-0.7"/> | |
<Require feature="google.blog"/> | |
<Require feature="skins"/> | |
<Require feature="views"/> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ |
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" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Blog Paginator" height="350" /> | |
<Content type="html"> | |
<![CDATA[ | |
<script type="text/javascript"> | |
jQuery(function ($) { | |
const UUID_RE = /^.*(uuid\:([\w-]+)).*$/i; |
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
<script> | |
// <![CDATA[ | |
jQuery(function ($) { | |
$.uuid = function () { | |
// http://www.ietf.org/rfc/rfc4122.txt | |
var s = []; | |
var hexDigits = "0123456789abcdef"; |