Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
# gem 'therubyracer' | |
gem 'uglifier', '>= 1.0.3' | |
# Add Foundation Here | |
gem 'compass-rails' # you need this or you get an err |
# Legitimately-useful utilities missing from OS X. | |
brew install wget watch gnu-sed coreutils | |
# Up-to-date versions of included tools. | |
brew install git emacs | |
# Just for fun. | |
brew install fortune cowsay |
# dump all databases once every 24 hours | |
45 4 * * * root nice -n 19 su - postgres -c "pg_dumpall --clean" | gzip -9 > /var/local/backup/postgres/postgres_all.sql.gz | |
# vacuum all databases every night (full vacuum on Sunday night, lazy vacuum every other night) | |
45 3 * * 0 root nice -n 19 su - postgres -c "vacuumdb --all --full --analyze" | |
45 3 * * 1-6 root nice -n 19 su - postgres -c "vacuumdb --all --analyze --quiet" | |
# re-index all databases once a week | |
0 3 * * 0 root nice -n 19 su - postgres -c 'psql -t -c "select datname from pg_database order by datname;" | xargs -n 1 -I"{}" -- psql -U postgres {} -c "reindex database {};"' |
on El Capitan, after installing the brew...
$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java
And Java 8 will be installed at /Library/Java/JavaVirtualMachines/jdk1.8.xxx.jdk/
Check version:
import org.mule.api.MuleEventContext; | |
import org.mule.api.lifecycle.Callable; | |
import com.netsuite.webservices.lists.relationships.CustomerSearchAdvanced; | |
public class CustomerSearchAdvancedSavedComponent implements Callable { | |
@Override | |
public Object onCall(MuleEventContext eventContext) throws Exception { | |
CustomerSearchAdvanced searchCriteria = new CustomerSearchAdvanced(); |