Skip to content

Instantly share code, notes, and snippets.

@anandsunderraman
anandsunderraman / GNU-Make.md
Created November 6, 2022 09:53 — forked from rueycheng/GNU-Make.md
GNU Make cheatsheet
@anandsunderraman
anandsunderraman / gist:568f55e2201d51a4bd2af1b2e4aafb6a
Created October 5, 2023 19:24 — forked from speric/gist:6096965
vimtutor Lesson Summaries
Lesson 1 SUMMARY
1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right)
2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
OR type: <ESC> :wq <ENTER> to save the changes.
@anandsunderraman
anandsunderraman / .jq
Created November 5, 2024 14:18
jq custom functions to convert json attributes case
def map_keys(mapper):
walk(
if type == "object"
then
with_entries({
key: (.key|mapper),
value
})
else .
end