This file contains hidden or 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
Sandbox = {} | |
Sandbox.Frame = CreateFrame('Frame', 'Sandbox') | |
Sandbox.Evals = {} | |
function prn(s) | |
DEFAULT_CHAT_FRAME:AddMessage(s) | |
end | |
function len(tbl) | |
local n = 0 |
This file contains hidden or 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
function prn(s) | |
DEFAULT_CHAT_FRAME:AddMessage(s) | |
end | |
SLASH_SANDBOX1 = '/sandbox' | |
SlashCmdList['SANDBOX'] = function() prn('Sandbox loaded! :)') end | |
SLASH_EVAL1 = '/eval' | |
SlashCmdList['EVAL'] = function(s) | |
if s == nil or s == '' then |
This file contains hidden or 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
#lang racket | |
(define/contract (split-on lst func) | |
(list? (any/c any/c . -> . boolean?) . -> . list?) | |
(define-values (l r) (split-on-first lst func)) | |
(if (empty? r) | |
(list l) | |
(append (list l) (split-on r func)))) | |
(define/contract (split-on-first lst func) |
This file contains hidden or 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
#lang racket | |
(require irc) | |
(require net/http-client) | |
(require json) | |
(require net/uri-codec) | |
(require net/url) | |
(require (planet neil/html-parsing:3:0)) | |
(require racket/sandbox) | |
;;;;;;;;;;;;; |
This file contains hidden or 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
#lang racket | |
(require irc) | |
(require net/http-client) | |
(require json) | |
(require net/uri-codec) | |
(require net/url) | |
(require (planet neil/html-parsing:3:0)) | |
(require racket/sandbox) | |
;;;;;;;;;;;;; |
This file contains hidden or 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
#lang racket | |
(require irc) | |
(require net/http-client) | |
(require json) | |
(require net/uri-codec) | |
(require net/url) | |
(require (planet neil/html-parsing:3:0)) | |
;;;;;;;;;;;;; | |
;; Structures |
This file contains hidden or 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; custom-set-* | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(ansi-color-faces-vector |
This file contains hidden or 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 -ruN dwm-6.1-orig/dwm.c dwm-6.1/dwm.c | |
--- dwm-6.1-orig/dwm.c 2015-11-08 16:39:37.000000000 -0600 | |
+++ dwm-6.1/dwm.c 2015-12-14 19:17:19.656091228 -0600 | |
@@ -227,6 +227,7 @@ | |
static void updatetitle(Client *c); | |
static void updatewmhints(Client *c); | |
static void view(const Arg *arg); | |
+static void warp(const Client *c); | |
static Client *wintoclient(Window w); | |
static Monitor *wintomon(Window w); |
This file contains hidden or 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
;; This buffer is for notes you don't want to save, and for Lisp evaluation. | |
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
(progn (princ "---\n") (mapcar (lambda (p) (princ p) (princ "\n")) package-activated-list) '---) | |
--- | |
coffee-mode | |
conkeror-minor-mode | |
crosshairs |
This file contains hidden or 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; custom-set-* | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(ansi-color-faces-vector |