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
{ | |
Start: "2014-01-01 00:00:01", | |
End: "2014-01-31 00:00:01", | |
TotalWorkedHours: "01:02:03", | |
TotalBreakHours: "01:02:03", | |
Days: [ | |
{ | |
Date: "2014-01-01 00:00:01", | |
TotalWorkedHours: "01:02:03", |
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
class MyModel { | |
public ID: number; | |
public Value: string; | |
} | |
export = MyModel; |
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.Net; | |
using System.Net.Http; | |
using System.Web; | |
using System.Web.Caching; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Filters; | |
/// <summary> | |
/// Decorates any Action that needs to have client requests limited by concurrent requests. |
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
$paths = "$env:APPDATA\Microsoft\Internet Explorer\Quick Launch", "C:\ProgramData\Microsoft\Windows\Start Menu", "$env:APPDATA\Microsoft\Windows\Start Menu" | |
$searchword =$args[0] | |
$otherargs = $args[1..100] | |
Write-Host $otherargs | |
foreach ($path in $paths) { | |
$applications = Get-ChildItem $path -recurse -File -Filter $searchword* | |
$applicationPath = @($applications | ForEach-Object -Process {$_.FullName}) |
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
# By Anders and Henkan 2014-08-07 v1 | |
# http://ideasof.andersaberg.com | |
$path = $args[0] | |
$chars = "abcdefghijklmnopqrstuvwxyz" | |
function GetFileName($num) | |
{ | |
$name = "" | |
while($num -gt 25) { |
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
// version 0.0.1 of TableViewcomponent API | |
<TableView> | |
<Columns> | |
<Column format="%s kg" /> | |
<Column format="%s" /> | |
</Columns> | |
<Rows> | |
{Items} | |
</Rows | |
</TableView |
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
var SomeView = React.createClass({ | |
render: function () { | |
return ( | |
<ColumnLayout expanded={true} somethingElse={this.state.stuff}> | |
<Column text={this.state.text} onClick={this.props.onClick} focus={this.state.isFocus} /> | |
.... | |
</ColumnLayout> | |
); |
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
{ | |
"name": "env1", | |
"main": "app/main.jsx", | |
"version": "0.1.0", | |
"description": "Whatever", | |
"dependencies": { | |
"events": "~1.0.2", | |
"express": "~4.12.0", | |
"fastclick": "~1.0.6", | |
"invariant": "~2.0.0", |
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 AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; | |
public class NewRelicIgnoreTransactionOwinModule | |
{ | |
private AppFunc _nextAppFunc; | |
public NewRelicIgnoreTransactionOwinModule(AppFunc nextAppFunc) | |
{ | |
_nextAppFunc = nextAppFunc; | |
} |
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.load("visualization", "1", {packages:["corechart"]}); | |
google.setOnLoadCallback(drawChart); | |
function drawChart() { | |
$.getJSON( "http://feedrepublic.azurewebsites.net/api/popular-filters-global/", function( data ) { | |
// put data into the graph | |
data= data.slice(0,5); | |
data.unshift(["filter","number"]); | |
var dataTable = google.visualization.arrayToDataTable(data); | |