Glide is the easiest way to create useful slide for all of your Gists.
- input key
<-
to go backward. - input key
->
to go forward.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
set nocompatible "最初に必ず書く | |
set shellslash "Windowsでディレクトリパスに/利用 | |
set clipboard=unnamed "クリップボード連携for windows | |
"set t_Co=256 | |
"外部のエディタで編集中のファイルが変更されたら自動的に読み直す | |
set autoread | |
set enc=utf-8 | |
set fenc=utf-8 |
"http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/ | |
colorscheme darkblue "カラースキーム | |
"autocmd Filetype vim :colorscheme blacklight | |
set columns=100 lines=45 "画面サイズ | |
if has('win32') | |
let &guifont = iconv('Osaka-等幅:h11:cSHIFTJIS', &encoding, 'cp932') |
#lang | |
defc1 off | |
#shell | |
shell bash | |
#escape | |
escape ^Tt | |
#startup |
#!/usr/bin/python | |
# coding: UTF-8 | |
import sys | |
import re | |
import commands | |
#Hostgroupの全IPに対して正常に動いているかチェック | |
def checkHostgroup(line,commandlist): | |
data = line.split() |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script> | |
<script src="https://d3nwyuy0nl342s.cloudfront.net/23b11c78e6d682b6584ea8c9f1357d6a2f2e5250/javascripts/bundle_gist.js" type="text/javascript"></script> | |
<link href="https://d3nwyuy0nl342s.cloudfront.net/23b11c78e6d682b6584ea8c9f1357d6a2f2e5250/stylesheets/bundle_common.css" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="https://d3nwyuy0nl342s.cloudfront.net/23b11c78e6d682b6584ea8c9f1357d6a2f2e5250/stylesheets/bundle_gist.css" media="screen" rel="stylesheet" type="text/css" /> |
<link href='//fonts.googleapis.com/css?family=Irish+Grover:400normal&subset=all' rel='stylesheet' type='text/css'> | |
<style type="text/css">.skinTitleArea, .skinDescriptionArea {font-family: 'Irish Grover', serif;}</style> |
total used free shared buffers cached\n | |
Mem: 12298112 12230872 67240 0 8116 2743972\n | |
-/+ buffers/cache: 9478784 2819328\n | |
Swap: 2096472 2096468 4 | |
..........|..........|..........|..........|..........| | |
..........|..........|..........|..........|..........|14000000 | |
0:56:22.832361 | |
total used free shared buffers cached\n |
import java.nio.channels.SocketChannel | |
import java.nio.charset.Charset | |
import java.nio.CharBuffer | |
import java.nio.ByteBuffer | |
import java.net.InetSocketAddress | |
import java.io.BufferedReader | |
import java.io.InputStreamReader | |
object EchoClient { | |
def main(args:Array[String]) { |