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
let video; | |
let poseNet; | |
let poses = []; | |
function setup() { | |
createCanvas(640, 480); | |
video = createCapture(VIDEO); | |
video.size(width, height); | |
// Create a new poseNet method with a single detection |
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
import discord, re | |
client = discord.Client() | |
TOKEN = 'your token here' | |
url = 'https://us17.campaign-archive.com/?u=b0c288d012c3990e6593e76e1&id=79473da32d&e=eb0d880e49' | |
p = re.compile(r'learn\.joma\.io|joma\'?s (?:resume|cv)') | |
@client.event |
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
<html> | |
<head> | |
<script> | |
let editValueState = false; | |
function editValue(){ | |
if(editValueState == false) | |
{ | |
editValueState = true; | |
document.getElementById("editbtn").innerHTML = "editing"; |
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
#! python 3 | |
# checks if certain ip's ping from a json | |
import json, os, subprocess | |
dir = "/Users/david/Desktop/programming/scripts n shit/ping.json" | |
with open(dir, "r") as f: |
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
#! python 3 | |
# unix.py - authentication app | |
username = input('What\'s your username? ') | |
password = input('What\'s your password? ') | |
users = { | |
david = { |
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
import re, sys | |
i = 0 | |
message = '' | |
for elt in sys.argv: | |
if i > 0: | |
message += ' ' + elt | |
i += 1 | |
langRegex = re.compile(r'visual\s*basic|vb[asic]*?|visual\s*b[asic]?|v[isual]?\s*b[asic]?|javascript|js|java\s*?s[cript]?|php|perl') | |
langSub = langRegex.sub('python', message, flags=re.I) |
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
let fs = require('fs'); | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
let dateTimeNow = new Date(); | |
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
#! python 3 | |
# griff.py - Makes fortnite unplayable between 9am until 2pm and not after 10pm on weekdays. | |
import datetime, os, time | |
dt = datetime.datetime.now() | |
while True: | |
if dt.weekday() < 5: | |
try: |
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
#! python 3 | |
# griff.py - Makes fortnite unplayable between 9am until 2pm and not after 10pm on weekdays. | |
import datetime, os, time | |
dt = datetime.datetime.now() | |
while True: | |
if dt.weekday() < 5: | |
try: |
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
#! python 3 | |
# thebois.py - checks if someone is ya boi | |
import re | |
inputName = input('What\'s yo bois name? ') | |
inputParams1 = input('Does ya boi hit u up often fam? ') | |
if inputParams1 == 'yes' or inputParams1 == 'y' or inputParams1 == 'Yes': |