:s/from/to/g Similar to sed g does it globally, otherwise it only does the first match.
hdiutil info to find the disk id hdiutil detach /dev/disk3
OSError: [Errno 8] Exec format error can happen if there is no shebang line at the top of the shell script and you are trying to execute the script directly. Solution: Add a shebang eg. #!/usr/bin/env bash to the start of the script you are trying to execute. Source
re.match() checks for a match only at the beginning of the string, while re.search() checks for a match anywhere in the string (this is what Perl does by default). Source
I wanted to be able to run: And have the warrior up, however the problem is then I need to use my browser to enter a username and select a project. We can leverage curl to make the necessary requests for us using only the command line. You can test if it worked with curl ‘http://localhost:8001/info’ -H ‘Referer: http://localhost:8001/’ –compressed Tip: Use parallel-scp and parallel-ssh to quickly spin up multiple warriors.
Settings > Folders > (Look at the bottom) > Mass delete or Remove Duplicates https://www.fastmail.com/go/cleanfolders It’s a little hidden and took my longer than I wished to find it, but it works wonderful!
sudo tcpdump -i lo0 -X -i selects the interface -X prints packets in hex and ascii
Sieve is a mail filter language. From my understanding of https://tools.ietf.org/html/rfc5231#section-4.2 This filter will move the message to trash if it has >=5 addressees and comes from firstname.lastname@example.org
I’ve been trying to workout how to mark an email as read using the keyboard. The menu says the keyboard shortcut is r but I can’t seem to get that to work. I found out that just pressing r on the currently focused message (marked with a blue bar to the left side) isn’t all you need to do. The correct way is to press X to select then . then r More keyboard shortcuts can be found at their…
System Preferences -> Keyboard and look under services then uncheck it. However this didn’t work for me, in Chrome it still appears. /Library/Contextual Menu Items/ is empty for me too. ~/Library/Contextual Menu Items/ doesn’t exist. Oh crap, turns out you can’t turn it off: https://apple.stackexchange.com/questions/37566/is-the-lookup-in-dictionary-context-menu-option-hardcoded-in-google-chrome-for See this issue in my opinion it seems to be now Google’s mo to remove control from the user. Too bad Firefox has really sucked of late.