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 | |
## | |
# This is a script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# Run in interactive mode with: | |
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)" | |
# | |
# or run it without prompt questions: |
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
======================================================================== | |
BYTE UNIX Benchmarks (Version 5.1.3) | |
System: dev2: GNU/Linux | |
OS: GNU/Linux -- 3.2.0-24-generic -- #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 | |
Machine: x86_64 (x86_64) | |
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
CPU 0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (6133.6 bogomips) | |
x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET | |
CPU 1: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (6133.6 bogomips) |
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
DEFINING MATCHES *:syn-match* | |
:sy[ntax] match {group-name} [{options}] [excludenl] {pattern} [{options}] | |
This defines one match. | |
{group-name} A syntax group name such as "Comment". | |
[{options}] See |:syn-arguments| below. | |
[excludenl] Don't make a pattern with the end-of-line "$" | |
extend a containing match or region. Must be |
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
; <<>> DiG 9.7.3-P3 <<>> cache.gyazo.com | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20806 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;cache.gyazo.com. IN A |
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
Fri Apr 27 07:30:24 [FileAllocator] done allocating datafile /var/lib/mongodb/test.ns, size: 16MB, took 0.052 secs | |
Fri Apr 27 07:30:25 [FileAllocator] done allocating datafile /var/lib/mongodb/test.0, size: 64MB, took 0.218 secs | |
Fri Apr 27 07:30:25 [FileAllocator] done allocating datafile /var/lib/mongodb/test.1, size: 128MB, took 0.463 secs | |
Fri Apr 27 07:30:34 [FileAllocator] done allocating datafile /var/lib/mongodb/test.2, size: 256MB, took 1.363 secs | |
Fri Apr 27 07:30:48 [FileAllocator] done allocating datafile /var/lib/mongodb/test.3, size: 512MB, took 2.292 secs | |
Fri Apr 27 07:31:19 [FileAllocator] done allocating datafile /var/lib/mongodb/test.4, size: 1024MB, took 7.306 secs | |
Fri Apr 27 07:32:13 [FileAllocator] done allocating datafile /var/lib/mongodb/test.5, size: 2047MB, took 9.567 secs | |
Fri Apr 27 07:33:54 [FileAllocator] done allocating datafile /var/lib/mongodb/test.6, size: 2047MB, took 8.501 secs | |
Fri Apr 27 07:37:26 [FileAllocator] done allocating datafile /var/lib/mongodb/test.7, size: 20 |
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
皆さーん。ローソンのPonta会員Anroidアプリを利用する人は、その規約で、他人に誕生日・電話番号を知らせる行為は禁止だそうですよー! しかもさらに、他人の誕生日・電話番号を入手することも禁止だって。相手がPonta会員でなくてもですよ!手段のいかんを問わずですよ!ヒャッハー | |
from https://twitter.com/#!/HiromitsuTakagi/statuses/188835470514466816 |
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
グーグル(東京都港区、有馬誠代表取締役、03・6384・9000)は、米グーグルがインターネット経由で世界展開している | |
クラウド基盤の貸し出しサービス「アップ・エンジン」を日本で本格展開する。企業や自治体を対象とする法人向け事業の目玉として、 | |
2012年中に国内サポート体制を整備。企業が作成したウェブアプリケーション(応用ソフト)をクラウド基盤で預かり、稼働率な | |
どをサービス品質契約で保証し、企業が安心して利用できるようにする。 | |
アップ・エンジンはアプリケーションを稼働させるためのストレージ(外部記憶装置)や中央演算装置(CPU)などのIT資源を | |
時間単位で提供する。ストレージ容量や月間接続回数が一定水準以下ならば無料で利用できる。 | |
試しサービスとしては、最大500メガバイトのストレージ容量、月間約500万の接続回数に対応できるCPUと帯域幅を用意し | |
た。 |
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 /proc/cpuinfo | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 44 | |
model name : Intel(R) Xeon(R) CPU E5645 | |
stepping : 1 | |
cpu MHz : 2400.084 | |
cache size : 4096 KB | |
physical id : 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
# -*- encoding: utf-8 -*- | |
require 'fileutils' | |
require 'date' | |
require 'yaml' | |
require 'rexml/document' | |
include REXML | |
doc = Document.new File.new(ARGV[0]) | |
FileUtils.mkdir_p "_posts" |
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/bash | |
export TERM=linux | |
export PATH=/usr/sbin:/usr/bin:/sbin:/bin | |
# SSH key | |
source recipes/ssh_key.sh $(cat attributes/ssh_key) | |
# Update apt catalog | |
sudo apt-get update |