Skip to content

Instantly share code, notes, and snippets.

View konstantinzolotarev's full-sized avatar
🕶️
Working

Konstantin Zolotarev konstantinzolotarev

🕶️
Working
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 && \
@konstantinzolotarev
konstantinzolotarev / Insomnia_2019-07-20.json
Last active July 22, 2019 16:21
Makers Testchain REST API
{"_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
{
"Profiles": [
{
"Use Non-ASCII Font" : true,
"Tags" : [
],
"Ansi 12 Color" : {
"Green Component" : 0.64410710334777832,
"Red Component" : 0.32856267690658569,
["0x" <> msg] = System.argv()
msg
|> Base.decode16!()
|> :erlang.binary_to_term()
|> IO.inspect()
defmodule Encoder do
def encode(
username,
msg,
id \\ "mguFd-51",
to \\ "79040883-331c-4944-aca5-16e9351098c1@localhost"
) do
{:xmlel, "message",
[
{"xml:lang", "en"},
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()
*.sw*
*.DS_Store
.AppleDouble
.LSOverride
npm-debug.log
[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"]
# 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