Lince Mathewlince.hashnode.dev·Dec 3, 2024Is This a Good Way to Reduce Operational Costs?I'm implementing a publisher-subscriber mechanism for a feature in our product, LiveAPI. LiveAPI is an auto API documentation tool that generates API docs simply by connecting to a repository. To enhance security and build trust, we've designed it so...TIL
Arunvel Sriramarunvelsriram.dev·Oct 8, 2024Backspace in iOS Calculator AppiOS calculator does have a backspace feature. Just that is hidden and unintuitive 😅. Swiping left or right on the number deletes one number at a time from the last. Got to know from a colleague that this is changed in iOS 18. The Calculator app in ...43 readsTIL - Today I LearnediOS
Arunvel Sriramarunvelsriram.dev·Aug 1, 2024Get Sharable Link for ChatGPT ConversationTIL that We can get a publicly shareable link of a conversation in ChatGPT. The link is accessible even without logging in by anyone. It's available only in the web version as of now. Useful for providing link to explanations in your social media pos...1 likeTIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Jul 22, 2024Passing Options to Homebrew FormulaHomebrew Formula can receive options via command-line arguments. Wanted to compile and install code from a private repo and Devs may use ssh or https in their local machines. So added an option to toggle the url/remote: # Formula/infractl.rb clas...TIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Jul 11, 2024Using Shell Command in Git AliasWe can prefix the Git Alias with ! to make it a shell command instead of sub-command to git. git config --global alias.statuses \ '!for repo in $(find * -type d -maxdepth 0); do echo "\n=========$repo==========\n" && git -C $repo status; done' Now g...1 likeTIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Jun 18, 2024Make Links Open in Designated Space in Arc BrowserIf we want certain links to be opened in a specific space then add routing rule in Arc Browser’s "Air Traffic Control". My use case: I want Arc Browser’s Ask ChatGPT (Option + Cmd + G) to use my Personal space always. So added a routing rule for ch...1 likeTIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Apr 23, 2024Copy File Between Git BranchesTIL that we can copy single file from another branch to current branch: git checkout <branch-containing-the-file> </path/to/file> In below screenshot we are copying a file from fiber-server-options to main branch:1 likeTIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Mar 13, 2024Push a Specific Git Commit to RemoteTIL that its possible to push a specific Git Commit to Remote. git push origin <commit-sha>:<branch> Though, if there are any un-pushed commits before <commit-sha>, then those will be pushed. So if we want to push <commit-sha> alone then we need to ...TIL - Today I LearnedTIL
Arunvel Sriramarunvelsriram.dev·Dec 27, 2023Customising Firefox using AutoConfigTIL that AutoConfig can be used to customise Mozilla Firefox. I wanted to override the default shortcut key Cmd+T to open new tab in a specific container rather than in "no container". There is also an open issue about it the Mozilla’s multi-accoun...TIL - Today I Learnedautoconfig
Arunvel Sriramarunvelsriram.dev·Jul 5, 2023Python JSON to ObjectIn Python, json.load() and json.loads() takes in object_hook parameter that helps to convert JSON data in to an object. The deserialised JSON (dict) is passed as an argument to constructor of the hooked class where we can have the implementation fo...TIL - Today I LearnedTIL