Jetpack Infinite Scroll

Just wondering if you have noticed lately. I have implemented WordPress Jetpack plugin’s Infinite Scroll. So, no more pagination. Just endless scroll down. In fact, you can scroll all 1628 posts if you want. I’ve tried other infinite scroll plugins, but none of them work, but Jetpack worked out of the gate. I did have to make some modifications to the footer section. Due to the nature of infinite scroll, you’ll never get to see your original footer, unless you reached the last post, which could take a while depending on the number of posts you have. Jetpack gives you this generic footer which I ended up editing by adding this code in my functions.php file.

/**
 * Customized Jetpack Infinite Scroll.
 */
add_filter( 'infinite_scroll_credit', 'urr_my_footer_text' );
function urr_my_footer_text() {
	$this_year = date('Y');
	$footer_text = 'Copyright © 2003-'.$this_year.'. All rights reserved';
	return $footer_text;
}

The code above resides in functions.php. It inserts a customized footer containing the copyright notice which spans several years and displays the current year using the PHP date function. In addition, I also had to uncomment the underscore pagination from several templates, namely archive.php and search.php so that the navigation links don’t show up in the middle of your infinite scroll page.

<?php //framework_numeric_posts_nav(); ?>
<?php //framework_paging_nav(); ?>

Arris SB6141

If you’re looking for an alternative to the standard cable modems provided by Comcast, look no further than the Arris SB6141. It’s a Docsis 3.0 cable modem with download speed up to 343 mbps. It supports both IPv4 and IPv6 protocols. It’s perfect complement when viewing HD movies, online gaming, shopping and surfing. In addition, it also has excellent reviews at Amazon.

sb6141

Sabrent USB 3.0 SATA Docking Station

I recently replaced my old Acomdata SATA hard drive enclosure with a new enclosure. The Acomdata is no longer working. I replaced it with the Sabrent USB 3.0 SATA Hard Drive Flat Docking Station. The docking station can accommodate both 2.5 and 3.5 inch drives. It works on both PC and Mac with transfer speeds up to 5Gbps. It support hard drives over 3 TB.

Here’s how the docking station looks like:

sabrent

Auto Playing Videos

I was just browsing CNN and opened up a new article to read. In the background, on another tab, I have a YouTube video playing some jazz music to go along with my morning coffee. Then the unfortunate happened. CNN decides to play a video on the same page while I’m reading. One click and that CNN tab was gone. So, a strict warning to websites. Don’t over interfere with my music. I just want to read your article. That is all and nothing else. Don’t play videos that I didn’t want to watch. At least, mute it unless I hover it. In fact, I do not prefer to have it auto play. So, companies take note. No one likes auto-playing videos.

Ubuntu Mate on Raspberry Pi 2

When the original Raspberry Pi came out, it could only run Raspbian on it. Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware. Then the Raspberry 2 came out, a bit more powerful with a quad-core Broadcom BCM2836 ARM v7 processor at 900MHz. Now, you can run Ubuntu Mate on it. Ubuntu has a project dedicated for Raspberry Pi 2. It’s still not powerful to run Ubuntu Unity desktop, but Ubuntu Mate works quite well on the Raspberry Pi 2.

GoPro Stock Price Skyrockets

GoPro stock price skyrocketed by 16 percent after rumors of an Apple acquisition. Analysts are saying that GoPro will fit as a glove in Apple’s line of products. GoPro had a revenue of $400 million in the last quarter, and has a market capitalization of $2.6 billion. GPRO is currently at $93.85, an all-time high.

Insignia 40 Inch TV

I headed over to Best Buy on the Thanksgiving Day at around 6pm. It was one hour after the store opened. The line was long, which made me hesitate at first, but but it was moving, so I decided to stay. Thirty minutes later, I was inside the store. I was looking for a great deal on a 40 inch TV. My first choice was already gone. I ended up with an Insignia 40 inch 1080p TV for $159. Here’s the link from Best Buy. It’s an LED TV running at 60Hz. It has two HDMI ports, and a USB port. I thought I got myself a great deal.

tv

 

Raspberry Pi Model Zero

Last week, founder Eben Upton of the Pi Foundation announced the Raspberry Pi Model Zero. The tiny computer device which runs on Raspbian, a free and open-source OS based on Debian, will sell for $5.00. You can purchase it from Adafruit and other outlets.

Here are some specs:

  • Processor: 1GHz Broadcomm BCM2835
  • Memory: 512MB of RAM
  • Storage: a user-supplied microSD
  • GPIO: 26/40 unpopulated through-holes
  • USB ports: USB On-the-Go…Micro USB
  • Video Output: Composite video is available from 2 unpopulated pins.
  • HDMI video is available from a mini HDMI port.