Skip to content

Instantly share code, notes, and snippets.

View kamiranoff's full-sized avatar
🐥
Junior Developer

Kevin Amiranoff kamiranoff

🐥
Junior Developer
  • Brains and Brawn Studio
  • London, UK
View GitHub Profile
${AnsiColor.BLUE}########################################################################################################################
${AnsiColor.BLUE} ##################################################################################################################
${AnsiColor.BLUE} ############################################################################################################
${AnsiColor.BLUE} ######################################################################################################
${AnsiColor.RED} _ _ _______ _ _____ _ _ _
${AnsiColor.RED} | \ | | |__ __| | | / ____| | | (_)
${AnsiColor.RED} | \| | ___ _ __ ___ ___ __ _ _ __ | | __ _| | ___ | (___ | |_ _ _ __| |_ ___ ___
${AnsiColor.RED} | . ` |/ _ \ '_ ` _ \ / _ \/ _` | '_ \ | |/ _` | |/ _ \ \___ \| __| | | |/ _` | |/ _ \/ __|
@kamiranoff
kamiranoff / readme.md
Created December 11, 2016 20:24 — forked from coolaj86/how-to-publish-to-npm.md
How to publish packages to NPM

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@kamiranoff
kamiranoff / gist:0ed2eeb9b46a66e9a8dc9763e2c16c71
Created November 15, 2016 16:45
increment android build version
def readVersion() {
def versionFile = new File(project.rootDir, 'version.properties')
def version = new Properties()
def stream
try {
stream = new FileInputStream(versionFile)
version.load(stream)
}catch (FileNotFoundException ignore) {
}finally {