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
/* Hide both previous and next links */ | |
.post-navigation { | |
display:none!important; | |
} | |
/* Hide only previous link */ | |
.post-navigation .nav-previous { | |
display:none!important; | |
} |
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 static MvcForm BeginFormWithCurrentLanguage(this HtmlHelper htmlHelper, string actionName, string controllerName, FormMethod method) | |
{ | |
return htmlHelper.BeginFormWithCurrentLanguage(actionName, controllerName, new object(), method, new object()); | |
} | |
public static MvcForm BeginFormWithCurrentLanguage(this HtmlHelper htmlHelper, string actionName, string controllerName, object routeValues, FormMethod method) | |
{ | |
return htmlHelper.BeginFormWithCurrentLanguage(actionName, controllerName, routeValues, method, null); | |
} |
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 (Html.BeginForm("SubMitting", "Test", new {language= ContentLanguage.PreferredCulture.Name})) | |
{ | |
} |
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
{ | |
"version": "1.0.0-*", | |
"compilationOptions": { | |
"emitEntryPoint": true | |
}, | |
"tooling": { | |
"defaultNamespace": "test1" | |
}, | |
"dependencies": { |
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
dnx --version: | |
Microsoft .NET Execution environment | |
Version: 1.0.0-rc1-16231 | |
Type: Mono | |
Architecture: x64 | |
OS Name: Darwin | |
OS Version: 10.11 | |
Runtime Id: osx.10.11-x64 | |
dnu --version: |
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
void Main() | |
{ | |
var connectionString = "DefaultEndpointsProtocol=https;AccountName=;AccountKey="; | |
var storageAccount = CloudStorageAccount.Parse(connectionString); | |
var tableClient = storageAccount.CreateCloudTableClient(); | |
var personTable = tableClient.GetTableReference("people"); | |
personTable.CreateIfNotExists(); | |
CreateLotsOfPeopleOneByOne(personTable); |
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 first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #666; | |
min-height: 100%; | |
} | |
.discount { |
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 first commented line is your dabblet’s title | |
*/ | |
#transtest { | |
width: 50px; | |
height: 50px; | |
background: linear-gradient(45deg, #f06, yellow); | |
transition: all 1s ease-in-out; | |
transition-property: width, margin-left; |
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 MonoTouch.UIKit; | |
using Diet52App.Core.iOS; | |
namespace Diet52App | |
{ | |
public class SearchDisplayDelegate : UISearchDisplayDelegate | |
{ | |
SearchViewModel searchViewModel; |
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 MonoTouch.UIKit; | |
using Diet52App.Core.iOS; | |
namespace Diet52App | |
{ | |
public class SearchDisplayDelegate : UISearchDisplayDelegate | |
{ | |
SearchViewModel searchViewModel; |
NewerOlder