Skip to content

Instantly share code, notes, and snippets.

Always deliver more than expected.

Luiz Freneda lfreneda

Always deliver more than expected.
View GitHub Profile
lfreneda /
Last active Mar 21, 2020 — forked from irisli/
Github Flavored Markdown (GFM) Colored text
- all Byzantine agreement protocols, SCP makes no assumptions about the rational behavior of attackers.
- Atenção: Sempre crie sua branch a partir da master
- A não ser que sua funcionalidade dependa de uma mudança estrutural muito grande em outra branch não mergiada :(
lfreneda / collapse.js
Last active Sep 6, 2017 — forked from dmfay/collapse.js
Collapse JOIN query result sets into a hierarchical object graph
View collapse.js
'use strict';
if (!String.prototype.endsWith) {
String.prototype.endsWith = function(searchStr, Position) {
// This works much better than >= because
// it compensates for NaN:
if (!(Position < this.length))
Position = this.length;
Position |= 0; // round position
View 1-restify-server-cheatsheet.js
// Restify Server CheatSheet.
// More about the API:
// Install restify with npm install restify
// 1.1. Creating a Server.
var restify = require('restify');
lfreneda / genymotionwithplay.txt
Created Feb 1, 2016 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
View genymotionwithplay.txt
Download the following ZIPs:
ARM Translation Installer v1.1 (
Download the correct GApps for your Android version:
Google Apps for Android 6.0 ( -
Google Apps for Android 5.1 ( -
Google Apps for Android 5.0 ( -
Google Apps for Android 4.4.4 ( -
Google Apps for Android 4.3 ( -

#Ionic Publish Android App

This is the process to publish an ionic android app.

  1. Make sure you set/increment the version number in config.xml ie 0.0.3.

  2. Make sure the android platform has been added

lfreneda /
Last active Sep 9, 2015 — forked from julionc/
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
View gist:a4a724d455e532809ae0
public class AssertProperties<T>
private readonly ICollection<string> _errors = new List<string>();
public class AssertValue<TResult>
private readonly object _value;
private readonly string _propertName;
private readonly AssertProperties<T> _parent;