This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
#package UrlFile; | |
use Config::Simple; | |
use File::Basename; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
#package UrlFile; | |
use Config::Simple; | |
use File::Basename; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Gentoo prefix installation on Mac OS X (Mar. 2012) | |
# This script may be outdated soon. | |
# Please refer: http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml | |
export EPREFIX="$HOME/gentoo" | |
export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH" | |
curl -o bootstrap-prefix.sh 'http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --commit-filter ' | |
GIT_AUTHOR_NAME="Yuya Tanaka"; | |
GIT_AUTHOR_EMAIL="yuya.tanaka.i@gmail.com"; | |
GIT_COMMITTER_NAME="Yuya Tanaka"; | |
GIT_COMMITTER_EMAIL="yuya.tanaka.i@gmail.com"; | |
git commit-tree "$@";' HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ponyoponyo() { | |
beep -f 523.3 -l 500 -n -f 440.0 -l 250 -n -f 349.2 -l 500 -n -f 261.6 -l 250 -r 3 -D 0 | |
beep -f 293.7 -l 250 -n -f 349.2 -l 250 -n -f 466.2 -l 250 -n -f 587.3 -l 250 | |
beep -f 523.3 -l 500 -D 250 -n -f 440.0 -l 250 | |
} | |
aoiumikara() { | |
beep -f 466.2 -l 250 -n -f 392.0 -l 250 -r 2 -D 0 -n -f 466.2 -l 250 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ponyoponyo() { | |
beep -p 523.3 50 ; beep -p 440.0 25 ; beep -p 349.2 50 | |
beep -p 261.6 25 | |
beep -p 261.6 25 | |
beep -p 261.6 25 | |
beep -p 30000 0 | |
beep -p 293.7 25 ; beep -p 349.2 25 ; beep -p 466.2 25 ; beep -p 587.3 25 | |
beep -p 523.3 50 ; beep -p 30000 25 ; beep -p 440.0 25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ** FoldRenewer ** {{{2 | |
" Work around for performance problem of expr/syntax foldmethods | |
" Inspired by: http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text | |
augroup FoldRenewer | |
autocmd! | |
" VimEnter: for delayed stashing | |
" WinEnter: because foldmethod is window-specific |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<div id="hoge"><a href="#!/hoge">clickable hoge</a></div> | |
<div id="fuga" style="width:0px"><a href="#!/fuga">unclickable fuga</a></div> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require:false */ | |
var plainAcroUA = 'Mozilla/5.0 (Linux; U; Android 2.3.3; ja-jp; SonyEricssonSO-02C Build/3.0.1.F.0.126) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1'; | |
var plainAcroViewport = {width : 480, height: 854}; | |
// create instance, set options | |
var casper = require('casper').create({ | |
pageSettings : { | |
userAgent : plainAcroUA | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<iframe name="ad_iframe" src="./casper_test.html" /> | |
</body> | |
</html> |
OlderNewer