adb shell 'echo \"chrome --user-agent="[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.23 Safari/537.36]"\" > /data/local/chrome-command-line'
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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> |
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 background-color-rgba($red, $green, $blue, $alpha) { | |
$rgba: rgba($red, $green, $blue, $alpha); | |
background-color: transparent; | |
background-color: rgba($red, $green, $blue, $alpha); | |
.lt-ie9 & { | |
$ie-hex-color: ie-hex-str($rgba); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-color}, endColorstr=#{ie-hex-color}); /* IE */ | |
zoom: 1; | |
} |
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
// http://nicolasgallagher.com/micro-clearfix-hack/ | |
// http://css-tricks.com/snippets/css/clear-fix/ | |
@mixin clearfix { | |
// For modern browsers | |
&:before, &:after { | |
content: ""; | |
display: table; | |
} | |
&:after { | |
clear: both; |
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 System.Collections.Generic; | |
using System.Xml; | |
using System.Xml.Schema; | |
using System.Xml.Serialization; | |
[XmlRoot("dictionary")] | |
public class XmlSerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IXmlSerializable | |
{ | |
public XmlSchema GetSchema() |
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 MvcApplication : HttpApplication | |
{ | |
protected void Application_Start() | |
{ | |
AreaRegistration.RegisterAllAreas(); | |
RegisterRoutes(RouteTable.Routes); | |
SetupIoc(); | |
} | |
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
Enable-PSRemoting | |
$creds = Get-Credential | |
Enter-PSSession -ComputerName [NAME] -Credentials $creds | |
Invoke-Command -ComputerName [NAME] -Credentials $creds { get-UICulture } | |
http://www.thecodeking.co.uk/2011/02/winrm-with-mixed-domain-environments.html | |
http://technet.microsoft.com/en-us/library/hh849707.aspx |
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
$("#someForm").validate({ | |
errorClass:'error', | |
validClass:'success', | |
errorElement:'div', | |
highlight: function (element, errorClass, validClass) { | |
$(element).parents("div[class='control-group']") | |
.addClass(errorClass) | |
.removeClass(validClass); | |
}, | |
unhighlight: function (element, errorClass, validClass) { |
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
python -m smtpd -n -c DebuggingServer localhost:1025 |