Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 base64, requests, time | |
prompt = 'hatsune miku fishing in a lake' | |
print('Waiting for good response...') | |
resp = 503 | |
while resp >= 500: | |
r = requests.post('https://bf.dallemini.ai/generate', json={'prompt': prompt}) | |
resp = r.status_code |
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
/* ==UserStyle== | |
@name Thesaurus Legacy Orange Theme | |
@namespace ThesaurusLegacy | |
@version 0.0.1 | |
@homepageURL https://gist.github.com/Noorquacker/ | |
@updateURL https://gist.github.com/Noorquacker/55dd99c60b6d2220126ec3fa607cbe09/raw/b478143cf2a8aa5482b320a5299efb16b0bcd7ab/thesaurus-legacy-orange.user.css | |
@license WTFPL License | |
@author Noorquacker | |
==/UserStyle== */ | |
@-moz-document regexp("https:\\/\\/[0-9A-Za-z]*\\.?thesaurus\\.com.*") { |
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 random | |
basevin = 'JTJHK31U182' # replace this with the first 11 digits of your own VIN if you want to generate your own car | |
random.seed() | |
vinserialno = random.randint(0, 1000000) | |
newvin = f'{basevin[:8]}1{basevin[9:11]}{vinserialno:06}' | |
def checksum(vin): | |
chkweight = [8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2] | |
chkvalues = {'A': 1, 'B': 2, 'C': 3, 'D': 4, 'E': 5, 'F': 6, 'G': 7, 'H': 8, 'J': 1, 'K': 2, 'L': 3, 'M': 4, 'N': 5, 'P': 7, 'R': 9, 'S': 2, 'T': 3, 'U': 4, 'V': 5, 'W': 6, 'X': 7, 'Y': 8, 'Z': 9} |
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
/* ==UserStyle== | |
@name QUACKER Canvas Dark | |
@namespace CanvasDark | |
@version 0.0.1 | |
@homepageURL https://www.nqind.com/ | |
@updateURL https://gist.githubusercontent.com/Noorquacker/bce9abd8694cc40d6e980607d088b673/raw/quacker-canvas-dark.user.css | |
@license WTFPL License | |
@author Noorquacker | |
==/UserStyle== */ | |
@-moz-document regexp("https:\\/\\/[0-9A-Za-z]*\\.?instructure\\.com.*") { |
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 pygame, time, sys, pygame.gfxdraw, math | |
print("Fourier Example thingy by Noorquacker. https://www.nqind.com") | |
pygame.init() | |
clock = pygame.time.Clock() | |
w = pygame.display.set_mode((1500,1000)) | |
pygame.font.init() | |
pygame.display.set_caption("fourier example thingy") | |
font = pygame.font.SysFont("Times New Roman", 18) | |
iter = 5 | |
circ_outs = [0]*500 |