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
func relevantEventsForLocation(location: CLLocation, withBlock: ([Event]) -> ()) { | |
let root = Firebase(url: "https://pikapic.firebaseio.com") | |
let geoFire = GeoFire(firebaseRef: root) | |
var circleQuery = geoFire.queryAtLocation(location, withRadius: 0.6) | |
let span = MKCoordinateSpanMake(0.001, 0.001) | |
let region = MKCoordinateRegionMake(location.coordinate, span) | |
var query = geoFire.queryWithRegion(region) | |
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.Reflection; | |
using System.Reflection.Emit; | |
namespace ConsoleApplication1 | |
{ | |
public class From | |
{ | |
public string Hello { get; set; } | |
public int World { get; set; } |
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
From 0c8eb16ecaeedf9ddfd1fc10944dbdef5bd094f0 Mon Sep 17 00:00:00 2001 | |
From: Loic Sharma <[email protected]> | |
Date: Fri, 1 Sep 2017 15:56:49 -0700 | |
Subject: [PATCH] Added tab for Paket | |
--- | |
src/NuGetGallery/Views/Packages/DisplayPackage.cshtml | 9 +++++++++ | |
1 file changed, 9 insertions(+) | |
diff --git a/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml b/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml |
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
AjaxMin | |
AjaxGridScaffolder | |
AntiXSS | |
AspNetMvc | |
AspNetSprites-MvcAndRazorHelper | |
AspNetWebPagesCore | |
AspNetSprites-Core | |
AspNetSprites-WebFormsControl | |
Calendar.Template | |
DynamicData.EFCodeFirstProvider |
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
# The query that should be used to generate the CSV file from the Gallery DB: | |
# | |
# SELECT pr.[Id] | |
# FROM [dbo].[PackageRegistrations] pr | |
# INNER JOIN [dbo].[PackageRegistrationOwners] pro | |
# ON pr.[Key] = pro.[PackageRegistrationKey] | |
# INNER JOIN [dbo].[Users] u | |
# ON pro.[UserKey] = u.[Key] | |
# WHERE u.[Username] IN ('microsoft', 'dotnetframework') | |
# GROUP BY pr.[Id] |
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
BEGIN TRANSACTION; | |
IF NOT EXISTS (SELECT * FROM [dbo].[Dimension_PackageSet] WHERE [Name] = 'NonCommunityPackages') | |
BEGIN | |
INSERT INTO [dbo].[Dimension_PackageSet] (Name) VALUES ('NonCommunityPackages') | |
END | |
DECLARE @NonCommunityPackagesId int = (SELECT [Id] FROM [dbo].[Dimension_PackageSet] WHERE [Name] = 'NonCommunityPackages'); | |
DELETE FROM [dbo].[Fact_Package_PackageSet] |
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
import 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:async/async.dart'; | |
import 'package:watcher/watcher.dart'; | |
watchCurrentDirectory(List<String> arguments) async { | |
var watcher = new DirectoryWatcher(Directory.current.path); | |
while (true) { |
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.Linq; | |
public class Program | |
{ | |
[Flags] | |
public enum E | |
{ | |
None = 0, |
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
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory = $true)] | |
[string]$Port | |
) | |
@( | |
"newtonsoft.json/10.0.3", | |
"owin/1.0.0", | |
"newtonsoft.json/9.0.1", |
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.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Blob; | |
namespace ConsoleApp6 | |
{ | |
class Program |
OlderNewer