Recently I bought an old mac from my friend.This mac is pretty old, it has two GFX cards one integrated and one discrete.Switching the cards was really important since the machine would heat up while using the dedicated GPU.

I found this tool online on tool lets me easily switch the GPU using a statusbar application.



Emmet has a really awesome plugin for sublime text.The plugin depends on PyV8 to function.But by default the plugin tries to download the latest version of the plugin from the internet.This is all well until you have a stable internet connection.Since PyV8 is not updated frequently you can download the binary locally for sublime to use.

This are the instructions I followed to get the plugin to work offline.

  • First download pyv8 binary for you operating system from here.
  • Then click on Sublime > Preferences > browse package.This will open the file explorer/Finder.
  • Create a directory in the Packages folder called PyV8.Extract the binary into that folder.Example(PyV8/osx-p3) osx for the operating system.
  • In the osx-p3 directory you will find a config.json file.Open the file in sublime and change skip_update from false to true.
  • Now its time to edit the emmet config file.Click on Sublime > Preferences > Package Settings > Emmet > Settings – User.Add the following line to it ‘{“disable_pyv8_update”: true}’.

Now you can use sublime with offline without needing to download PyV8 every-time on launch.


Lately I have been having issues with my macbook 13in retina 2013.The bluetooth on the mac doesnt connect to any device.After trying a lot of things this is the only solution that worked for me.

sudo launchctl unload /System/Library/LaunchDaemons/
sudo launchctl load /System/Library/LaunchDaemons/

I guess this turns off the bluetooth device deamon/agent and voila bluetooth now works.