- Python2.7 is installed (Python2.7.6)
- pip is installed. (pip)
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
-- Derived from xmonad-contrib/XMonad/Layout/TwoPane.hs | |
data TwoPaneMod a = TwoPaneMod Rational Rational deriving (Show, Read) | |
instance LayoutClass TwoPaneMod Window where | |
doLayout (TwoPaneMod _ split) r s = (,Nothing) <$> arrange r s | |
where | |
arrange rect st = do | |
ws <- mapped <$> get | |
let x = case reverse (W.up st) of | |
(master:_) -> [(master, left), (W.focus st, right)] |
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
(keymap (27 . [escape]) (right-fringe keymap (mouse-3 . mouse--strip-first-event) (mouse-2 . mouse--strip-first-event) (mouse-1 . mouse--strip-first-event)) (left-fringe keymap (mouse-3 . mouse--strip-first-event) (mouse-2 . mouse--strip-first-event) (mouse-1 . mouse--strip-first-event)) (escape . [27]) (return . [13]) (clear . [12]) (linefeed . [10]) (tab . [9]) (kp-equal . [61]) (kp-separator . [44]) (kp-tab . [9]) (kp-space . [32]) (24 keymap (64 keymap (99 . event-apply-control-modifier) (83 . event-apply-shift-modifier) (97 . event-apply-alt-modifier) (109 . event-apply-meta-modifier) (115 . event-apply-super-modifier) (104 . event-apply-hyper-modifier))) (S-tab . [backtab]) (0 . [67108896]) (delete . [127]) (backspace . [127]) (C-M-S-kp-divide . [234881071]) (M-S-kp-divide . [167772207]) (C-S-kp-divide . [100663343]) (S-kp-divide . [33554479]) (C-M-kp-divide . [201326639]) (M-kp-divide . [134217775]) (C-kp-divide . [67108911]) (kp-divide . [47]) (C-M-S-kp-multiply . [234881066]) (M-S-kp-multiply . [1677 |
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
(require 'flycheck) | |
(setq-default flycheck-disabled-checkers '(haskell-ghc haskell-lint)) | |
(defconst ghc-check-regexp | |
"^\\([^\n]*\\):\\([0-9]+\\):\\([0-9]+\\):\\(Warning:\\)? *\\([^\t]+\\)") | |
(defun ghc-flycheck-start (cmd checker callback) | |
(let ((errs (ghc-sync-process | |
(format "%s %s\n" cmd |
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/sh | |
bundleURL=https://raw.githubusercontent.com/docker/toolbox/master/Dockerfile.windows | |
dockerBucket=get.docker.com | |
if [ -e docker ]; then | |
echo 'File or directory "docker" should not exist.' | |
exit 1 | |
fi |
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
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c | |
index 4d7745b..eb6f095 100644 | |
--- a/sys/dev/usb/ums.c | |
+++ b/sys/dev/usb/ums.c | |
@@ -334,6 +334,12 @@ ums_attach(device_t parent, device_t self, void *aux) | |
} | |
} | |
} | |
+ for (size_t j = 1; i <= MAX_BUTTONS && j <= 2; i++, j++) { | |
+ if (!hid_locate(desc, size, HID_USAGE2(HUP_MICROSOFT, j), |
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
warp-3.1.3: test (suite: doctest) | |
Examples: 12 Tried: 12 Errors: 0 Failures: 0 | |
warp-3.1.3: test (suite: spec) | |
BufferPool | |
withBufferPool | |
does not clobber buffers | |
Conduit | |
conduit | |
IsolatedBSSource |
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
@media screen and (min-width: 900px) { | |
#top-menu, #header { | |
position: fixed; | |
width: 100%; | |
z-index: 9999; | |
} | |
#header { | |
top: 22px; | |
} |
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/python3 | |
import apt | |
import apt_pkg | |
import json | |
import requests | |
import subprocess | |
webhook_url = '<WEBHOOK_URL>' | |
channel = '<CHANNEL>' |
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
WAVE DASH (U+301C, "〜") | |
FULLWIDTH TILDE (U+FF5E, "~") | |
CENT SIGN (U+00A2, "¢") | |
FULLWIDTH CENT SIGN (U+FFE0, "¢") | |
POUND SIGN (U+00A3, "£") | |
FULLWIDTH POUND SIGN (U+FFE1, "£") | |
NOT SIGN (U+00AC, "¬") |
OlderNewer