Skip to content

Instantly share code, notes, and snippets.

View pdkpv's full-sized avatar

Сергей Подкопаев pdkpv

View GitHub Profile
@JamieMason
JamieMason / unfollow.js.md
Last active April 26, 2024 19:31
Unfollow everyone on twitter.com

Unfollow everyone on twitter.com

  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
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
@ashander
ashander / unfavorite.js
Last active December 7, 2022 01:37
Delete all your favorites (unfavorite or unlike every tweet) on twitter.com (thx to @JamieMason and @b44rd for inspiring this)
// 1. Go to https://twitter.com/i/likes
// 2. Keep scrolling to the bottom repeatedly until all your favs are loaded.
// 3. Run this in your console (open in chrome by View > Developer > JavaScript Console)
// Notes: this may take a while if you have a lot of favs/likes
// you can only access your most recent ~2000 likes.
// inspired by https://gist.github.com/JamieMason/7580315
$('.ProfileTweet-actionButtonUndo').click()
@baszoetekouw
baszoetekouw / remove_bloatware.sh
Last active April 30, 2023 20:24
Bloatware to be removed from Galaxy S8
#!/bin/bash
# dit zijn de paketten die IK van mijn (verder lege) telefoon heb verwijderd.
exit
adb shell pm uninstall -k --user 0 com.android.bio.face.service
adb shell pm uninstall -k --user 0 com.diotek.sec.lookup.dictionary
adb shell pm uninstall -k --user 0 com.enhance.gameservice
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.katana
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active May 4, 2024 15:47
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@giantplaceholder
giantplaceholder / gist:2ee836f86b69a7df20cd53163f64b7c2
Created October 5, 2018 10:39
Revocation of personal data's processing permission and account termination request [VK.com]
<ФИО отправителя>
тел.: +7 000 000 00 00
<e-mail>
<почтовый индекс>
<полный почтовый адрес отправителя>
ООО «В Контакте»
191024
@Biswa96
Biswa96 / Remove_MIUI_Bloatware.CMD
Last active April 7, 2024 15:38
Remove bloatware applications from MIUI ROM in Xiaomi phones
@echo off
set /p Y=Enter adb.exe folder path:
cd /d %Y%
adb devices
pause
for %%X in (
"com.amazon.appmanager"
"com.android.browser"
"com.android.chrome"
"com.android.email"
@TheDrHax
TheDrHax / script.js
Last active November 22, 2019 07:27
Скрипт для GreaseMonkey, быстро прокликивающий все нужные кнопки на https://auth.wi-fi.ru/
// ==UserScript==
// @name MosMetroV2.js
// @description This script skips annoying quizes and full screen ads on https://auth.wi-fi.ru
// @author Dmitry Karikh <mosmetro@thedrhax.pw> (https://github.com/mosmetro-android)
// @version 2
// @grant none
// @include *://auth.wi-fi.ru/auth*
// ==/UserScript==
(function () {
@lenosi
lenosi / README.md
Last active May 20, 2023 07:58
MIUI bloatware

Get list of system apps on the device:

adb shell "echo 'apps:' && pm list packages -f | grep /system/app/ | sed 's/.*=/  - /'"

Remove application command

pm uninstall -k --user 0 app
@mayneyao
mayneyao / notion2blog.js
Last active February 29, 2024 18:01
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",