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:
I hereby claim:
To claim this, I am signing this object:
#!/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 |