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
function today() { | |
var b = new Date(); | |
var d = b.getFullYear(); | |
var e = b.getMonth() + 1; | |
var c = b.getDay(); | |
var a = b.getDate(); | |
return d + "/" + e + "/" + a | |
} | |
function addDate(h, f, i) { | |
var g = new Date(h); |
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
#!/bin/sh | |
DEFAULT_FILES="html erb slim haml css scss sass js coffee rb rake yml" | |
usage_msg() { | |
echo "usage: `basename $0` grep_text [find_files]" | |
echo "(example) `basename $0` current_user erb slim" | |
} | |
### error check & init | |
case $# in |
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
#encoding: utf-8 | |
# | |
# Copyright (c) 2016 chainer_nlp_man | |
# | |
# This software is released under the MIT License. | |
# http://opensource.org/licenses/mit-license.php | |
# | |
import numpy as np # NumPyをnpという名前で使用 | |
import chainer # Chainerを使用 | |
from chainer import cuda, Function, gradient_check, Variable, optimizers, serializers, utils # 名前の省略 |
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
#encoding: utf-8 | |
# | |
# Copyright (c) 2016 chainer_nlp_man | |
# | |
# This software is released under the MIT License. | |
# http://opensource.org/licenses/mit-license.php | |
# | |
import numpy as np # NumPyをnpという名前で使用 | |
import chainer # Chainerを使用 | |
from chainer import cuda, Function, gradient_check, Variable, optimizers, serializers, utils # 名前の省略 |