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 warnings; | |
use strict; | |
my $profile01 = { | |
id => 'sion_cojp', | |
lang => [ | |
'perl', | |
'bash', |
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/local/bin/perl | |
#### 引数に株式名を入れて下さい。######## | |
#### ex) perl kabuka.pl 引数 ######## | |
use strict; | |
use warnings; | |
use Web::Scraper; | |
use URI; | |
use Encode; |
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset="UTF-8"> | |
<title>ログイン画面</title> | |
</head> | |
<body> | |
<form name ="login" action="check_login.pl" METHOD="POST"> | |
<table border=0 cellspacing=0> | |
<tr><td>ログイン名:</td><td><input type="text" name="login_user" size="20"></td></tr> | |
<tr><td>パスワード:</td><td><input type="text" name="login_password" size="20"></td></tr> |
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
## iTerm2にsolarizedを導入 | |
http://ethanschoonover.com/solarizedを落として、~/以下に移動 | |
iterm->preferences->profile->color->load profile | |
## vimにsolarizedを導入 | |
$mkdir ~/.vim | |
$git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
$vim .vimrc | |
set nocompatible " be iMproved |
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
$sudo brew install rbenv | |
$sudo brew install ruby-build | |
※makeコマンドがない場合 | |
xcode->preference->downloadでcuiをインストール | |
linux版 | |
$sudo yum install git | |
$git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
$git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
$cd .rbenv/plugins/ruby-build/ |
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; | |
use Cache::Memcached::Fast; | |
my (@even, @odd, $str, $ii, $i, @data, $key, $value, $exptime, $file, $memd); | |
### ファイル名を指定してください | |
$file = "/tmp/11211.dump"; |
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; | |
use Cache::Memcached::Fast; | |
use String::Random; | |
my $memd = Cache::Memcached::Fast->new({ | |
servers => [{address => 'localhost:11211'}], | |
utf8 => ($^V ge v5.8.1 ? 1 : 0), | |
}); |
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/python | |
import urllib2 | |
import sys | |
try: | |
import json | |
except ImportError: | |
import simplejson as json | |
MACKEREL_API_KEY='' |
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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import locale | |
import time | |
import curses | |
import sys, string | |
import random | |
import struct |
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
# atom keymapのbackup用 |
OlderNewer