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
Option Strict On | |
Option Explicit On | |
Imports System.Runtime.CompilerServices | |
Module Module1 | |
<Extension()> | |
Public Function TopologicalSort(Of TKey, TNode)(this As IEnumerable(Of TNode), | |
keySelector As Func(Of TNode, TKey), |
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 Get-ProxyWebClient { | |
$webclient = New-Object System.Net.WebClient | |
$proxy = New-Object System.Net.WebProxy($global:ProxyUrl, $global:ProxyPort) | |
$proxy.Credentials = (Get-Credential).GetNetworkCredential() | |
$webclient.Proxy = $proxy | |
return $webclient | |
} | |
Function Channel9Downloader( [string]$feed, [string]$destination ) { | |
# $feed = "http://channel9.msdn.com/Shows/Azure-Friday/feed/mp4high" |
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
// | |
// RxPaginatedDatasource.swift | |
// | |
// Created by Marcelo de Aguiar on 11/10/19. | |
// | |
import Foundation | |
import RxSwift | |
import RxCocoa |