Skip to content

Instantly share code, notes, and snippets.

View mxsgx's full-sized avatar
Sailing with You

Masga mxsgx

Sailing with You
View GitHub Profile
const axios = require("axios");
const fs = require("fs");
/**
* @param {string} baseUrl Base URL of API (example: `https://peertube.cpy.re/api/v1`)
* @param {string} bearerToken Access token
* @param {string} filePath Pathlike file video want to upload
* @param {number} chunkSize Chunk size in bytes
* @param {number} channelId
* @param {string} fileName
###################
# global settings #
###################
[org.gnome.evolution-data-server.calendar]
notify-with-tray=false
[org.gnome.shell]
favorite-apps = [ 'ubuntu-desktop-installer_ubuntu-desktop-installer.desktop', 'ubiquity.desktop', 'firefox_firefox.desktop', 'thunderbird.desktop', 'org.gnome.Nautilus.desktop', 'rhythmbox.desktop', 'libreoffice-writer.desktop', 'snap-store_ubuntu-software.desktop', 'yelp.desktop' ]
@mxsgx
mxsgx / org.gnome.Terminal.gschema.xml
Created January 25, 2023 05:43
Dracula GNOME Terminal
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2002 Havoc Pennington
Copyright © 2002 Jonathan Blandford
Copyright © 2003, 2004 Mariano Suárez-Alvarez
Copyright © 2005 Kjartan Maraas
Copyright © 2005 Tony Tsui
Copyright © 2006 Guilherme de S. Pastore
Copyright © 2009, 2010 Behdad Esfahbod
Copyright © 2008, 2010 Christian Persch
from itertools import permutations
import string
with open('passwords.txt', 'w+') as file:
for password in permutations(string.ascii_letters + string.digits, 5):
file.write("{0}\n".format("".join(password)))
@mxsgx
mxsgx / popcat.clicker.js
Created August 17, 2021 16:14
Idk if this script is work or not
// Usage:
// 1. Open Web Console (Right Click > Inspect Element > Go to "Console" tab)
// 2. Copy and paste code below:
var interval = setInterval(() => document.dispatchEvent(new KeyboardEvent('keydown', {key: 'a'})), 1000 / 10); // 10 click per seconds (1000ms)
// If you want to stop just copy and paste code below:
clearInterval(interval);