This file contains hidden or 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 MonoTouch.UIKit; | |
namespace System | |
{ | |
public static class ExtensionMethods | |
{ | |
public static UIColor ToUIColor(this string hexString) | |
{ | |
hexString = hexString.Replace("#", ""); |
This file contains hidden or 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
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |
This file contains hidden or 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
[Fact] | |
public void First() | |
{ | |
var tokenHandler = new JWTSecurityTokenHandler(); | |
var symmetricKey = GetRandomBytes(256/8); | |
var now = DateTime.UtcNow; | |
var tokenDescriptor = new SecurityTokenDescriptor | |
{ | |
Subject = new ClaimsIdentity(new Claim[] |
This file contains hidden or 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
@mixin center($width, $height) { | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
height: $height; | |
width: $width; | |
margin-left: - $width / 2; | |
margin-top: - $height / 2; | |
} |
This file contains hidden or 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
// Google SERP URL rewrite | |
// | |
// User script will rewrite search engine results page for Google and place real | |
// links to results rather than links that proxy back via google. | |
// | |
// So you go straight to the page when you click and you can copy/paste the link | |
// | |
// Install: | |
// 1. Download to desktop/wherever | |
// 2. Open Chrome extensions page (Window -> Extensions) or URL chrome://extensions |
This file contains hidden or 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 RequiredIfAttribute : ValidationAttribute, IClientValidatable | |
{ | |
private RequiredAttribute _innerAttribute = new RequiredAttribute(); | |
public string DependentProperty { get; set; } | |
public object TargetValue { get; set; } | |
public RequiredIfAttribute(string dependentProperty, object targetValue) | |
{ | |
this.DependentProperty = dependentProperty; |