Tuesday, September 9, 2014

even if it is not a scam, is AmEx that stupid ?

Today I got a phone call, someone with a heavy accent asking me,

- Hello is this "Medya ..." ?

I am pausing...hm...should I confirm my full name to this unknown number ? and I decided to say :

- Me: Who is this ?

- I am from AmEx, you had left a message for us on the website, this is regarding your question. can you please confirm your date of birth ?

- Why ?

- Sir I have to ...before I can blah blah

- if I left a message through email , why dont you just email me back ?

- Sir I need you to verify your DOB

- I am not gonna tell an uknown number who called me, my DOB or SSN, I have to drop this call, if there is something important, just email me.

-Sir it is important and I can't email you.

- I am sorry, I don't trust who you are, and this is not professional for a company to call me and ask me my DOB, if you have something important for me just email me .

so I it made me think is that a scam ? even if it is not a scam, is AmEx that stupid ? calling from a unkown number asking people to tell them their DOB ? wouldn't that be advising customers to do bad practice ? to give their info to anyone who calls them and claims they are from AmEX ?

CD (change directory) to a long path without lots of tab ...

I used to go to this directory every time I wanted to develope this cookbook,
cd /home/chef-repo/cccis-cookbooks-parent/cccis-weblogic

which involved lots of tab... one way to fix that would be creating a soft link at home or any where else you wanna acccess it, but thats would be lots of soft links,

I decided to go with environment variables

export weblogic_cookbook=/home/medya/chef-repo/cccis-cookbooks-parent/cccis-weblogic
now anywhere I am all I have to do is,
cd $weblogic_cookbook

the good thing is I dont even have to type $weblogic_cookbook, I can type $web...and press tab it will auto complete me. pretty sweet :)

to make this permanent, and make it run every time you open a new seassion (like when you duplicate a SSH seassion) you need to add to to the profile.d foder

I added it to a file under /etc/profile.d/MedyaProfile.sh

Monday, September 8, 2014

Shady Comcast, hopes customers mistake $9.95/mo fee for $2.5/month !

When you try to order cable, they have not HD reciever by default, for HD reciever there is a button "Add for $2.5", if you hover over the button a tool tip shows up, "A monthly HD Technology fee of $9.95 applies." the tooltip hides as soon as you move the mouse, so you dont have the option of copying it for a customer service.

Here is the shady part, you click on "Add for $2.5" and in the total summary it reflects only $2.5 more money (as you had expected) and then it asks for your social security number,
to proceed, once they send a inquiry to your credit report, you can see the $9.95 price been added to your monthly total. (at this point you would feel it is too late to cancel I already gave them my SSN)

I talked to multiple customer service on chat, as soon as I asked about this, they changed the topic of the conversation, I kept being presistant and they finally told me "We apologize for incorrect information being displayed as we are currently updating our website. This will be fixed as soon as possible. HD service will be $9.95/mo."

I do not trust Comcast .

Monday, September 1, 2014

how to get proccess ID of the last background process

in a shell cscript $! could be used to get the PID of the last backgrounded process,

for example

        sudo -u ${user} ${home}/bin/my_script.sh  &

        wls_pid=$!      ;

Friday, August 29, 2014

bad interpreter error? copied file from windows to unix ? fix it in vim !

:set fileformat=unix



computer (45) ubuntu (45) linux (21) tutorial (20) software overview (13) terminal (12) programming (11) opinion (8) troubleshooting (8) life (7) vim (5) phpBB (4) suggestion (4) tips (4) 12.04 (3) bash (3) extension and addons (3) firefox (3) java (3) personal (3) python (3) shell (3) windows (3) 64bit (2) Vagrant (2) backup (2) bug (2) code (2) google (2) google chrome (2) monitor (2) php (2) phpBB3 (2) shorter prompt (2) virtualbox (2) $_SERVER['REQUEST_URI'] (1) 2.7 (1) ALT+Backspace (1) AVR (1) Alt-Printscreen-K (1) CTRL+ALT+DELETE (1) Chef (1) Chicago (1) DRM (1) Debugging (1) Gimp (1) Gimp 2.8 (1) Microcontroler (1) Restart X (1) UML (1) Ventra (1) adsense (1) apple (1) audio (1) aws (1) background process (1) bing (1) blank (1) boot (1) business review (1) cd (1) chrome (1) comcast (1) computer kubuntu (1) cookie (1) database (1) date (1) display (1) domain name (1) download manager (1) dual boot (1) dual monitor (1) eclipse (1) extensions (1) feature request (1) file (1) folder (1) freeze (1) funny (1) gimp single window (1) gnome 3.10 (1) google docs (1) google plust (1) google+ (1) grep (1) icon (1) idea (1) install (1) iterator (1) linux links (1) list (1) literature (1) microsoft (1) moonlight (1) mysql (1) name (1) nautilus (1) netflix (1) notepad++ (1) permission (1) photo (1) prompt (1) protest (1) putty (1) read from file (1) realtek (1) resolution (1) roku (1) samsung (1) screenshot (1) security (1) server (1) skype (1) space (1) spam (1) spambot (1) sql (1) system monitor (1) tar (1) task manager (1) template design (1) th23 domain (1) thinking (1) ubuntu 13.10 (1) unity (1) vimrc (1) virtual machine (1) wget (1) with space (1) xorg (1) xrand (1)