Published March 19, 2013
Oggi è andato in onda il mio primo episodio su Dart per Google Developers Live, una velocissima panoramica sulle caratteristiche fondamentali del linguaggio e di Dart Editor, l’editor ufficiale.
Questo episodio fa parte del programma GDL Italia che potete seguire sul blog ufficiale Developers Italia curato da +Alfredo Morresi.
Published January 09, 2013
Published October 13, 2012
Copy/paste lines below and put in your password when prompted to disable OS X startup chime.
This code will create two shell scripts,
/usr/local/bin/mute that will execute these AppleScripts:
After this, the code will bind those scripts to the LoginHook and LogoutHook handlers: when you will log out, sound will be muted, after you logged in, sound will be un-muted.
If you want to restore startup chime, type:
Published September 27, 2012
OSX as is doesn't allow users to set keyboard shortcuts to launch applications, but there are a bunch of 3rd-party softwares and workarounds to achieve that.
If you don't want to use a 3d-party app then the best way to do that is creating a service that just launches an application, and then bind it to a given keyboard shortcut. Let's start:
Open Automator.app and choose new "Service" document
In the right tab, set "Service receives" to "no input", then drag and drop "Run AppleScript" action to the workflow:
"Run AppleScript" is located under "Utility" section.
Set the content of the script to:
Go to System Preferences->Keyboard->Keyboard Shortcuts->Services, then scroll until you find your new service under General section and assign it a shortcut.
This works with all of the applications, you just have to replace
Terminal with what you want.