Skip to content

Instantly share code, notes, and snippets.

View laiso's full-sized avatar
☀️

laiso laiso

☀️
View GitHub Profile
@laiso
laiso / .zshrc
Created September 1, 2009 09:27
# Basic settings
export LANG=ja_JP.UTF-8
bindkey -e
## Complete
zstyle ':completion:*' format '%BCompletion %d%b'
zstyle ':completion:*' group-name ''
autoload -U compinit && compinit
## History
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib
import urllib2
try:
import json
except:
import simplejson as json
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import pikzie
from sqlobject import (
sqlhub, connectionForURI,
SQLObject,
<?php
$someValue = "Hello";
$somevalue = "World";
function helloworld($say){
echo $say.PHP_EOL;
}
// Fatal error: Cannot redeclare helloWorld()
@laiso
laiso / ul.py
Created January 21, 2010 11:45
#!/usr/bin/env python
# -*- coding: utf-8 -*-
someValue = "Hello"
somevalue = "World"
def helloWorld(say):
print say
def helloworld(say):
@laiso
laiso / ul.rb
Created January 21, 2010 11:48
#!/usr/bin/env ruby
someValue = "Hello"
somevalue = "World"
def helloWorld(say)
p say
end
def helloworld(say)
@laiso
laiso / ul.c
Created January 21, 2010 12:12
#include <stdio.h>
void
helloWorld(char say[])
{
printf("%s\n", say);
}
void
helloworld(char say[])
@laiso
laiso / ul.pl
Created January 21, 2010 12:23
#!/usr/bin/env perl
use strict;
my $someValue = "Hellow";
my $somevalue = "World";
sub helloWorld{
my $say = shift;
print "${say}\n";
<html>
<head>
<script type="text/javascript" charset="utf-8">
var someValue = "Hello";
var somevalue = "World";
function helloWorld(say){
alert(say);
}
@laiso
laiso / ul.cc
Created January 21, 2010 12:41
#include <iostream>
#include <string>
using namespace std;
void
helloWorld(string say)
{
cout << say << endl;
}