Skip to content

Instantly share code, notes, and snippets.

View meriadec's full-sized avatar

Meriadec Pillet meriadec

View GitHub Profile
#!/bin/bash
set -euo pipefail
LEDGER_LIVE_DESKTOP_VERSION=${1:-1.0.2}
TMPDIR=$(mktemp -d)
trap 'rm -rf "$TMPDIR"' EXIT

Keybase proof

I hereby claim:

  • I am meriadec on github.
  • I am lemeri (https://keybase.io/lemeri) on keybase.
  • I have a public key ASCc5PvfxaKUXOYeWem4aKDjk_A9udIXTvGoKMDvc29ENwo

To claim this, I am signing this object:

version: 2
defaults: &defaults
working_directory: ~/ledger-live-desktop
docker:
- image: circleci/node:8.11.3-stretch-browsers
jobs:
setup:
<<: *defaults
@meriadec
meriadec / ledger-live-setup.sh
Last active May 2, 2018 08:00
Ledger Live environment setup
#!/bin/env bash
#
# Ledger Live - environment setup
# -------------------------------
#
# This script install environment to work with lib-core + live-desktop
# without the pain.
#
# It will install this structure in the calling directory:
#!/bin/bash
#
# Usage:
# ./remove-merged <branch>
#
# if no branch given, use the current branch
#
targetBranch=$1
<mjml>
<mj-body>
<mj-container>
<mj-section>
<mj-column>
<mj-text>
a file
</mj-text>
</mj-column>
</mj-section>
#!/bin/bash
getCode () {
curl -s -I http://registry.npmjs.org/$1 | grep HTTP | awk {'print $2'}
}
isAvailable () {
res=$(getCode $1)
if [ "$res" == "404" ]; then
echo 1