Skip to content

Instantly share code, notes, and snippets.

Hans Schoenburg hschoenburg

Block or report user

Report or block hschoenburg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5846911
# config/unicorn.rb
# See comment by @paulelliott
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 29
preload_app true
# Shouldn't need to do anything for redis, since it's already connecting-on-request rather than on boot.
before_fork do |server, worker|
View keybase.md

Keybase proof

I hereby claim:

  • I am hschoenburg on github.
  • I am hschoenburg (https://keybase.io/hschoenburg) on keybase.
  • I have a public key ASA8vIGRPo-W6pUgRN-rpT-bZehxY9-NbSNiHIBEgAf4zgo

To claim this, I am signing this object:

View gist:bfd82accf5f0d9cc781595deb7ee09b9
{
"start": {
"reserved": false,
"week": 0,
"start": 0
},
"info": {
"name": "trees",
"nameHash": "92ec68524dbcc44bc3ff4847ed45e3a86789009d862499ce558c793498413cec",
"state": "CLOSED",
@hschoenburg
hschoenburg / ledgerTutorialDraft.md
Last active May 6, 2019
Ledger tutorial Draft
View ledgerTutorialDraft.md

(tutorial to be hosted by Cosmos and linked to from the Ledger Live store.

Using the Cosmos Ledger app

Using a hardware wallet to store your keys greatly improves the security of your crypto assets. The following is a short tutorial on using the Cosmos Ledger app to sign transactions with either the Gaia CLI or the Lunie.io web wallet.

At the core of a Ledger device, there is a mnemonic that is used to generate private keys. When you initialize you Ledger, a mnemonic is generated. This mnemonic is compatible with Cosmos accounts.

The tool used to generate addresses and transactions on the Cosmos Hub network is called gaiacli, which supports derivation of account keys from a Ledger seed. Note that the Ledger device acts as an enclave of the seed and private keys, and the process of signing transaction takes place within it. No private information ever leaves the Ledger device.

**Do not lose or share your 24 words with anyone. To prevent theft or loss of funds, it is best to keep multiple copies of your

@hschoenburg
hschoenburg / ledgerKnowledgeBaseArticle.md
Last active May 6, 2019
Content for Cosmos Ledger Support Knowledgebase Content
View ledgerKnowledgeBaseArticle.md

The Cosmos Ledger app

Install the Cosmos app on your Ledger Nano S device to interact with the Cosmos Internet of blockchains. Use the app to sign and send transactions containing messages of any type such as sending or delegating ATOM tokens. The Cosmos Ledger app is maintained by the Cosmos dev team.

NOTE: The Cosmos Ledger app currently supports only the Nano S.

Before you start

Make sure you have completed the following steps

View GoSyntax?.md

Not sure what the underscore is for here? (golang) How does assigning a struct literal to a var result in two return values? I dont understand.

 var (
   _ sdk.AppModule      = AppModule{}
   _ sdk.AppModuleBasic = AppModuleBasic{}
 )
You can’t perform that action at this time.