Skip to content

Instantly share code, notes, and snippets.

@gvangool
gvangool / daemonextension.py
Created July 13, 2009 13:51 — forked from screeley/daemonextension.py
Django Management Command for starting a daemon.
"""
Copyright (c) 2009, Sean Creeley
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
<!doctype html>
<html>
<head><title>Emulate fuba_recorder image conversion using canvas</title></head>
<body></body>
<script type="application/x-javascript">
var sources = [
'./bg_01.jpg',
'./bg_02.jpg',
'./bg_03.jpg',
'./bg_04.jpg',
[10/02/17 15:39:42] Toru Furukawa (tof): show は、デフォルトで見えてないものを見せるような動作じゃないかな。
[10/02/17 15:39:59] Toru Furukawa (tof): コートの前をはだけて、
[10/02/17 15:40:04] Toru Furukawa (tof): ちんこを show
@altnight
altnight / gist:454554
Created June 27, 2010 02:06
スカンディナヴィア半島
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>スカンディナヴィア半島</title>
</head>
<body>
<div id="header" class="clearfix">
現在時刻: <span id="current_date"></span>
<span id="api_limit"> </span>
@ashigeru
ashigeru / plugin.xml
Created July 30, 2010 20:47
Eclipseのコンパイラに介入する手順
=== プロジェクト作成 ===
== プラグインプロジェクトの新規作成 ==
* Activator不要
* UI不要
* テンプレート不要
== ビルド設定 ==
MANIFEST.MF > build.propertiesタブ
* http://gist.github.com/501171
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {
<!DOCTYPE html>
<html>
<head>
<title>game</title>
<style>
#C{
position:relative;
}
.cell{
@sugyan
sugyan / fizzbuzz.pl
Last active September 21, 2023 08:49
"^ "
=~ (
("(").("~"^"."^"^"^(""=="")."").("^"
^"="^(""=="").""^")").("^"^".").("="
^"~"^(""=="")."").("("^(""=="^").""^
"."^"^").("("^(""=="").""^"^"^")").(
(" ^( "
== "
") .
"" ^
#!/usr/bin/env python
import itertools
import mimetools
import mimetypes
from cStringIO import StringIO
import urllib
import urllib2
import gtk
@tokibito
tokibito / basic_auth.py
Created May 25, 2011 01:00
basic auth middleware
AUTH_RESPONSE_BODY = """<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html lang="ja">
<head>
<title>401 Authorization Required</title>
</head>
<body>401 Authorization Required</body>
</html>"""
def auth_required_app(environ, start_response, relm):
start_response('401 Authorization Required', [