This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
MyApp.AlertView = Backbone.View.extend({ | |
tagName: "div", | |
className: "alert fade", | |
template: ["<a href=\"#\" data-dismiss=\"alert\" class=\"close\">×</a>", "<strong>{{ title }}</strong>", "{{ message }}"].join("\n"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<![endif]--> | |
<!--[if gte IE 9]><!--> | |
<script src="http://code.jquery.com/jquery-2.0.0.min.js"></script> | |
<!--<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2013 Parse. All rights reserved. | |
#import "AppDelegate.h" | |
#import <Parse/Parse.h> | |
#import "LoginViewController.h" | |
#import "UserDetailsViewController.h" | |
@implementation AppDelegate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
Backbone.ChangeAwareModel = Backbone.Model.extend({ | |
initialize: function () { | |
Backbone.Model.prototype.initialize.apply(this, arguments); | |
_.bindAll(this, "mark_to_revert", "revert"); | |
this.attributesChanged = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IHubContext hubContext = GlobalHost.ConnectionManager.GetHubContext<GeoFeedHub>(); | |
hubContext.Clients.All.addTweetToMap(status); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<toplevel> | |
<CompleteSuggestion> | |
<suggestion data="mountain bikes"/> | |
</CompleteSuggestion> | |
<CompleteSuggestion> | |
<suggestion data="mountain bike parts"/> | |
</CompleteSuggestion> | |
<CompleteSuggestion> | |
<suggestion data="mountain bike sizing"/> | |
</CompleteSuggestion> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Xml.Linq; | |
namespace ConsoleApplication1 | |
{ | |
public class SearchSuggestionsAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(CustomerFields.City.IsNotNull().And(CustomerFields.Country == "Denmark")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls *.* -rec | %{ $f=$_; (gc $f.PSPath) | %{ $_ -replace "SEARCH", "REPLACEMENT" } | sc $f.PSPath } | |
Get-ChildItem *.* -rec | Rename-Item -NewName { $_.Name -replace 'SEARCH','REPLACEMENT' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace WebApp | |
{ | |
public class MailgunUploadController : Controller | |
{ | |
// |