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
| /* ============================================================= | |
| Smooth Scroll 3.0 | |
| Animate scrolling to anchor links, by Chris Ferdinandi. | |
| http://gomakethings.com | |
| Easing support contributed by Willem Liu. | |
| https://github.com/willemliu | |
| Easing functions forked from Gaëtan Renaudeau. |
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
| // Zepto.js | |
| // (c) 2010-2014 Thomas Fuchs | |
| // Zepto.js may be freely distributed under the MIT license. | |
| (function (root, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| // AMD. Register as an anonymous module. | |
| define([], function () { | |
| return (root.Zepto = factory()); | |
| }); |
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
| // parseUri 1.2.2 | |
| // (c) Steven Levithan <stevenlevithan.com> | |
| // MIT License | |
| function parseUri (str) { | |
| var o = { | |
| strictMode: false, | |
| key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], | |
| q: { | |
| name: "queryKey", |
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
| // URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf | |
| if (!Array.prototype.indexOf) { | |
| Array.prototype.indexOf = function (searchElement, fromIndex) { | |
| if ( this === undefined || this === null ) { | |
| throw new TypeError( '"this" is null or not defined' ); | |
| } | |
| var length = this.length >>> 0; // Hack to convert object.length to a UInt32 |
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
| /* | |
| * jQuery Easing AMD module v1.3 | |
| * URL: http://gsgd.co.uk/sandbox/jquery/easing/ | |
| * | |
| * Uses the built in easing capabilities added In jQuery 1.1 | |
| * to offer multiple easing options | |
| * | |
| * TERMS OF USE - jQuery Easing | |
| * | |
| * Open source under the BSD License. |
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
| #!/usr/bin/env node | |
| //# prerequisites: | |
| //# npm -g install request path | |
| //# TODO: modify user agent string | |
| var USER, savepath, | |
| request = require('request'), | |
| path = require('path'), | |
| fs = require('fs'), |
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
| # put this in directory called /ajax.googleapis.com/ | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^ index.php [L] | |
| </IfModule> |
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
| #!/bin/bash | |
| OUT="GeoIPhuWhois.txt" | |
| OUT2="ip.ludost.txt" | |
| if ! [ -f GeoIPCountryWhois.csv ] | |
| then | |
| wget -q http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip | |
| 7z x GeoIPCountryCSV.zip > /dev/null | |
| fi |
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
| #!/bin/bash | |
| set -e | |
| # Use this script to copy shared (libs) files to nginx chrooted | |
| # jail server. This is tested on 64 bit Linux (Redhat and Friends only) | |
| # ---------------------------------------------------------------------------- | |
| # Original Written by Vivek Gite <http://www.cyberciti.biz/> | |
| # (c) 2006 nixCraft under GNU GPL v2.0+ | |
| # ---------------------------------------------------------------------------- | |
| # See url for usage: |
OlderNewer