This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
| parse_git_branch() { | |
| ref=$(git symbolic-ref -q HEAD 2> /dev/null) || return | |
| printf "${1:-(%s)}" "${ref#refs/heads/}" | |
| } | |
| parse_svn_revision() { | |
| local DIRTY REV=$(svn info 2>/dev/null | grep Revision | sed -e 's/Revision: //') | |
| [ "$REV" ] || return | |
| [ "$(svn st)" ] && DIRTY=' *' | |
| echo "(r$REV$DIRTY)" |
| @function linear() { | |
| @return cubic-bezier(0.250, 0.250, 0.750, 0.750); } | |
| @function ease() { | |
| @return cubic-bezier(0.250, 0.100, 0.250, 1.000); } | |
| @function ease-in() { | |
| @return cubic-bezier(0.420, 0.000, 1.000, 1.000); } | |
| @function ease-in-quad() { | |
| @return cubic-bezier(0.550, 0.085, 0.680, 0.530); } |
| // requires raf.js (polyfil) | |
| (function(){ | |
| var ids = {}; | |
| function requestId(){ | |
| var id; | |
| do { | |
| id = Math.floor(Math.random() * 1E9); | |
| } while (id in ids); |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
Useful for when a blocking user experience is needed (in my case, didn't want people unwittingly loosing their place by scrolling while a modal required their attention): $.scrollLock() locks the body in place, preventing scroll until it is unlocked.
// Locks the page if it's currently unlocked
$.scrollLock();
// ...or vice versa
| # The upstream module is the link between Node.js and Nginx. | |
| # Upstream is used for proxying requests to other servers. | |
| # All requests for / get distributed between any of the servers listed. | |
| upstream helloworld { | |
| # Set up multiple Node.js webservers for load balancing. | |
| # max_fails refers to number of failed attempts | |
| # before server is considered inactive. | |
| # weight priorities traffic to server. Ex. weight=2 will recieve | |
| # twice as much traffic as server with weight=1 | |
| server <your server ip>:3000 max_fails=0 fail_timeout=10s weight=1; |
| .\" generated with Ronn/v0.7.3 | |
| .\" http://github.com/rtomayko/ronn/tree/0.7.3 | |
| . | |
| .TH "COOLER" "7" "February 2014" "" "" | |
| . | |
| .SH "NAME" | |
| \fBcooler\fR \- import and export homebrew settings | |
| . | |
| .SH "SYNOPSIS" | |
| \fBname import name_of_cooler_bundle\fR |
Replace all instances of <polyline with <path and points=" with d="M.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1000px" height="1000px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
-<polyline fill="#FFFFFF" stroke="#000000" stroke-miterlimit="10" points="100.712,141.534 582.904,227.835 425.37,478.521
+| <script type="text/javascript"> | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var css_href = './index_files/web-fonts.css'; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); |