Skip to content

Instantly share code, notes, and snippets.

Steven Borrie saborrie

Block or report user

Report or block saborrie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saborrie
saborrie / Concfg Powershell Monaco editor Dark Visual Studio theme
Last active Jul 18, 2017
For use with https://github.com/lukesampson/concfg, to make Powershell look like the integrated terminal from VSCode
View Concfg Powershell Monaco editor Dark Visual Studio theme
{
"black": "#1e1e1e",
"dark_blue": "#2472c8",
"dark_green": "#0dbc79",
"dark_cyan": "#11a8cd",
"dark_red": "#cd3131",
"dark_magenta": "#bc3fbc",
"dark_yellow": "#e5e510",
"gray": "#e5e5e5",
"dark_gray": "#666666",
View Quick notepad bookmark using data url
data:text/html, <html> <head><title>Notepad</title><style> html { height: 100%; } body { background: #ffffaa; padding: 0; margin: 0; font-family: monospace; font-size: 20px; height: 100%; } input { background: none; padding: 0; border: none; margin: 0; width: 100%; line-height: inherit; font-size: inherit; height: inherit; } input:focus{ outline: none !important; border-color: inherit; border: none; -webkit-box-shadow: none; box-shadow: none; } .top, .bottom { width: 840px; max-width: 100%; margin: auto; padding: 0 20px; } #hiddentitle { display: none; } .top { height: 100px; padding-top: 40px; } .bottom, .bottom:focus { padding: 30px 20px; min-height: calc(100% - 200px); outline: 0 solid transparent; } img { max-width: 80%; margin: auto; max-height: 250px; text-align: center; } </style> </head> <body> <div class='top'> <h1><span id='hiddentitle'></span><input id='title' placeholder='Title' autocomplete="off" onkeyup="updateTitle()"></h1> </div> <div class='bottom' placeholder='content' contenteditable></div>
@saborrie
saborrie / Pretty md in bash
Created Nov 16, 2016
Pretty print markdown files in bash
View Pretty md in bash
rmd () {
pandoc $1 | sed 's/<code/<code style="color:cyan;"/g'| elinks -dump -dump-color-mode 1 | sed -r 's/^/ /g;s/ *$//' | (echo && cat && echo)
}
You can’t perform that action at this time.