Skip to content

Instantly share code, notes, and snippets.


Marcelo de Aguiar marcelodeaguiar

View GitHub Profile
marcelodeaguiar / RxPaginatedDatasource.swift
Last active Oct 11, 2019
A paginated datasource to be using with RxSwift and ViewModels
View RxPaginatedDatasource.swift
// RxPaginatedDatasource.swift
// Created by Marcelo de Aguiar on 11/10/19.
import Foundation
import RxSwift
import RxCocoa
marcelodeaguiar / Channel9Downloader
Created May 28, 2014
Download channel9 video/audio feeds (proxy supported)
View Channel9Downloader
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 = ""
View Topological Sort Extension Methods
Option Strict On
Option Explicit On
Imports System.Runtime.CompilerServices
Module Module1
Public Function TopologicalSort(Of TKey, TNode)(this As IEnumerable(Of TNode),
keySelector As Func(Of TNode, TKey),