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
HISTSIZE=5000 | |
HISTFILE=~/.zsh_history | |
SAVEHIST=5000 | |
HISTDUP=erase | |
setopt appendhistory | |
unsetopt inc_append_history | |
setopt sharehistory | |
setopt incappendhistory | |
setopt hist_ignore_all_dups | |
setopt hist_save_no_dups |
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
precmd() { | |
# sets the tab title to current dir | |
echo -ne "\e]1;${PWD##*/}\a" | |
} | |
PRELINE="\r\033[A" | |
function random { | |
echo -e "\033]6;1;bg;red;brightness;$((1 + $RANDOM % 255))\a"$PRELINE |
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
javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected')};document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js') |
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
import: | |
- https://tangrams.github.io/blocks/filter/grain.yaml | |
scene: | |
background: | |
color: '#555' | |
sources: | |
osm: | |
type: MVT |
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
<code_scheme name="Airbnb"> | |
<option name="RIGHT_MARGIN" value="100" /> | |
<option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
<option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
<option name="HTML_ENFORCE_QUOTES" value="true" /> | |
<DBN-PSQL> | |
<case-options enabled="false"> | |
<option name="KEYWORD_CASE" value="lower" /> | |
<option name="FUNCTION_CASE" value="lower" /> | |
<option name="PARAMETER_CASE" value="lower" /> |
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
sources: | |
tz2: | |
type: GeoJSON | |
url: https://gist.githubusercontent.com/mladenp/469a49559f566ad46e65281fe0e4f9cb/raw/8f1a3421f299fa014107c49ff6de0f9473281d4b/MultiPolygon.geojson | |
generate_label_centroids: true | |
max_zoom: 21 | |
min_zoom: 1 | |
tz3: | |
type: GeoJSON |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 iframeURLChange(iframe, callback) { | |
var unloadHandler = function () { | |
// Timeout needed because the URL changes immediately after | |
// the `unload` event is dispatched. | |
setTimeout(function () { | |
callback(iframe.contentWindow.location.href); | |
}, 0); | |
}; | |
function attachUnload() { |
NewerOlder