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
  • 05:34 (UTC +03:00)
View GitHub Profile
@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"
@BoQsc
BoQsc / batch_additional_switches.cmd
Created August 18, 2022 09:22
Example of additional switches in Launching executable via Batch
@ECHO OFF
SET "CurrentScriptDirectory=%~DP0"
SET "AdditionalSwitches=--no-admin --root ^"%CurrentScriptDirectory%cygwin68^""
:: Installs minimal default packages.
setup-x86_64.exe ^
--verbose ^
--quiet-mode ^
--arch "x86_64" ^
--site http://mirrors.kernel.org/sourceware/cygwin/ ^
@BoQsc
BoQsc / Cygwin QEMU Automated Setup.cmd
Last active August 17, 2022 15:36
Cygwin Automated Setup for QEMU Linux Kernel Development and Linux Distribution Setup on Windows Systems.
@ECHO OFF
TITLE Cygwin Automated Setup for QEMU [Downloading Cygwin Setup]
chcp 65001 > NUL
echo ╔═╗┬ ┬┌─┐┬ ┬┬┌┐┌ ╔═╗┬ ┬┌┬┐┌─┐┌┬┐┌─┐┌┬┐┌─┐┌┬┐ ╔═╗┌─┐┌┬┐┬ ┬┌─┐
echo ║ └┬┘│ ┬│││││││ ╠═╣│ │ │ │ ││││├─┤ │ ├┤ ││ ╚═╗├┤ │ │ │├─┘
echo ╚═╝ ┴ └─┘└┴┘┴┘└┘ ╩ ╩└─┘ ┴ └─┘┴ ┴┴ ┴ ┴ └─┘─┴┘ ╚═╝└─┘ ┴ └─┘┴
ECHO Cygwin Automated Setup for QEMU Linux Kernel Development and Linux Distribution Setup on Windows Systems.