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
# Download the file to a specific location | |
# get-unzip.ps1 "ftp://path/filename" "C:\path" "filename" | |
$clnt = new-object System.Net.WebClient | |
$url = $args[0] | |
$folder = $args[1] | |
$file = $args[2] | |
$path = $($args[1]+"\"+$args[2]) | |
$clnt.DownloadFile($url,$path) | |
# Unzip the file to specified location |
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.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace GithubWikiDoc | |
{ |
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
$.fn.scrollTo = function( target, options, callback ){ | |
if(typeof options == 'function' && arguments.length == 2){ callback = options; options = target; } | |
var settings = { | |
scrollTarget : target, | |
offsetTop : options && options.offsetTop || 0, | |
duration : options && options.duration || 500 , | |
easing : options && options.easing || 'swing' | |
}; | |
return this.each(function(){ | |
if ( this.isScrollingTo !== true) { |