Skip to content

Instantly share code, notes, and snippets.

View ramonmaruko's full-sized avatar

Ramon Marco L. Navarro ramonmaruko

  • Caresharing, Inc.
  • Cebu, Philippines
View GitHub Profile
@tpolecat
tpolecat / libs.md
Last active December 17, 2021 16:50
tpolecat library status

Latest releases and supported Scala versions for org.tpolecat stuff

Release 2.12 2.13 3.0.0 Notes
Atto 0.9.5
Doobie (CE2) 0.13.4
Doobie (CE3) 1.0.0-M5
Natchez (CE2) 0.0.26 EOL
Natchez (CE3) 0.1.3
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active June 13, 2024 08:06
crack activate Office on mac with license file
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 15, 2024 12:13 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@richb-hanover
richb-hanover / Installing_Homenet.md
Last active January 6, 2021 09:32
Installing Homenet on LEDE/OpenWrt (DRAFT)

Installing Homenet on your Router

This set of instructions configures a fresh LEDE installation to run Homenet. They will likely work on a current build of OpenWrt.

There's lots of good info about Homenet elsewhere. See the External References section (below).

The general strategy is to connect your computer to the router's LAN Ethernet, convert the wireless and WAN interfaces to run Homenet, and test the changes so far. After things are working, configure the LAN Ethernet to Homenet through connect one of the (now Homenet) wireless interfaces.

  1. Install LEDE on your router. See the main Getting Started with LEDE page for details.
#!/bin/bash
set -e
JAVA_HOME=${1-text}
[ $# -eq 0 ] && { echo "Usage: sudo $0 \$(/usr/libexec/java_home -v '1.8*')" ; exit 1; }
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts
wget https://letsencrypt.org/certs/letsencryptauthorityx1.der
wget https://letsencrypt.org/certs/letsencryptauthorityx2.der
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

Generating Authy passwords on other authenticators


Update 04.04.2020: Please take a look at many of the forks of this gist or comments, where people have updated or improved upon the code. I have not needed this in a long time, which is why the original document has not been updated and the code probably does not work. Stay secure and only copy and paste code that you trust.

There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes (beware, thro

@edasque
edasque / gist:bd8aa4087c843e31e38d
Created August 30, 2014 22:31
Phonegap / Cordova Logcat - filtering
adb logcat CordovaActivity:V CordovaWebView:V CordovaWebViewClient:V IceCreamCordovaWebViewClient:V CordovaLog:V *:S
@domenic
domenic / promise-retryer.js
Last active September 16, 2023 02:43
Generalized promise retryer
"use strict";
// `f` is assumed to sporadically fail with `TemporaryNetworkError` instances.
// If one of those happens, we want to retry until it doesn't.
// If `f` fails with something else, then we should re-throw: we don't know how to handle that, and it's a
// sign something went wrong. Since `f` is a good promise-returning function, it only ever fulfills or rejects;
// it has no synchronous behavior (e.g. throwing).
function dontGiveUp(f) {
return f().then(
undefined, // pass through success