I hereby claim:
- I am jeremija on github.
- I am steiner (https://keybase.io/steiner) on keybase.
- I have a public key whose fingerprint is 3839 4E6E 8C90 78C2 4F6A 221A DD8C 9510 EE19 F834
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| import argparse | |
| import subprocess | |
| import os | |
| import sys | |
| parser = argparse.ArgumentParser() | |
| LABELS_PATH = '/dev/disk/by-label' |
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout somewhen, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
| { | |
| "selector": "source.js", | |
| // only the following is added: "$packages/JSHint/jshintrc", "$file" | |
| // compared to: https://github.com/uipoet/sublime-jshint/blob/master/JSHint.sublime-build | |
| "cmd": ["jshint", "--config", "$packages/JSHint/jshintrc", "$file", "--reporter", "$packages/JSHint/reporter.js"], | |
| "file_regex": "JSHint: (.+)\\]", | |
| "line_regex": "(\\d+),(\\d+): (.*)$", |
| import os | |
| #import sublime | |
| import sublime_plugin | |
| class MochaCommand(sublime_plugin.WindowCommand): | |
| def _run_test(self, project_path, filepath, test_gen, grep): | |
| args = { |
| #!/bin/bash | |
| # Copies file to the server and restarts a service on the server. If you have uploaded | |
| # your public ssh key to the server, you should be able to run this without any prompts. | |
| # | |
| # If your private ssh key is password protected, consider using ssh-add to avoid being | |
| # prompted for password every time. | |
| # | |
| # author jsteiner | |
| host=marsh |
| // Usage: | |
| // | |
| // 1. Put this in the file that gets first loaded by RequireJS | |
| // 2. Once the page has loaded, type window.rtree.map() in the console | |
| // This will map all dependencies in the window.rtree.tree object | |
| // 3. To generate UML call window.rtree.toUml(). The output can be used | |
| // here: http://yuml.me/diagram/scruffy/class/draw | |
| requirejs.onResourceLoad = function (context, map, depMaps) { | |
| if (!window.rtree) { | |
| window.rtree = {}; |
| define(['Squire'], function(Squire) { | |
| 'use strict'; | |
| var injector = new Squire(); | |
| var logArgs, warnArgs, errorArgs, | |
| logThis, warnThis, errorThis; | |
| var win = { | |
| 'Function': { | |
| 'prototype': { |
| #!/bin/bash | |
| # author jsteiner | |
| # | |
| # Resizes an image and adds a watermark. To customize which watermark is added, | |
| # edit the $WATERMARK variable below. | |
| # | |
| DIR=`dirname "$BASH_SOURCE"` | |
| WATERMARK="$DIR/watermark.png" | |
| SRC="$1" |
I hereby claim:
To claim this, I am signing this object:
| function traverse(data) { | |
| for (var objName in data) { | |
| if (!data.hasOwnProperty(objName)) { | |
| continue; | |
| } | |
| var obj = data[objName]; | |
| if (typeof obj === 'object') { | |
| console.log('obj: ' + objName + ' = {}...'); | |
| this.traverse(obj); |