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/bash | |
dir=`pwd` | |
list=`find ${dir} -type f` | |
for file in $list; do | |
filename=`basename $file` | |
ext=${filename##*.} | |
if [[ $ext == "md" ]]; then | |
echo $filename |
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/bash | |
dir=`pwd` | |
list=`find ${dir} -type f` | |
LF=$(printf '\\\012_') | |
LF=${LF%_} | |
for file in $list; do | |
filename=`basename $file` |
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/bash | |
# 同一ディレクトリ上のdocxファイルをmdファイルに変換する.元ファイルは残る. | |
# refer https://qiita.com/kinagaki/items/460577f46529484d720e | |
dir=`pwd` | |
list=`find ${dir} -type f` | |
for file in $list; do | |
filename=`basename $file` |
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
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
ja: | |
devise: | |
confirmations: | |
confirmed: "アカウントが確認されました。ログインしています。" | |
send_instructions: "アカウントの確認方法を数分以内にメールでご連絡します。" | |
send_paranoid_instructions: "ご登録のメールアドレスが保存されている場合、アカウントの確認方法をメールでご連絡します。" | |
failure: | |
already_authenticated: "既にログインしています。" |
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/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""a stock order via SBI Securities. | |
"order_sbisec.py" is released under the MIT License | |
Copyright (c) 2017 Akihiro Yamamoto | |
__author__ = "Akihiro Yamamoto <[email protected]>" | |
__version__ = "0.5.2" | |
__date__ = "Oct 2017" |
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
class MyApp.Application extends Backbone.Marionette.Application | |
$(document).ready -> | |
app = new MyApp.Application | |
app.start() |
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
var FadeTransitionRegion = Backbone.Marionette.Region.extend({ | |
show: function(view){ | |
this.ensureEl(); | |
view.render(); | |
this.close(function() { | |
if (this.currentView && this.currentView !== view) { return; } | |
this.currentView = view; |
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
test: | |
adapter: mysql2 | |
database: my_app_test | |
username: root | |
encoding: utf8 | |
cucumber: | |
adapter: mysql2 | |
database: my_app_test | |
username: root | |
encoding: utf8 |
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
// ==UserScript== | |
// @name Redmine Submit Guard | |
// @namespace https://github.com/kawanaka2141 | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js | |
// @match http://*/redmine/projects/*/issues/new | |
// @match http://*/redmine/issues/* | |
// ==/UserScript== | |
(function(){ | |
$('input').keypress(function(ev){ |
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
{ | |
"japanese_template": { | |
"template": "*ja", | |
"settings": { | |
"analysis": { | |
"filter": { | |
"romaji": { | |
"type": "kuromoji_readingform", | |
"use_romaji": true | |
} |
NewerOlder