Skip to content

Instantly share code, notes, and snippets.

View colinbowern's full-sized avatar

Colin Bowern colinbowern

View GitHub Profile
@colinbowern
colinbowern / SuiteTalk.cs
Created January 3, 2019 22:03
NetSuite SuiteTalk 2018.2 Web Service Reference (C#) generated by dotnet svcutil
This file has been truncated, but you can view the full file.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace SuiteTalk
||abperfect.com^
||adap.tv^
||adnxs.com^
||adsafeprotected.com^
||adsymptotic.com^
||adsystem.com^
||adtechus.com^
||amazon-adsystem.com^
||arkadiumhosted.com^
||bidfluence.com^

Keybase proof

I hereby claim:

  • I am colinbowern on github.
  • I am colinbowern (https://keybase.io/colinbowern) on keybase.
  • I have a public key ASAMwKh5I1wtecMinr8OKy6QEJ4ek0o8mgepNJIGtzr_gAo

To claim this, I am signing this object:

@colinbowern
colinbowern / install-jdk-8.sh
Created September 26, 2017 20:53
Install Oracle JDK 8 using the command line on Ubuntu
#!/bin/sh
URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz
FILE=jdk-8u144-linux-x64.tar.gz
ROOT=jdk1.8.0_144
# Download from Oracle's site - sadly no https.
wget --no-cookies --timestamping --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" $URL --directory /tmp
# Decompress package into /opt/java
if [ ! -d "/opt/java" ]; then
@colinbowern
colinbowern / install-gradle.sh
Last active September 26, 2017 20:00
Install Gradle from command-line on Ubuntu
#!/bin/sh
wget --no-cookies --timestamping http://services.gradle.org/distributions/gradle-4.2-bin.zip --directory /tmp
# Decompress package into /opt/java
if [ ! -d "/opt/gradle" ]; then
mkdir /opt/gradle
fi
unzip -o /tmp/gradle-4.2-bin.zip -d /opt/gradle
@colinbowern
colinbowern / install-maven.sh
Last active September 26, 2017 20:01
Install Maven from command-line on Ubuntu
#!/bin/sh
wget --no-cookies --timestamping http://www-us.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz --directory /tmp
# Decompress package into /opt
if [ ! -d "/opt/maven" ]; then
mkdir /opt/maven
fi
tar zxvf /tmp/apache-maven-3.5.0-bin.tar.gz --directory /opt/maven
@colinbowern
colinbowern / install-jdk-9.sh
Last active September 26, 2017 20:00
Install Oracle JDK 9 from command-line on Ubuntu
#!/bin/sh
# Download from Oracle's site - sadly no https.
wget --no-cookies --timestamping --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9+181/jdk-9_linux-x64_bin.tar.gz --directory /tmp
# Decompress package into /opt/java
if [ ! -d "/opt/java" ]; then
mkdir /opt/java
fi
tar zxvf /tmp/jdk-9_linux-x64_bin.tar.gz --directory /opt/java
@colinbowern
colinbowern / jira-epic-issue-ranking.user.js
Last active November 21, 2019 14:43
Adds a drag-and-drop issue ranking handle to the JIRA epic detail issue list.
// ==UserScript==
// @name JIRA Epic Issue Ranking
// @namespace https://www.gentrack.com/
// @version 1001.0.0
// @description Adds a drag-and-drop issue ranking handle to the JIRA epic detail issue list.
// @author Colin Bowern
// @match https://*.atlassian.net/browse/*
// @grant none
// ==/UserScript==
(function() {
@colinbowern
colinbowern / PasswordHandling.md
Last active September 4, 2017 02:11
Clear Text Password in Email Response

Hi team,

I see you that you have shared my password over email. 😞 The protocol underlying email, SMTP, is like a postcard - every device handling the message along the way can read the contents of it. You should be storing passwords using a one-way encryption function so that if your customer database were compromised that it would not expose clear text passwords. The reality is that people reuse passwords all of the time, and that exposure could not only hurt your business, but also expose other accounts that person uses.

I hope you will address this issue, and review any credit card number handling procedures as well as there is a strong correlation between poor password handling and credit card handling, the latter of which puts your merchant facilities at risk through the Payment Card Industry Data Security Standards.

Cheers, Colin

@colinbowern
colinbowern / CleanWorkspace.cs
Last active August 29, 2015 14:04
TFS Build activity that can delete long paths such as those created by nested node.js modules.
using System;
using System.Activities;
using System.IO;
using Microsoft.TeamFoundation.Build.Client;
using Microsoft.TeamFoundation.Build.Activities.Extensions;
using Microsoft.TeamFoundation.Build.Workflow.Activities;
using Microsoft.VisualBasic.FileIO;
namespace CleanWorkspaceEx
{