Skip to content

Instantly share code, notes, and snippets.

@miku_raspi

これ

自宅でつけっぱなしの Raspberry Pi で動く(予定の) 初音ミク Twitter bot (Ruby でうごいてる) Generate various infomation from Raspberry Pi, runnung in Ruby (Japanese only.)

author: @keisei_1092

できること

@keisei1092
keisei1092 / Hoge.java
Created February 2, 2015 09:25
はじめてのGist
class Hoge {
public static void main(String[] args) {
System.out.println("Hello, Gist!");
}
}
@keisei1092
keisei1092 / AppleScript
Created February 10, 2015 11:19
【AppleScript】最初からMacのフルスクリーンモードでアプリを起動する ref: http://qiita.com/keisei_1092/items/1ea39bbec13e0b459418
tell application "Calendar"
activate
tell application "System Events"
tell process "Calendar"
click menu item "Enter Full Screen" of menu 1 of menu bar item "View" of menu bar 1
end tell
end tell
end tell
@keisei1092
keisei1092 / gist:eb20c132ef50c040ba70
Created May 25, 2015 08:38
how to post json to cps lab visitor derby
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d {"name":"ほげ"} http://cps.miraitoarumachi.com/people
@keisei1092
keisei1092 / zshrc.in
Created July 18, 2015 14:39
playbook_beatcreation.yamlと同じディレクトリに置くやつ
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# For Solarized
export TERM="xterm-256color"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
@keisei1092
keisei1092 / .vimrc
Created August 7, 2015 01:44
.vimrc 150807
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8,iso-2022-jp,euc-jp,ucs21e,ucs-2
set noswapfile
set ruler
set laststatus=2
set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
set title
set wildmenu
@keisei1092
keisei1092 / .zshrc
Created August 7, 2015 01:47
.zshrc 150807
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="wedisagree"
# Uncomment the following line to use case-sensitive completion.
@keisei1092
keisei1092 / oraora_xpath.md
Last active December 15, 2015 06:18
オラオラXPath (Java)

オラオラXPath (Java)

インスタンスを宣言する

XPathFactory xpf = XPathFactory.newInstance();
XPath xp = xPathfactory.newXPath();

XPathでRSSの中にあるすべての title 要素を指定する

@keisei1092
keisei1092 / 0_reuse_code.js
Created July 30, 2016 13:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/* URLs starting with: http://qiita.com/ */
body, h1, h2, h3, h4, h5, h6 {
font-family: 'YuGothic' !important;
}
.itemsShowHeaderTitle_title {
font-family: 'GenEi LateMin' !important;
text-shadow: 0px 0px 3px black;
}
.draftsPreviewContent_title {