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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# | |
# Description: | |
# create pull requests in a Github repository | |
# | |
# Dependencies: | |
# "githubot": "0.4.x" | |
# | |
# Configuration: | |
# HUBOT_GITHUB_TOKEN | |
# HUBOT_GITHUB_API |
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
# | |
# Description: | |
# 誕生日を祝うよ | |
# | |
# Commands: | |
# | |
# | |
cronJob = require('cron').CronJob |
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
# | |
# Description: | |
# Backlog to Trello | |
# | |
# Dependencies: | |
# "node-trello": "^1.1.1" | |
# | |
# Configuration: | |
# HUBOT_TRELLO_KEY | |
# HUBOT_TRELLO_TOKEN |
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
# Description: | |
# No overtime by node-cron. | |
cron = require('cron').CronJob | |
random = require('hubot').Response::random | |
module.exports = (robot) -> | |
new cron '0 0 18 * * 1-5', () -> | |
say = '定時退社の時間になりました。' + random [ |
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
//プラグインで読み込む CSS / JS 用 | |
function vc_remove_wp_ver_css_js( $src ) { | |
if ( strpos( $src, 'ver=' ) ) | |
$src = remove_query_arg( 'ver', $src ); | |
$src = $src . '?ver=11300348'; | |
return $src; | |
} | |
add_filter( 'style_loader_src', 'vc_remove_wp_ver_css_js', 9999 ); | |
add_filter( 'script_loader_src', 'vc_remove_wp_ver_css_js', 9999 ); |
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
label { | |
display: block; | |
} |
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
btn.gif -> btn_on.gif | |
img に .btn をつける。 |
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
" vim:set ts=8 sts=2 sw=2 tw=0: (この行に関しては:help modelineを参照) | |
" | |
" Last Change: 09-Nov-2012. | |
" Maintainer: y.y | |
" | |
helptags $VIM/vim73/doc | |
runtime macros/matchit.vim | |
"/////////////////////////////////////////////////////////////////////////// | |
" | |
" vimrc 上書き設定 |
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
"--------------------------------------------------------------------------- | |
" neobundle.vim | |
"--------------------------------------------------------------------------- | |
set nocompatible " Be iMproved | |
filetype off " Required! | |
if has('vim_starting') | |
" set runtimepath+=d:/tool/vim/.bundle/neobundle.vim | |
" call neobundle#rc(expand('d:/tool/vim/.bundle')) | |
set runtimepath+=~/.bundle/neobundle.vim |