PHP T_STRING Line 1 Newline Error When Uploading From Windows to Apache/Nginx

by Nick Vogt - Oct 31, 2014 - 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:

Automatically Delete/Clear The Browsing History In Chrome

by Nick Vogt - Oct 30, 2014 - 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.

How To Download Stand-Alone Chrome & Canary Full Installers

by Nick Vogt - Oct 24, 2014 - 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.

Run Something When Chrome First Starts - Chrome Extension Development

by Nick Vogt - Oct 24, 2014 - 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.

How To Get The Window Count - Chrome Extension Development

by Nick Vogt - Oct 23, 2014 - 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).

How To Get The 2160p (4K) YouTube Quality Option For Your Video

by Nick Vogt - Oct 20, 2014 - 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.

How To Export Video At 3840x2160 (4K 2160p) In Adobe Premiere

by Nick Vogt - Oct 20, 2014 - 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.

Receive Notifications From Your Facebook Comments Plugin

by Nick Vogt - Oct 17, 2014 - 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.

YouTube Recommended Video Resolutions For Quality And Search Optimization

by Nick Vogt - Oct 15, 2014 - 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:

How To Lazy Load The Facebook Comments Plugin Using JavaScript

by Nick Vogt - Oct 10, 2014 - 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.

How YouTube Determines What Video Quality To Play

by Nick Vogt - Oct 6, 2014 - 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.
How To Link To And Embed YouTube Videos In HD Or A Specific Quality Level

How To Link To And Embed YouTube Videos In HD Or A Specific Quality Level

by Nick Vogt - Oct 2, 2014 - 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.
Newer   Page 1 of 17   Older
© Nick VogtRSSDisclosure PolicyPrivacy Policy@Facebook@Twitter@Google+