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
{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, DeriveDataTypeable, TypeSynonymInstances, PatternGuards #-} | |
module Anekos.Lib.MyGaps ( | |
MyGaps(..), | |
myGaps | |
) where | |
import XMonad | |
import Graphics.X11 (Rectangle(..)) |
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/bash | |
set -euC | |
# exec 5> /tmp/xmosh/shell-script-debug.out | |
# BASH_XTRACEFD="5" | |
# PS4='$LINENO: ' | |
# set -x | |
if [ "$#" -lt 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
#!/bin/bash | |
# set -x | |
DZEN_OPTIONS=(-dock -x 1920 -y 0 -w 1920 -ta c -h 20 -fg 'white' -fn 'VL Gothic') | |
cmd="$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
// http://www.iconshock.com/flat-icons/general-icons/audio-volume-none-icon | |
// https://www.svgrepo.com/svg/47144/air-conditioner | |
// https://www.flaticon.com/packs/characters-and-numbers | |
// https://github.com/Lange/node-elgato-stream-deck | |
// https://github.com/joshmarinacci/node-pureimage | |
const FS = require('fs'); | |
const HTTP = require('http'); | |
const PImage = require('pureimage'); | |
const Path = require('path'); |
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
function s:invert(...) | |
let &background = &background ==# 'light' ? 'dark' : 'light' | |
endfunction | |
call timer_start(10, function('s:invert'), {'repeat': -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
function f() { | |
return v; | |
var v; | |
} | |
function g() { | |
if (false) { var v } | |
return v; | |
} |
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/ruby | |
# vim: set fileencoding=utf-8 : | |
def foo﹣bar | |
puts('I am lisp') | |
end | |
foo﹣bar |
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
(ns {{_expr_:join(split(substitute(expand('%:r'), '_', '-', 'g'), '/')[1 :], '.')}} | |
(:require [clojure.string :as 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
function! s:long_cat (n) | |
let l:top = copy([ | |
\ ' /\___/\', | |
\ ' / \', | |
\ ' | o o |', | |
\ ' \ # |', | |
\ ' \ _|_ /', | |
\ ' / \______', | |
\ ' / _______ ___ \', | |
\ ' |_____ \ \__/', |
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
js << EOM | |
liberator.modules.CompletionContext = liberator.eval('CompletionContext', modules); | |
Command = liberator.eval('Command', modules); | |
EOM |