Unix / Mac OSX: How to find a strings in multiple files?

Posted on in Environment Unix

Ever need to search through all your files for a certain word or phrase? You will need the grep command for this. Handy, and it's recursive, which means you can search through your entire directory tree, scanning every file along the way.

grep -r "foo" /mypath

The "-r" switch, tells "grep" to scan files in the current directory and all sub-directories.

https://en.wikipedia.org/wiki/Grep

Installing Node and NPM on MAC OSX

Posted on in Environment Node JS

Node.js is a platform built on Chrome?s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

This assumes that Git is already installed and available on the command-line. Since the technology Node.js is quiet new, check at http://nodejs.org/ what the latest stable version of node.js is. For this example the latest version is v0.6.14. Open your terminal and start typing the following commands:

$ git clone git://github.com/joyent/node.git
$ cd node
$ git checkout v0.6.14
$ ./configure
$ make
$ sudo make install

Now Node.js is installed, you should also download the Node Package Manager. It?s no longer necessary to install npm separately, but if you want you can install this via the command-line as well. Use the following command:

$ curl http://npmjs.org/install.sh | sh

As an extra let?s also install MongoDB, is a large scalable high performance NoSQL database.

$ npm install mongojs

how does cialis work generic viagra cialis vs viagra cialis 10 mg cheap cialis cialis pills for sale viagra prices without insurance levitra reviews levitra vs viagra for hardness levitra online cialis 5 mg cialis coupons 2017 viagra without prescription viagra ingredients viagra activate sophia viagra daily cialis price cialis viagra from canada cialis for sale cost of viagra cialis discount is viagra covered by insurance 9 levitra at walmart cialis coupon print pfizer viagra viagra savings offer women viagra viagra samples inexpensive viagra pills cialis 30 day sample cialis dosage recommendations levitra coupon viagra patent expiration best price viagra generic levitra viagra pharmacy levitra prices viagra dosage levitra generic cialis side effects cialis 20mg canada cialis viagra porn buy levitra online viagra vs cialis vs levitra cialis professional does viagra work viagra pills for sale is viagra government funded in america cialis dosage strengths cialis patent expiration date extended generic for viagra viagra for sale cialis coupons what is levitra cialis generic cialis on line cost of levitra viagra on line no prec cialis pills generic cialis at walmart buy cialis cialis patent expiration 2017 cialis or viagra cialis cialis daily stendra vs viagra canada viagra viagra canada cialis medication free viagra levitra cost cialis canada viagra single packs cialis cost how much does cialis cost viagra vs cialis cilias generic cialis levitra without a doctor prescription levitra loc us wholesale cialis viagra dose viagra 100mg tablets retail price cialis 5mg daily how long does levitra last generic for cialis viagra side effects cvs pharmacy viagra coupons cialis 20mg directions cialis pharmacy prices when will cialis go generic cialis samples how to take cialis cost of cialis cialis coupon 20 mg viagra costs cialis reviews buy viagra levitra vs cialis viagra coupons buy viagra online cialis coupons from manufacturer levitra 20mg viagra on line viagra coupon levitra coupons lowest cialis prices cheap viagra buy levitra herbal viagra natural viagra is viagra federally funded cialis coupon order online viagra cialis 20 mg revatio vs viagra cialis price is viagra government funded viagra government funding natural viagra alternatives that work viagra pills what does viagra do cialis online cialis for women viagra cost viagra from amazon trial viagra sample cialis canadian pharmacy viagra price viagra coupons from pfizer cialis for bph viagra generic female viagra pills how much does viagra cost viagra substitute generic viagra 100mg generic viagra available in usa healthy man viagra levitra 20 mg levitra vs viagra levitra canada cialas sildenafil vs viagra viagra cialis cialis free trial viagra how long does viagra last levitra 10 mg viagra single packs cost side effects of cialis buy cialis online cialis samples overnight viagra best price viagra coupons 75 off cialis generic availability cialis copay card viagra online discount cialis viagra government funded viagra alternatives viagra vs cialis cialis for daily use 200 cialis coupon over the counter viagra cialis generic tadalafil cialis prices viagra girls walgreens viagra substitute cialis patent expiration where to buy viagra levitra dosage viagra without a doctor prescription usa side effects of viagra cialis 5mg cyalis female viagra cialis sample cialis 30 day trial coupon cealis cialis coupons printable cialis vs viagra canadian viagra online cialis is viagra funded by government cialis or viagra cialis effects viagra prices online viagra cialis trial erectile dysfunction cialis what is viagra utilisation viagra otc viagra viamedic cialis viagra pill cialis voucher cialis tadalafil levitra 10mg viagra sex liquid cialis does the government fund viagra viagra vs cialis vs levitra cialis otc levitra 20 mg cost walmart cialis for men pfizer viagra coupons cialis from canada discount viagra sex viagra for women cialis pricing cialis without a doctor's prescription canadian cialis what is cialis viagra for women cialis cheap free cialis cialis alternative cialis savings card cialis dosage non prescribed viagra how does viagra work levitra vs viagra cialis testimonials levitra generic cialis tadalafil levitra side effects cialis website viagra without a doctor prescription viagra 100mg price walmart

