docker run --detach \
--hostname gitlab.example.com \
--publish 8443:443 \
--name gitlab \
--restart always \
--volume /srv/gitlab/config:/etc/gitlab \
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
| class CombineHandler { | |
| var subsetArray: IntArray | |
| val SIZE: Int = 5 | |
| init { | |
| subsetArray = IntArray(SIZE) | |
| } | |
| fun backtrack (n: Int,size: Int) { | |
| if (n == SIZE) { | |
| for (i in 0..size - 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 ( | |
| "context" | |
| "log" | |
| "runtime" | |
| "time" | |
| ) | |
| var ( |
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 ( | |
| _ "encoding/json" | |
| "fmt" | |
| "gopkg.in/mgo.v2" | |
| "io" | |
| "os" | |
| ) |
NewerOlder