(From IE Edge Chromium Store April 2019)
- Adblockers and password managers
- Social and entertainment
- For developers
(From IE Edge Chromium Store April 2019)
Open specific message
Open compose message
googlegmail:///co?subject=<subject text>&body=<body text>&to=
For Google Inbox use inbox-gmail:/// instead of googlemail:///
Window Management/Misc Util
Really good window management; shortcuts to dock windows to left/right half (or quadrants, or top/bottom) of screen.
Alternative: Magnet , Mac App Store, about $2. Spectacle does some stuff very well, like hitting the ‘dock right’ shortcut twice makes a window use the right third, right half, right 3/4ths etc. On the other hand magnet can dock windows on drag (i.e. drag to top of screen to make a window full screen).
Alternative: BetterTouchTool, Donationware. Can do everything Spectales/Magnet can do, better. However, it does not come batteries included, so you have to make your own shortcuts and assign window management operations to them. There’s a community forum for sharing presets but it’s not as rich. Also BetterTouchTool can do Touchbar based Window Management (though I’ve not found that very useful).
Better spotlight, including deep integration with Google / Gmail / Drive and other custom searches (with plugins)
OneNote, Free, Proprietary
The best note taking app out there. Period. I’d say Apple Notes is now the best note taking app out there, because it’s so fast and has great integration with iOS & macOS. The web version is not too shabby either. Probably not a good bet if you also use Windows or Android. ScreenHero (now owned/murdered by Slack)
CleanMyMacX (http://twidex.com/2rcfFj4), Freemium
Visual Studio Code
brew install php swaks htop telnet ffmpeg mysql pstree aria2 pv q jq autojump keychain nmap readline node redis beanstalkd ripgrep rsnapshot wget rsync bzip2 git xz yarn speedtest-cli parallel composer go sqlite curl grep sshfs coreutils
Getting started with Docker + Parallels on OS X (using Homebrew)
Update: Sep 2016: This is no longer relevant; best to download Docker for Mac which uses xhyve to virtualize the Docker Engine environment and Linux kernel-specific features on OS X. This allows for much easier sharing of files between your local machine and docker containers.
Want to use Docker on OS X? At the moment, the OS X kernel does not directly support containers like Docker or OpenVZ. So you have to run a VM with docker installed. You then use the Docker CLI to interact with the Docker (daemon) running on the VM. The whole process is actually very easy to setup now that Docker Machine supports the Parallels driver.
$> brew update # need to brew with a recent version $> brew upgrade $> brew install docker docker-machine docker-machine-parallels … grab some coffee… $> docker-machine create -d parallels dev1 $> eval `docker-machine env dev1` $> docker run hello-world
You are now ready to use Docker, Docker Composer and even Docker Swarm.
Using #iptables to forward a whole IP address to another (server)
iptables -A PREROUTING -t nat -d $src -j DNAT --to $dst iptables -A POSTROUTING -t nat -d $dst -j MASQUERADE
Connections from anywhere to $src will get forwarded to $dst (though source IP will be changed to that of eth0 or default outbound device). Useful when moving servers; keeps the old address alive for a bit. Though we lose ‘real’ source address.
For example, if forwarding IP address used by an SMTP server, all email will appear to come from $eth0. If $eth0 (could be the same as $src, but not guaranteed) is privileged, in the sense that it is allowed to relay, then anyone will be able to relay through the SMTP server. But works in a pinch, while DNS changes are propogating through the ‘net.
A somewhat more concrete example. Say you have IP address 188.8.131.52; if you do
iptables -A PREROUTING -t nat -d 184.108.40.206 -j DNAT --to 220.127.116.11 iptables -A POSTROUTING -t nat -d 18.104.22.168 -s 22.214.171.124 -j MASQUERADE
126.96.36.199 is now forwards to Google’s Public DNS Server. You can now use 188.8.131.52 as if it were 184.108.40.206.
I just had to resize a virtual disk and it was harder than I thought; writing down what I did so it’s easy to find …
qm shutdown 108
qemu-img resize vm-108-disk-1.qcow2 +20G
pvdisplay; lvdisplay; fdisk -u=sectors /dev/sda delete partition 2 (remember starting sector) (‘d’, 2) create new partition (n) starting at same sector as before; end is defaulted
pvresize –v /dev/sda2
lvresize –L +20G VolGroup/lv_root
e2fsck –f /dev/sda2 resize2fs /dev/sda2
qm start 108
Good instructions for working with Windows (NTFS) disk images is here: http://cauldrondevelopment.com/blog/2009/02/26/resize-qemu-ntfs-image/
Microsoft provides updated fonts in a hotfix which is available from here: http://support.microsoft.com/kb/2496898. The hotfix works with Office, Excel, Word and most Windows applications, including browsers.
After installing the hotfix, you can enter unicode characters using “charmap.exe”. In Windows, press the WIN and R keys, type charmap and press enter.
Whether you use the official (Microsoft supplied) hotfix or download a font like Foradian, people who you send your document to, may not have the requisite fonts. Word, Excel, PDF allow you to embed your own fonts, but there’s not much you can do for websites (sure you can do a lot of CSS work and embed your own fonts, but it won’t work with a lot of browsers out there). When sharing docs with people, you can also use the older U+20A8 symbol (₨).
Inserting the older symbol is not much different, and you can use charmap.
|Old Rupee symbol||U+20A8||₨|
|New Rupee symbol||U+20B9||₹|
Another side-effect of installing the hot-fix is that Excel’s “currency format” dropdown now has a Rupee format available:
To use Indian formatting for numbers (i.e. Lakh, Crore instead of Millions) see this article: “Indian Currency format in Excel”