Skip to content

Instantly share code, notes, and snippets.

View nfet's full-sized avatar
💼
Open to work

Tony Lagnada nfet

💼
Open to work
View GitHub Profile
/**
* Android 4.2: Moar jelly beans!
*/
public static final int JELLY_BEAN_MR1 = 17;
public static final boolean isOlderThanIceCreamSandwich() {
return Build.VERSION.SDK_INT < ICE_CREAM_SANDWICH;
}
@nfet
nfet / #Git Notes
Last active August 29, 2015 14:00
Git Notes
Add Git Notes Here
public class HelloWorld {
public static void main(String... args) {
System.out.println("Hello World!");
}
}
@nfet
nfet / 1. README.md
Last active May 28, 2021 20:50
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=

Overview

The following loyalty contracts written in solidty is an example of a User-owned loyalty points (1 ETH Address per loyalty member).

@nfet
nfet / HOME_.zshrc
Last active June 3, 2020 16:12
ZShell Stuff
# git
autoload -Uz vcs_info
precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info )
setopt prompt_subst
RPROMPT=\$vcs_info_msg_0_
zstyle ':vcs_info:git:*' formats '%F{240}(%b)%r%f'
zstyle ':vcs_info:*' enable git
source zshrc.sh
package com.example.jar.demo;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
M6DB = {
["icRangeColor"] = "ffffff",
["groups"] = {
"Priest", -- [1]
"Mage", -- [2]
"Common", -- [3]
"Warlock", -- [4]
["Priest"] = 1,
["Mage"] = 2,
["Warlock"] = 4,