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
" URL: http://vim.wikia.com/wiki/Example_vimrc | |
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode | |
" Description: A minimal, but feature rich, example .vimrc. If you are a | |
" newbie, basing your first .vimrc on this file is a good choice. | |
" If you're a more advanced user, building your own .vimrc based | |
" on this file is still a good idea. | |
"------------------------------------------------------------ | |
" Features {{{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
" URL: http://vim.wikia.com/wiki/Example_vimrc | |
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode | |
" Description: A minimal, but feature rich, example .vimrc. If you are a | |
" newbie, basing your first .vimrc on this file is a good choice. | |
" If you're a more advanced user, building your own .vimrc based | |
" on this file is still a good idea. | |
"------------------------------------------------------------ | |
" Features {{{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
#!/usr/env/ruby | |
# encoding: utf-8 | |
agos = ["Shakure", "HyperShakure", "SuperShakure"] | |
p agos.sample(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
Wikipediaの記事タイトル等をゲットしていく Twitter bot です。 | |
実装している機能: | |
・Wikipediaの記事タイトルからツイート | |
Todo: | |
・TLのツイートを読み込み形態素解析する (枠組みのみ) | |
免責事項: | |
・このbotは実在するキャラクター等とは一切関係ございませんのでご了承ください。 |
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 -*- | |
# ++ TMCIT Exam Archives Downloader ++ | |
# ++ I don't like regular expression. ++ | |
# !! At your own risk !! | |
require "mechanize" | |
#相対とか絶対とかズッ友になりたくない | |
agent = Mechanize.new | |
soutai = "http://www.metro-cit.ac.jp/examination/" |
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
# 少し凝った zshrc | |
# License : MIT | |
# http://mollifier.mit-license.org/ | |
######################################## | |
# 環境変数 | |
export LANG=ja_JP.UTF-8 | |
# 色を使用出来るようにする |
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
# 少し凝った zshrc | |
# License : MIT | |
# http://mollifier.mit-license.org/ | |
######################################## | |
# User Configuration | |
# MacVim | |
#alias vim='/Applications/MacVim.app/Contents/MacOS/mvim' | |
# Ruby - Rbenv | |
#export PATH="$HOME/.rbenv/bin:$PATH" |
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
######################## | |
# _ # | |
# ____ ___ | |__ # | |
# |_ / / __| | '_ \ # | |
# / / \__ \ | | | | # | |
# /___| |___/ |_| |_| # | |
# # | |
######################## | |
# OS Depended |
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
require "dashed" | |
require "docker-api" | |
loop do | |
Dashed::Button.new("ff:ff:ff:ff:ff:ff", "eth0").on_press do | |
puts "Your button is pushed." | |
@container = Docker::Container.create( | |
'Image' => "tutum/wordpress", # your favorite image | |
'ExposedPorts' => { '80/tcp' => {} }, | |
'HostConfig' => { 'Privileged' => true, 'PortBindings' => { |
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 scapy.all import * | |
target = "192.168.0" | |
for i in range(2,254): | |
dst = target + "." + str(i) | |
print "FROM %s" % (dst) | |
print getmacbyip(dst) |
OlderNewer