Skip to content

Instantly share code, notes, and snippets.

View tusharxoxoxo's full-sized avatar
🦧
making compilers grin/playing nvim

Tushar Dahiya tusharxoxoxo

🦧
making compilers grin/playing nvim
View GitHub Profile
@tusharxoxoxo
tusharxoxoxo / pr_links.md
Last active January 22, 2024 04:10
PR links
@tusharxoxoxo
tusharxoxoxo / trick_list.md
Last active October 5, 2023 18:23
list of super cool mac terminal tricks

u-never-knew-this-mac-trick

  1. say then whatever u want ur mac to say, Siri will say whatever u want her/him to say, but don't know why it's always a male voice i tried to change it but was unable to, If someone knows how to make a female voice say in terminal
  2. security find-generic-password -wa "whatever is ur wifi name" this will show the password of the wifi stored in ur mac
  3. some command | pbcopy whatever is the output of the command will be copied to the clipboard
  4. shift command option v to copy without formatting, It's really a godsend if try to copy something from notes to Google Docs or majorly anything to Google Docs
  5. caffeinate type thing in the terminal and your Mac won't sleep till u end this command, perfect for a coffee break
  6. command control shift 4 like normally u take screenshots by pressing shift command 3 or for a specific area shift comand 4 but by doing so the screenshot will get saved on the desktop and then u have to go to the desktop and from there u need t
var scrollDown = function() {
window.scrollTo(0, document.body.scrollHeight);
};
setInterval(scrollDown, 1000000)