- Open Finder.
- In the sidebar, click Macintosh HD > Applications.
- Click Skype to select it.
- Press Cmd+C, then Cmd+V to copy and paste Skype.
- Skype copy appears.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
pid = Kernel.fork do | |
`#{ARGV.join(" ")}` | |
exit | |
end | |
trap(:CHLD) do | |
print "\n" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ec2 | |
Fog::Compute.new(:provider => 'AWS', | |
:aws_secret_access_key => ENV['EC2_SECRET_KEY'], | |
:aws_access_key_id => ENV['EC2_ACCESS_KEY']) | |
end | |
def tenured? (instance) | |
instance.created_at && (instance.created_at < Chronic.parse('50 minutes ago')) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
require 'guard/guard' | |
require 'mixlib/shellout' | |
module ::Guard | |
class Kitchen < ::Guard::Guard | |
def start | |
::Guard::UI.info("Guard::Kitchen is starting") |