This file contains 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
[user] | |
name = | |
email = | |
[push] | |
default = matching | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow bold |
This file contains 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 bash | |
test_import_http_func() { | |
echo "test_import_http_func is called"; | |
} |
This file contains 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
$ docker --help | |
$ docker run --help | |
$ docker-machine ls | |
$ docker-machine start default | |
$ docker-machine rm default | |
$ docker-machine create default --driver virtualbox | |
$ eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env default) |
This file contains 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
add-job-to-view | |
Adds jobs to view. | |
build | |
Builds a job, and optionally waits until its completion. | |
cancel-quiet-down | |
Cancel the effect of the "quiet-down" command. | |
clear-queue | |
Clears the build queue. | |
connect-node | |
Reconnect to a node(s) |
This file contains 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
function main() { | |
getEventSeries(); | |
} | |
function getEventSeries() { | |
var calendar = CalendarApp.getCalendarById("email-address"); | |
for (var month = 0; month < 13; month += 1) { | |
var date = new Date(2012, month, 1); | |
var eventsOnDay = calendar.getEvents(new Date(2012, date.getMonth() , 1), new Date(2012, date.getMonth() + 1, 0)); | |
for (var ej = 0; ej < eventsOnDay.length; ej += 1) { |
This file contains 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 bash | |
sudo apt install python -y | |
yes '' | sudo apt-add-repository ppa:ansible/ansible | |
sudo apt update | |
sudo apt install ansible -y | |
sudo apt install git -y |
This file contains 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 LinkedMap<Key, Value> { | |
private class Node<Key, Value> { | |
private Key key; | |
private Value value; | |
private Node<Key, Value> next; | |
public Node(Key key, Value value, Node<Key, Value> next) { | |
this.key = key; | |
this.value = value; | |
this.next = next; |