Skip to content

Instantly share code, notes, and snippets.

View goblindegook's full-sized avatar
🎱
Ask again later.

Luís Rodrigues goblindegook

🎱
Ask again later.
View GitHub Profile
@goblindegook
goblindegook / goblindegook.css
Created December 5, 2012 18:02
Personal Marked theme.
/*
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra
Please leave this notice in place, along with any additional credits below.
---------------------------------------------------------------
Title: goblindegook
Author: Luís Rodrigues <https://github.com/goblindegook>
Description: Personal Marked theme.
*/
body
@goblindegook
goblindegook / addObserver.m
Created December 2, 2012 21:18
Detect VoiceOver Status Changes
- (void)viewDidLoad {
...
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(didChangeVoiceOverStatus:)
name:UIAccessibilityVoiceOverStatusChanged
object:nil];
...
}
@goblindegook
goblindegook / gist:1919587
Created February 26, 2012 23:15
Adjust WordPress HTTP request timeout
<?php
function my_http_request_args ( $r )
{
$r['timeout'] = 15; # new timeout
return $r;
}
add_filter( 'http_request_args', 'my_http_request_args', 100, 1 );
@goblindegook
goblindegook / README.md
Created February 26, 2012 22:59 — forked from michaelfox/README.md
Notational Velocity (nvALT) Custom Stylesheet and Markup HTML

Usage

Copy these files to your ~/Library/Application Support/Notational Velocity/ folder.

@goblindegook
goblindegook / HelvetiPaperG.taskpapertheme
Created February 25, 2012 20:19
HelvetiPaperG TaskPaper Theme
<theme>
<!-- color -->
<color id="foreground" red="1.0" green=".2" blue=".2" alpha="1.0" />
<color id="background" red="1" green="1" blue="1" alpha="1.0" />
<color id="done" red=".8" green=".8" blue=".8" alpha="1.0" />
<color id="groupHeader" extendsColorID="foreground" />
<color id="handle" extendsColorID="foreground" />
<color id="insertionPoint" red=".4" green=".4" blue=".4" alpha="1.0" />
<color id="note" red=".5" green=".5" blue=".5" alpha="1.0" />
<color id="project" extendsColorID="foreground" />
@goblindegook
goblindegook / .screenrc
Created February 25, 2012 02:01
.screenrc
startup_message off
screen -t top 0 htop
screen -t bash 1
screen -t bash 2
screen -t bash 3
screen -t bash 4
screen -t bash 5
screen -t bash 6
screen -t bash 7
screen -t log 8
@goblindegook
goblindegook / demo.html
Created August 25, 2010 16:19
Select box auto-width workaround for Internet Explorer (requires jQuery)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Select auto-width workaround for Internet Explorer</title>
<link rel="stylesheet" type="text/css" href="select-autowidth.css" title="Select Autowidth" />
<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
@goblindegook
goblindegook / demo.html
Created August 3, 2010 17:30
Check if a font is installed (requires jQuery)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>isFontAvailable() Demo</title>
<meta name="description" content="">
<meta name="author" content="Luís Rodrigues">
<meta name="viewport" content="width=device-width">
<style>