Skip to content

Instantly share code, notes, and snippets.

View frankies's full-sized avatar
🎯
Focusing

frankies frankies

🎯
Focusing
View GitHub Profile
@frankies
frankies / Jenkinsfile
Created July 16, 2020 02:51 — forked from tonespy/Jenkinsfile
Jenkins Pipeline Jenkinsfile
// Every jenkins file should start with either a Declarative or Scripted Pipeline entry point.
node {
//Utilizing a try block so as to make the code cleaner and send slack notification in case of any error
try {
//Call function to send a message to Slack
notifyBuild('STARTED')
// Global variable declaration
def project = 'sa-android'
def appName = 'Sample App'
@frankies
frankies / Dockerfile
Created July 16, 2020 02:50 — forked from tonespy/Dockerfile
Android Development Area Docker
FROM ubuntu:latest
RUN cd /opt
RUN mkdir android-sdk-linux && cd android-sdk-linux/
RUN apt-get update -qq \
&& apt-get install -y openjdk-8-jdk \
&& apt-get install -y wget \
&& apt-get install -y expect \
@frankies
frankies / JSONUserType.java
Created September 1, 2017 02:14 — forked from fabriziofortino/JSONUserType.java
Hibernate JSONUserType with Jackson
package com.keepithttps.hibernate.type;
import java.io.IOException;
import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.Properties;
@frankies
frankies / 0_reuse_code.js
Created June 29, 2017 03:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console