Skip to content

Instantly share code, notes, and snippets.

View VoidVolker's full-sized avatar
🧬
Open for new projects

VoidVolker

🧬
Open for new projects
  • Death Star
View GitHub Profile
@VoidVolker
VoidVolker / jQuery.scrollTo.js
Last active April 9, 2016 13:36
Best jQuery scrollTo script, forked from http://lions-mark.com/jquery/scrollTo/
$.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) {
@VoidVolker
VoidVolker / gist:d195b9746fcc6907a551
Created February 17, 2016 10:17 — forked from lontivero/gist:593fc51f1208555112e0
Generates Markdown from VS XML documentation file
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
{
@VoidVolker
VoidVolker / powershell ftp http get unzip get-unzip.ps1
Created February 8, 2015 10:18
powershell ftp http get unzip get-unzip.ps1
# 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