One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
############################################################################### | |
# NOTICE: This script is intended to be used in conjunction with a openssl.cnf | |
# template such as this one: | |
# https://gist.github.com/jameskyle/8106d4d5c6dfa5395cef | |
# (C) Copyright 2014 James A. Kyle. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. |
define(['angularAMD', 'angular-route'], function (angularAMD) { | |
var app = angular.module("webapp", ['ngRoute']); | |
app.config(function ($routeProvider) { | |
$routeProvider | |
.when("/home", angularAMD.route({ | |
templateUrl: 'view_home.html', controller: 'HomeCtrl', controllerUrl: 'controller_home' | |
})) | |
.when("/view1", angularAMD.route({ | |
templateUrl: 'view_view1.html', controller: 'View1Ctrl', controllerUrl: 'controller_view1' |
#ST2/3 Search result syntax highlighting
##Introduction and disclaimer
This is gist contains an edited Find Results.hidden-tmLanguage
which adds syntax highlighting to your ST search results.
As far as I know, there is no plugin that does this and for that reason it needs to be done via config.
DISCLAIMER: Use this HACK at your risk and backup the original files you are about to mess with.
##Usage Guide for Sublime Text 2
# install cdparanoia e.g apt-get install cdparanoia | |
# rip tracks individually | |
cdparanoia -B | |
# convert to mp3 in a loop | |
for t in track{01..18}*.wav; do lame $t; done |
*&---------------------------------------------------------------------* | |
*& Form json_to_data | |
*&---------------------------------------------------------------------* | |
form json_to_data using json type string changing data type any. | |
data: lv_off type i. | |
data: lv_len type i. | |
data: lv_key type string. | |
data: lv_value type string. | |
data: lv_char type char1. "Current chacater | |
data: lv_pchar type char1. "Previous character |
(function (name, definition){ | |
if (typeof define === 'function'){ // AMD | |
define(definition); | |
} else if (typeof module !== 'undefined' && module.exports) { // Node.js | |
module.exports = definition(); | |
} else { // Browser | |
var theModule = definition(), global = this, old = global[name]; | |
theModule.noConflict = function () { | |
global[name] = old; | |
return theModule; |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
document = window.document, | |
$ = window.jQuery; | |
// Wait for Document | |
$(window).bind(function(){ | |
// Prepare Variables |