Skip to content

Instantly share code, notes, and snippets.

View ragebiswas's full-sized avatar
πŸ‘”
Building something!

Rajorshi Biswas ragebiswas

πŸ‘”
Building something!
View GitHub Profile
@reinvanoyen
reinvanoyen / terminal-prompt-git-branch-zsh.md
Last active July 21, 2025 13:55
Add Git Branch Name to Terminal Prompt (MacOS zsh)

Add Git Branch Name to Terminal Prompt (zsh)

Updated for MacOS with zsh

  • Catalina
  • Big Sur
  • Monterey
  • Ventura
  • Sonoma

screenshot

@rxaviers
rxaviers / gist:7360908
Last active July 25, 2025 21:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@samizdatco
samizdatco / cleanup_timer.c
Created November 17, 2011 21:07
An attempt at a periodic callback in nginx
#define NGX_HTTP_AUTH_DIGEST_CLEANUP_INTERVAL 3000
ngx_event_t *ngx_http_auth_digest_cleanup_timer;
static ngx_atomic_t *ngx_http_auth_digest_cleanup_lock;
// set as the "init process" callback in the ngx_module_t struct
static ngx_int_t ngx_http_auth_digest_worker_init(ngx_cycle_t *cycle){
if (ngx_process != NGX_PROCESS_WORKER){
return NGX_OK;
}