OmniAICreator/Qiita-1.07M huggingface dataset:
Show / Hide Sidebar with Slack | Ctrl +. | Shortcuts

As the title. (. Is a dot)

## Windows 

`Ctrl + .`

 
## Mac 

`Command + .`

 
## Operation 

Put it out.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/04b76904-2841-ae4b-3847-ed18a3a6435a.png)

Turn off.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/e2f716b7-dd9b-6472-40ab-411d433c7ee4.png)

Also put out again.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/04b76904-2841-ae4b-3847-ed18a3a6435a.png)

Convenient to sober.

# environment 

- Slack Version 1.1.2 (Mac OS X) 


# Original by
[Slack |  Ctrl + . でサイドバーの表示/非表示を切り替える | ショートカット](https://qiita.com/Yinaura/items/2bc79ea4acd552f32bdb)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Redmine | Paste external link with any string

Write in the form of **"string": URL**.

## Example 

     "Example":http://example.com/ 

## result 

[Example](http://example.com/)



# Original by
[Redmine | 任意の文字列で外部リンクを貼る ](https://qiita.com/Yinaura/items/8f565d5b03d5f457996e)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | Command to switch to the previous working branch ($ git checkout-)

# Solution 

As the title.

`$ git checkout -`

 

Write a hyphen at the checkout destination.

# Operation 

However, it can not return to the state two or more ago.

The second time `$ git checkout -` this is the "forward" action.

In other words, if you repeat this. It will switch two branches alternately.

     $ git checkout master # => master $ git checkout fix # => fix $ git checkout - # => master $ git checkout - # => fix 

# Supplement 

I wrote "Branch" in the title. It is exactly the "previous checkout status".

If the previous working state is for a revision, return to it.

     $ git checkout 10ce8f3 # => 10ce8f3 $ git checkout master # => master $ git checkout - # => 10ce8f3 

# environment 

- git version 2.3.8 (Apple Git-58) 
- Mac OSX Yosemite 10.10.4 


# Original by
[Git | ひとつ前の作業ブランチに切り替えるコマンド ( $ git checkout -  )](https://qiita.com/Yinaura/items/82da5b80b74f2157e3c7)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
rbenv | subtle relationship between global, local and .ruby-version

## $ rbenv global xxx 

Specify the version of ruby to use throughout the system. But in fact, it is a command only to write out `~/.rbenv/version` file.

     $ rbenv global 2.2.0 # => ~/.rbenv/version に 2.2.0 と書き出される 

 

So even if you create or delete `~/.rbenv/version` in other ways. The ruby version changes.

## $ rbenv local xxx 

Specify the ruby version to use for each project. But in fact, the command only writes the `.ruby-version` file to the current directory.

     $ rbenv global 2.3.0 # => ./.ruby-version に 2.3.0 と書き出される 

 

So even if you create or delete `.ruby-version` in other ways. The ruby version changes.

## Behavior of rbenv 

As mentioned earlier, `rbenv global / rbenv local` only `rbenv global / rbenv local` files. In fact, the behavior of rbenv determines the version of ruby.

### order 

rbenv first looks at the `.ruby-version` current directory. If there is, use it.

If not, look at the `.ruby-version` in the `.ruby-version` directory. If there is, use it. Repeat this until you reach your home directory `~/` .

If you go to your home directory but don't have `.ruby-version` , look at `~/rbenv/version` . If there is, use it.

That is, if you create `.ruby-version` in `.ruby-version` home directory, global will not be referenced from anywhere.

# environment 

- rbenv 0.4.0 
- Mac OS X Yosemite 


# Original by
[rbenv | global と local と .ruby-version の微妙な関係](https://qiita.com/Yinaura/items/0b021984bb21ae77816d)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
SublimeText | Shortcut to toggle regular expression on / off in search mode

Open the search window with `Command + F` `Command + Alt + R`

This turns on regular expressions. (It will be disabled if it is already enabled)

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/fe5ed7e1-ae5b-14f8-801a-b251b75ff425.png)

I often forget it.

# environment 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/6dc308a0-6d18-f4d2-0c0d-154b284a7204.png)

- Mac OS X 


# Original by
[SublimeText | 検索モードで正規表現のオン/オフを切り替えるショートカット](https://qiita.com/Yinaura/items/532eef133630db4f4aa5)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
How to shrug your shoulder with Slack

# Method 

`/shrug` comment section and send.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/9b409293-8b0a-f4ae-9004-98a60cec2293.png)

# result 

A shrugged emoticon ( `¯\_(ツ)_/¯` ) is posted.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/9b41cfb7-05dd-5aa3-271b-0e553d08aab4.png)

# application 

If you write something after `/shrug` , you can also `/shrug` a message.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/4869108e-3f74-d421-af05-d954fa4d40b1.png)

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/c2ceb6f8-6f95-0fbe-1d0e-077385134299.png)

# Why there is such a command 

Maybe a joke with slack and shrug (shoulder shrug).



# Original by
[Slack で肩をすくめる方法](https://qiita.com/Yinaura/items/aac98d211bafe2932f10)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Mac | The tilde is hard to beat. Make it easy to handle home directories on the console.

# Solution 

Make a symbolic link to your home directory at the root.

`$ sudo ln -s ~/ /a/`

 

This solves it!

`$ /a/`

 

Can handle home directories. Trouble is less than one-fifth of tilda. (Feeling)

# Operation check 

Let's create a file.

     $ touch /a/example.txt $ ls ~/ | grep example.txt example.txt 

It's right.

# Reason for the / a / symbolic link 

Because a is very easy to hit.

The first letter of home may be `h` , but the keystroke is not good.

# problem 

To move to your home directory, just type `cd` . (No need to pass anything after the `cd` )

     $ cd $ pwd /Users/yinaura 

But. If you want to handle home directories from within other directories, you have to hit the tilde.

`$ cat ~/example.text`

 

I'm sorry.

# environment 

- Max OS X Yosemite 


# Original by
[Mac | チルダが打ちにくい。コンソールで簡単にホームディレクトリを扱えるようにする。](https://qiita.com/Yinaura/items/59f1cf0c867c8bf7b210)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Vim | Start editing a non-existent file in a single shot

# Solution 

Even files that do not exist. You can start editing suddenly as a "new file".

`$ vim example.txt`

 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/4b68e8aa-1c6a-5f2d-dd63-5a2328a9fd5f.png)

You just have to save. ( `:x` )

If you do not want to create a file, you can skip without saving. ( `:q!` )

# problem 

The procedure of "creating files in advance" is troublesome.

`$ touch example.txt`

 

`$ vim example.txt`

 
# environment 

- vim 7.2.411   


# Original by
[Vim | 存在しないファイルの編集を一発で始める](https://qiita.com/Yinaura/items/04c364283e71f489ee8a)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Ruby | Output only line feed

# Solution 

OK if you put it without passing an argument.

     puts 

# Example 

     puts puts 'Gumi' puts puts 'Chocolate' puts puts 'Pine' puts 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/a92b0ce7-935d-dc21-0549-fd2ad5273de9.png)

# problem 

For example, you may want to add a line break at the beginning of the text. However, the following writing should be overwhelmed.

     puts "\nTEXT" 

     puts "\n" puts "TEXT" 

The solution is as described above.

# environment 

- Ruby 2.3.0 


# Original by
[Ruby | 改行だけを出力する](https://qiita.com/Yinaura/items/2d927e04d0ae284db07b)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
What does Vim stand for?

# answer 

**It is** an abbreviation of **V** i **IM provided**. Meaning of "Improved version of Vi".

# So what does Vi stand for? 

- Visual 
- Visual display 
- Visual editor 

It seems that there are various theories such as. It seems that it is definitely the first letter of Visual.

# reference 

- https://en.wikipedia.org/wiki/Vi 
- http://people.cis.ksu.edu/~bhoward/vi/vi10.html 
- [Vim-Wikipedia](https://ja.wikipedia.org/wiki/Vim) 
- [What does Liunx's vi stand for?](http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1145968566) 


# Original by
[Vim って何の略？ ](https://qiita.com/Yinaura/items/c02a52c0decec6196f9b)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Ruby | Regular expression | Difference between &quot;$&quot; and &quot;\ Z&quot; and &quot;\ z&quot; matching at the end

## text 

For example, suppose you have multiple lines of text: ( **There is a line feed at the end of the second line** )

     I am drinking Everyday so much 

Let's put it in a variable for confirmation here.

     texts = "I am drinking" + "\n" + "Everyday so much" + "\n" 

# $ Match 

The $ looks at the text line by line. And each line is judged.

So even the first line will match alone.

     texts.match(/drinking$/) # => <MatchData "drinking"> 

The second line alone will match.

     texts.match(/much$/) # => <MatchData "much"> 

# Match on \ Z 

\ Z looks at the whole text.

The first line is not "the end of the whole text", so the following does not match.

     texts.match(/drinking\Z/) # => nil 

The second line is "the end of the whole text", so the following matches.

     texts.match(/much\Z/) # => #<MatchData "much"> 

# match on \ z 

\ z also see the whole text. The most rigorous pattern.

The difference with \ Z is the treatment of "text last line feed".

Of course the first line does not match.

     texts.match(/drinking\z/) # => nil 

The second line does not match either. Because **there is a line break at the end of the text**.

     texts.match(/much\z/) # => nil 

A regular expression will match if it clearly indicates "ending new line". In this case, the "match result" will also include a line feed code.

     texts.match(/much\n\z/) # => <MatchData "much\n"> 

# Verification script 

     texts = "I am drinking" + "\n" + "Everyday so much" + "\n" p texts.match(/drinking$/) # => #<MatchData "drinking"> p texts.match(/much$/) # => #<MatchData "much"> puts p texts.match(/drinking\Z/) # => nil p texts.match(/much\Z/) # => #<MatchData "much"> puts p texts.match(/drinking\z/) # => nil p texts.match(/much\z/) # => nil p texts.match(/much\n\z/) # => <MatchData "much\n"> 

# environment 

- ruby 2.3.0 

# reference 

- [Regular Expression (Ruby 2.3.0)](http://docs.ruby-lang.org/ja/2.3.0/doc/spec=2fregexp.html) 
- [Use \ A and \ z instead of ^ and $ for regular expression validation](http://blog.tokumaru.org/2014/03/z.html) 


# Original by
[Ruby | 正規表現 | 末尾にマッチする「$」と「\Z」と「\z」の違い](https://qiita.com/Yinaura/items/228fba6d0523dfe00ee3)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
How to get the id before overwriting the value with Rails | enums

# Solution 

Not a method. Use a hash.

     person[:gender] # => 0 

# problem 

For example, if there is such a model.

     class Person < ActiveRecord::Base enum gender: { male: 0, female: 1 } end 

Because enum rewrites the original method. The original value of 0 or 1 can not be taken.

     person = Person.first person.gender # => "male" 

The solution is at the beginning.

# environment 

- Rails 4.2.5 


# Original by
[Rails | enums で 値を上書きする前の id を得る方法](https://qiita.com/Yinaura/items/b59e3d6db87e03fb012f)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Slack | How to turn off the &quot;Who is typing&quot; display

# Note 

This is a setting for "you do not see other members' input status".

"Because other members don't lose track of your input." (These settings do not seem to exist as of 2016-02)

## 1. Open Preferences 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/9416dde1-b168-fb3b-c241-5cd9b189b25b.png)

## 2. Select the tab of "Message Theme" 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/8440e316-60cb-6599-4349-77662badd27a.png)

## 3. 

Turn off "Display information about who is currently typing in message".

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/3f9e6804-5555-72ca-a882-b509a4a4efcb.png)

## utility 

- I will not be distracted. 
- There is no read-in between "in the mutually input state". 
- I feel that "who is typing" is not important in the first place. 

# environment 

- Slack 1.1.2 
- Mac OXS 


# Original by
[Slack | 「誰が入力中か」の表示をオフにする方法](https://qiita.com/Yinaura/items/b0b8faec48f9f2011c5e)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | Rebase current branch into &quot;latest master&quot; with one command

# Answer 

It is good to register an alias in .gitconfig.

     [alias] new-world = !git checkout master && git pull origin master && git checkout - && git rebase master 

with this.

Just type `$ git new-world` You can easily follow the latest master. (If there is no conflict)

## Explanation of command 

Multiple commands are executed in order.

### `$ git checkout master` 
 

=\> Check out to master.

### `$ git pull origin master` 
 

Bring the master up to date.

### `$ git checkout -` 
 

Return to work branch.

### `$ git rebase master` 
 

Make the working branch follow the master.

## command 

`$ git new-world`

 
# Motive 

March 2016. There is a specification change in GitHub.

The branch is not up-to-date. I had to press the Update Branch button on the screen.

Because of this, it was tempting to keep the working branch up-to-date.

# environment 

- Github (as of March 7, 2016) 
- git version 2.3.8 (Apple Git-58) 


# Original by
[Git | 現在のブランチを1コマンドで「最新のマスター」にリベースする](https://qiita.com/Yinaura/items/562b09ec4c7ad93ed2ab)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Pivotal Tracker | Make the side menu smaller and easier to use

Top left menu button ![image](https://qiita-image-store.s3.amazonaws.com/0/90607/986f6b46-80b0-7d1e-587b-2644d3c19871.png) You can make it smaller by pressing.

## Before 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/7bdcaea9-8fed-35f0-827c-9c7caf95a93c.png)

## After 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/731778f4-1ac2-a353-0793-ac47f012d110.png)

# environment 

- Google Chrome 


# Original by
[Pivotal Tracker | サイドメニューを小さくして使いやすくする](https://qiita.com/Yinaura/items/84f422cea0f676027e49)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Linux / Unix | Discard standard error

OK next.

     [command] 2>/dev/null 

in this case.

Because only the **standard error output** is discarded. **Standard output** can be used as it is.

# Example 

For example, if you want to find a specific file.

If you type a command normally. You will be warned a lot about directories that you don't have permission to.

     find / -name example.txt find: `/etc/directory1': Permission denied find: `/etc/directory2': Permission denied find: `/etc/directory3': Permission denied find: `/etc/directory4': Permission denied find: `/etc/directory5': Permission denied 

If you discard the standard error output, you get only the results you want.

     find / -name example.txt 2>/dev/null /tmp/example.txt /var/example.txt 

## reference 

- [If you stop writing "\> / dev / null 2\> & 1"](http://dqn.sakusakutto.jp/2012/06/shell_dev_null_2_1_crontab.html) 


# Original by
[Linux / Unix | 標準エラー出力を捨てる](https://qiita.com/Yinaura/items/0889fffa89ca65565d73)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | Add in bulk

Use dots.

`$ git add .`

 

Now you can stage **all the changes under the current directory**.

# environment 

- git version 2.3.8 (Apple Git-58) 


# Original by
[Git | 一括で add する](https://qiita.com/Yinaura/items/67af3e27ab593909f573)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Specify a specific project by issuing a query from BigQuery | console

# Solution 

It is OK if --project\_id is specified by option.

# Example 

For example, if the project name is **strawberry-fields-004,** it looks like the following.

`$ bq ls --project_id strawberry-fields-004`

 

Same with `$ bq query` or any other command.

# problem 

I want to issue a query other than the default project.

# reference 

- https://cloud.google.com/bigquery/bq-command-line-tool 

# environment 

- Google Cloud SDK 100.0.0 
- bq 2.0.18 


# Original by
[BigQuery | コンソールからのクエリ発行で、特定のプロジェクトを指定する](https://qiita.com/Yinaura/items/d9e94f28fcffb3cba530)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | Display difference from current branch root

Register an alias in .gitconfig.

     [alias] branch-root = merge-base master HEAD remember = !git diff $(git branch-root) 

By this. Just hit `$ git remember` . **It** will display **the difference from the current branch root**.

# environment 

- git version 2.3.8 (Apple Git-58) 


# Original by
[Git | 現在のブランチルートからの差分を表示する](https://qiita.com/Yinaura/items/cc10fbc83b4d6bb1ef0c)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | commit in bulk

The command is as follows.

`$ git add .` `$ git commit`

In git, you have to do some work "staging" before making a commit. So the solution is to "add everything once" and "commit normally".

The above command can create a new commit for **"all changes under current directory"**.

# One command 

If you register an alias. You can commit everything with one command.

     [alias] commit-force = !git add . && git commit cmf = !git commit-force 

Just command the following.

     git commit-fource 

Shorter names are faster.

     git cmf 

# environment 

- git version 2.3.8 (Apple Git-58) 


# Original by
[Git | 一括で commit する](https://qiita.com/Yinaura/items/ed4e21b4f7365a158009)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Run any program before Git | push to reduce mistakes

# Solution 

Register the command you want to run before push as a git alias.

     [push] default = current [alias] before-push = !bundle exec rubocop && bundle exec rake notes && echo 'sleep 10 seconds and you will push' && sleep 10 gentle-push = !git before-push && git push 

Then you can use `$ git gentle-push` .

Above is an example of running rubocop (Ruby's grammar checker) and notes (a task that finds annotations).

# result 

Like this.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/2ed4d064-9ab5-d4c1-b7a4-b5ee3239174e.png)

↓

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/dc48099b-4e9c-7347-8017-b1005da06cf5.png)

# Description 

- Sleeping for 10 seconds is to allow Command + C to exit when something goes wrong. Note that it does not stop automatically. 
- I want you to rewrite necessary parts timely. For example, make push be push -f. 

# combination 

It would be nice to put [an alias](http://qiita.com/Yinaura/items/562b09ec4c7ad93ed2ab) that [rebases the current branch into the "latest master" with one command in](http://qiita.com/Yinaura/items/562b09ec4c7ad93ed2ab) before-push.

     [push] default = current [alias] new-world = !git checkout master && git pull origin master && git checkout - && git rebase master before-push = !git new-world && bundle exec rubocop && bundle exec rake notes && echo 'sleep 5 seconds and you will push' && sleep 5 

# problem 

Often you forget what you want to run before push. It is better to understand the mistake at hand.

# environment 

- git version 2.3.8 (Apple Git-58) 
- Mac OSX Yosemite 


# Original by
[Git | push の前に任意のプログラムを走らせてミスを減らす ](https://qiita.com/Yinaura/items/24cf46a02d0184dc2d6c)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Regular Expression | Do you know the x option? (Easy to read even a little)

The x option will ignore spaces.

## problem 

For example, what is the following regular expression doing? Can you imagine at a glance?

     /\A(\d{3}-\d{3}-\d{1,3})|(\d{3}-\d{1,3})|(\d{1,9})\z/ 

I do not understand.

## Solution 

If you specify the x option as follows: **Ignore space** And regular expressions that are difficult to understand in the first place. You can make it a little easier to read.

     /\A ( \d{3}-\d{3}-\d{1,3}) | (\d{3}-\d{1,3}) | (\d{1,9} ) \z/x 

## More readable (break line) 

It is also possible to break the line if it is a permissible programming language.

     / \A (\d{3}-\d{3}-\d{1,3}) | (\d{3}-\d{1,3}) | (\d{1,9}) \z /x 

## What's wrong? 

- Is not it a problem of getting used to? 
- In the case of regular expressions, it is common to "pack and write" for some reason. But imagine, for example, "write programming code without line breaks" or "write SQL without line breaks". 


# Original by
[正規表現 | x オプションをご存知ですか？ ( 少しでも読みやすく )](https://qiita.com/Yinaura/items/de4a40ffaf3f88d8cb5c)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Regular expression | The difference between Hatena (?) And Asterisk (*)

# Hatena 

`/Apple?/`

 

The final e may or may not exist. So it matches the next two patterns.

- Appl 
- Apple 

# asterisk 

`/Apple*/`

 

The final e may or may not exist. And. **Any number of e may be consecutive.**

So it matches the next infinite pattern.

- Appl 
- Apple 
- Applee 
- Appleee 
- Appleeee 
- Appleeeee 
- Appleeeeee 
- Appleeeeeee 
- Appleeeeeeee 
- Appleeeeeeee ... 


# Original by
[正規表現 |  はてな ( ? ) と アスタリスク ( * )  の違い](https://qiita.com/Yinaura/items/eed08b8cf9b82160a202)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | $ git log limits the number of commits displayed

Use the option `-n` .

`$ git log -n 1` (display `$ git log -n 2` one commit) `$ git log -n 2` (display `$ git log -n 3` two commits) `$ git log -n 3` (display for three commits)

# Another voice 

You may type a number directly after the hyphen.

`$ git log -1` `$ git log -2` `$ git log -3`

(@tsuyoshi\_cho information)

# environment 

- git version 2.3.8 (Apple Git-58) 


# Original by
[Git | $ git log で表示するコミット数を制限する](https://qiita.com/Yinaura/items/cf97d3fb20d03b3b6d81)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Git | alias to get current commit hash

# Solution 

It seems that there is a dedicated command. See the comments section.

# First solution 

If you make an alias. You can easily get a commit hash just by `$ git revision` .

     [alias] revision = !git show -s --format=%H 

Example:

     $ git revision 55176575a31a65118760c30e64cde839e9bb20a3 

# application 

It is easy to get past commit hashes by specifying HEAD.

`$ git revision HEAD^`

 

`$ git revision HEAD^^`

 
# environment 

- git version 2.3.8 (Apple Git-58) 

# reference 

- [ID of the commit currently checked out in Git](http://blog.eiel.info/blog/2014/09/04/git-revision/) 


# Original by
[Git | 現在のコミットハッシュを得るエイリアス](https://qiita.com/Yinaura/items/9d75307c3678f04cd475)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Karabiner | Why the built-in keyboard is disabled even if you remove the external keyboard

It becomes invalid even if it connects "external mouse" with "USB receiver".

It seems to be a phenomenon that occurs when using "Logitech's USB receiver".

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/a844dbaf-28ec-b487-a5b0-0a07259fb43b.png)

# Solution 

From this article comment section.

> If you are only using a mouse with Logitech Unifying Receiver, you may be able to disable it by checking "Treat Logitech Unifying as pointing device." Under Options.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/a1d75de2-dd2a-8e63-cf4f-ac72f12f7488.png)

Thanks! @Shuhei

# reference 

- [Disable the MacBook's built-in keyboard only when an external keyboard is connected](http://qiita.com/shuhei/items/fcaee827b9bf256820b6) 


# Original by
[Karabiner | 外付けキーボードを外しても内蔵キーボードが無効になってしまう原因](https://qiita.com/Yinaura/items/06af61b413b2561f76f4)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Sublime text | When going over with &quot;multiple selection&quot; (multi-cursor), the shortcut to return is Ctrl + U

- Windows: `Ctrl + U` 
- Mac: `Command + U` 

You can remember it as **"Undo U"**.

I will immediately forget it, so it is hard to get stuck in the search.

# reference 

- http://www.buildinsider.net/small/sublimetext/02 


# Original by
[Sublime text | 「複数選択」(マルチカーソル) で行き過ぎた時に、戻るショートカットは Ctrl + U](https://qiita.com/Yinaura/items/9a460c6233597e497425)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Sublime text | Get path of &quot;currently open file&quot;

1. Right-click anywhere in the main display area. (Not a title bar) 
2. Select _Copy File Path_ . 

![Screenshot 2016-03-30 12.07.28.png](https://qiita-image-store.s3.amazonaws.com/0/90607/1f1dcce9-48b5-95f8-53a9-cbda56ce6f2a.png)

It was so easy!

# Aside 

- "Not a title bar" is too ugly. 

# reference 

- http://stackoverflow.com/questions/29743615/how-to-easily-get-current-file-path-in-sublime-text-3 


# Original by
[Sublime text | 「現在開いているファイル」のパスを得る](https://qiita.com/Yinaura/items/f96b331da0e1b80f1696)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Pivotal Tracker | Some Easy Ways to Use Easy-to-Use Pivotal

## Open a story by double-clicking (Close with Esc) 

Even if you don't press the small triangle button like this demon. Double-click a story name to open it.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/3f3497d0-a5bc-dd25-92a4-7ac162f952d7.png)

After that, click the appropriate area and press Esc to close the story.

## Make the sidebar smaller 

Top left hamburger icon ( ![image](https://qiita-image-store.s3.amazonaws.com/0/90607/6b475bb4-36fc-35b4-dc90-5704a9770091.png) You can make the menu smaller by clicking). You can use the screen with plenty of room.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/538eed45-95ab-0283-76d6-f4612b461cef.png)

↓

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/22bdecc2-a996-38b1-4e3f-ec1418c01356.png)

## Toggle shortcut 

Each can open and close a tab with a shortcut.

- Shift + C: Current 
- Shift + B: Backlog 
- Shift + I: IceBox 
- Shift + L: Label 
- Shift + W: My Work 

## Use My Work 

It is useful because it is unexpectedly useful. You can list the stories you are in charge of.

## Use other shortcuts 

If it is good, please. You can always see the shortcut list with `Shift +? '. (There are few types)

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/0d869dfd-ccb5-a3c6-3298-b0289e49741b.png)

# environment 

- Mac OS X Yosemite 
- Google Chrome 49.0.2623.87 (64-bit) 


# Original by
[Pivotal Tracker | 使いにくい Pivotal を少しでも使いやすくする 幾つかの方法](https://qiita.com/Yinaura/items/9e3b0f2ce6a48a52288e)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Sublime text | Search all over the project at once

# Solution 

Open Find in Files with **Ctrl + Shift + F.** Then, you can search by **leaving** `Where:` **blank**.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/17f22c86-2c09-0251-4837-1d4b1819ff4c.png)

Now regardless of what the "currently open file" is. You can search from the entire project.

# problem 

Until now

1. Open the top level directory file to search from the current directory 
2. Search in the condition of `Where: ./` 

It was a bother because I was taking the procedure.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/cab1d482-284c-3c4c-c2b8-0319f2fe3c43.png)

`Where: /` did not work well.

# environment 

- Sublime Text 3 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/05202fe0-7894-5e51-31a5-aacfb272bbb0.png)



# Original by
[Sublime text | プロジェクト全体から一斉検索する](https://qiita.com/Yinaura/items/e328fcaf8e1318b81727)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Show more than 100 lines in the BigQuery | console

# Solution 

If the -n option is specified, the number of lines will be displayed.

     $ bq query -n 1000 'SELECT * FROM dataset.table' # 1000行まで表示 

 
# problem 

You can only display up to 100 lines if you write normally.

     $ bq query 'SELECT * FROM dataset.table' 

# environment 

- BigQuery CLI 2.0.2z 


# Original by
[BigQuery | コンソールで100行より多く表示する](https://qiita.com/Yinaura/items/49c1fbec98ec7c654d90)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Sublime text | &quot;Select All&quot; shortcut in multiple selection mode is Command + Ctrl + G (Mac)

As the title. After selecting some text, you can use `Command+Ctrl+G` to select all the same text.

`Command+D` is the same effect as executing `Command+D` to the end.

**Good way of remembering, looking for.** (Grand Select or something)

# Screen example 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/42511ac1-0107-ed54-24e6-ab6aa13b75f8.png)

↓

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/84594664-73f7-3bc3-aa3b-2e0fa6c3dcf1.png)

# On Windows 

`Alt+F3`

 
# environment 

- SublimeText 3 
- Mac OXS 

# Remarks 

- I will forget it soon. As it is hard to be caught in search, memo. 
- Reference: [[Save version] List of shortcut keys of Sublime Text 3 (Windows / Mac)](http://www.starlod.net/sublime-text-3-shortcutkey.html) 


# Original by
[Sublime text | 複数選択モードで「全て選択する」ショートカットは Command+Ctrl+G ( Mac )](https://qiita.com/Yinaura/items/436066eef293a05891d1)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Slack | Made it easy to find your own private channel

I use a private channel for one person. Quite useful as a note.

However, it is difficult to find if the name is mixed with the usual channel. there. I decided to use a hyphen at the beginning of my own channel name.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/4e5a54f1-ed0c-4891-3c15-6b84dbf3fea6.png)

# utility 

This way, when you start the quick switcher with `Ctrl+k` . It's convenient because you can list your channels just by typing a hyphen.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/a83548eb-28a6-8030-668d-05e4fec7ba80.png)

Of course there is no effect if the hyphenated name is used in a normal channel. It is good to put a prefix that does not conflict according to your situation.

# environment 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/7d673e56-cf10-63ee-e9f8-0b82a5d47bdb.png)



# Original by
[Slack | 自分専用のプライベートチャンネルを探しやすくした](https://qiita.com/Yinaura/items/155570dd4ebad82d3e90)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Ruby | How is the surprise mark (!) Of the method name called?

It seems to be called bang.

- `!` = Van 
- `!!` = double van 
- `example!` = Bang method 

> People do not live in the van alone, but with every single word coming out of the mouth of God

# reference 

- http://stackoverflow.com/questions/612189/why-are-exclamation-marks-used-in-ruby-methods 
- http://www.ne.jp/asahi/petros/izumi/1999msg/991003.htm 


# Original by
[Ruby | メソッド名のビックリマーク ( ! ) はなんと呼ぶ？](https://qiita.com/Yinaura/items/e2fdf4984e13c10cd829)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Vim | Move to beginning of line ^ Move to end of line $

As the title. It's the same as regular expressions, so it's easy to remember.

# environment 

- version 7.3   


# Original by
[Vim | 行頭への移動は ^  行末への移動は $](https://qiita.com/Yinaura/items/ff142b71d00fce2c74be)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Make windows in the same app switchable with Mac | Option-Tab

Select "Keyboard" in "System Preferences".

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/0e4550ef-7c0a-0c7f-ac3c-abc9b6479f3e.png)

Select "Shortcut"-\> "Target next window" and press `opt + tab` .

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/e3c76e7f-7ed7-f077-2349-abb91c853337.png)

OK now.

# Screen example 

Switch windows of Google Chrome.

Even if another window is behind you. (Even if you can not see it at all)

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/345d55e7-1667-cdd9-0012-1834a03cbaf8.png)

It is one shot with a shortcut.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/e37ec081-5197-c28f-e118-4802e9f36a1e.png)

# Supplement 

- Initially `Command + F1` is assigned to the shortcut. 
- Guggu, because the other article was a description for a slightly older OS, the text was long. I wrote a brief summary. 

# environment 

- OS X El Capitan 


# Original by
[Mac  | Option + Tab キーで、同じアプリ内のウィンドウを切り替え可能にする](https://qiita.com/Yinaura/items/10fe5fe0cb0a795a0f58)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
SQL | The difference between confusing JOIN / INNER JOIN / OUTER JOIN / LEFT JOIN / RIGHT JOIN

### [→ I moved to this article](https://qiita.com/YumaInaura/items/12dfa07e41e1592baf6f) 

[![image.png](https://qiita-image-store.s3.amazonaws.com/0/90607/d266f481-aac6-b53a-2161-9e940888b042.png)](https://qiita.com/YumaInaura/items/12dfa07e41e1592baf6f)

### [‥read more](https://qiita.com/YumaInaura/items/12dfa07e41e1592baf6f) 


# Original by
[SQL | 分かりにくい JOIN / INNER JOIN / OUTER JOIN / LEFT JOIN / RIGHT JOIN の違い](https://qiita.com/Yinaura/items/3ab6fc49ae55f52e2d55)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
LINUX | Do you know what pwd stands for?

Print Working Directory = It seems to be an abbreviation of "Display working directory".

I always thought, "Where is the password?"

# reference 

- [About the fact that the majority of Japanese web engineers can not cope with the change](http://d.hatena.ne.jp/tomoya/20160410/1460274822) 
- [Various abbreviations for Unix and their meanings](http://wadap.hatenablog.com/entry/2014/01/13/133034) 


# Original by
[LINUX | pwd って何の略か知ってる？](https://qiita.com/Yinaura/items/8223b5b064e2799f7f9a)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Pass default values to prevent translation missing in Rails | i18n

`default:` just need to pass `default:` .

Example:

     I18n.t('activerecord.attributes.cleature.today', default: 'カエル') 

in this case.

If defined in YAML, its value is returned. If there is no definition, the `カエル` will return.

# environment 

- Rails 4.2.6 


# Original by
[Rails | i18n で translation missing を防ぐデフォルト値を渡す](https://qiita.com/Yinaura/items/c96d4a4c81ad296c7432)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Mac | &quot;Reading English Web Documents Using a Standard English-Japanese Dictionary&quot;&gt; GoogleChrome / Safari Example

With right click. You can get Mac standard "English-Japanese / Japanese-English dictionary" on web pages etc.

I did not know.

(It seems to be compatible with other applications as well as the browser.)

# Right click on the word and select "Search for" " 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/30fc64e6-1714-f38a-7a60-8750f490641e.png)

# A dictionary appears 

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/fa0ae85b-d572-a561-8ec7-97b282276650.png)

# In the case of Safari 

It is easy to understand because it is an expression of "examine xxx". Is the same function.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/f2d1f6d9-55fc-fa82-4416-9cdefd9848b6.png)

# problem 

There were no Google Chrome translation extensions that worked well on the Mac.



# Original by
[Mac  | 「標準の英和辞典」を使って英語のウェブドキュメントを読む > GoogleChrome / Safari の例](https://qiita.com/Yinaura/items/97689339eac23bb06137)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Ruby | if and unless can both be written on one line

# Example 

     'I found a truth.' if true unless false # => 'I found a truth.' 

# Use 

You don't have to write extra negation (!) To connect the conditional expressions. The meaning becomes clear. The following is a redundant example.

     'I found a truth.' if true && !false # => 'I found a truth.' 

# environment 

- ruby 2.3.0 


# Original by
[Ruby | if と unless は一行に両方書ける](https://qiita.com/Yinaura/items/2c8d2500193bbf323f1d)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Sublime Text | An easy way to display &quot;currently open files&quot; in the sidebar

# operation 

Right-click on "None" in the file editing area and select "Reveal in Side Bar".

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/6855708e-1d30-627e-3bb0-da9dc58508a7.png)

# result 

It will be displayed in the sidebar.

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/ff569c6e-4f60-be95-f120-8f72dbbb2df2.png)

# environment 

Sublime Text 3 (Mac OS X)

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/3ba3b189-8c44-5ac3-648a-961560a7f6bc.png)



# Original by
[Sublime Text | 「現在開いているファイル」をサイドバーに表示する簡単な方法](https://qiita.com/Yinaura/items/958aa5a7f55845a240bb)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->
Slack | Cancel a set reminder

# Solution 

If you enter `/remind list` comment field, a `/remind list` will be displayed, so select "Delete".

![image](https://qiita-image-store.s3.amazonaws.com/0/90607/87919de7-8124-a6e2-1ec2-c630e49092ba.png)

# problem 

I do not know where to cancel the reminder I set once.

# environment 

- Slack ver 1.1.2 
- Max OSX 


# Original by
[Slack | いちど設定したリマンドを解除する](https://qiita.com/Yinaura/items/68aed7706b3fed6e74e8)

# About

[About this translattion](https://qiita.com/YumaInaura/items/7f6fd1e9310a6816469a)








<!-- Update From Qiita API -->

# チャットメンバー募集


何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ





# Twitter


https://twitter.com/YumaInaura


<!-- Update From Qiita API -->