Skip to content

Instantly share code, notes, and snippets.

View resultakak's full-sized avatar
👨‍💻
Focusing

Resul Takak resultakak

👨‍💻
Focusing
View GitHub Profile
@resultakak
resultakak / bobp-python.md
Created June 12, 2022 20:25 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@resultakak
resultakak / remove_like.js
Last active July 5, 2025 07:27 — forked from antlionguard/twitter-remove-retweets.js
With this script, you can remove all retweets you are retweeted on Twitter.
function scrollToLoadMore() {
// keep scrolling if twitter tries to stop loading more.
// scroll up, then down to force infinite load.
window.scrollTo(0, 0);
setTimeout(function() {
window.scrollBy(0, 9999999999);
}, 200);
}
function removeTweet(tweetEl) {
@resultakak
resultakak / ghcr.md
Created September 3, 2025 11:47 — forked from yokawasa/ghcr.md
ghcr (GitHub Container Registry)

ghcr (GitHub Container Registry) quickstart

CLI

To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT

  1. Get PAT (personal access token)

Personal Settings > Developer settings > Personal access tokens

@resultakak
resultakak / git_submodules.md
Created September 13, 2025 20:12 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules - Basic Explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
import { z } from "zod";
// 1. Şemayı Tanımla
// Zod, veriyi hem doğrular hem de dönüştürür
const UserSchema = z.object({
id: z.number(),
name: z.string().min(2),
email: z.string().email(),
// Backend null dönse bile biz fallback değer atıyoruz
role: z.enum(["admin", "user"]).default("user"),