start new:
tmux
start new with session name:
tmux new -s myname
# Clojure syntax highlighting for GNU source-highlight | |
# rocks with SHJS | |
# http://gist.github.com/265810 | |
comment start ";" | |
include "number.lang" | |
vardef SPECIALCHAR = '\\.' |
diff --git a/editors/scel/el/sclang-interp.el b/editors/scel/el/sclang-interp.el | |
index b254038..ce38fed 100644 | |
--- a/editors/scel/el/sclang-interp.el | |
+++ b/editors/scel/el/sclang-interp.el | |
@@ -545,7 +545,8 @@ if PRINT-P is non-nil. Return STRING if successful, otherwise nil." | |
(interactive "P") | |
(let ((string (sclang-line-at-point))) | |
(when string | |
- (sclang-eval-string string (not silent-p))) | |
+ (sclang-eval-string string (not silent-p)) |
#!/usr/bin/env bash | |
############ | |
# QuickSBT # | |
############ | |
# Launch SBT with support for generating /tmp/sbt.quickfix file for Vim | |
# http://github.com/aloiscochard / https://gist.github.com/4698501 | |
# Error format for SBT, and shortcut to open SBT quickfix file : |
Here is a reference to the part of the video where the slides are listed: | |
https://www.youtube.com/watch?v=SrKj4hYic5A&feature=youtu.be&t=28m | |
Here are the references: | |
SMITH - Reflection and Semantics in Lisp - 1983 | |
http://www-public.it-sudparis.eu/~gibson/Teaching/CSC7322/ReadingMaterial/Smith84.pdf | |
WAND & FRIEDMAN - The Mystery of the Tower in Lisp - 1986 | |
http://www.cs.indiana.edu/pub/techreports/TR196.pdf |
(defrecord Server [service-map] | |
component/Lifecycle | |
(start [component] | |
(info :msg "Starting server.") | |
(let [server (bootstrap/create-server (:service-map service-map))] | |
(bootstrap/start server) | |
(assoc component :server server))) | |
(stop [component] | |
(info :msg "Stopping server.") | |
(update-in component [:server] bootstrap/stop))) |
#! /usr/local/bin/fish | |
if test -n "$HOME" ; | |
set -xg NIX_LINK "$HOME/.nix-profile" | |
# Set the default profile. | |
if not test -L "$NIX_LINK" ; | |
echo "creating $NIX_LINK" >&2 | |
set -l _NIX_DEF_LINK /nix/var/nix/profiles/default | |
/nix/store/cdybb3hbbxf6k84c165075y7vkv24vm2-coreutils-8.23/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK" | |
end |
{ config, lib, pkgs, ...}: | |
with lib; | |
{ | |
nix.package = pkgs.nixUnstable; | |
nix.trustedUsers = [ "hydra" ]; | |
nix.binaryCaches = [ "http://cache.example.org" "https://cache.nixos.org" ]; | |
nix.buildMachines = [ |