Skip to content

Instantly share code, notes, and snippets.

View cihat's full-sized avatar
💻
writing code🚀

Cihat SALİK cihat

💻
writing code🚀
View GitHub Profile
@phortuin
phortuin / postgres.md
Last active May 14, 2026 05:23
Set up postgres + database on MacOS (M1)

Based on this blogpost.

Install with Homebrew:

$ brew install postgresql@14

(The version number 14 needs to be explicitly stated. The @ mark designates a version number is specified. If you need an older version of postgres, use postgresql@13, for example.)

@bradtraversy
bradtraversy / typescript-crash.ts
Last active May 16, 2026 21:10
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple
@sts10
sts10 / rust-command-line-utilities.markdown
Last active June 15, 2026 01:18
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@hoishing
hoishing / HowTo.md
Last active June 17, 2026 16:51
VSCode keybindings for Xcode

VSCode keybindings for Xcode

  • copy VSCode.idekeybindings to ~/Library/Developer/Xcode/UserData/KeyBindings
  • in Xcode preferences -> key bindings, select VSCode
@fatihsalgir
fatihsalgir / gitlog.sh
Last active November 25, 2024 09:37
gitlog
#!/bin/bash
usage() {
echo "Usage: $0 -u=<github-username> [-f=<github-folder> -d=<number-of-days>]"
exit 1
}
default_days=14
default_github_folder=$HOME/Documents/GitHub/
organization=jotform