Printscreen on MAC OSX

Posted on in Environment

To capture your screen (or part of it) on a Mac, use one of the following commands.

Entire screen: Apple (Command) Key + Shift+3 Captures a picture of the entire desktop, which is saved on the desktop as a file called ?picture #?. This option lets you capture the whole screen. If you want just one window on your screen, you will have to edit the picture using image editing software (or use one of the other commands, instead).

Partial screen: Apple (Command) Key + Shift+4 Allows you to use your mouse to select a specific part of your desktop for capture. When your mouse pointer turns into an ?x?, hold down the mouse button and drag to select the part of the screen you want. When you release the button, the screenshot will capture the selected part of the screen. Press Esc to release.

Selected window: Apple (Command) Key + Shift+4 then press Spacebar
Allows you to select which window to capture.

cymbalta cymbalta viagra viagra viagra prednisone viagra cymbalta prednisone levitra viagra viagra viagra viagra prednisone prednisone viagra viagra viagra cymbalta viagra prednisone viagra viagra viagra prednisone keflex viagra keflex viagra prednisone cymbalta cymbalta viagra prednisone viagra viagra cymbalta viagra keflex viagra viagra cymbalta prednisone viagra cymbalta cymbalta viagra viagra levitra viagra viagra viagra viagra cymbalta viagra viagra viagra prednisone viagra keflex viagra prednisone viagra viagra prednisone cymbalta prednisone levitra viagra viagra levitra cymbalta viagra prednisone viagra viagra viagra prednisone viagra cymbalta viagra cymbalta prednisone viagra prednisone keflex prednisone viagra viagra viagra prednisone levitra cymbalta prednisone viagra levitra cymbalta viagra viagra cymbalta viagra prednisone cymbalta prednisone prednisone prednisone cymbalta viagra viagra cymbalta viagra viagra viagra viagra viagra prednisone viagra viagra viagra prednisone viagra viagra prednisone prednisone cymbalta viagra viagra viagra cymbalta prednisone viagra keflex prednisone viagra viagra viagra cymbalta prednisone prednisone cymbalta prednisone prednisone viagra viagra cymbalta prednisone prednisone viagra viagra viagra prednisone viagra keflex cymbalta cymbalta cymbalta prednisone prednisone prednisone viagra viagra prednisone keflex prednisone prednisone prednisone keflex prednisone prednisone prednisone cymbalta prednisone viagra levitra viagra viagra prednisone viagra prednisone prednisone viagra cymbalta viagra keflex levitra keflex prednisone viagra viagra viagra viagra viagra viagra prednisone prednisone prednisone cymbalta cymbalta viagra viagra keflex prednisone prednisone viagra viagra keflex prednisone prednisone keflex keflex cymbalta cymbalta viagra viagra viagra cymbalta prednisone viagra prednisone prednisone cymbalta keflex levitra viagra prednisone viagra prednisone viagra viagra cymbalta cymbalta keflex levitra levitra prednisone cymbalta keflex prednisone viagra viagra levitra prednisone cymbalta cymbalta cymbalta prednisone prednisone viagra viagra levitra prednisone

