This file contains hidden or 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
*Growl | |
growl通知をするためには、システム環境設定->Growl->ネットワークで | |
受信される通知を聞く、リモートアプリケーションの登録を許可をonにする必要がある。 | |
*Ruby | |
gem install mechanize | |
gem list | grep mechanize #=> mechanize (0.9.3) |
This file contains hidden or 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
ruby main.rb go |
This file contains hidden or 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
let g:Tex_DefaultTargetFormat='pdf' | |
let g:Tex_CompileRule_pdf = 'dvipdfmx $*.dvi' | |
let g:Tex_BibtexFlavor = 'jbibtex' | |
let g:Tex_CompileRule_dvi = 'platex-utf8 -interaction-nonstopmode $*' | |
let g:Tex_FormatDependency_pdf='dvi,pdf' | |
let g:Tex_ViewRule_pdf = 'open -a /Applications/Preview.app' | |
let g:Tex_IgnoredWarnings = | |
\"Underfull\n". | |
\"Overfull\n". | |
\"specifier changed to\n". |
This file contains hidden or 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
function! s:CreateDirAndWrite() | |
let dir = expand("%:p:h") | |
if isdirectory(dir) == 0 | |
call mkdir(dir, "p") | |
endif | |
execute ':w' | |
endfunction | |
command! CreateDirAndWrite :call s:CreateDirAndWrite() |
This file contains hidden or 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
import processing.core.*; | |
import processing.xml.*; | |
import processing.video.*; | |
import java.applet.*; | |
import java.awt.Dimension; | |
import java.awt.Frame; | |
import java.awt.event.MouseEvent; | |
import java.awt.event.KeyEvent; |
This file contains hidden or 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
Index: web/js/sf_admin_dash.js | |
=================================================================== | |
--- web/js/sf_admin_dash.js (revision 26711) | |
+++ web/js/sf_admin_dash.js (working copy) | |
@@ -10,7 +10,7 @@ | |
jQuery('.sf_admin_list').css('padding-right', filter_width); | |
//add filter header | |
- jQuery('#sf_admin_bar table tbody').before("<thead><tr><th colspan='2'>Filters</th></tr></thead>"); | |
+ jQuery('#sf_admin_bar div.sf_admin_filter table tbody').before("<thead><tr><th colspan='2'>Filters</th></tr></thead>"); |
This file contains hidden or 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
use strict; | |
use warnings; | |
use WebService::Google::Reader; | |
use Net::Growl; | |
use Getopt::Long; | |
use FindBin; | |
use YAML::Tiny; | |
use Data::Dumper; |
This file contains hidden or 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
function! s:Alc(str) | |
setlocal modifiable | |
setlocal noreadonly | |
% delete _ | |
setlocal nonumber | |
setlocal noswapfile | |
setlocal buftype=nofile | |
setlocal bufhidden=delete | |
setlocal noshowcmd | |
setlocal nowrap |
This file contains hidden or 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
function! s:model() | |
if exists('s:model') | |
return s:model | |
endif | |
let s:model = {} | |
function! s:model.name() dict | |
return 'hoge' | |
endfunction |
This file contains hidden or 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
tell application "Processing" | |
activate | |
end tell | |
tell application "System Events" | |
if UI elements enabled then | |
key down command | |
keystroke "r" | |
key up command | |
end if |