Skip to content

Instantly share code, notes, and snippets.

@OpCode1300
OpCode1300 / keybase.md
Created May 1, 2017 13:38
Keybase proof

Keybase proof

I hereby claim:

  • I am opcode1300 on github.
  • I am opcode1300 (https://keybase.io/opcode1300) on keybase.
  • I have a public key ASBhk4Jvz-RYZ6JDJNBTB7WZq-Prc3wYuF8huJFloxCJgAo

To claim this, I am signing this object:

@OpCode1300
OpCode1300 / gist:7110324
Last active December 26, 2015 06:49
Usenet
#!/bin/bash
###
#
# Copyright (c) 2013 OpCode1300
#
# Ubuntu 12.04.3 LTS based install of OpenJDK, Git, SSH, Python, sabnzbdplus, Sick Beard, CouchPotatoServer
# Run this by executing the following from a fresh install of Ubuntu 12.04.3 LTS server:
#
# sudo su
# bash -c "$(curl -fsSL https://gist.github.com/OpCode1300/7110324)"
#!/bin/bash
###
#
# Copyright (c) 2013 OpCode1300
# (Forked from KimSia Sim)
#
# Ubuntu 12.04.3 LTS based install jenkins and other related plugins
# Run this by executing the following from a fresh install of Ubuntu 12.04.3 LTS server:
#
function IsAdministrator
{
return [bool]([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
}
if(-not (IsAdministrator))
{
$user = Get-Credential
}
12345