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
/* Empty Elements */ | |
div:empty, span:empty, li:empty, p:empty, td:empty, th:empty | |
{ padding: 20px; border: 5px dotted yellow !important; } | |
/* Empty Attributes */ | |
*[alt=""], *[title=""], *[class=""], *[id=""], a[href=""], a[href="#"] | |
{ border: 5px solid yellow !important; } | |
/* Deprecated Elements */ | |
applet, basefont, center, dir, font, isindex, menu, s, strike, u |
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
[ | |
"01.01.2013", | |
"06.01.2013", | |
"29.03.2013", | |
"01.04.2013", | |
"01.05.2013", | |
"09.05.2013", | |
"20.05.2013", | |
"30.05.2013", | |
"15.08.2013", |
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
# ========================= | |
# Project | |
# ========================= | |
## Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.sln.docstates |
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
/** | |
* Fetches a meta (+ open graph) attribute from HTML | |
* | |
* @returns value The request content of the meta tag (nullable) | |
*/ | |
var getMetaAttribute = function( attribute ) | |
{ | |
var key = null; | |
var value = null; | |
var meta = document.getElementsByTagName('meta'); |
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
@function precision($value, $precision) | |
{ | |
$base: 10; | |
$divisor: 1; | |
@for $i from 1 through $precision | |
{ | |
$divisor: $divisor * $base; | |
} |
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; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using Windows.Foundation; | |
using Windows.Phone.Speech.Synthesis; | |
namespace Utilities | |
{ | |
public class SpeechUtility : IDisposable |
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
// your items | |
public ObservableCollection<Item> Items { get; set; } | |
// your items per page | |
private int _bufferSize = 15; | |
// populate the Items member | |
public async Task UpdateLists(int page = 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
javascript:location.href='pocket:Add?Data='+encodeURIComponent('{"Items":[{"Uri":"'+location.href+'"}]}'); |
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
<phone:Panorama.TitleTemplate> | |
<DataTemplate> | |
<!-- You have to assign a width here as the Canvas has no impact on the layout, and therefore it won't stretch the Grid to match it's siblings width. | |
As the Grid has a calculated width of 0 in your code example, it will get repeated faster (which is visible to you). The problem with the TitleTemplate is, that you can't set HorizontalAlignment="Stretch" (for 100% width), as it won't work here :-S | |
If you increase the Width, the Logo will move faster, therefore you will get a faster parallax movement --> | |
<Grid Margin="0,34,0,0" Width="240" Height="134.218"> | |
<!-- I have also removed the Canvas Background, as it won't work anymore with the added width. Just set a Background for the Panorama itself, this will get around this issue (Panorama.Background) --> | |
<Canvas x:Name="DivvyLogoBranding"> | |
<Path Data="F1M0,0L0,73.195 25.669,0z" | |
Fill="#FF |
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
<Grid x:Name="LayoutRoot" Width="37" Height="42" Visibility="Collapsed" Opacity="0"> | |
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup> | |
<VisualState x:Name="DefaultState"> | |
<Storyboard> | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Visibility" | |
BeginTime="0:0:0.2"> | |
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Collapsed"/> | |
</ObjectAnimationUsingKeyFrames> | |
<DoubleAnimation Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="Opacity" |
OlderNewer