Skip to content

Instantly share code, notes, and snippets.

View rakinishraq's full-sized avatar

Rakin Ishraq rakinishraq

View GitHub Profile
@rakinishraq
rakinishraq / Sync Gists.py
Last active December 15, 2023 16:00
Update all your Gists and generate a "Gist Directory.md"
# Work in progress, use at own risk
import configparser, requests, os
from datetime import datetime
info = """
0. Fix set_gist 404 error
1. Compare contents before syncing and skip if identical (factor in obfus)
2. Add obfuscation of config file contents (robust enough for 1x~)
3. Get_gists only works on public gists?
"""
@rakinishraq
rakinishraq / Stash.py
Last active December 7, 2023 11:26
Quickly save an idea/reminder to a Discord channel optionally using a keyboard shortcut.
"""
Ex. You get an idea out of nowhere, click Alt+S, type it in the input popup,
it's sent into your Discord channel so you don't forget it
Use this tool to send a message to a pretermined Discord text channel quickly.
You can remove the autodetect and sound to reduce dependancies
which are: chime and darkdetect (tkinter is built-in)
Set URL to a Discord Webhook link, heres how to get one:
1. Right-click Channel > Edit Channel
@rakinishraq
rakinishraq / My Portfolio.txt
Last active December 1, 2023 16:59
My Portfolio
This is my portfolio, an organized view of my archived, current and future projects.
This Gist is automatically converted into cards in my portfolio site: https://thatkidfrom.nyc
-- The format is as follows: --
**Title**
element_id | image_name.png | video_name.mp4 | fontawesome ocpm class
http://link.to.project/here
html color/gradient for card glow
@rakinishraq
rakinishraq / Sort YT Subs.py
Last active December 1, 2023 02:30
Organize Youtube subscriptions into categories
import os
import tkinter as tk
from tkinter import filedialog
from webbrowser import open
import pandas as pd
info = """
Youtube Subscription Organizer
@rakinishraq
rakinishraq / Minimal Miro.user.js
Last active November 8, 2023 01:21
Adds a button to quickly hide and show everything in Miro
// ==UserScript==
// @name Minimal Miro
// @namespace Violentmonkey Scripts
// @match https://miro.com/*
// @grant GM_addStyle
// @version 1.0
// @author -
// @description 11/4/2023, 7:51:59 AM
// ==/UserScript==
@rakinishraq
rakinishraq / userChrome.css
Created November 4, 2023 11:35
Hide tabs and Windows buttons (for Tree Style Tabs)
#titlebar {
visibility: collapse;
}
#TabsToolbar {
visibility: collapse !important;
}
#sidebar-header {
display: none;
@rakinishraq
rakinishraq / StartPage Bangs.user.js
Last active November 19, 2023 05:51 — forked from michaelmob/StartPage Bangs
Adds !s to StartPage, like DDG
// ==UserScript==
// @name StartPage Bangs
// @namespace http://tarkus.co/
// @version 0.7
// @description Adds !s to StartPage, like DDG
// @match https://www.startpage.com/*
// @icon https://icons.duckduckgo.com/ip3/www.startpage.com.ico
// @run-at document-start
// ==/UserScript==