Skip to content

Instantly share code, notes, and snippets.

View burakgarci's full-sized avatar
🥷
Feeling productive

Burak G. burakgarci

🥷
Feeling productive
View GitHub Profile
@burakgarci
burakgarci / sahibinden-yenilenmis-urunleri-gizle.user.js
Created March 1, 2025 13:14
Sahibinden.com'da yenilenmiş ürünleri gizleyen Tampermonkey betiği
// ==UserScript==
// @name Sahibinden Yenilenmiş Ürünleri Gizle
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Sahibinden.com üzerindeki arama sonuçlarında yenilenmiş ürünleri gizler
// @author Sen
// @match *://*.sahibinden.com/*
// @grant none
// ==/UserScript==
if (message.sourceSubscriberId === botIds.hero && message.body.includes('herosquad_bot/assets/unite/0/bg_groupUnite.jpg')) {
// Log message details
console.log('HERO UNITE', message.targetGroupId, message.id)
// Create object to store in cache
const obj = {
id: message.id,
sourceSubscriberId: message.sourceSubscriberId,
targetGroupId: message.targetGroupId,
timestamp: message.timestamp
@burakgarci
burakgarci / lastpass.com-select-all.js
Created September 14, 2022 19:17
Select all passwords/items in the LastPass website vault
var listItems = Array.from(document.querySelectorAll('.listCheckboxContainer'))
listItems.forEach(item => {
setTimeout(function () {
item.click();
}, 100);
});
// Beware, LastPass website might become laggy during the bulk action
@burakgarci
burakgarci / turkish-5-letter-words
Last active September 5, 2022 21:14
List of 5 letter words in Turkish language, almost complete. Collected from the dictionary "Genel Türkçe Sözlük" by Turkish Language Association
[
"abana",
"abaza",
"abbas",
"abdal",
"abhaz",
"acara",
"adana",
"afgan",
"ahlat",
@burakgarci
burakgarci / print-usernames-twitter.js
Created June 27, 2022 20:50 — forked from jalbam/print-usernames-twitter.js
Code to show usernames of people you are following on Twitter, being able to choose certain filters to skip some users (and even skip followers or non-followers)
/*
Show user names of people you are following on Twitter, being able to choose certain filters to skip some users (and even skip followers or non-followers).
This will work for new Twitter web site code structure (it was changed from July 2019).
Instructions:
1) The code may need to be modified depending on the language of your Twitter web site:
* For English language web site, no modification needed.
* For Spanish language web site, remember to set the 'LANGUAGE' variable to "ES".
* For another language, remember to set the 'LANGUAGE' variable to that language and modify the 'WORDS' object to add the words in that language.
@burakgarci
burakgarci / unfollow.js
Created June 27, 2022 20:50 — forked from JamieMason/unfollow.js.md
Unfollow everyone on twitter.com
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/following
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
//
// Last Updated: 09 April 2020
(() => {
const $followButtons = '[data-testid$="-unfollow"]';
@burakgarci
burakgarci / key.md
Created May 1, 2022 00:10
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

// ==UserScript==
// @name Twitter Auto Night Mode
// @namespace http://burakgarci.net/
// @version 0.2
// @description Toggle Twitter web dark mode by the hour
// @author Burak Garcı
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?domain=twitter.com
// @grant GM_cookie
// @grant GM.cookie
@burakgarci
burakgarci / noquit.py
Created February 8, 2021 19:11
a Sublime Text plugin to keep a file open. I could call it locked tab or a sticky tab.
"""
Burak Garcı
@burakgarci
burakgarci.net
----
Put the file in ~\Sublime Text 3\Packages\NoQuit\
"""
import sublime
import sublime_plugin
// ==UserScript==
// @name Instagram Delete All
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Adds an "Unsend All" button to a DM thread view.
// @author ryanml && christopher
// @match https://www.instagram.com/direct/inbox/
// @grant GM_xmlhttpRequest
// ==/UserScript==