Skip to content

Instantly share code, notes, and snippets.

View jdapoc's full-sized avatar

JD Apoc jdapoc

  • Kennesaw, GA
View GitHub Profile
# improving the format/structure of the code
# 🌹
# improving performance
# 🐎
# writing docs
# 📝
# fixing a bug
# 🐛
# removing code or files
# 🔥
#!/bin/bash
LINKDIR=/usr/bin
JHOME=/usr/java/latest
JREDIR=$JHOME/jre/bin
JDKDIR=$JHOME/bin
sudo alternatives --install $LINKDIR/java java $JREDIR/java 20000 \
--slave $LINKDIR/keytool keytool $JREDIR/keytool \
--slave $LINKDIR/orbd orbd $JREDIR/orbd \
@jdapoc
jdapoc / Jenkinsfile
Created October 2, 2016 19:57 — forked from amaksoft/Jenkinsfile
My example Jenkins Pipeline setup for Android app project
#!/usr/bin/groovy
/*
* Copyright (c) 2016, Andrey Makeev <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
@jdapoc
jdapoc / Default (OSX).sublime-keymap
Last active February 12, 2016 20:43 — forked from aarongarciah/Default (OSX).sublime-keymap
Sublime Text macros for converting to and from 2 and 4 space indentation
[
// Got this from here - [aarongarciah](https://gist.github.com/aarongarciah/f826b4ebe9cae4b3b738)
// who forked it from here - https://gist.github.com/beaugunderson/8588871
{
"keys": ["ctrl+alt+s"],
"command": "expand_selection",
"args": {"to": "tag"} },
{
"keys": ["ctrl+2"],
"command": "run_macro_file",