https://github.com/miksago/jade-tmbundle
https://github.com/LearnBoost/stylus/tree/master/editors
~/Downloads/
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
| object XmlHelpers { | |
| val docBuilder = | |
| javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder() | |
| } | |
| class NodeExtras(n: Node) { | |
| def toJdkNode(doc: org.w3c.dom.Document): org.w3c.dom.Node = | |
| n match { | |
| case Elem(prefix, label, attributes, scope, children @ _*) => | |
| // XXX: ns |
| import javax.crypto.Cipher; | |
| import java.security.spec.KeySpec; | |
| import javax.crypto.spec.PBEKeySpec; | |
| import javax.crypto.SecretKey; | |
| import javax.crypto.spec.SecretKeySpec; | |
| import javax.crypto.SecretKeyFactory; | |
| import java.security.AlgorithmParameters; | |
| import javax.crypto.spec.IvParameterSpec; | |
| public class Decrypter { |
| /** | |
| * Module dependencies. | |
| */ | |
| var express = require('express') | |
| , stylus = require('stylus'); | |
| var app = express.createServer(); | |
| // This must be BEFORE other app.use |
| //Public client interface | |
| function Client(applicationId, masterKey) { | |
| this.applicationId = applicationId; | |
| this.masterKey = masterKey; | |
| } | |
| exports.Client = Client; | |
| //Parse API endpoint | |
| var ENDPOINT = 'https://api.parse.com/1/classes/'; |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| # Get latest Sun Java SDK in v6 from Oracle | |
| wget http://download.oracle.com/otn-pub/java/jdk/6u31-b04/jdk-6u31-linux-x64-rpm.bin | |
| # make it exec | |
| chmod +x jdk-6u31-linux-x64-rpm.bin | |
| # Install Java | |
| sudo ./jdk-6u31-linux-x64-rpm.bin | |
| # Check if the default java version is set to sun jdk |
| (function(Backbone, _) { | |
| var leave; | |
| _.extend(Backbone.Router.prototype, Backbone.Events, { | |
| route : function(route, name, callback) { | |
| var before | |
| , fn = callback | |
| , after; | |
| Backbone.history || (Backbone.history = new Backbone.History); |
| package org.scribe.builder.api; | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| import org.scribe.exceptions.OAuthException; | |
| import org.scribe.extractors.AccessTokenExtractor; | |
| import org.scribe.model.OAuthConfig; | |
| import org.scribe.model.OAuthConstants; | |
| import org.scribe.model.OAuthRequest; |