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/bash | |
| # ---- Git aliases ---- | |
| git config --global alias.s status | |
| git config --global alias.b branch | |
| git config --global alias.co checkout | |
| git config --global alias.ci commit | |
| git config --global push.default current | |
| git config --global alias.unstage "reset HEAD" | |
| git config --global alias.uncommit "reset --soft HEAD~1" |
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/bash | |
| # 色付き出力 | |
| GREEN='\033[0;32m' | |
| RED='\033[0;31m' | |
| NC='\033[0m' # No Color | |
| # 引数チェック | |
| if [ -z "$1" ]; then | |
| echo -e "${RED}エラー: メールアドレスを引数で渡してください${NC}" |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import re | |
| def scrapbox_to_markdown(): | |
| scrapbox_text = sys.stdin.read() | |
| markdown_text = "" | |
| lines = scrapbox_text.split('\n') | |
| for line in lines: | |
| if line.startswith('\t'): |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import re | |
| def scrapbox_to_markdown(): | |
| scrapbox_text = sys.stdin.read() | |
| markdown_text = "" | |
| lines = scrapbox_text.split('\n') | |
| for line in lines: | |
| if line.startswith('\t'): |
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
| .contents_f41bb2 .markup_a7e664 { | |
| margin-top:1rem; | |
| line-height: 1.8rem; | |
| font-family: Serif; | |
| } | |
| .container_dbadf5{ | |
| margin-top: 1rem; | |
| } |
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/bash | |
| # Alias | |
| git config --global alias.s status | |
| git config --global alias.b branch | |
| git config --global alias.co checkout | |
| git config --global alias.ci commit | |
| # git pushで同名ブランチにPUSH | |
| git config --global push.default current |
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
| <?php | |
| /** | |
| * Smarty plugin | |
| * ------------------------------------------------------------- | |
| * Type: function | |
| * Name: xoops_block | |
| * Version: 1.1 | |
| * Date: Nov 15, 2005 | |
| * Author: Tom Hayakawa <[email protected]> |
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
| <?php | |
| if (!defined('XOOPS_ROOT_PATH')) exit(); | |
| class ProductionUrlToDevUrl extends XCube_ActionFilter | |
| { | |
| // ここに本番環境のXOOPS_URLの値を書く | |
| const PRODUCTION_URL = 'https://ryus.co.jp'; | |
| public function preFilter() | |
| { |
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 | |
| cd /usr/share/elasticsearch/bin | |
| sudo ./elasticsearch-plugin remove analysis-icu | |
| sudo ./elasticsearch-plugin remove analysis-kuromoji | |
| sudo ./elasticsearch-plugin remove ingest-attachment | |
| sudo ./elasticsearch-plugin install analysis-icu | |
| sudo ./elasticsearch-plugin install analysis-kuromoji | |
| sudo ./elasticsearch-plugin install ingest-attachment |
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 | |
| # cd NetCommons3/app/ | |
| # bash gitCoreFileModeFalse.sh で実行 | |
| # | |
| dir_path="Plugin/*" | |
| dirs=`find $dir_path -type d -maxdepth 0` | |
| for dir in $dirs; | |
| do | |
| echo $dir |
NewerOlder