set time_signal.vbs on Windows scheduler
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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" | |
"strings" | |
) | |
type Value struct { | |
ValA string | |
ValB string |
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" | |
) | |
func main() { | |
ts := []string{"a","b","c","","d","e"} | |
IDs := make([]string, len(ts)) |
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 utils | |
import ( | |
"testing" | |
) | |
func BenchmarkFilterSlice(b *testing.B) { | |
p := []string{"pika", "pi", "chu", "piika"} | |
p2 := []string{"pika", "pi", "chu"} |
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" | |
) | |
func main() { | |
t := []string{"0番目","1番目","2番目","3番目","4番目"} | |
fmt.Println(t) | |
n := 2 |
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" | |
"sort" | |
) | |
func main() { | |
ts := []string{"あ","た","ら","し","い","ひ","び"} | |
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
FROM couchbase:community | |
COPY configure-node.sh /opt/couchbase | |
#HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:8091/pools || exit 1 | |
CMD ["/opt/couchbase/configure-node.sh"] |
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
// 他の処理でも使ってるものは定数にしている | |
// set your email address. | |
var YOUR_EMAIL_ADDRESS = "あなたのGmailアドレス"; | |
// string for regular expression check | |
var EMAIL_REGEX = /[a-zA-Z0-9\._\-]+@[a-zA-Z0-9\.\-]+\.[a-z\.A-Z]+/g; | |
function getNoLabelSenders() { | |
var query = 'has:nouserlabels'; | |
var threadAll = 0; | |
var offset = 0; |
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
[core] | |
autocrlf = input | |
[alias] | |
diff = diff --color | |
last = log -1 HEAD | |
lg1=log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)—%an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative | |
lg2=log --graph --all --format=format:'%C(bold blue)%h%C(reset)- %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(boldyellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)—%an%C(reset)' --abbrev-commit | |
lg=!git lg1 | |
master = checkout master | |
tag-show = for-each-ref --sort=-taggerdate --format='[%(taggerdate:short)] %(tag) %(taggername) %(subject)' refs/tags |
NewerOlder