Skip to content

Instantly share code, notes, and snippets.

View BoQsc's full-sized avatar
💭
I may be slow to respond.

Feldwor BoQsc

💭
I may be slow to respond.
  • Public Domain
  • Baltic States
  • 14:51 (UTC +02:00)
View GitHub Profile
lsblk
sudo apt-get install python3-distutils
curl -LOs https://archive.org/download/ia-pex/ia
chmod +x ia
./ia help
sudo ./ia configure
sudo ./ia upload TZMOfficialChannel "./archive/"
//sudo ./ia upload ia_20220829 "/media/mint/Operating System/Users/Windows10/Desktop/y2dpl/archive/"
@BoQsc
BoQsc / Simulating a click.md
Last active August 25, 2022 04:57
How to find the clickable elements inside elements for a JavaScript Mouse Dispatch (A simulation of a click)
tutorLocateClickableElement.mp4

Examples of simulating a mouse click in JavaScript

Simulate a click with JavaScript for the element in the above video.

 var clickEvent = document.createEvent("MouseEvents");
@BoQsc
BoQsc / emoji-picker-download-option.user.js
Last active September 5, 2022 17:22
Add a Download option to the Discord Emoji Grid (Not Refactored)
// ==UserScript==
// @name Add a Download option to the Discord Emoji Grid
// @namespace https://gist.github.com/BoQsc/
// @version 0.1
// @description try to take over the world!
// @author Public Domain
// @match https://discord.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com
// @grant GM_download
// ==/UserScript==
@BoQsc
BoQsc / refresh_page_in_tampermonkey.txt
Last active August 23, 2022 10:50
Refresh a page in Tampermonkey, JavaScript.
//https://stackoverflow.com/a/25497538/3789797
setTimeout(location.reload.bind(location), 1000);
@BoQsc
BoQsc / Discord_add_download_links_to_emoji_in_the_chat.md
Last active September 5, 2022 17:21
🔮 A Tampermonkey script to Add Download Links to emojis in the chat (0.2 Refactored)
@BoQsc
BoQsc / Discord_add_download_link.js
Last active August 22, 2022 20:17
Add download link near every emoji on Discord Chat | non Tampermonkey script yet
@BoQsc
BoQsc / hide_youtube_chipbar.user.js
Last active September 23, 2022 12:26
Remove Youtube chipbar with Tampermonkey | Flawed: removes only after refreshing the whole page. Flawed: Flicker and delay. Future: Insert stylesheet to hide the element before page fully loads. Future: Handle content load of Youtube when it loads not the whole page.
// ==UserScript==
// @name Hide Youtube chipbar
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match https://m.youtube.com/
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
@BoQsc
BoQsc / simple_univariate_statistical_table.html
Last active August 22, 2022 07:07
A simple univariate statistical table in CSS | Construction Of Statistical Table
<!-- https://stackoverflow.com/questions/47438425/border-collapse-collapse-removes-padding-from-table -->
<style>
container {
display: block;
width: 400px;
height: 300px;
margin: 40px auto;
background: #ddd;
@BoQsc
BoQsc / remove_content_website.user.js
Last active August 23, 2022 15:18
Tampermonkey script to remove content from a webpage.
// ==UserScript==
// @name Remove elements from a webpage.
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.com/profile-search/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com
// @grant none
// ==/UserScript==
@BoQsc
BoQsc / Bannerlord_Get_Crash.cmd
Last active August 21, 2022 11:05
Bannerlord Inspection of Latest Crash Log
@ECHO OFF && TITLE Bannerlord Latest Crash Log
FOR /F "tokens=*" %%I IN ('DIR "%ProgramData%\Mount and Blade II Bannerlord\crashes\*.*" /B /AD /O-D /T:W') DO (
SET "latest_crash_folder=%%I"
TITLE Bannelord Latest Crash Log %ProgramData%\Mount and Blade II Bannerlord\crashes\%%I\stack.txt
GOTO :return_latest_crash_folder
)
:return_latest_crash_folder
ECHO %latest_crash_folder%
type "%ProgramData%\Mount and Blade II Bannerlord\crashes\%latest_crash_folder%\stack.txt"