Skip to content

Instantly share code, notes, and snippets.

View Sparky-web's full-sized avatar

Владислав Бабинов Sparky-web

View GitHub Profile
@Sparky-web
Sparky-web / gist:b387bd44857fc50fe85b12a94c9b9d07
Created February 4, 2025 22:40
Google snake uuid generator
function showDialog(uuid) {
// Создаем стили для диалогового окна
const style = document.createElement('style');
style.textContent = `
.custom-dialog-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
const startFrom = 5;
const increaseBy = 5;
const endOn = 35;
const testingTime = 5;
function randomNum(min, max) {
return Math.floor(Math.random() * (max - min)) + min
}
async function fetchData() {
@Sparky-web
Sparky-web / parallels-reset.sh
Created November 19, 2021 19:10 — forked from gdurastanti/parallels-reset.sh
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%d@gmail.com -r 1