buy cialis how much does viagra cost viagra dosage levitra vs viagra levitra generic viagra side effects cialis coupons printable does the government fund viagra cialis coupons from manufacturer natural viagra alternatives that work how much does cialis cost online viagra levitra online viagra costs is viagra funded by government levitra vs viagra for hardness cialis dosage daily cialis cialis or viagra cialis 5 mg viagra on line side effects of cialis cialis on line cialis samples levitra dosage viagra pills viagra without a doctor prescription usa cialis cheap levitra loc us herbal viagra generic cialis is viagra covered by insurance pfizer viagra cialis otc viagra vs cialis vs levitra women viagra cialis generic availability cialis for women levitra 10mg viagra 100mg price walmart cialis for men cialis reviews viagra pills for sale cialis dosage strengths canadian cialis how long does levitra last walgreens viagra substitute cialis vs viagra cheap cialis cealis sex viagra for women levitra reviews buy cialis online is viagra federally funded viagra 100mg tablets retail price cialis canadian pharmacy canadian viagra stendra vs viagra generic levitra levitra vs cialis viagra porn cost of levitra cialis side effects cialis vs viagra cilias wholesale cialis cialis patent expiration 2017 order online viagra viagra prices without insurance viagra prices cialis canada viagra activate cialis price cialis pills for sale cialis patent expiration date extended viagra government funding erectile dysfunction cialis best price viagra cialis 20mg viagra government funded lowest cialis prices viagra price cialis prices viagra generic levitra side effects levitra 20 mg how long does viagra last viagra vs cialis viagra coupon utilisation viagra female viagra cialis medication buy levitra online viagra substitute cialis alternative cialis cialis copay card viagra online is viagra government funded buy levitra viagra single packs viagra canada inexpensive viagra pills healthy man viagra cialis sample viagra savings offer levitra coupons viagra best price free cialis generic for cialis cialis or viagra cialis coupons 2017 when will cialis go generic viagra vs cialis vs levitra cialis for sale cialis effects cialis trial viagra pharmacy non prescribed viagra how to take cialis viagra samples revatio vs viagra generic cialis tadalafil discount viagra cialis for daily use levitra cialis coupon cialis patent expiration cialis daily viagra patent expiration cialis tadalafil viagra girls cialis from canada levitra vs viagra cialis generic tadalafil cialis coupons viagra for sale levitra prices cialis dosage recommendations canada viagra otc viagra viagra coupons levitra cost cialas levitra 10 mg cialis website where to buy viagra viagra alternatives viagra coupons from pfizer viagra coupons 75 off cialis pricing viagra for women cialis for bph viagra ingredients buy viagra online trial viagra sample how does cialis work sophia viagra viagra from amazon cvs pharmacy viagra coupons cialis samples overnight cialis generic cialis online generic viagra viagra single packs cost cyalis cialis testimonials cialis 30 day sample viagra vs cialis sildenafil vs viagra cialis 5mg daily 9 levitra at walmart pfizer viagra coupons what is cialis cialis discount cialis 30 day trial coupon discount cialis buy viagra cialis savings card 200 cialis coupon what does viagra do viagra without a doctor prescription cialis pills cialis free trial cialis coupon 20 mg viagra pill generic viagra 100mg viagra cost cheap viagra over the counter viagra generic cialis at walmart levitra canada levitra 20 mg cost walmart price cialis liquid cialis how does viagra work cialis pharmacy prices cialis cost is viagra government funded in america cost of cialis canada cialis levitra 20mg side effects of viagra generic for viagra does viagra work online cialis viagra dose free viagra generic viagra available in usa viagra cialis 5mg cialis coupon print viamedic cialis viagra cialis levitra coupon viagra from canada female viagra pills cost of viagra cialis 20 mg cialis voucher viagra sex what is levitra viagra without prescription cialis 20mg directions viagra on line no prec cialis 10 mg cialis professional levitra without a doctor prescription what is viagra natural viagra cialis without a doctor's prescription

Setting up localhost Mac OSX

Posted on in Environment

Follow these instructions to setup your localhost on Mac OSX without installing XAMPP.

Make sure Web Sharing is enabled:
Go to System preferences > Sharing > enable Personal Web Sharing

  1. Backup httpd.conf
sudo cp /etc/apache2/httpd.conf /etc/apache2/httpd.conf.bak
  1. Open file in text editor
