Skip to content

Instantly share code, notes, and snippets.

View dotMavriQ's full-sized avatar
👨‍💻
Codin'

Jonatan Jansson dotMavriQ

👨‍💻
Codin'
View GitHub Profile
@dotMavriQ
dotMavriQ / dotmavriq.css
Created April 11, 2024 10:37
** 2019 ** - CSS - /r/dotMavriq for old.reddit.com
*,
:before,
:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
body {
overflow-x: hidden;
@dotMavriQ
dotMavriQ / casapedroshopping.gs
Created March 15, 2024 23:23
CASA PEDRO SHOPPING SPREADSHEET LOGIC
/**
* Spreadsheet "CASA PEDRO - SHOPPING 2024" Columns:
* A - 'PRODUTO': Product names.
* B - 'COMPRADO': Checkboxes to indicate if the product has been purchased.
* C - 'ENGLISH': Automatically filled with the English translation of 'PRODUTO'.
* D - 'PREÇO': The cost of the product (to be entered manually).
* E - 'CASA': Indicates whether the purchase is for personal use or for Lita and Carlos.
* F - 'DATA': The date and time of purchase, auto-populated when 'COMPRADO' is checked.
*
* onEdit function: Automatically adds a timestamp in 'DATA' when 'COMPRADO' is checked and translates 'PRODUTO' to English in 'ENGLISH'.
@dotMavriQ
dotMavriQ / gmailunsubscriber.gs
Created March 2, 2024 00:53
Gmail Unsubscriber
function unsubscribeEmailOrganizer() {
const query = 'Unsubscribe'; // Define the search query to find emails with "Unsubscribe"
const labelName = 'To Unsubscribe'; // Define the name of the label to be created and applied
let label = GmailApp.getUserLabelByName(labelName);
if (!label) {
// Create the label if it doesn't exist
label = GmailApp.createLabel(labelName);
}
@dotMavriQ
dotMavriQ / ublockdotmavriq.txt
Created February 6, 2024 13:23
uBlock Origin: DotMavriQ's Annoyances
! 2023-11-11 https://mail.proton.me
mail.proton.me##.button-promotion--icon-gradient.button-promotion.button-solid-norm.button
! 2023-11-13 https://www.linkedin.com
www.linkedin.com##.text-align-left.p3.link-without-hover-state.feed-identity-module__anchored-widget--premium-access.feed-identity-module__anchored-widget.ember-view
! 2023-11-18 https://www.imdb.com
www.imdb.com##.navbar__imdb-pro--toggle.navbar__flyout__text-button-after-mobile.ipc-text-button.ipc-btn--on-textPrimary.ipc-btn--theme-baseAlt.ipc-btn--core-baseAlt.ipc-btn--default-height.ipc-btn--center-align-content.ipc-btn--single-padding.ipc-btn
! 2023-12-14 https://mail.proton.me
@dotMavriQ
dotMavriQ / repafi.ps1
Last active February 6, 2024 12:37
PowerShell Script that I used to help Margarida - Fetches the full name of all PDF files recursively in a zipped folder, PATH first, name second.
# Define the path to the zip file
$zipFilePath = "C:\Users\DOTMAVRIQ\OneNote\Documents\DD\OneDrive_2024-02-05.zip"
# Define the temporary extraction path
$tempExtractionPath = Join-Path -Path $env:TEMP -ChildPath ([System.IO.Path]::GetRandomFileName())
# Extract the zip file to the temporary directory
Expand-Archive -LiteralPath $zipFilePath -DestinationPath $tempExtractionPath -Force
# Define the output file path
@dotMavriQ
dotMavriQ / keybase.md
Created December 1, 2019 12:52
Keybase.md

Keybase proof

I hereby claim:

  • I am dotmavriq on github.
  • I am dotmavriq (https://keybase.io/dotmavriq) on keybase.
  • I have a public key ASAFvZtLVB6jCR50N1dHV41qmV0_JQ8mW06AB4DE35avIAo

To claim this, I am signing this object:

@dotMavriQ
dotMavriQ / LTT.css
Last active June 23, 2019 14:25
Le Tumblr Theme
@font-face {
font-family: 'Braille';
src: url(http://tjb0607.me/i3_tumblr_theme/font/Braille.woff);
}
html {
background-color: #7C8491;
background-image: url(https://66.media.tumblr.com/c218553711f33cec32591258d6d58ab5/tumblr_ptk2pjdtf21wepiogo1_1280.jpg);
background-position: bottom;
background-attachment: fixed;
height: 100%;
general {
output_format = "dzen2"
colors = true
interval = 5
}
order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPNC"
@dotMavriQ
dotMavriQ / Seregulqproto.py
Created April 18, 2019 11:10
Seregulqproto.py
try:
from googlesearch import search
except ImportError:
print("No module named 'google' found")
# to search
query = "site:uvalidkoping.com"
for j in search(query, tld="co.in", num=252, stop=1, pause=200):
print(j)
@dotMavriQ
dotMavriQ / seregulq.py
Created April 18, 2019 11:09
SEREGUL-Q | Search results Google URL-list Query
from google import google
num_page = 27
search_results = google.search("https://test.io/", num_page)
for result in search_results:
print(result.link)
print(len(search_results))