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 | |
characters = ['˚', '゚', ' ', '', ',', '*', ' ', '✦', '.', ' '] | |
width = 60 | |
height = 20 | |
starfield = [[' ' for _ in range(width)] for _ in range(height)] | |
star_density = 0.07 # higher = more stars | |
for row in range(height): | |
for col in range(width): | |
if random.random() < star_density: | |
starfield[row][col] = random.choice(characters) |
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 Full Size Dojo | |
@version 20220326.13.19 | |
@namespace userstyles.world/user/gen3vra | |
@description makes the dojo full size, removes sidebar. i combine with dojo dark 2 | |
@author gen3vra | |
@license MIT | |
==/UserStyle== */ | |
@-moz-document domain("www.hyunsdojo.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
{ | |
"extensions.ignoreRecommendations": true, | |
"extensions.showRecommendationsOnlyOnDemand": true, | |
"workbench.startupEditor": "none", | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", | |
"php.suggest.basic": false, | |
"php.executablePath": "C:/php/php.exe", | |
"php.validate.executablePath": "C:/php/php.exe", | |
"phpfmt.php_bin": "C:/php/php.exe", | |
"window.titleBarStyle": "custom", |
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
// ==UserScript== | |
// @name Upwork Clear All | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description why don't they have this already | |
// @author Gen | |
// @match https://www.upwork.com/ab/notifications/ | |
// @icon https://www.google.com/s2/favicons?domain=upwork.com | |
// @grant none | |
// ==/UserScript== |
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
//A little function to clear Upwork's chat area messages automatedly. | |
//I had over 100 chats and needed something quick. You're free to re-use. | |
//The timeouts are actually necessary because of Upwork's site animations. Trying to click the stuff too fast doesn't work. | |
//PASTE INTO YOUR CONSOLE. | |
(function clearUpWorkChat(i, max) { | |
setTimeout(function () { | |
document.getElementsByClassName("air-icon-more-circle list-more-rooms")[0].click(); | |
}, 5); | |
setTimeout(function () { | |
document.getElementsByClassName("popover-content break")[0].children[0].children[0].children[0].children[0].click(); |
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
using System; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.Runtime.InteropServices; | |
using System.Threading; | |
using System.Windows.Forms; | |
using Microsoft.Speech.Recognition; | |
using Process = System.Diagnostics.Process; | |
using System.Diagnostics; |