Scroll Speed Parallels Mac OSx

Scroll Speed Parallels Mac OSx

The scroll speed on Parallels is a little off-par with the smooth scrolling on my new Mac OSx running Mavericks. When I slide into my Parallel’s, my mouse scroll slides half of the page at a time. To fix this simply navigate into Control Panel -> Mouse -> Wheel and change the scroll lines down to 1. This will reduce the scrolling per line and make it more inline with what you’re expecting the scroll speed to be.

Deploy to Windows Phone

To deploy to a Windows Phone you need to, 1) Register at https://dev.windows.com/en-us/join. You don’t necessarily need to Register if you want to side-load apps on your own Windows Phone, but if you want to submit Free or Paid apps to the Windows Store you’ll need to register. 2) Unlock your Windows Phone You’ll need to first start by unlocking your phone for side loading custom developed applications. You can unlock your windows phone, up to 3 phones per windows developer account, by opening the Windows Phone Developer Registration application and logging in. It will prompt you to plug-in your ...

Python Web Server

Python Web Server

Python comes with a built-in web server that can quickly host static content if you’re looking to browse a file that may require viewing that file from a ‘server’ rather than from a //file location on disk. Depending on if you have Python version 3.4 [crayon-5404bb932b36c365583710/] If you have a younger version of Python, you might want to try the following older syntax [crayon-5404bb932b3aa824288280/]

MAC OSx Terminals Alias (Bash Aliases)

MAC OSx Terminals Alias (Bash Aliases)

To create an alias for Terminals, simply type the alias keyword followed by a string=”new command”. Here’s an example that turns allows the alias ‘cls’ (clear screen) to ‘clear’ the screen. [crayon-5404bb9330c1d708593082/] However, the above string makes this alias temporary for the current terminal window session and will disappear after you quit the terminal. To make aliases permanent, you’ll need to edit the following file and place your alias commands in there. “~/.bash_profile” Edit ~/.bash_profile You can edit the bash_profile file by simply invoking “nano ~/.bash_profile” and then add your aliases. When you’re ready to save, simply Ctrl-O followed by ...

Web API Cross Domain Cors

Cross Origin Policy is a lingering security hole that was protected in Netscape Navigator by simply limiting web requests to requests made against the same origin, where the same origin was the same protocol scheme (http/https), host (example.com, www.example.com, abc.example.com), and port (:80, :8080). JSONP is one technique that sidesteps this issue by allowing data to be returned in a script tag and then ultimately re-interpreting that script as data. Well, now we can allow cross domain requests in ASP.NET WEB API by including the following Cors nuget package in your projects. Install-Package Microsoft.AspNet.WebApi.Cors After adding the nuget package, you’ll ...

Markdown Basics

Markdown is simply a syntax that allows a writer to create a text file that can contain common textual elements (headers, lists, bold, italic, etc.) with a limited character set. Here is the basic syntax for the most common elements in a markdown (.md) file. Note that many development sites use a standard readme.md file to represent a repository or folder’s details. Paragraphs are simply lines of text followed by a blank line. Headers are specified by the number of hash signs (#), the more the higher the number the heading is # h1 # ## h2 ## ### h3 ...

Web Deploy 3.0 on IIS

So you’re setting up a new Windows IIS Web Server and you have heard about Web Deploy 3.5 to deploy applications to sites. It’s pretty sweet! Installing Web Deploy 3.5 To install Web Deploy 3.5 on IIS 7.5 or IIS 8, I recommend using the Web Platform Installer. After adding Web Deploy 3.5, click Install and the platform installer will download and install the appropriate extensions for IIS. After you’ve installed Web Deploy 3.5, you’ll see a few more additional options under IIS’s home menu within the ‘Management’ section. Management Service – Go into the Management Service and Start the ...

FastClick – Avoid Mobile Browser Tap Delays

because mobile web browsers don’t click fast enough… Mobile web browsers have a short delay (300ms) when clicking on a link or activating an on-click event such that it allows the browser to successfully determine if the event was a double-click or a single-click. To mitigate this issue, you can drop in the following fastclick JavaScript script into your page and enable it to optimize the single-click events by removing the delay. [crayon-5404bb9333039943700333/] It’s important to note that the fastclick script will look at the user-agent and determine if the fastclick event listeners should be loaded or not, it will ...

AngularJS Built-in and Custom Filters

This post on AngularJS Filters continues on a series of posts on AngularJS. Click here view the complete list of posts on AngularJS. Filters don’t just filter data in AngularJS Filters in AngularJS allow you to format the value that is displayed in a data-binding expression. There are several built-in filters that provide textual transformations such as uppercase and lowercase which will simply capitalize or lowercase all the characters in the string. There are also filters for presenting dates and currencies. In the example below, I’ve illustrated a few of the common AngularJS filters as well as show an example ...

AngularJS – Duplicate Controller Instances

This post on AngularJS Duplicate Controller Instances continues on a series of posts on AngularJS. Click here view the complete list of posts on AngularJS. What happens with duplicate Controller instances? If you declare a controller that has a few scope variables and instantiate that controller by calling out a section of your HTML DOM with the controller, ng-controller=”someControllerHere”, you may be surprised that the controller creates a specific instance for each element that uses that controller. So if you have a few sibling div’s that use the same controller, they will NOT share the same scope. If you want ...