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
--- DistractFree.vim 2014-04-21 21:17:14.312742931 -0500 | |
+++ DistractFree.vim.1 2014-04-21 21:21:49.645868844 -0500 | |
@@ -39,6 +39,11 @@ | |
let g:distractfree_width = '90%' | |
endif | |
+ " The desired column height. Defaults to 90% | |
+ if !exists( "g:distractfree_height" ) | |
+ let g:distractfree_height = '90%' | |
+ endif |
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 | |
# Preview a Xdefaults color scheme | |
# Usage: themeview.sh [FILE] | |
#### | |
if [[ ! -f "$1" ]]; then | |
echo "Invalid file, $1" | |
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
#!/bin/zsh | |
function read1 { | |
local i | |
local FILE | |
FILE=$(<$BFILE) | |
for i in ${(f@)FILE}; do | |
print $i | |
done | |
} |
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
'use strict' | |
/* PARSER */ | |
// List of valid ops with priority for order of operations | |
const OPTYPES = { | |
'+': 2, | |
'-': 2, | |
'/': 1, | |
'*': 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
'use strict' | |
module.exports = { convert, timef, now } | |
const table = { | |
H: 60 * 60 * 1000, | |
M: 60 * 1000, | |
S: 1000, | |
MS: 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/zsh | |
# Original bash script by @gnachman github.com/gnachman/iterm2/tests/imgcat | |
# - @jsks: ported to zsh and exposed some extra options | |
### | |
setopt err_return extended_glob | |
function help() { | |
<<EOF | |
Usage: zimgcat [OPTIONS] <file> |
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
'use strict' | |
/* | |
* blocket.js | |
* Webscrapes blocket apt ads and emails results | |
* | |
* Files | |
* email_template.html: html template for results email | |
* filter.txt: newline deliminated list of regex keywords to filter out ads by | |
* | |
* Config Vars (set through env) |
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/env Rscript | |
# | |
# Simple R pkg build script with logging posted to Slack. Output gets copied to | |
# a pkg repository under `/usr/share/nginx/R`. | |
# | |
# Wrap with *sh to background script and save as git hook. | |
# | |
# Requires: | |
# 1. Slack API Test Token | |
# 2. Slack Webhook URL |
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/lisp/pdf-annot.el b/lisp/pdf-annot.el | |
index b0ff3c2..82cf122 100644 | |
--- a/lisp/pdf-annot.el | |
+++ b/lisp/pdf-annot.el | |
@@ -981,6 +981,7 @@ other annotations." | |
(pdf-cache-renderpage-highlight | |
page (car size) | |
`("white" "steel blue" 0.35 ,@edges)) | |
+ :width (car size) | |
:map (pdf-view-apply-hotspot-functions |
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
From b7b0801c8b9a97a67b1e329d25fe090fe61a818d Mon Sep 17 00:00:00 2001 | |
From: Jamie Magee <[email protected]> | |
Date: Thu, 31 Oct 2019 09:57:34 +0100 | |
Subject: [PATCH] Python 3.8 support (#10777) | |
* Python 3.8 support | |
time.clock() was deprecated in Python 3.3, and removed in Python 3.8. Python 3.8 will be released on 14th October. See [PEP 596](https://www.python.org/dev/peps/pep-0569/) for more info. | |
Tested locally against Python 3.8.0rc1. |
OlderNewer