Skip to content

Instantly share code, notes, and snippets.

View futuro's full-sized avatar

Evan Niessen-Derry futuro

  • St. Paul, MN
  • 05:09 (UTC -05:00)
View GitHub Profile
/*!
* Chart.js
* http://chartjs.org/
* Version: 1.0.1
*
* Copyright 2015 Nick Downie
* Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
*/
#!/usr/bin/env python3
import os
import sphinx_rtd_theme
from recommonmark.parser import CommonMarkParser
from recommonmark.transform import AutoStructify
extensions = []
templates_path = ['_templates']
source_suffix = ['.rst', '.md']
source_parsers = { '.md': CommonMarkParser, }
set-option -g prefix 'C-\'
unbind-key C-b
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Make sure that window creation commands keep my PWD
bind-key 'c' new-window -c '#{pane_current_path}'
@futuro
futuro / android-custom.el
Created February 14, 2016 01:45
Setting up emacs for java development
(require 'android) ; This is android.el from the sdk
(mapc (lambda (library)
(require library))
'(java-custom android-mode))
(add-hook 'gud-mode-hook
(lambda ()
(add-to-list 'gud-jdb-classpath
"~/devel/mobil/android/android-sdk-linux/platforms/android-17/android.jar")))
This file has been truncated, but you can view the full file.
var TimePicker =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
@futuro
futuro / gist:8499152
Created January 19, 2014 01:20
Alternative representation for s-xml:xml-to-string or whatever it's called.
(:|node|
(:|interface| (:@ (:|name| "org.freedesktop.DBus"))
(:|method| (:@ (:|name| "Hello"))
(:|arg| (:@ (:|direction| "out")
(:|type| "s"))))
(:|method| (:@ (:|name| "RequestName"))
(:|arg| (:@ (:|direction| "in")
(:|type| "s")))
(:|arg| (:@ (:|direction| "in")
(:|type| "u")))
diff --git a/default.build b/default.build
index 9700db9..7af7f1f 100644
--- a/default.build
+++ b/default.build
@@ -58,7 +58,7 @@
<exec program="msbuild " commandline="MonoGame.Framework.Linux.sln /t:Build /p:Configuration=Release" />
</if>
<if test="${os == 'Unix'}">
- <exec program="xbuild" commandline="/t:Build /p:Configuration=Clean MonoGame.Framework.Linux.sln" />
+ <exec program="xbuild" commandline="/t:Build /p:Configuration=Release MonoGame.Framework.Linux.sln" />
@futuro
futuro / slime_dbus.lisp
Created January 25, 2013 12:50
This is a log of some of my work dicking around with dbus and lisp.
; SLIME 2012-12-17
CL-USER> (in-package :stumpwm)
#<PACKAGE "STUMPWM">
STUMPWM> (ql:quickload :dbus)
To load "dbus":
Load 1 ASDF system:
dbus
; Loading "dbus"
....
;;; Checking for wide character support... WARNING: Lisp implementation doesn't use UTF-16, but accepts surrogate code points.
;;; erc-hl-nicks.el --- ERC nick highlighter that ignores uniquifying chars when colorizing
;; Copyright (C) 2011-2012 David Leatherman
;; Author: David Leatherman <leathekd@gmail.com>
;; URL: http://www.github.com/leathekd/erc-hl-nicks
;; Version: 1.3.0
;; This file is not part of GNU Emacs.
"""Define names for all type symbols known in the standard interpreter.
Types that are part of optional modules (e.g. array) are not listed.
"""
import sys
# Iterators in Python aren't a matter of type but of protocol. A large
# and changing number of builtin types implement *some* flavor of
# iterator. Don't check the type! Use hasattr to check for both
# "__iter__" and "next" attributes instead.