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(){ | |
//YouTube: | |
if(document.getElementById("channel-body")){ | |
document.getElementById("channel-body").style.cssText = "background-image: none"; | |
}; | |
//http://algo.inria.fr/flajolet/Publications/index.html: | |
document.body.background = ""; | |
//Twitter: | |
document.body.style.cssText = "background-image: none"; | |
})(); |
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
" <neobundle> | |
" Note: Skip initialization for vim-tiny or vim-small. | |
if 0 | endif | |
if has('vim_starting') | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: |
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
[alias] | |
added = diff --cached | |
br = branch | |
ci = commit | |
co = checkout | |
contains = branch --contains | |
di = diff | |
diffc = diff --cached | |
discard = checkout -- | |
distclean = "clean -dxfi" |
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
// ==UserScript== | |
// @namespace https://gist.github.com/amacfie/04b1da41137ed0bb20c554468f34b67c | |
// @description Add keybindings for focusing the next/previous form element | |
// @include http* | |
// @run-at document-start | |
// @noframes | |
// ==/UserScript== | |
var isGoodEl = function (node) { | |
var formTags = ['INPUT', 'SELECT', 'BUTTON', 'TEXTAREA']; |
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
r""" | |
requires: | |
pydantic==1.* | |
numpy==1.* | |
scipy==1.* | |
""" | |
from abc import ABC, abstractmethod | |
import math |