Skip to content

Instantly share code, notes, and snippets.

View rustemmukhamadiev's full-sized avatar

Rustem Mukhamadiev rustemmukhamadiev

View GitHub Profile
@KirillKayumov
KirillKayumov / History|-10b0ae2e|entries.json
Last active January 8, 2023 09:49
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/k.kaiumov/projects/advent2022/lib/day9/input_example","entries":[{"id":"XFY6","timestamp":1670588224202},{"id":"Fvqs","timestamp":1670603419918}]}
@stuart11n
stuart11n / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@plentz
plentz / nginx.conf
Last active October 22, 2025 16:10
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048