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
module github.com/bsoo/line-bot | |
go 1.11 | |
require ( | |
cloud.google.com/go v0.40.0 | |
github.com/line/line-bot-sdk-go v6.3.0+incompatible | |
google.golang.org/genproto v0.0.0-20190627203621-eb59cef1c072 | |
) |
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
package linebot | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" |
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
package main | |
import ( | |
"math/rand" | |
"testing" | |
"time" | |
) | |
func BenchmarkSlice(b *testing.B) { | |
s := make([]int, 100) |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"testing" | |
"time" | |
) | |
func BenchmarkSlice(b *testing.B) { |
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
問題1 | |
for文を使用して下記の図形を出力してください | |
* | |
*** | |
***** | |
******* | |
***** | |
*** |
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
Show hidden characters
{ | |
"auto_close_tags": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_delay": 50, | |
"auto_complete_selector": "", | |
"auto_complete_size_limit": 4194304, | |
"auto_complete_triggers": | |
[ | |
{ |
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 | |
OS_KEY_REPEAT=2 | |
OS_REPEAT_START=15 | |
# keyboard | |
defaults write NSGlobalDomain KeyRepeat -int $OS_KEY_REPEAT # キーリピート速度 | |
defaults write NSGlobalDomain InitialKeyRepeat -int $OS_REPEAT_START # キーリピート開始までの時間 | |
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false # キー代用入力を無効にする |
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
update | |
upgrade | |
tap homebrew/versions | |
# install homebrew-cask | |
tap phinze/homebrew-cask | |
install brew-cask | |
# install with homebrew |