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
#!/bin/sh | |
# phpcs bin path | |
PHPCS_DIR=./phpcs/bin | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object |
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
#!/bin/sh | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi | |
# Redirect output to stderr. |
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
"dein Scripts----------------------------- | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: | |
set runtimepath+=~\.cache\dein\repos\github.com\Shougo\dein.vim | |
" Required: | |
if dein#load_state('~\.cache\dein') |
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
filetype off | |
"backup保存先 | |
set backupdir=~/.vim/tmp | |
"backup保存先 | |
set undodir=~/.vim/tmp | |
if has('win64') | |
set runtimepath^=~/.vim/ |
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
@startuml | |
skinparam BoxPadding 10 | |
Local -> Master :Push | |
box "GitHub" #gainsboro | |
participant Master | |
participant Release | |
end box | |
Box "TravisCI" #khaki |
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
Get-ChildItem -Recurse | Where-Object {($_.name -like "*cls") -or ($_.name -like "*bas") -or ($_.name -like "*dcm")} | ForEach-Object { Get-Content $_.Name } | Measure-object |
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
/.project | |
/.loadpath | |
/.powrc | |
/.rvmrc | |
/config/additional_environment.rb | |
/coverage | |
/db/*.db | |
/db/*.sqlite3 | |
/db/schema.rb | |
/files/* |
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
add_action ( 'edit_category_form_fields', 'extra_category_fields'); | |
function extra_category_fields( $tag ) { | |
$tid = $tag->term_id; | |
$is_show_excerpt = get_option( "cat_$tid_show_excerpt"); | |
?> | |
<tr class="form-field"> | |
<th><label for="extra_text">抜粋を表示</label></th> | |
<td> | |
<select name="is_show_exception" id="is_show_exception"> | |
<?php if($is_show_excerpt): ?> |
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
Dim finalNumber As String | |
finalNumber = 50000001 | |
Dim newStartNumber As String | |
newStartNumber = Application.RoundUp(finalNumber, -1) | |
Dim newFinalNumber As String | |
For i = 2 To ThisWorkbook.Worksheets(db).Range("B50000").End(xlUp).Row | |
With ThisWorkbook.Worksheets(db) |