This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; a list of root directories for projects. used for find-greping. Put | |
;; your root directories here. No need to start at root | |
(setq my-project-list '("/partial/path/to/directory" | |
"/another/directory/path" | |
"/one_more_path/")) | |
(defun match-list (string list) | |
"returns the entry in list which contains the string" | |
(when list | |
(let ((matchIndex (string-match (car list) string))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# prepare-commit-msg hook that puts the relevant `submodule summary` info in the commit log for you | |
# automaticially. Put it in .git/hooks/prepare-commit-msg (and make sure it is executable) | |
TEMP=`mktemp /tmp/commit.XXXX` | |
echo "\n\n" > $TEMP | |
# remove the * at the beginning of the line so github doesn't think we are making a list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
## simple tool to throttle the output from ninja. This is needed for compilation within a compilation buffer | |
## in emacs because emacs chokes with lots of long-line output. Usage of this script is: | |
## $ build | ninja-throttle.py | |
## where "build" is a build command that outputs status messages of the form: | |
## [93/174] Building CXX object ... | |
## lines matching that format will be throttles, all other lines will be printed | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Ctrl based shortcuts in chrome with external keyboard", | |
"rules": [ | |
{ | |
"description": "Switch ctrl to command for hotkeys in Chrome", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "t", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MESSAGE_TITLE="Rocketpool Refund Available!" | |
source ./keys.sh | |
REFUND=`rocketpool minipool status | grep -A 1 "refund"` | |
RESULT=$? | |
if [[ "$1" = "--test" && $RESULT -ne 0 ]]; | |
then | |
RESULT=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Formula/ogre1.9.rb b/Formula/ogre1.9.rb | |
index fabd3dc..8a1b437 100644 | |
--- a/Formula/ogre1.9.rb | |
+++ b/Formula/ogre1.9.rb | |
@@ -97,6 +97,7 @@ class Ogre19 < Formula | |
def install | |
cmake_args = [ | |
+ "-DCMAKE_CXX_STANDARD='11'", | |
"-DCMAKE_OSX_ARCHITECTURES='x86_64'", |