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
| #!/usr/bin/node | |
| const program = require("commander"); | |
| const net = require("net"); | |
| let host; | |
| program | |
| .usage("[options] <host>") | |
| .arguments("<host>") | |
| .option("-p, --port <port>", "specify port") |
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
| { | |
| "A": "Alpha", | |
| "B": "Bravo", | |
| "C": "Charlie", | |
| "D": "Delta", | |
| "E": "Echo", | |
| "F": "Foxtrot", | |
| "G": "Golf", | |
| "H": "Hotel", | |
| "I": "India", |
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/bash | |
| #Has to be run from within server files | |
| #(because of how the server itself works) | |
| if pgrep -x "world_backup.sh" > /dev/null | |
| then | |
| echo "Backup script already running" | |
| else | |
| echo "Starting backup script" |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Pornhub Logo Creator</title> | |
| </head> | |
| <body> | |
| <div id="logo-container"> | |
| <div contenteditable="true" id="porn" class="logo">Type</div> | |
| <div contenteditable="true" id="hub" class="logo">Here</div> |
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
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title>PONG!!!</title> | |
| <link rel="icon" href=favicon.ico type=image/x-icon> | |
| <link href=style.css rel=stylesheet type=text/css> | |
| <link href="https://fonts.googleapis.com/css?family=Montserrat|Roboto|Anton|Roboto+Mono" rel="stylesheet"> | |
| </head> | |
| <body> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>3 Word Password</title> | |
| <link rel="icon" href="lock-black.png" type="image/x-icon"/> | |
| <link rel="stylesheet" href="/style.css"> | |
| </head> | |
| <body> | |
| <!-- Lock icon by Those Icons https://www.flaticon.com/authors/those-icons--> | |
| <img id="lock" src="lock.png"/> |
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
| echo "moved to https://github.com/LevitatingBusinessMan/Dot_Files/blob/master/dfcp" |
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
| def pigLatin(input = "Pig Latin") | |
| input = input.downcase | |
| result = [] | |
| for word in input.split(" ") do | |
| #First character is a vowel | |
| if ["a", "e", "i", "o", "u"].include?(word[0]) | |
| result.push word + "ay" |
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
| if (process.argv.length < 3) | |
| return console.log("No equation defined") | |
| const equation = process.argv[2] | |
| if (!equation.includes("=") || !equation.includes("x")) | |
| return console.log("Not a valid equation") | |
| const firstHalf = equation.split("=")[0] | |
| const secondHalf = equation.split("=")[1] |
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
| const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
| const maxLength = 10; | |
| const indeces = [0]; | |
| while (indeces.length < maxLength) { | |
| let string = "" | |
| for (let i = 0; i < indeces.length; i++) { | |
| string += chars[indeces[i]] |