PHP T_STRING Line 1 Newline Error When Uploading From Windows to Apache/Nginx
Oct 30, 2014Programming
If your PHP source files only use a carriage return (\r) and not a carriage return line feed (\r\n) or line feed (\n), then you may run into this error when uploading to an Apache or Nginx server:
Continue Reading ›
Automatically Delete/Clear The Browsing History In Chrome
Oct 30, 2014Web and InternetComments (12)
At the time of writing, Chrome does not have an option to automatically delete the history on close, like it does with cookies. You can use Incognito mode, but then you don't have any history during that session, which can make browsing inconvenient.
Continue Reading ›
How To Download Stand-Alone Chrome & Canary Full Installers
Oct 24, 2014WindowsComments (1)
The normal Chrome and Canary download is a small 800~ kilobyte program. Upon running, this program downloads the remaining part of itself (approximately 40 megabytes) before installing. If you prefer, you can alternately make it download the whole program at once, which is great for installing in offline situations.
Continue Reading ›
Run Something When Chrome First Starts - Chrome Extension Development
Oct 24, 2014Programming
Since version 23 of Chrome, you can listen for the event onStartup, which will fire each time Chrome is started. If the user closes Chrome and quickly reopens it (before the chrome process has ended), it will still fire off this event when the Chrome window opens up.
Continue Reading ›
How To Get The Window Count - Chrome Extension Development
Oct 23, 2014Programming
Use this code to get the number of open Chrome windows. It must be used inside the extension scope, such as on a background or event page. It cannot be used in a content script (though you can pass this information via a message if needed).
Continue Reading ›
How To Get The 2160p (4K) YouTube Quality Option For Your Video
Oct 20, 2014Web and InternetComments (28)
If you upload a video that has a resolution of 3840 pixels wide by 2160 pixels high, YouTube will display the 2160p quality option in the settings (cog) for your video.
Continue Reading ›
How To Export Video At 3840x2160 (4K 2160p) In Adobe Premiere
Oct 20, 2014WindowsComments (19)
Here are the steps needed to export 2160p (4K) videos using Adobe Premiere. These instructions are from CS5.5 but should be usable for other versions as well.
Continue Reading ›
Receive Notifications From Your Facebook Comments Plugin
Oct 17, 2014Web DevelopmentComments (10)
If you've added a Facebook Comments Plugins to your webpage but are not receiving Facebook notifications when new comments are posted, you may need to include a Facebook meta tag in your HTML.
Continue Reading ›
YouTube Recommended Video Resolutions For Quality And Search Optimization
Oct 15, 2014Web and InternetComments (12)
YouTube will accept and properly handle most resolutions and formats, but if you want the best quality, sharpest picture, and no cropping, be sure to create your video in one of these resolutions:
Continue Reading ›
How To Lazy Load The Facebook Comments Plugin Using JavaScript
Oct 10, 2014Web DevelopmentComments (17)
The Facebook comments plugin is an easy-to-use comment system that you can put on nearly any webpage. It's main downside versus a self-hosted comment system is that it incurs a lot of http requests. This can cause your site to load slower and make it feel less responsive.
Continue Reading ›
How YouTube Determines What Video Quality To Play
Oct 6, 2014Web and InternetComments (3)
YouTube has two different players that it uses to play videos. One player is made with HTML5, while the other is made with Flash. They look very similar, but the video quality they default to is very different.
Continue Reading ›
How To Link To And Embed YouTube Videos In HD Or A Specific Quality Level
Oct 2, 2014Web and InternetComments (9)
This post has been revised as YouTube has made changes to their platform. YouTube discontinued past methods for linking to and embedding videos in HD. Here is the latest method that still works.
Continue Reading ›
How To Make CSS Play & Pause Icons With A Single DIV
Oct 1, 2014Web DevelopmentComments (2)
Using CSS borders, you can create play and pause icons with full browser compatibility, no images, and no extra http requests. Each one uses just one <div> and simple CSS.
Continue Reading ›
How To Edit Bad Piggies Levels & Get A Larger Building Grid (Editing The Source Code)
Sep 24, 2014MobileComments (54)
This is a lengthy and technical post about editing the Bad Piggies application code in order to edit levels, enlarge the building grid, and make other tweaks to the gameplay. This covers the Windows and Android versions only, but the process will be similar for Mac and iOS if you can get access to the game application files.
Continue Reading ›
NewerPage 11Older