Skip to content

Instantly share code, notes, and snippets.

View LouCypher's full-sized avatar
💸
Flat broke. Needs money.

Zulkarnain K. LouCypher

💸
Flat broke. Needs money.
View GitHub Profile
// ==UserScript==
// @name gist: replace title with filename
// @namespace http://d.hatena.ne.jp/youpy/
// @include http://gist.github.com/*
// @include https://gist.github.com/*
// @exclude http://gist.github.com/gists
// @exclude https://gist.github.com/gists
// @require https://gist.github.com/3242.txt
// ==/UserScript==
@erikvold
erikvold / gistUserScriptInstallLink.user.js
Created January 29, 2010 06:04
This userscript will add an 'Install' link to all userscript files (which end with .user.js by necessity).
@esquifit
esquifit / open_folder.ubiq.js
Created May 2, 2010 18:59 — forked from esquifit/open_folder.ubiq.js
Opens Firefox special folder (profile, chrome or installaton folder) For Ubiquity 0.5
function openSpecialFolder(aFolderType) {
var dirService = Components.classes['@mozilla.org/file/directory_service;1']
.getService(Components.interfaces.nsIProperties);
var dir = dirService.get(aFolderType, Components.interfaces.nsIFile);
var iDirectory = getLocalFileInterface(dir.path);
try {
iDirectory.reveal();
} catch (ex) {
// if reveal failed for some reason (eg on unix it's not currently
@johan
johan / laughing-man.svg
Created July 6, 2011 04:56
The Laughing Man (Ghost in the Shell), 1000 byte SVG :-)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@esquifit
esquifit / HTML5_menuitems.us.js
Created January 12, 2012 20:18
Test HTML5 menuitems from within Greasemonkey
// ==UserScript==
// @name Test menuitems in HTML5
// @namespace http://esquifit.myopenid.com
// @description Test menuitems in HTML5
// @include *
// ==/UserScript==
// After a suggestion from Johan Sundström in the Greasemonkey Dev list:
// https://groups.google.com/d/msg/greasemonkey-dev/gLiizYy8VOo/q3_L5HejevsJ
@mranney
mranney / emoji_sad.txt
Created January 30, 2012 23:05
Why we can't process Emoji anymore
From: Chris DeSalvo <chris.desalvo@voxer.com>
Subject: Why we can't process Emoji anymore
Date: Thu, 12 Jan 2012 18:49:20 -0800
Message-Id: <AE459007-DF2E-4E41-B7A4-FA5C2A83025F@voxer.com>
--Apple-Mail=_6DEAA046-886A-4A03-8508-6FD077D18F8B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
@noromanba
noromanba / README.md
Last active September 2, 2023 13:03
add permanently HEAD links on Gist for UserScript
@BrockA
BrockA / checkForBadJavascripts.js
Created May 6, 2012 06:11
This is a utility function, meant to be used inside a Greasemonkey script that has the "@run-at document-start" directive set. It Checks for and deletes or replaces specific <script> tags.
/*--- checkForBadJavascripts()
This is a utility function, meant to be used inside a Greasemonkey script that
has the "@run-at document-start" directive set.
It Checks for and deletes or replaces specific <script> tags.
*/
function checkForBadJavascripts (controlArray) {
/*--- Note that this is a self-initializing function. The controlArray
parameter is only active for the FIRST call. After that, it is an
event listener.
@johan
johan / README.md
Created May 27, 2012 10:06
SVG browser compatibility tables, c/o Jeff Schiller, http://www.codedread.com/svg-support-table.html

Where does this beautiful data come from?

All data here was compiled by Jeff Schiller.

What does it do?

It powers this d3.js grid data visualization.

Cool. How do I regenerate it?

@davisford
davisford / foo.js
Created June 17, 2012 14:43
JavaScript scope - demo showing JS private, privileged, etc. scope
var FooWrapper = (function() {
// private module scope, shared among all Foo instances
var _private1 = "private1";
var _private3 = "private3";
var Foo = function(arg1, arg2, arg3) {
// private instance var, only visible to privileged methods