This file contains 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 off | |
NET SESSION >nul 2>&1 | |
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE >nul | |
GOTO ADMINTASKS | |
:ELEVATE | |
CD /d %~dp0 >nul | |
MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();" >nul | |
EXIT |
This file contains 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 random(min, max) { | |
min = Math.ceil(min); | |
max = Math.floor(max); | |
// The maximum is exclusive and the minimum is inclusive | |
return Math.floor(Math.random() * (max - min)) + min; | |
} | |
function generateLetter() { | |
const code = random(97, 123); // ASCII char codes |
This file contains 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
// Author: David Saccavino | |
// Version: 1.0 | |
// Last Updated: 9/16/20 | |
/* | |
* | |
* THIS WILL NEED TO BE UPDATED | |
* AS CHROMEBOOK MENUS CHANGE. | |
* |
This file contains 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
/* ====================================================================================================== \\ | |
Electronic Level: | |
An Arduino Sketch that uses an MPU6050 and LED lights to determine and indicate orientation. | |
- June 21, 2012 by Jeff Rowberg <[email protected]> | |
- June 6, 2020 forked/updated by David Saccavino <[email protected]> | |
\\ ====================================================================================================== */ |
This file contains 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
```{ | |
"telemetry.enableTelemetry": false, | |
"workbench.colorTheme": "Dracula", | |
"workbench.startupEditor": "newUntitledFile", | |
"python.pythonPath": "/usr/bin/python", | |
"files.autoSave": "afterDelay", | |
"window.restoreWindows": "all", | |
"git.enableSmartCommit": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"workbench.iconTheme": "material-icon-theme", |
This file contains 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 path = require("path"); | |
const express = require("express"); | |
const app = express(); | |
const server = require("http").createServer(app); | |
const io = require("socket.io")(server); | |
const port = process.env.PORT || 8080; | |
const mongoose = require("mongoose"), | |
User = require("./user"); | |
require("dotenv").config(); |
This file contains 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 puppeteer = require("puppeteer"); | |
// const search = /c(omputer)*\s*s(cience)*|s(oftware)*[\s|w]+[e(ngineer)*|dev(eloper)*]*|full\s?stack|dev(eloper)*|web|Human Resources|H\s?R|engineer|dropbox|google|yelp|twitter|f(ace)b(ook)|two sigma|github|y(ou)t(ube)|admin|software|research/i; | |
async function invite() { | |
const browser = await puppeteer.launch({ headless: false }); | |
let page = await browser.newPage(); | |
await page | |
.goto("https://www.linkedin.com/") | |
.then(async () => { |
This file contains 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
import discord | |
import re | |
client = discord.Client() | |
TOKEN = 'your-token' | |
url = 'https://us17.campaign-archive.com/?u=b0c288d012c3990e6593e76e1&id=79473da32d&e=eb0d880e49' | |
resumeRegex = re.compile( | |
r'learn\.joma\.io|joma\'?s (?:resume|cv)', re.IGNORECASE) |
This file contains 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
import discord, re | |
client = discord.Client() | |
TOKEN = 'your-token' | |
url = 'https://us17.campaign-archive.com/?u=b0c288d012c3990e6593e76e1&id=79473da32d&e=eb0d880e49' | |
resumeRegex = re.compile(r'learn\.joma\.io|joma\'?s (?:resume|cv)', re.IGNORECASE) | |
@client.event |
This file contains 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
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost |
NewerOlder