sudo nano /etc/apache2/httpd.conf
  1. Hit [CTRL + W] and type ?DocumentRoot? (without quotes). Then hit ?Enter.?

  2. Change the path to your folder

  3. Hit [CTRL + O], then hit Enter. Then, hit [CTRL + X] to exit.

  4. Restart server:

apachectl restart

side effects of viagra is viagra federally funded cialis coupons printable cialis 20mg cvs pharmacy viagra coupons discount viagra cialis free trial cialis dosage cialis 30 day sample cialis 10 mg viagra single packs levitra vs cialis buy viagra cialis sample levitra 10 mg where to buy viagra cialis cheap cialis 5 mg buy levitra cialis samples overnight cialis copay card cialis trial viagra single packs cost generic viagra 100mg viagra 100mg price walmart walgreens viagra substitute viagra pharmacy viagra generic viagra coupons cialis or viagra is viagra funded by government side effects of cialis cialas female viagra pills levitra loc us what is viagra viagra costs viagra savings offer cialis canadian pharmacy cialis for bph cialis pills for sale cialis coupons price cialis natural viagra viagra ingredients viagra on line cheap cialis cialis for sale cialis generic tadalafil sex viagra for women erectile dysfunction cialis viagra dose levitra vs viagra cilias levitra without a doctor prescription cialis medication cialis pharmacy prices levitra side effects sophia viagra viagra for women levitra generic cialis coupons 2017 levitra 20 mg cost walmart cialis daily cialis price buy cialis viagra pills for sale cialis patent expiration levitra 10mg viagra best price cialis from canada viagra canada viagra online cialis 20mg directions utilisation viagra cost of cialis does the government fund viagra cialis pricing cialis 20 mg cialis patent expiration 2017 canada cialis stendra vs viagra viagra side effects levitra reviews cialis generic availability viagra without a doctor prescription usa viagra price cialis coupons from manufacturer otc viagra cialis discount viagra coupons 75 off viagra without prescription cialis alternative viagra without a doctor prescription generic viagra available in usa generic for viagra wholesale cialis is viagra government funded in america cialis samples women viagra viagra vs cialis levitra viagra government funded cialis tadalafil viagra 100mg tablets retail price cialis for men viagra activate cost of viagra cialis testimonials viagra dosage cialis cost levitra 20 mg levitra cost inexpensive viagra pills pfizer viagra viagra vs cialis vs levitra cialis side effects cialis dosage strengths viagra prices how much does cialis cost pfizer viagra coupons trial viagra sample levitra prices cialis dosage recommendations what does viagra do viagra government funding cialis vs viagra viagra patent expiration cialis website herbal viagra cialis generic how to take cialis cialis prices online viagra viagra samples free viagra non prescribed viagra viagra coupons from pfizer cost of levitra viagra from amazon liquid cialis cialis patent expiration date extended levitra coupons buy viagra online online cialis canadian cialis viagra vs cialis vs levitra what is cialis viagra on line no prec cialis coupon 20 mg cialis professional cialis for women female viagra does viagra work cialis 5mg over the counter viagra is viagra covered by insurance lowest cialis prices viagra cialis coupon print cialis reviews cialis otc 9 levitra at walmart buy cialis online viagra alternatives viagra cialis cialis or viagra healthy man viagra cialis voucher best price viagra generic cialis at walmart cialis effects sildenafil vs viagra cealis viagra for sale cheap viagra how does viagra work levitra coupon cialis 5mg daily cialis pills how long does viagra last how does cialis work viagra pills cialis without a doctor's prescription when will cialis go generic how much does viagra cost cialis online canadian viagra is viagra government funded cialis for daily use 200 cialis coupon viagra prices without insurance cialis on line generic cialis viamedic cialis levitra online cialis savings card buy levitra online viagra substitute discount cialis levitra canada what is levitra natural viagra alternatives that work cialis canada cyalis generic levitra cialis vs viagra viagra from canada cialis revatio vs viagra levitra vs viagra for hardness viagra vs cialis generic viagra viagra cost viagra sex daily cialis levitra vs viagra cialis coupon viagra porn how long does levitra last levitra dosage viagra pill free cialis cialis 30 day trial coupon canada viagra generic cialis tadalafil order online viagra viagra coupon generic for cialis levitra 20mg viagra girls