Create an empty directory, download the code and run it:
$ mkdir /tmp/lj
$ cd /tmp/lj
$ wget https://gist.github.com/benbjohnson/5622779/raw/e53d227ebdbea8d513b62ad076feb3f6ac1c1594/luajit.go
$ go run luajit.go
And you should see:
Create an empty directory, download the code and run it:
$ mkdir /tmp/lj
$ cd /tmp/lj
$ wget https://gist.github.com/benbjohnson/5622779/raw/e53d227ebdbea8d513b62ad076feb3f6ac1c1594/luajit.go
$ go run luajit.go
And you should see:
{ | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"font_face": "Menlo", | |
"font_options": ["subpixel_antialias", "no_bold"], | |
"font_size": 14.0, | |
"enable_live_count": true, | |
"highlight_modified_tabs": true, | |
"highlight_line": false, | |
"ignored_packages": [ |
/* | |
Created by: Miguel Garcia <[email protected]> | |
Date: 2013 | |
Github: miguelgr | |
These keybindings are personalized in order to optimize the working time avoiding | |
using the mouse | |
They work with the following packages: |
package main | |
/* | |
#cgo LDFLAGS: -lluajit-5.1 | |
#include <stdlib.h> | |
#include <luajit-2.0/lua.h> | |
#include <luajit-2.0/lualib.h> | |
#include <luajit-2.0/lauxlib.h> | |
int my_func() { |
# pushState friendly! | |
# The setup: | |
# * website name is `site.com` | |
# * the API for your running on localhost:3000 | |
# * the root for API calls is at `/api`, and you have authentication routes with root `/auth` (both go to localhost:3000) | |
# * javascript app is located at `/path/to/javascript/app` | |
# Assuming you have your server for API calls at localhost port 3000 | |
upstream api_sitecom { | |
server localhost:3000; |
local_client | |
server | |
client | |
ext |
#/bin/bash | |
## Note: All machines should be up to date before any of them run this script, | |
## and at least one machine should have all the remote branches checked out. | |
## Use this script to remove .gitignored files from a git repository's index, | |
## but to not remove the files locally. It should be run on all machines that | |
## need to preserve the .gitignored files, since a "git pull" or "git checkout | |
## <branch>" would remove them otherwise (original idea from | |
## http://www.arlocarreon.com/blog/git/untrack-files-in-git-repos-without-deleting-them/). |
/*jslint bitwise: true, indent: 2, nomen: true, regexp: true, stupid: true*/ | |
(function () { | |
'use strict'; | |
var exports = {}; | |
exports.uuid4 = function () { | |
//// return uuid of form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx | |
var uuid = '', ii; | |
for (ii = 0; ii < 32; ii += 1) { |
#!/bin/bash | |
# setup | |
FILES=name_of_file_to_match_*.mp4 | |
SEEK_POINT=00:00:30 | |
IMG_FORMAT=png | |
FRAME_SIZE=150X100 | |
DEST=thumbnails | |
for f in $FILES |
var FadeTransitionRegion = Backbone.Marionette.Region.extend({ | |
show: function(view){ | |
this.ensureEl(); | |
view.render(); | |
this.close(function() { | |
if (this.currentView && this.currentView !== view) { return; } | |
this.currentView = view; |