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
| yaourt -S visual-studio-code | |
| $ code | |
| Vimプラグインと,Go richなんたらプラグインをインストールして再起動 | |
| Alt+F > Preferences > User Settings > Go configuration | |
| - { | |
| - } |
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
| Earthquake.init do | |
| command :y do |m| | |
| target = twitter.status(m[1]) | |
| url = "https://twitter.com/#{target["user"]["screen_name"]}/status/#{target["id"]}" | |
| system("echo -n #{url} | xsel -ib") | |
| puts "Yank \"#{url}\"." | |
| #system("tmux set-buffer #{url}") | |
| #puts "Set \"#{url}\" to tmux buffer" | |
| end |
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
| Miruru | |
| The Fairilu | |
| of Honeybee. | |
| Groupe of | |
| Bugs | |
| Fairilu | |
| Miruru is a | |
| bright and | |
| cute worker bee |
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
| table | |
| thead | |
| tr | |
| th リルリルフェアリル放映日(予定) | |
| th リルリルフェアリル話数 | |
| th りっぷの手 | |
| th サザエさん放映日(予定) | |
| th サザエの手 | |
| th 勝者 | |
| tbody |
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
| りっぷ サザエ 勝者 | |
| 05/21,22 チョキ グー サザエ 0勝1敗0分 | |
| 05/28,29 パー パー あいこ 0勝1敗1分 | |
| 06/04,05 パー チョキ サザエ 0勝2敗1分 | |
| 06/11,12 グー グー あいこ 0勝2敗2分 | |
| 06/18,19 パー パー あいこ 0勝2敗3分 | |
| 06/25,26 チョキ グー サザエ 0勝3敗3分 | |
| 07/02,03 グー チョキ りっぷ 1勝3敗3分 | |
| 07/09,10 チョキ チョキ あいこ 1勝3敗4分 | |
| 07/16,17 グー パー サザエ 1勝4敗4分 |
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
| # Clean at first | |
| rm -f backup_*.tar.gz | |
| URL=https://raw.githubusercontent.com/sue445/jenkins-backup-script/0.1.8/jenkins-backup.sh | |
| if type curl; then | |
| curl $URL | bash -s /var/lib/jenkins backup_`date +"%Y%m%d%H%M%S"`.tar.gz | |
| elif type wget; then | |
| wget $URL -O - | bash -s /var/lib/jenkins backup_`date +"%Y%m%d%H%M%S"`.tar.gz | |
| else |
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
| Thread.new do | |
| sleep 1 | |
| puts 'thread 1' | |
| sleep 1 | |
| end | |
| Thread.new do | |
| sleep 1 | |
| puts 'thread 2' | |
| sleep 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
| app/models/concerns/article/addon/import.rb:2:1: C: Trailing whitespace detected. | |
| app/models/concerns/article/addon/import.rb:4:3: C: Module has too many lines. [210/166] | |
| module Import ... | |
| ^^^^^^^^^^^^^ | |
| app/models/concerns/article/addon/import.rb:5:1: C: Trailing whitespace detected. | |
| app/models/concerns/article/addon/import.rb:8:1: C: Trailing whitespace detected. | |
| app/models/concerns/article/addon/import.rb:15:5: W: Useless public access modifier. | |
| public | |
| ^^^^^^ | |
| app/models/concerns/article/addon/import.rb:16:7: C: Assignment Branch Condition size for to_csv is too high. [61.04/61] |
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
| # At first, run `gem install test-unit`. | |
| require 'test/unit' | |
| class TestA < Test::Unit::TestCase | |
| setup { puts "all setup" } | |
| test("a") { assert true } | |
| sub_test_case "a sub" do |
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のインストール場所まで移動 (cd ~/.vim/dein や cd ~/.cache/dein などであると推測される)(ユーザごとに違う) | |
| cd repos/github.com/Shougo/dein.vim | |
| git checkout 5e1c1329c53640e439cf9912b0f317b0f2cf7ec1 | |
| Vimで | |
| :call dein#recache_runtimepath() |