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
# cat /etc/redhat-release | |
CentOS release 6.4 (Final) | |
# vim /proc/cpuinfo | |
model name : Intel(R) Xeon(R) CPU E5645 | |
cpu MHz : 2400.032 | |
cache size : 4096 KB | |
・・・ |
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
<script type="text/javascript"> | |
$(function() { | |
countDown(); | |
}); | |
function countDown() { | |
var startDateTime = new Date(); | |
var endDateTime = new Date("January 01,2014 00:00:00"); | |
var left = endDateTime - startDateTime; | |
var a_day = 24 * 60 * 60 * 1000; |
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
x | |
1文字削除 | |
dd(連打) | |
1行削除 | |
dd(x行目で1回目のdを押し、y行目で2回目のdを押す) | |
x行目〜y行目までを削除 | |
5dd (xdd) | |
5(x)行削除 |
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
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
let rootViewController = MainTableViewController() |
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
hoge% http -v | |
Server version: Apache/2.2.24 (Unix) | |
Server built: Aug 24 2013 21:10:43 |
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
[hoge@hoge ~]$ php -v | |
---- | |
PHP 5.1.1 (cli) (built: Feb 20 2011 00:00:00) | |
Copyright (c) 1997-2012 The PHP Group | |
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies | |
with Xdebug v1.1.3, Copyright (c) 2002-2012, by Derick Rethans |
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
これ出来上がってる! | |
http://morizyun.github.io/blog/heroku-rails4-postgresql-introduction/ |
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
% ls -la | pbcopy #上のcatのコマンドと同じ感じです。 |
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
SELECT TABLE_SCHEMA, TABLE_NAME, PARTITION_NAME, PARTITION_ORDINAL_POSITION, TABLE_ROWS | |
FROM INFORMATION_SCHEMA.PARTITIONS | |
WHERE TABLE_NAME = 'list_rtx'; |
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
55 23 28-31 * * /usr/bin/test $( date -d '+1 day' +\%d ) -eq 1 && perl /getsumatsu_batch.pl > /dev/null 2>&1 |
NewerOlder