Skip to content

Instantly share code, notes, and snippets.

@Crawleyprint
Crawleyprint / 0_reuse_code.js
Created March 1, 2016 14:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<script>
$('#login').click(function() {
$.post(
"/",
{
username: $("#id_username").val(),
password: $("#id_password").val(),
csrfmiddlewaretoken: $.cookie("csrftoken"),
next: $("#id_next").val()
},
@Crawleyprint
Crawleyprint / Custom.css
Created January 13, 2012 14:41 — forked from lensco/Custom.css
User stylesheet to customize the WebKit Inspector (cleaning up and improving the styles panel). See http://bricss.net/post/9076968710/customize-the-webkit-inspector-chrome-dev-tools
.monospace {
font: 11px/1.3 Monaco !important;
}
/* slightly larger indentation of source code */
.outline-disclosure ol {
-webkit-padding-start: 18px !important;
}
/* margin underneath styles panel heading */