Install Package Control for easy package management.
- Open the console with
Ctrl+`
- Paste in the following:
using System.Web.Http; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
namespace ViVi.Api | |
{ | |
public static class WebApiConfig | |
{ | |
public static void Register(HttpConfiguration config) | |
{ |
Install Package Control for easy package management.
Ctrl+`
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/SublimeLinter/Monokai Bright (SL).tmTheme", | |
"default_encoding": "UTF-8", | |
"detect_indentation": true, | |
"folder_exclude_patterns": |
var Feedback = Backbone.Model.extend({ | |
url: '/feedback', | |
defaults: { | |
'email': '', | |
'website': '', | |
'feedback': '' | |
}, |
wget http://download.mono-project.com/repo/xamarin.gpg | |
sudo apt-key add xamarin.gpg | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list | |
sudo apt-get update | |
sudo apt-get install mono-complete | |
sudo certmgr -ssl -m https://go.microsoft.com | |
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net | |
sudo certmgr -ssl -m https://nuget.org | |
mozroots --import --sync |
Basic form with validation using AngularJS and Form Material Design Lite ( MDL )
A Pen by Álister Lopes Ferreira on CodePen.
function Update-AssemblyInfoVersionFiles | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$true)] | |
[string]$productVersion | |
) | |
$buildNumber = $env:BUILD_BUILDNUMBER | |
if ($buildNumber -eq $null) |
/// <summary> | |
/// Owin Request extensions. | |
/// </summary> | |
public static class OwinRequestExtensions | |
{ | |
/// <summary> | |
/// Gets the combined request parameters from the form body, query string, and request headers. | |
/// </summary> | |
/// <param name="request">Owin request.</param> | |
/// <returns>Dictionary of combined form body, query string, and request headers.</returns> |
# lint Python modules using external checkers. | |
# | |
# This is the main checker controling the other ones and the reports | |
# generation. It is itself both a raw checker and an astng checker in order | |
# to: | |
# * handle message activation / deactivation at the module level | |
# * handle some basic but necessary stats'data (number of classes, methods...) | |
# | |
[MASTER] |