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
private string firstPassword; | |
public string FirstPassword | |
{ | |
get { return firstPassword; } | |
set { | |
if (Set(() => FirstPassword, ref firstPassword, value)) | |
{ | |
UpdateProgressBar(); | |
} | |
} |
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
C:. | |
+---.atom | |
| \---compile-cache | |
| \---836a81e7afc5e1080850f10b0790220f3d81503a | |
| \---js | |
+---.p4merge | |
+---Contacts | |
+---Desktop | |
+---Documents | |
| +---Custom Office Templates |
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
var itemsToDelete = from p in dbContext.SnowManagements | |
where siteIds.Contains(p.SiteId) | |
&& p.Created.Date == DateTime.Today.Date) | |
select p; |
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
var itemsToDelete = from p in dbContext.SnowManagements | |
where siteIds.Contains(p.SiteId) | |
&& DbFunctions.TruncateTime(p.Created.Date) == DbFunctions.TruncateTime(DateTime.Today) | |
select p; |
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
var itemsToDelete = from p in dbContext.SnowManagements | |
where siteIds.Contains(p.SiteId) | |
&& DbFunctions.TruncateTime(p.Created) == DbFunctions.TruncateTime(dateToDelete) | |
select p; |
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.Web; | |
using System.Web.Script.Services; | |
using System.Web.Services; | |
namespace WebApplication1 | |
{ | |
/// <summary> |
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
Getting Started with Open Source - Abstract | |
Are you a developer that wants to give back to the open source community? Perhaps you want to built some experience by | |
working on open source? Or you want to join the open source movement because, well, OSS is the future? Just look at all | |
the cool tech built with OSS: Node.js, BootStrap, ASP.NET etc. Join Christos Matskas to learn about the many ways to | |
contribute, key development tools, communication in OSS projects and what it takes to become a succesful first time | |
contributor and collaborator in this welcoming and open community. |
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
public class PasswordHash | |
{ | |
public const int SaltByteSize = 24; | |
public const int HashByteSize = 20; // to match the size of the PBKDF2-HMAC-SHA-1 hash | |
public const int Pbkdf2Iterations = 1000; | |
public const int IterationIndex = 0; | |
public const int SaltIndex = 1; | |
public const int Pbkdf2Index = 2; | |
public static string HashPassword(string password) |
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
## Delete a remote branch | |
$ git push origin --delete <branch> # Git version 1.7.0 or newer | |
$ git push origin :<branch> # Git versions older than 1.7.0 | |
## Delete a local branch | |
$ git branch --delete <branch> | |
$ git branch -d <branch> # Shorter version | |
$ git branch -D <branch> # Force delete un-merged branches | |
## Delete a local remote-tracking branch |
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
@section Scripts { | |
<script type="text/javascript" src="https://js.stripe.com/v2/"></script> | |
<script type="text/javascript"> | |
$('document').ready(function() { | |
Stripe.setPublishableKey('Your Publisheable Key Goes here'); | |
$('#btnCharge').on('click', function(e) { | |
e.preventDefault(); | |
e.stopPropagation(); |