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.Windows; | |
using System.Windows.Controls; | |
using Microsoft.LightSwitch.Framework.Client; | |
using LightSwitch = Microsoft.LightSwitch.Model.Storage; | |
using Microsoft.LightSwitch.Model; | |
using System.Runtime.InteropServices.Automation; | |
namespace ODataFinderLibrary |
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
/// <reference path='../_reference.ts'/> | |
module ft { | |
"use strict"; | |
export class LocalStorageService { | |
// TODO: Need to handle QUOTA_EXCEEDED_ERR | |
public static $inject = [ | |
"$log" |
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
<link rel="import" href="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<link rel="import" href="../topeka-elements/theme.html"> | |
<link rel="import" href="../topeka-elements/topeka-resources.html"> | |
<link rel="import" href="../topeka-elements/topeka-quiz-view.html"> | |
<link rel="import" href="../topeka-elements/avatars.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> |
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
param($path = (Get-Item -Path ".\" -Verbose).FullName) | |
Write-Host "Processing for git branch status of subfolders in folder: $path" | |
$items = @() | |
Get-ChildItem -Path $path | ?{$_.PSIsContainer } | Foreach-Object -Process { | |
if (Test-Path -Path (Join-Path -Path $_.FullName -ChildPath '.git')) { | |
pushd $_.FullName | |
Write-Host "Processing $($_)...." | |
git fetch |
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.Threading; | |
using System.Threading.Tasks; | |
using MassTransit; | |
using Xunit; | |
namespace MassTransitRequestResponse.Test | |
{ | |
public interface INamedReq | |
{ |
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
// hypernova server implementation with support for async react components | |
// Serge van den Oever, Macaw | |
// | |
// If the hypernova server is run from iisnode we can access the appsettings in the web.config as | |
// environment variable, i.e. | |
// <configuration><appSettings><add key="GLOBAL_PREFIX" value="somevalue"></appSettings>... | |
// then use var globalPrefix = process.env.GLOBAL_PREFIX; to access the setting | |
// Example post body: | |
// { |
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
import * as React from 'react'; | |
import * as ReactDOM from 'react-dom'; | |
import * as ReactDOMServer from 'react-dom/server'; | |
import { Provider } from 'react-redux'; | |
import hypernova, { serialize, load } from 'hypernova'; | |
import { Store } from 'redux'; | |
export const renderReactAsyncReduxServer = (name: string, C: React.ComponentClass, store: Store<any>) => hypernova({ | |
server() { | |
return (props: any) => { |
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
const axios = require('axios'); | |
const express = require('express'); | |
// from https://codewithmark.com/learn-to-create-youtube-video-downloader | |
function qsToJson(qs) { | |
var res = {}; | |
var pars = qs.split('&'); | |
var kv, k, v; | |
for (i in pars) { | |
kv = pars[i].split('='); |
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
const axios = require('axios'); | |
const express = require('express'); | |
// from https://codewithmark.com/learn-to-create-youtube-video-downloader | |
function qsToJson(qs) { | |
var res = {}; | |
var pars = qs.split('&'); | |
var kv, k, v; | |
for (i in pars) { | |
kv = pars[i].split('='); |
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
{ | |
"url":"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/WhatCarCanYouGetForAGrand.mp4" | |
} |
OlderNewer