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
// NOTE: This file should be loaded finally, after all other files | |
// define keys for specific keymap | |
// arguments: keymap, keystroke1, command1, keystroke2, command2,... | |
function my_define_keys(){ | |
// check if arguments if larger than 1 | |
if(arguments.length > 1){ | |
var args = Array.prototype.slice.call(arguments); | |
// get the keymap |
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
(defproject omtut "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.7.0"] | |
[org.clojure/clojurescript "1.7.170"] | |
[org.clojure/core.async "0.2.374"] | |
[org.omcljs/om "1.0.0-alpha24"] | |
[com.cemerick/piggieback "0.2.1"] |
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
# ~/.ratpoisonrc | |
# options | |
startup_message off | |
# ratpoison | |
set border 6 | |
set padding 20 20 20 20 | |
set fgcolor #6b6254 | |
set fwcolor #6b6254 |
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
import re | |
import Tkinter, tkFileDialog | |
root = Tkinter.Tk() | |
root.withdraw() | |
p6 = re.compile("#[0-9a-f]{6};", re.IGNORECASE) | |
p3 = re.compile("#[0-9a-f]{3};", re.IGNORECASE) | |
filepath = tkFileDialog.askopenfilename(title= "file?",) | |
content = file(filepath,'r').read() |
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
!! based on dkeg's bulb colors | |
!! inverted with a bit of tweaks | |
#define fg #847a67 | |
#define bg #f1eeeb | |
#define blk #b3afaf | |
#define bblk #a9a3a5 | |
#define red #9c674b | |
#define grn #78784d |
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
;;; bulb-theme.el --- Emacs theme with a dark background. | |
;; Copyright (C) 2015 , dkeg | |
;; Author: dkeg <https://github.com/dkeg/crayolo/blob/master/bulb> | |
;; With a few modification from franksinistra | |
;; Version: 0.1 | |
;; Package-Requires: ((emacs "24")) | |
;; This file is not part of Emacs. |