Skip to content

Instantly share code, notes, and snippets.

View benzap's full-sized avatar
🏠
Working from home

Benjamin Zaporzan benzap

🏠
Working from home
View GitHub Profile
https://github.com/kripken/emscripten.wiki.git
@benzap
benzap / org-style.css
Last active August 29, 2015 14:01
Stylesheet for exported org files
* {
color: #1d1d1d;
padding: 0;
margin: 0;
}
html {
font-family: helvetica;
font-size: 16pt;
background-color: #FBEEDD;
@benzap
benzap / main.clj
Created July 25, 2014 13:05
problem with Unbound Var
[:text-view {:id ::text-current-id
:text (str "Device Id: " @(delay (state/get-device-id)))
:text-size [30 :dp]
:layout-width :fill}]
[:text-view {:id ::text-current-id
:text (str "Version: " @(delay (state/get-current-version)))
:text-size [30 :dp]
:layout-width :fill}]
@benzap
benzap / escreen-config.el
Created September 29, 2014 14:20
Setup for escreen configuration,
(require 'escreen)
;;Escreen setup functionality
(escreen-install)
(escreen-number-mode 1)
(setq escreen-prefix-char "\C-z")
(global-set-key escreen-prefix-char 'escreen-prefix)
;;Function to prompt before killing the given screen
(defun escreen-prompt-kill-p ()
@benzap
benzap / tsql_objects.sql
Last active August 29, 2015 14:08
Grab all objects
SELECT obj.*, modules.definition
FROM sys.objects AS obj
LEFT JOIN sys.sql_modules AS modules
ON obj.object_id = modules.object_id
ORDER BY type_desc, name
@benzap
benzap / 01-instructional.org
Last active August 29, 2015 14:09
Emacs Compilation Instructions for Debian Based Systems

Emacs Compilation Instructions

Introduction

@benzap
benzap / display_layout_project.org
Last active August 29, 2015 14:13
Display Layout Project

Display Layout Project

@benzap
benzap / gist:c631c01037fe3c233f0f
Created January 15, 2015 21:26
browserify command
browserify index.js -d | uglify -m -c -o index.min.js
@benzap
benzap / gist:5ac3a1e9b275f5cc15a8
Last active August 29, 2015 14:16
compare the hashes between two files in two branches
git diff {git ls-tree master ./blank.htm | cut -f1 | cut -d ' ' -f3} {git ls-tree feature-nyc/IGM-296 ./blank.htm | cut -f1 | cut -d ' ' -f3}