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/env perl | |
# -*- coding: utf-8 -*- | |
=head1 uc2amp.pl | |
description: CSV of UC card expose detail to Active Money Pro Import CSV. | |
=cut | |
# TODO: |
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
use (groovy.time.TimeCategory) { | |
def today = new Date() | |
return (0..2).collect { i -> (today - i.days).format('YYYYMMdd') } | |
} |
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
let blacklists = ["https://mail.google.com/*", "*://*.reddit.com/*", "*://feedly.com/*"] | |
unmap <C-h> "The unmaps the default 'C-h' mapping |
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
# -*- coding: utf-8; -*- | |
u""" | |
IP から GeoIP を利用して日本の都道府県名を引く | |
:Author: t.hamamoto@skillupjapan.co.jp | |
* http://koshigoeb.hateblo.jp/entry/2012/02/19/183631 | |
* http://www.maxmind.com/app/city | |
* http://www.maxmind.com/app/fips10_4 |
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/env sh | |
### 参考 | |
# http://munin-monitoring.org/wiki/DarwinInstallation | |
# http://blog.isnext.net/issy/archives/156 | |
### MacPorts から munin-node をインストール (munin-node 以外にも余計なものが沢山入る) | |
### homebrew には munin-node ないのかー。 | |
sudo /opt/local/bin/port install munin +server |
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/env sh | |
echo "### Enable locate updatedb" | |
launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist | |
echo "### Show the ~/Library folder in Finder" | |
chflags nohidden ~/Library | |
echo "### Show full path in Finder title bar" | |
defaults write com.apple.finder _FXShowPosixPathInTitle -boolean true |
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
; vim: set ts=4 fdm=marker commentstring=;%s: | |
'/lrod Mp30 z1z3z4 | |
'"NoN-Fiction Story! / by Creative Life | |
beatmaniaIIDX 17 SIRIUS (c)2009 KONAMI | |
(for FMP disk vol.9) programmed by Tetsuya HAMAMOTO <temmings@gmail.com>" | |
'A C192 t228 ; T160 | |
'BCXYZEFGHI {+fcgd} ; E.Major | |
'AB V+1 |
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
from selenium import webdriver | |
import time | |
js_override_console_log = """ | |
(function () { | |
testSelenium = {}; | |
testSelenium.messages = []; | |
var cl = console.log; | |
console.log = function () { | |
testSelenium.messages.push(Array.prototype.join.call(arguments, '|')); |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters] | |
"LayerDriver JPN"="kbd101.dll" | |
"OverrideKeyboardIdentifier"="PCAT_101KEY" | |
"OverrideKeyboardSubtype"=dword:00000000 | |
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> | |
<head> | |
<meta charset='utf-8'> | |
<title>android4 video elements problem.</title> | |
<script type="text/javascript"> | |
function logger(message) { | |
console.log(message); | |
var log = document.getElementById("log"); | |
var li = document.createElement('li'); |
OlderNewer