Skip to content

Instantly share code, notes, and snippets.

@rnkhouse
rnkhouse / gist:bb6078c468c9b498799bbf632756b5e5
Created April 25, 2024 20:56 — forked from whittlec/gist:6112643
Install plugins to Jenkins via script console
for (plugin in ["ant",
"artifactdeployer",
"build-failure-analyzer",
"build-name-setter",
"build-pipeline-plugin",
"build-timeout",
"claim",
"clone-workspace-scm",
"cobertura",
"collapsing-console-sections",
[
{
"underlying": "AAL",
"underlyingId": 5070993,
"symbol": "AAL19Jun20C10.00",
"symbolId": 29247369,
"bidPrice": 1.31,
"bidSize": 23,
"askPrice": 1.35,
"askSize": 1,
// step 1 install java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo npm install java --save
// step 2 using
var java = require("java");
var jarfile = "jarfileName.jar";
java.classpath.push(jarPath);
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"adminUsername": {
"type": "String",
"metadata": {
"description": "Admin username"
}
},
# Server requirement: Ubuntu 16.04
# mount aion to separate storage:
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
set -e
purpleColor='\033[0;95m'
normalColor='\033[0m'
# Server requirement: Ubuntu 16.04
# Step 0: VM: NV24 (GPU: 12)
# Step 1: Install cuda installer gist.
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
set -e
purpleColor='\033[0;95m'
normalColor='\033[0m'
USER=$(whoami)
# Server requirement: Ubuntu 16.04
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
set -e
purpleColor='\033[0;95m'
normalColor='\033[0m'
USER=$(whoami)
# https://www.youtube.com/watch?v=Qkhj1SaDJZA&t=802s
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
set -e
purpleColor='\033[0;95m'
normalColor='\033[0m'
USER=$(whoami)
# Dependencies:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
CUDA_REPO_PKG=cuda-repo-ubuntu1604_9.1.85-1_amd64.deb
wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
sudo dpkg -i /tmp/${CUDA_REPO_PKG}
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
rm -f /tmp/${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get install cuda-drivers -y
sudo apt-get install cuda -y
# Server requirement: Ubuntu 16.04
# mount aion to separate storage:
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
set -e
purpleColor='\033[0;95m'
normalColor='\033[0m'