Skip to content

Instantly share code, notes, and snippets.

View minvs1's full-sized avatar

Tomas Achmedovas minvs1

  • Lithuania, Vilnius
View GitHub Profile

Keybase proof

I hereby claim:

  • I am minvs1 on github.
  • I am minus1 (https://keybase.io/minus1) on keybase.
  • I have a public key ASBSreeS_mCIPlzBQYralh5E82eiXxzX1vPjWesnivQIugo

To claim this, I am signing this object:

@minvs1
minvs1 / improved-lnd-bitcoind-install.md
Created April 15, 2018 20:33 — forked from bretton/improved-lnd-bitcoind-install.md
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet

2018-03-18: Updating of this guide is taking a backseat to the mainnet version at

Intro

This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.

It does not address mainnet, or using btcd, or neutrino.

Original installation guide:

@minvs1
minvs1 / improved-lnd-bitcoind-install.md
Created April 15, 2018 20:33 — forked from itoonx/improved-lnd-bitcoind-install.md
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet

Intro

the following guide is an updated install process based on the following, which needs some improvement still

This guide here is specific to getting lnd and bitcoind running on ubuntu 16.04 LTS for testnet.

It does not address mainnet, or using btcd, or neutrino.

btcd guide here

Keybase proof

I hereby claim:

  • I am tomasachmedovas on github.
  • I am minus1 (https://keybase.io/minus1) on keybase.
  • I have a public key ASDwxsZUd2aZtrqq9c9b2YZhc6omFySXJtjpXGWmCH_H0Ao

To claim this, I am signing this object:

@minvs1
minvs1 / le-renew.sh
Created February 1, 2016 13:02 — forked from erikaheidi/le-renew.sh
Auto renewal for Let's Encrypt Apache
#!/bin/bash
#================================================================
# Let's Encrypt renewal script for Apache on Ubuntu/Debian
# @author Erika Heidi<erika@do.co>
# Usage: ./le-renew.sh [base-domain-name]
# More info: http://do.co/1mbVihI
#================================================================
domain=$1
le_path='/opt/letsencrypt'
le_conf='/etc/letsencrypt'
# A simple example of calling the VCO 5.1 REST API using Ruby. This example uses the HTTParty Gem
# to POST some XML to the new RESTful API. There are two examples (more coming) which are:
# getWorkflow(id) - This will return a workflow with a given workflow ID, HTTParty will allow you to access the response
# using the syntax response["inputParameters"] for example.
# executeWorkflow(id, inputxml) - This will allow you to execute a Workflow via the API. I was unable to get a workflow
# to execute using a hash input, so i opted for the ugly xml string option. I think this might be to do with the namespace
# I will hopefully have this as a simple hash very soon but for now it accepts the raw xml as a string.
# This is a skeleton for testing models including examples of validations, callbacks,
# scopes, instance & class methods, associations, and more.
# Pick and choose what you want, as all models don't NEED to be tested at this depth.
#
# I'm always eager to hear new tips & suggestions as I'm still new to testing,
# so if you have any, please share!
#
# @kyletcarlson
#
# This skeleton also assumes you're using the following gems:
class IpAddress < ActiveRecord::Base
has_many :warnings
accepts_nested_attributes_for :warnings
end