This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Rushy Panchal | |
# Bootstrap a new server, with either Apache or Nginx | |
# This is experimental and not production-ready | |
# I do not take any liability for any damage or problems caused by misuse | |
# This script is provided as-is, as detailed in the General Public License (GPL) version 3.0 | |
# To use: | |
# upload to your server (through SFTP) | |
# chmod +x bootstrap.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function colorSpam () { | |
var colors = ["red", "blue", "green", "orange", "purple", "yellow"]; | |
function changeColor(i) { | |
i = i < colors.length ? i: 0; | |
document.body.style.backgroundColor = colors[i]; | |
setInterval(function () {changeColor(i + 1)}, 100); | |
} | |
changeColor(1); |
NewerOlder