Skip to content

Instantly share code, notes, and snippets.

View sime's full-sized avatar
🔒
Trezor

Simon Males sime

🔒
Trezor
View GitHub Profile
@revolunet
revolunet / cordova-bridge.js
Last active December 28, 2015 19:59
Sample cordova with web fallback fonctions for AngularJS
/*
* angular-phonegap-bridges
* (c) 2013 Julien Bouquillon - julien@revolunet.com
* License: MIT
*/
(function() {
'use strict';
@PaulKinlan
PaulKinlan / getdeviceart.sh
Last active May 26, 2022 11:20
Screen Record for Android
#! /bin/bash
mkdir -p ./backgrounds
function get_google_device_art {
local device=$1
# Get the Google Device backgrounds
curl "https://developer.android.com/distribute/marketing-tools/device-art-resources/$1/port_back.png" > "./backgrounds/$1_port_back.png"
curl "https://developer.android.com/distribute/marketing-tools/device-art-resources/$1/port_fore.png" > "./backgrounds/$1_port_fore.png"
@ebidel
ebidel / coverage.js
Last active September 24, 2023 10:25
CSS/JS code coverage during lifecycle of page load
Moved to https://github.com/ebidel/puppeteer-examples
@zerofeerouting
zerofeerouting / opt-lnd-zerofeerouting.yml
Created February 23, 2022 12:03
Docker snippet to configure zero fee routing for BTCPay Server
version: "3"
services:
lnd_bitcoin:
environment:
LND_EXTRA_ARGS: |
bitcoin.basefee=0
bitcoin.feerate=0