Skip to content

Instantly share code, notes, and snippets.

View selcukcihan's full-sized avatar
🐢
engineering

Selçuk Cihan selcukcihan

🐢
engineering
View GitHub Profile
  • Make minimum amount of changes. I want to keep the diffs very small because I review them.
  • Do not write any tests unless specifically asked.
  • Keep the current code style and format, do not deviate.
  • Follow the principle of single responsibility by keeping unrelated functions or modules separate.
  • Do not make implicit assumptions, try to surface the assumptions so we can review them and guide you if necessary.
@selcukcihan
selcukcihan / vibe_coded_app_store_connect.json
Created January 30, 2026 09:28
Vibe coded with StoreConfig
{
"schemaVersion": "1.0.0",
"appId": "6757076667",
"versionString": "1.0",
"pricing": {
"baseTerritory": "USA",
"prices": [
{
"price": "0",
"territory": "USA"
@selcukcihan
selcukcihan / example request to json endpoint
Created December 12, 2025 13:02
cloudflare-browser-rendering-json-endpoint.md
`POST https://api.cloudflare.com/client/v4/accounts/a6003e408a448be5fcc801b316519998/browser-rendering/json`
request body
```json
{
"url": "https://jobs.elastic.co/jobs/department/engineering?size=n_20_n",
"prompt": "Give me a list of job postings on this page, include the title and url of each job. I only care about senior roles in engineering positions.",
"gotoOptions": {
"waitUntil": "networkidle0"
@selcukcihan
selcukcihan / yazilim_mulakat_kurs_icerigi.md
Created June 26, 2025 12:54
Yazılım Mülakatlarına Hazırlık Ders Programı

Yazılım Mülakatlarına Hazırlık - Ders Programı

Hafta 1: Başlangıç ve Strateji

Ders 1: Mülakatlara Genel Bakış ve Hazırlık Stratejisi

  • Kursa giriş, beklentilerin belirlenmesi
  • Mülakat türleri: Telefon, online, onsite
  • Şirket türlerine göre mülakat yaklaşımı (startup vs big tech)
  • Ön hazırlık süreci:
  • CV ve LinkedIn optimizasyonu
@selcukcihan
selcukcihan / kindle-notes-to-md.py
Created November 26, 2024 09:50
Python script that parses your Kindle notes (My Clippings.txt on the device) and creates a separate .md file for each book.
import sys
import pathlib
def parse_kindle_notes(input_file):
with open(input_file, "r") as file:
lines = [x.strip() for x in file.readlines()]
notes_dict = {}
current_book = None
current_notes = []
@selcukcihan
selcukcihan / pytrie.py
Created November 25, 2024 10:35
Simple Trie Implementation
class TrieNode:
def __init__(self, char, value=None):
self.char = char
self.children = []
self.terminates = False
self.value = value
def __str__(self):
if self.value is not None:
return f"word: {self.value}"
@selcukcihan
selcukcihan / refactoring_ui.md
Created May 7, 2024 10:22
Notes from "Refactoring UI"

Refactoring UI

These are my notes from https://www.refactoringui.com

Starting

  • Start with a feature, not a layout. Details comes later, defer choices like color.
  • Establish a system (of choices): font size, weight, line height, colors, spacing, shadows etc.
  • Refrain from using font weights under 400 for UI work, to de-emphasize some text, use a lighter color or smaller font size instead.
@selcukcihan
selcukcihan / delete_my_tweets.js
Created January 5, 2024 08:20
Script to delete tweets using the twitter data export output file
/*
* Usage: node delete_my_tweets.js {TWITTER_DATA_EXPORT}/data/tweets.js
* Set your twitter api keys before running the script on these env variables:
* TWITTER_CONSUMER_APP_KEY
* TWITTER_CONSUMER_APP_SECRET
* TWITTER_ACCESS_TOKEN
* TWITTER_ACCESS_SECRET
*/
import { TwitterApi } from "twitter-api-v2";

AWS serverless öğrenmek isteyenlere şunları tavsiye edebilirim:

<!DOCTYPE html>
<html>
<head>
<style>
a {
color: blue;
}
a:target {
color: red;
}