Skip to content

Instantly share code, notes, and snippets.

View kmels's full-sized avatar

Carlos López kmels

  • Guatemala, Guatemala
View GitHub Profile
@kmels
kmels / suave index
Created April 1, 2015 05:18
Suave index
module Main
open Suave // always open suave
open Suave.Http.Successful // for OK-result
open Suave.Web // for config
open Suave.Http
open Suave.Http.Applicatives
open Suave.Http.Successful
open Suave.Web
@kmels
kmels / Esta bien?
Last active August 29, 2015 14:21 — forked from netogallo/Esta bien?
{
"author":{"username":"neto"},
"name":"Our big duty",
"participants":[{"username":"neto"},{"username":"kmels"}],
"tasks":[
{
"name":"My free task",
"penalty":0.000155,
"expiry_epoch":1432041949423,
"state":"Free",
@kmels
kmels / InitActivity.java
Created February 14, 2018 01:51 — forked from kosiara/InitActivity.java
Android slf4j logger with logcat + file; logging to file and logcat on Android
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class InitActivity {
public InitActivity() {
logger.debug("Activity loading....");
}

##BIP47 Reusable Payment Codes Test Vectors

Results obtained upon implementing BIP47. Payment codes are calculated assuming v1 specification without use of BitMessage.

###Alice's wallet:

Mnemonic (BIP39): [response seminar brave tip suit recall often sound stick owner lottery motion]

Raw entropy (BIP39): b7b8706d714d9166e66e7ed5b3c61048

@kmels
kmels / ..build-protobuf.md
Last active November 13, 2018 17:18 — forked from StatusReport/..build-protobuf.md
Build Google Protobuf 3.5.0 for iOS 10. Builds all supported architectures and produces a universal binary static library.

Google Protobuf 3.5.0 - Mac OS X and iOS Support

The script in this gist will help you buid the Google Protobuf library for use with Mac OS X and iOS. Other methods (such as homebrew or direct compilation) have issues that prevent their use. The libraries built by this script are universal and support all iOS device architectures including the simulator.

This gist was adapted from the original at https://gist.github.com/BennettSmith/7150245, and updated to deal with Xcode 10.1 and iOS 10, and download protobuf version 3.5.0.