- NodeJS and JavaScript
- Event loop
- Parallel programming
- Async
- Libuv and the thread pool
- Streams and backpressure
- Worker threads vs child processes
- Memory model (V8 heap, garbage collection, memory leaks)
- CommonJS vs ESM modules
- Clustering and process management (PM2, cluster module)
These instructions apply to every task performed in this repository.
- Treat this file as the project-wide source of truth for repository-specific working rules.
- Read and follow these instructions before making changes in this repo.
- Prefer minimal, targeted changes over broad refactors.
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "schemaVersion": "1.0.0", | |
| "appId": "6757076667", | |
| "versionString": "1.0", | |
| "pricing": { | |
| "baseTerritory": "USA", | |
| "prices": [ | |
| { | |
| "price": "0", | |
| "territory": "USA" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| `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" |
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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}" |
These are my notes from https://www.refactoringui.com
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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"; |
NewerOlder