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
defaults write ~/.MacOSX/environment.plist M2_HOME `brew --prefix maven`/libexec | |
defaults write ~/.MacOSX/environment.plist M2 `brew --prefix maven`/libexec/bin |
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
-- Running this snippet creates a function. This function can then be executed | |
-- in this manner: | |
-- SELECT truncate_tables('postgres'); | |
CREATE OR REPLACE FUNCTION truncate_tables(_username text) | |
RETURNS void AS | |
$func$ | |
BEGIN | |
RAISE NOTICE '%', | |
-- EXECUTE -- dangerous, test before you execute! |