Skip to content

Instantly share code, notes, and snippets.

View iamthemovie's full-sized avatar

Jordan Appleson iamthemovie

View GitHub Profile
@iamthemovie
iamthemovie / delete-branches.ps1
Created December 30, 2018 14:55
Remove branches (powershell)
Delete all branches but Master and Infra
$(git branch).split("`r`n").trim().trim('* ') | foreach { if($_ -ne 'master' -And $_ -ne 'infra') { git branch -d $_ }
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 13,
// font family with optional fallbacks
fontFamily: 'Fira Code',
// fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)

Keybase proof

I hereby claim:

  • I am iamthemovie on github.
  • I am jordanappleson (https://keybase.io/jordanappleson) on keybase.
  • I have a public key ASA6z0jIFMHe-iB7GOIlVTSUZr_8z_l72s8wZbFPuYCMNAo

To claim this, I am signing this object:

@iamthemovie
iamthemovie / gist:0a9963b5813654b1accbcf9f8dcf7b56
Created October 19, 2016 10:43
Deploy SSL Binding to Hostname Azure Web App
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webapp_name": {
"type": "string",
"metadata": {
"description": "Existing App name to use for creating SSL binding. This App should have the hostname assigned as a custom domain"
}
},
wget http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jre-8u45-linux-x64.rpm --user-agent='Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1' --load-cookies=cookies --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"
@iamthemovie
iamthemovie / gist:4bdc6bfa621951d817eb
Created August 7, 2015 15:21
Legacy Example Token Output
vagrant-centos65.vagrantup.com
-9007697065992686110,-8994555998756408352,-8956843555445524411,-8947225607819969414,-8917991365372456893,-8778568902264767358,-8773343045900880934,-8770066833809709037,-8700094012281428682,-8608698002714771108,-8600304141185051098,-8526864101308084534,-8495838322214125140,-8418371707985615532,-8380744742007844111,-8342012782560242610,-8325229343310544994,-8192864687549783939,-7975905757403314385,-7972477929274901715,-7962360434591273454,-7913207593388438559,-7845180933243345208,-7782445439102196002,-7627838677732840284,-7513072921386994621,-7319852437058758694,-7278515805743126407,-7191280184715677255,-7148846225833374335,-7073654983276322847,-7028786298875716264,-7014978533103949621,-7006531994419547851,-6919140784725918633,-6913384505675233155,-6906596366551954174,-6870338390418137940,-6843022211105067875,-6805080877511776584,-6767194106249081356,-6730037243381197632,-6684132965159512665,-6571203762550892876,-6355321485591795791,-6334945452180265933,-6280033470846578262,-6255
@iamthemovie
iamthemovie / lvm-resize-root-remove-home
Last active August 29, 2015 14:03
lvm-resize-root-remove-home
# This is a quick guide on how to resize your lvm_root to the full size
# of your disk by removing the lvm_home partition.
#
# This assumes you have just done a fresh install CentOS6 / RHEL6
# and therefore there should be no data in /home.
#
# MAKE SURE YOU BACK ANYTHING IMPORTANT UP
#
# This can cause filesystem issues if you get this wrong
# so please be careful.
@iamthemovie
iamthemovie / install-htop-centos-6
Last active August 29, 2015 14:03
install-htop-centos-6
yum install wget -y
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm
yum install htop -y
@iamthemovie
iamthemovie / hpacucli-centos-6
Last active December 27, 2016 17:28
Install HPACULCI on CentOS
yum install wget -y
wget ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1257348637/v71527/hpacucli-9.10-22.0.x86_64.rpm
yum install hpacucli-9.10-22.0.x86_64.rpm -y