- Source http://tinyurl.com/alice-clj
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
// append to | |
// /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js | |
// based on https://github.com/laCour/slack-night-mode/ | |
document.addEventListener('DOMContentLoaded', function() { $.ajax({ url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css', success: function(css) { $("<style></style>").appendTo('head').html(css); } }); }); |
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
r4---sn-vgqs7nez.googlevideo.com | |
r4.sn-vgqs7nez.googlevideo.com | |
www.youtube-nocookie.com | |
i1.ytimg.com | |
r17---sn-vgqsenes.googlevideo.com | |
r2---sn-vgqs7n7k.googlevideo.com | |
clients6.google.com | |
r1---sn-vgqsen7z.googlevideo.com | |
r1.sn-vgqsen7z.googlevideo.com | |
r20---sn-vgqs7ne7.googlevideo.com |
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
unmap h | |
unmap t | |
map h scrollDown count=3 | |
map t scrollUp count=3 | |
map j removeTab | |
map u restoreTab | |
map l performFind | |
map L performBackwardFind | |
map d previousTab | |
map n nextTab |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("transfer.sh") { | |
.wrapper h2.page-title, .wrapper a.btn, .wrapper h4, .wrapper br { | |
display: none; | |
} | |
#from-terminal { | |
margin-left: 0; | |
width: 100%; | |
} |
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
let hintcharacters = "aoeuidhtns" | |
unmap h j k l d h t n | |
map d previousTab | |
map h scrollDown | |
map t scrollUp | |
map n nextTab | |
map k :tabnew<Space> | |
map j closeTab |
When using ArchLinux, I typically prefer to use an AUR helper like pacaur or yaourt to automate away the process of installing a community package.
Ansible's pacman module is
great, but it doesn't support AUR packages or pacman's -U
flag.
Installing AUR packages with Ansible seemed to be left as an exercise to
the user, and since AUR helpers do not come with a fresh Arch install, I
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 sytac-dojo.core | |
(:require [clojure.java.io :as io] | |
[clojure.string :as string] | |
[clojure.math.combinatorics :as combo])) | |
(def volume 150) | |
(defn read-input! [] | |
(as-> "input.txt" $ | |
(io/resource $) |
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
git branch -r --merged | grep origin | grep -v '>' | grep -v master | xargs -L1 | awk '{sub(/origin\//,"");print}' | xargs git push origin --delete |
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
; A bit different from clojure since no lazy sequences | |
(defmacro as-> | |
[expr name & forms] | |
`(let [~name ~expr | |
~@(interleave (repeat (count forms) name) forms)] | |
~name)) |