Skip to content

Instantly share code, notes, and snippets.

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

Dan LaManna danlamanna

🏠
Working from home
View GitHub Profile
(defun helm-ctest-candidates()
(let* ((ctest-output (shell-command-to-string "cd ~/projects/romanesco/build && ctest -N"))
(tests (-butlast (-drop 1 (s-split "\n" ctest-output)))))
(-map (lambda(test-line)
(s-trim
(s-chop-prefix "Test"
(s-trim test-line)))) tests)))
(defun helm-ctest-build-command(tests)
(concat "ctest -I "
(defproject girder
:path "~/projects/girder"
:vars '((project-venv "girder")
(build-dir (concat project-path "/build")))
:init (progn
(prodigy-define-service
:name "Girder Dev"
:command "python"
:cwd girder-project-dir
:args '("-m" "girder")
!function(global,factory){"object"==typeof module&&"object"==typeof module.exports?module.exports=global.document?factory(global,!0):function(w){if(!w.document)throw new Error("jQuery requires a window with a document");return factory(w)}:factory(global)}("undefined"!=typeof window?window:this,function(window,noGlobal){function isArraylike(obj){var length="length"in obj&&obj.length,type=jQuery.type(obj);return"function"===type||jQuery.isWindow(obj)?!1:1===obj.nodeType&&length?!0:"array"===type||0===length||"number"==typeof length&&length>0&&length-1 in obj}function winnow(elements,qualifier,not){if(jQuery.isFunction(qualifier))return jQuery.grep(elements,function(elem,i){return!!qualifier.call(elem,i,elem)!==not});if(qualifier.nodeType)return jQuery.grep(elements,function(elem){return elem===qualifier!==not});if("string"==typeof qualifier){if(risSimple.test(qualifier))return jQuery.filter(qualifier,elements,not);qualifier=jQuery.filter(qualifier,elements)}return jQuery.grep(elements,function(elem){return inde
/** @namespace */
var geo = {}; // jshint ignore: line
window.geo = geo; // jshint ignore: line
geo.renderers = {};
geo.features = {};
geo.fileReaders = {};
//////////////////////////////////////////////////////////////////////////////
/**
(require 'grep)
(setq geojs-project-dir "~/projects/geojs")
(setq geojs-build-dir "~/projects/geojs-build")
(setq geojs-venv "geojs-source")
(add-to-list 'safe-local-variable-values
'(compile-command . (format "cd %s && ctest" geojs-build-dir)))
(prodigy-define-service
{
"loadEagerly": [
"src/**/*.js",
"vgl/src/**/*.js"
]
}
from fabric.api import sudo, run
from fabric.contrib.files import exists
from fabric.decorators import task
crane_file = 'https://raw.githubusercontent.com/Kitware/SMQTK/tempus/python/smqtk/web/geospace/deploy/crane.yaml'
def install_crane():
if not exists('crane'):
run('bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/master/download.sh`"')
from fabric.api import sudo, run
from fabric.contrib.files import exists
from fabric.decorators import task
crane_file = 'https://raw.githubusercontent.com/Kitware/SMQTK/tempus/python/smqtk/web/geospace/deploy/crane.yaml'
def install_crane():
if not exists('crane'):
run('bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/master/download.sh`"')
{
"loadEagerly": [
"node_modules/jquery/dist/jquery.js",
"node_modules/jade/runtime.js",
"node_modules/underscore/underscore.js",
"node_modules/backbone/backbone.js",
"node_modules/marked/lib/marked.js",
"node_modules/jsoneditor/dist/jsoneditor.js",
"clients/web/lib/js/d3.js",
"clients/web/lib/js/bootstrap.js",
(defmacro use-package-ensure(package &rest body)
(declare (indent 1))
`(use-package ,package
:ensure t
,@body))
;; company
(use-package-ensure company)