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 ( | |
| "flag" | |
| "fmt" | |
| ) | |
| // usage は、ヘルプメッセージです。 | |
| const usage = ` | |
| usage go run main.go [-m MESSAGE] |
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 | |
| # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: | |
| set -Ceu | |
| VERSION="1.0.0" | |
| NAME="Honoka" |
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" | |
| "regexp" | |
| "strings" | |
| "golang.org/x/text/unicode/norm" | |
| ) |
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 ( | |
| "errors" | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| ) | |
| // Concurrent is concurrently execute tasks for number of CPUs. |
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 ( | |
| "errors" | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| ) | |
| // Concurrent is concurrently execute tasks for number of CPUs. |
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" | |
| "time" | |
| ) | |
| // Throttling is provides throttling and exponential backoff calls. | |
| func Throttling(weight int, rate int) { | |
| if weight < 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
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "runtime" | |
| "runtime/pprof" | |
| ) | |
| func main() { |
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
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Name=IntelliJ IDEA | |
| Comment=Jetbrains IntelliJ IDEA IDE | |
| Exec=/home/miki/bin/idea | |
| Icon=/opt/jetbrains/idea/bin/idea.png | |
| Terminal=false | |
| Type=Application | |
| Categories=Application;Development;IDE | |
| NoDisplay=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
| #!/usr/bin/env python3 | |
| # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: | |
| import sys | |
| print('<?xml version="1.0" encoding="UTF-8"?>') |
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 | |
| # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: | |
| set -C | |
| BREW_COMMAND="brew" |
NewerOlder