This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = pavan.sss1991@gmail.com | |
| username = pksunkara | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls |
| PROJECT_ROOT=C:\development | |
| JAVA_VERSION=1.5.0_11 | |
| JAVA_HOME=%PROJECT_ROOT%\java%JAVA_VERSION% | |
| ANT_HOME=%PROJECT_ROOT%\tools\apache-ant-1.8.1 | |
| PATH=%JAVA_HOME%/bin;%PATH%;%ANT_HOME%/bin; |
| // Smooth Follow from Standard Assets | |
| // Converted to C# because I fucking hate UnityScript and it's inexistant C# interoperability | |
| // If you have C# code and you want to edit SmoothFollow's vars ingame, use this instead. | |
| using UnityEngine; | |
| using System.Collections; | |
| public class SmoothFollow : MonoBehaviour { | |
| // The target we are following | |
| public Transform target; |
| <project name="project" default="run"> | |
| <property name="verbose" value="no" /> | |
| <!-- Set the package property to what it should be, for your project --> | |
| <property name="package" value="com.orgname.projname" /> | |
| <!-- On Linux, and at this time, this is the right path, but you might have to modify this --> | |
| <property name="modules" value="${user.home}/.gradle/caches/modules-2/files-2.1" /> | |
| <!-- Everything below should just work --> |
| using System.Collections.Generic; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| public static class EditorCollapseAll | |
| { | |
| private static int wait = 0; | |
| private static int undoIndex; |
#Mobile Device Detection via User Agent RegEx
Yes, it is nearly 2012 and this exercise has been done to death in every imaginable language. For my own purposes I needed to get the majority of non-desktop devices on to a trimmed down, mobile optimized version of a site. I decided to try and chase down an up-to-date RegEx of the simplest thing that could possibly work.
I arrived at my current solution after analyzing 12 months of traffic over 30+ US based entertainment properties (5.8M+ visitors) from Jan - Dec 2011.
The numbers solidified my thoughts on the irrelevancy of including browsers/OSes such as Nokia, Samsung, Maemo, Symbian, Ipaq, Avant, Zino, Bolt, Iris, etc. The brass tacks of the matter is that you certainly could support these obscure beasts, but are you really going to test your site on them? Heck, could you even find one?! Unless the folks that pay you are die hard Treo users my guess is "No".
Interestingly enough my research shows that /Mobile/ is more efficient than **/iP(