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(); |
| %dw 1.0 | |
| %output application/java | |
| --- | |
| { | |
| email: { | |
| operator: "IS", | |
| searchValue: inboundProperties["http.query.params"].email | |
| }, | |
| customFieldList: { | |
| customField: [{ |
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:
| # 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 {};"' |
| # 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 |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
From Microsoft Blog and html5please:
Internet Explorer 10 doesn’t include support for CSS border-image. To preserve the layout of your page, a best practice is to specify a solid border-style fallback so border widths, padding, and margin are preserved. (If IE doesn’t find a supported border type, it will discard those values.) For example:
Before: