function upDeployPortlet() { pushd ~/projects/uPortal/myuw-madison/ ant deployPortletApp -DportletApp="$@" popd }
Database Admin, software engineer, and technologist. This blog will cover things from: neat DBA stuff I figured out, Java code stuff (including framework reviews, etc...), and other random techy things that I find amusing.
Tuesday, June 18, 2013
pushd & popd
If you are ever writing a shell script that has to change the directory but you want to go back to wherever the user was, use pushd & popd.
Here is my example case where I wanted to write a shortcut for deploying a portlet to my portal project.
New Syntax Highlighter
I came across this syntax highlighter on Eric's Notes (thanks Eric). It works quite well. I am impressed. I added the following to my blog setup:
Thursday, January 3, 2013
To The Cloud!
The League |
My favorite feature of 12c isn't even part of cloud, but it is when creating a table you can put in a sequence as the default value. No more row level triggers on insert/update to get a nextval. Woot!
The "cloud" is the mighty buzzword of the year, and a lot of companies are jumping on board. It seems to be cost saving (businesses love saving the money), however it does have its downfalls. You see a lot of redundant cloud based services going down with complete outages, and when the company utilizing the service comes out with a statement, they blame the service provider they are using. A great example is the latest outage with a popular streaming service utilizing a competitors cloud service (names removed, but google search "Christmas streaming outage" and you will find it). Is that reasonable? I'm not sure. Regardless if it is tagged as "cloud" or "fully redundant" there can still be an outage. Nothing is that safe, yet. What the cloud does introduce is dependencies on other companies.
Most of you admins with any experience is shaking there head, yup. A part of me thinks, we will get there eventually, but we will see.
Subscribe to:
Posts (Atom)