Skip to content

Instantly share code, notes, and snippets.

View hadaytullah's full-sized avatar

Hadaytullah hadaytullah

View GitHub Profile
const NUMBERS = 1000000
const TESTS = 100
const startTime = Date.now()
console.log(`Testing calculating the sum of ${NUMBERS} numbers\n`)
const forLoops = []
const whileLoops = []
@micw
micw / install_jenkins_plugin.sh
Last active August 11, 2023 06:14
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins