Skip to content

Instantly share code, notes, and snippets.

@ozgurg
ozgurg / README.md
Last active September 30, 2023 16:11
teknoseyir.com'da yorum veya gönderi yazarken yapıştırdığınızda panodaki görseli yorum veya gönderi görseli olarak ekler
// // https://twitter.com/settings/your_twitter_data/twitter_interests
// Lots of discussion and improvement of the original script in the comments
// Here's the best version that works well
// Because Twitter stops the script working after unchecking 50 interests, so you will almost certainly have to run the script multiple times
function sleep(milliseconds) {
return new Promise(function (resolve) {
return setTimeout(resolve, milliseconds);
});
@mutin-sa
mutin-sa / Top_Public_Recursive_Name_Servers.md
Last active October 20, 2025 18:24
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W
@Jim-Bar
Jim-Bar / YUV_formats.md
Last active October 26, 2025 15:51
About YUV formats

About YUV formats

First of all: YUV pixel formats and Recommended 8-Bit YUV Formats for Video Rendering. Chromium's source code contains good documentation about those formats too: chromium/src/media/base/video_types.h and chromium/src/media/base/video_frame.cc (search for RequiresEvenSizeAllocation(), NumPlanes() and those kinds of functions).

YUV?

You can think of an image as a superposition of several planes (or layers in a more natural language). YUV formats have three planes: Y, U, and V.

Y is the luma plane, and can be seen as the image as grayscale. U and V are reffered to as the chroma planes, which are basically the colours. All the YUV formats have these three planes, and differ by the different orderings of them.

@bariscc
bariscc / comarblocker.rtfav.js
Last active January 23, 2020 11:16
twitter retweetleyenler ve beğenenler listeleri için blocker
// inspired by @ClaytonnLambert & @varcharian, by @lIlmirlIl
// BU KODU KOPYALAYARAK CONSOLE'A (SAĞ TIK: ÖĞEYİ İNCELE) YAPIŞTIRIP ENTERA BASINIZ.
if ($('.activity-popup-users').is(':hidden')) {
alert('Açık Beğenenler veya Retweetleyenler Listesi Bulunamadı. Listeyi açıp tekrar deneyin.\n\n\n İpucu: Tweeti açıp "BEĞENİ" veya "RETWEET"e tıklayın, liste açılacaktır.');
} else {
if (confirm("************ ÇOMARBLOCKER FAV+RT beta *************\n > Bu uygulama, Beğenenler veya Retweetleyenler listesindeki herkesi bloklar. Uygulama, twitter altyapısı nedeniyle sadece son 25 kişiyi bloklayabilir. \n \n > 'Takipçiler' ve 'Takip Ettikleri' sayfalarında çalışan versiyonu için: gist.github.com/bariscc \n \n > İşlem esnasında sayfa kısa süreli olarak donabilir, lütfen bekleyiniz.\n \n \n >Not: Kullanım sorumluluğu kullanıcıya aittir. ")) {
var favrtComarList = [];
@bariscc
bariscc / comarblocker.js
Last active January 23, 2020 11:16
twitter takipçiler ve takip edilen sayfaları için blocker
// inspired by @ClaytonnLambert & @varcharian, by @lIlmirlIl
// BU KODU KOPYALAYARAK CONSOLE'A (SAĞ TIK: ÖĞEYİ İNCELE) YAPIŞTIRIP ENTERA BASINIZ.
if (confirm("************ ÇOMARBLOCKER beta *************\n > Bu uygulama, bulunduğunuz sayfadaki tüm hesapları (takip ettikleriniz hariç) bloklar. 'Takipçiler' ve 'Takip Ettikleri' sayfalarında çalışmaya uygundur. \n \n > 'Retweetleyenler' ve 'Beğenenler' listeleriyle çalışan versiyonu için: gist.github.com/bariscc \n \n > İşlem esnasında sayfa kısa süreli olarak donacaktır, lütfen bekleyiniz.\n \n \n >Not: Kullanım sorumluluğu kullanıcıya aittir. ")) {
var comarList = [];
var skippedFollowing = [];
var skippedFollower = [];
var followerFlag = 0;