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 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 golang:1.9 | |
ENV API_BOLTDB_PATH='bolts_db/bolt.db' | |
# Copy the local package files to the container’s workspace. | |
WORKDIR /go/src/bitbucket.org/fake/forwarder/fake_wallet | |
# Install our dependencies | |
RUN go get github.com/Sirupsen/logrus && \ | |
go get github.com/labstack/echo && \ |
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
{"_type":"export","__export_format":4,"__export_date":"2019-07-22T16:10:32.397Z","__export_source":"insomnia.desktop.app:v6.5.4","resources":[{"_id":"req_2ee933a9990644058c179364d75d4adb","authentication":{},"body":{},"created":1560761084814,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1560761084814,"method":"GET","modified":1562753780085,"name":"Display env","parameters":[],"parentId":"fld_b07d9567249b475286f17ed811f96c50","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"localhost:62386","_type":"request"},{"_id":"fld_b07d9567249b475286f17ed811f96c50","created":1560761070006,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1557734117727,"modified":1560761073158,"name":"HelloWorld Stack","parentId":"wrk_95146482e6a147649c0ada6315f60396","_type":"request_group"},{"_id":"wrk_95146482e6a147649c0ada6315f60396","created":1552817267899,"description":"","modified":155 |
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
{ | |
"Profiles": [ | |
{ | |
"Use Non-ASCII Font" : true, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.64410710334777832, | |
"Red Component" : 0.32856267690658569, |
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
["0x" <> msg] = System.argv() | |
msg | |
|> Base.decode16!() | |
|> :erlang.binary_to_term() | |
|> IO.inspect() |
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
defmodule Encoder do | |
def encode( | |
username, | |
msg, | |
id \\ "mguFd-51", | |
to \\ "79040883-331c-4944-aca5-16e9351098c1@localhost" | |
) do | |
{:xmlel, "message", | |
[ | |
{"xml:lang", "en"}, |
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
defmodule UserObserver do | |
use GenServer | |
def start_link do | |
GenServer.start_link(__MODULE__, %{}, name: __MODULE__) | |
end | |
def init(_) do | |
{:ok, users} = load_users() | |
timer = set_timer() |
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
*.sw* | |
*.DS_Store | |
.AppleDouble | |
.LSOverride | |
npm-debug.log |
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 = Konstantin Zolotarev | |
email = [email protected] | |
[url "[email protected]:"] | |
insteadOf = https://bitbucket.org/ | |
[url "[email protected]:"] | |
insteadOf = https://github.com/ | |
[http "https://gopkg.in/"] | |
followRedirects = true | |
[merge "ours"] |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export LC_ALL=en_US.UTF-8 | |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$HOME/Coding/maker/mcd-cli/libexec/mcd:$PATH |
NewerOlder