Skip to content

Instantly share code, notes, and snippets.

@satyr
satyr / autoindent.uc.js
Created May 15, 2010 12:43
autoindent
// ==UserScript==
// @name autoindent
// @desc Performs basic auto-indentation on ENTER.
// @include main
// @include chrome://xqjs/content/xqjs.xul
// @include chrome://stylish/content/edit.xul
// @include chrome://keyconfig/content/edit.xul
// @include chrome://firegestures/content/edit.xul
// @compat Fx3.6+
// @author satyr
@Griever
Griever / -moz-binding.css
Created June 13, 2010 08:23
改行コードがあるので Stylish 0.5系のみ
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http://), url-prefix(https://) {
a[href^="http://ime.nu/"]
{
-moz-binding: url('data:text/xml;charset=utf-8,
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="aaa">
<implementation>
<constructor><![CDATA[
@azu
azu / new_script.ng
Created June 28, 2010 15:56
ファイルの作成して書き込み #NILScript
// ==UserScript==
// @name new_script
// @namespace http://efcl.info/
// @description ファイルの作成→書き込み
// @author azu
// @homepage http://efcl.info/
// @twitter https://twitter.com/azu_re
// ==/UserScript==
// ファイルパスにcontentを入れたファイルを作成する。
// pathはファイル名のみだとスクリプトと同じ場所に作成する
@cms
cms / es3-es5-incompatibilities.js
Created October 27, 2010 18:55
List of ES3 Incompatibilities introduced by ES5
/*
* List of ES3 Incompatibilities introduced by ES5.
*
*/
/*
* From Annex E:
*/
We couldn’t find that file to show.

Node.js 日本ユーザグループ主催の勉強会案

確定事項

  • 勉強会(Meetup)を定期的に行う
  • 3月に第1回を行う
  • 2ヶ月に一度を目処
  • 5月の勉強会はJJUG CCCと一体化
>>
Hi,
We apologize, but the only way we will be able to verify ownership of this account is if you reply to this email with an attached color image of your government-issued photo identification confirming your full name and date of birth. Rest assured that we will permanently delete your ID from our servers once we have used it to verify the authenticity of your account.
Please note that we will not be able to process your request unless you send in proper identification. We apologize for any inconvenience this may cause.
Thanks,
<<
@think49
think49 / compatible-event.js
Last active September 25, 2015 07:07
compatible-event.js : addEventListener, attachEvent のラッパー関数。addEvent したリスナーは window unload 時に削除される(循環参照対策)。attachEvent でも実行順が保証される。
/**
* compatible-event.js
*
* @version 0.9.4b
* @author think49
* @url https://gist.github.com/882821
*/
'use strict';
@to
to / gist:888157
Created March 26, 2011 09:17
environment.greasemonkey.js
connect(grobal, 'environment-load', function(){
var gm = Cc['@greasemonkey.mozdev.org/greasemonkey-service;1'];
if(gm){
gm = gm.getService().wrappedJSObject;
addBefore(gm, 'evalInSandbox', function(){
for(var i=0, len=arguments.length ; i<len ; i++){
var arg = arguments[i];
if(typeof(arg) == 'object'){
arg.GM_addStyle = function(){
alert('patched');
@joelambert
joelambert / README
Created June 1, 2011 11:03
Drop in replacements for setTimeout()/setInterval() that makes use of requestAnimationFrame() where possible for better performance
Drop in replace functions for setTimeout() & setInterval() that
make use of requestAnimationFrame() for performance where available
http://www.joelambert.co.uk
Copyright 2011, Joe Lambert.
Free to use under the MIT license.
http://www.opensource.org/licenses/mit-license.php