Linux CSV Command Line Tool XSV

In this post, I will introduce an excellent command line tool XSV for the CSV file parsing and data manipulation. You can install the tool from github Let us begin the tutorial. If you are on Centos, following installation commands will work. yum install cargo cargo install xsv By default cargo installs it in /root/.cargo/bin/xsv If you are not root, you might have to set either alias or add the tool in your bash PATH. alias xsv=/root/.cargo/bin/xsv As an example, I would look at the stocks data which I downloaded from Yahoo Finance for the Apple stock. Ok let us first look at our data. Read Csv file using Xsv Ok, now let us try using the Xsv command "xsv table". Xsv table would show the data in nice tabular form. Instead of Linux 'head -2' command, we can also use Xsv slice command. Xsv slice command takes index number to display a particular row. Let us say, we want to print the 2nd row. Note index starts from 0 which means data at

How To Install R and R Studio Server On Centos

How To Install R and R Studio Server On Centos R is extensively used for data processing and analyzing. R has gained lot of popularity over the last few years because of data explosion over the mobile and web applications. To leverage the power of R and its eco system, one needs to have complete R suite of tools installed. Although there is large community of R developers and system administrators, I couldn't find a good resource where I could find everything about installing R and its tools in simple easy steps. That's why I decided to write this post. In this post, I will talk about installing following... R R Studio Server R Studio Connect Install R Please run following two commands to install R. sudo yum install epel-release sudo yum install R Type R -verson in your bash shell. You should see following output depending upon what version of R you have. To Bring up the R repl. Just type R and you should have your R shell started. To install any pa

Read Fiction Books Online for Free - FreeFictionBooks

freefictionbooks is a collection of free fiction and non-fiction books that can be read online. All books on this blog are published legally. They may be in public domain, because their copyright expired (public domain) or because their authors gave up their rights, or their authors provided explicit permission to freefictionbooks to publish them on this blog. Ebooks are available in pdf format for easier reading and bookmarking. We are adding new ebooks daily. Some popular ebooks from our collection: The Old Woman Who Lived in a Shoe by Douglas The Works of Samuel Johnson, LL.D., in Nine Volume A Woman's Impression of the Philippines by Fee The College, the Market, and the Court by Dall The Quiver 3/1900 by Anonymous Bach by Charles Francis Abdy Williams Irish Witchcraft and Demonology by Seymour Over the Front in an Aeroplane and Scenes Inside t Simpson's Chelsea, Pimlico, Brompton, and Knightsb The Quiver, 2/1900 Female Warriors, Vol. II (of 2) by Ellen C. Cl

How To Crawl Coupon Sites With Python

In this post, I will show you how to use Python and LXML to crawl coupons and deals from coupon sites. The purpose of this post is to help users write crawlers with Python. To demo this, I will crawl coupons from and Example 1 Let us start with first. Let us first import the following two libraries.. import requests import lxml.html Most of the coupon sites have thousands of coupon pages. Most of the times, these pages are per company or site. These pages are structured templates. Therefore when we write a crawler for one coupon page, then it should work for all the coupon pages. In the case of couponannie also, this is the case. Let us pick the following url and extract the coupons and its related information. url = '' We will use requests to get the content of above page as shown below. obj = requests.get(url) Let us convert the data in to


Founded by Havard Alums Sarah Paiji and Jinhee Kim, Snapette helped discover local fashion from the convenience of your palm. Snapette App offered a location-based approach to designer fashion. Users upload snaps of their favorite pieces and tag them by brand and store. Browse the photos and see where items were purchased, or peruse offerings from participating stores near you.  The company completed the prestigious 500 Startups accelerator program in Silicon Valley, and went on to raise $1.5 million in funding from Accel Partners, Forerunner Ventures and ShoeDazzle founder Brian Lee before getting acquired by price grabber in 2013.  Snapette offered real-time alerts on your phone about new stores, special discounts and exclusive giveaways from over 750 designer brands & stores. The app's product catalogue included items from thousands of global brands and retailers. This app offered the perfect shopping tool not just for the NYC fashionista, but also for shoppers from Alaska t