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
| This is a test v3 |
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 ruby | |
| require 'json' | |
| require 'restclient' | |
| auth_token = ENV["AUTH_TOKEN"] | |
| api_url = ENV["SCALINGO_API_URL"] || "https://api.scalingo.com/v1" | |
| auth_url = ENV["SCALINGO_AUTH_URL"] || "https://auth.scalingo.com/v1" | |
| app = ENV["APP"] |
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" | |
| "syscall" | |
| "unsafe" | |
| ) | |
| const cursorColumn = 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
| source 'https://rubygems.org' | |
| gem 'aws-s3' |
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 | |
| // docker images --no-trunc | awk '{print $1 " " $2 " " $3}' > images_data | |
| // go run gen_repositories_btrfs.go images_data | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "encoding/json" | |
| "fmt" |
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
| └> go run pong.go | |
| [Client] Received 4 bytes, 'ping' | |
| [Client] Sent 'ping' | |
| [Client] Received 4 bytes, 'ping' | |
| [Client] Sent 'ping' | |
| ... | |
| └> go run ./pong.go | |
| [Client] Received 4 bytes, 'ping' | |
| [Client] Sent 'ping' | |
| [Client] Received 4 bytes, 'ping' |
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
| // # docker inspect 780cb5846872 | |
| [{ | |
| "ID": "780cb58468724809b994dcd862c62fa7a329424072ef9082a4e5a4bbdf6836d7", | |
| "Created": "2013-11-09T00:58:43.833851609+01:00", | |
| "Path": "/start", | |
| "Args": [ | |
| "web", | |
| "bundle", | |
| "exec", |
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 ( | |
| "crypto/tls" | |
| "fmt" | |
| "net" | |
| "net/http" | |
| "net/http/httputil" | |
| "time" | |
| ) |