Skip to content

Instantly share code, notes, and snippets.

- [ ] a
- [x] b
{
"vars": {
"@brand-primary": "#e8edff",
"@brand-success": "#264409",
"@brand-danger": "#8A1F11",
"@brand-info": "#514721",
"@text-color": "#444",
"@link-color": "#459",
"@link-color-hover": "#039",
"@border-radius-base": "3px",
@pracj3am
pracj3am / gist:3632521
Created September 5, 2012 07:21
Open URL with phantomJS
var page = require('webpage').create();
var url = 'http://localhost:9876/capture';
var log = function(str) {
var dt = new Date();
console.log(dt.toString() + ': ' + str);
};
var pageLoaded = function(status) {
log('Finished loading ' + url + ' with status: ' + status);
@pracj3am
pracj3am / gist:3181388
Created July 26, 2012 10:27
Malý úryvek z reload.c z GCC
static int
find_reusable_reload (rtx *p_in, rtx out, enum reg_class rclass,
enum reload_type type, int opnum, int dont_share)
{
rtx in = *p_in;
int i;
/* We can't merge two reloads if the output of either one is
earlyclobbered. */
if (earlyclobber_operand_p (out))