Load OS X's environment.plist in yo

Category: Other - Tools & Utilities

To make environment variables available to Mac OS X GUI applications, those variables must be defined in your ~/.MacOSX/environment.plist.Sometimes you want to have those same environment variables available from your shell as well. If you're using Terminal, that's no problem--the variables from environment.plist are available. But what if you need to SSH into the machine? Adhering to the DRY principle, this script can be launched from your shell's rc file to load up the environment variables from environment.plist. Date: 04 March, 2012


Load OS - Environment Plist - Ruby Snippets - Load - Os - Environment

Homepage: http://snippets.dzone.com/

Developer: snippets.dzone.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Split an array of elements into a set of smaller arrays of equal size.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


Split a string into an array of roughly equal sized chunks based on a string or regular expression delimiter.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


Get the currently running method name in Ruby - how to get the running methos name in ruby.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


Float Hacks:to_s override.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


A replacement for Ruby's File.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


The following code will create a live search in your Ruby on Rails project using AJAX.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: All


Clone dev DB schema to test DB in Rails.

developer Developer: snipplr.com
license License: Freeware
operating systems Operating System: All


Make a simple QuickTime reference movie script outputs a simple QuickTime file that will point to a URL of another QuickTime playable file.

developer Developer: phpbuilder.com
license License: Freeware
operating systems Operating System: All


This little script will grab stock quote info from finance.

developer Developer: phpbuilder.com
license License: Freeware
operating systems Operating System: All