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
| javascript: function iprl6() { | |
| var d = document, | |
| z = d.createElement('scr' + 'ipt'), | |
| b = d.body; | |
| try { | |
| if (!b) throw (0); | |
| d.title = '(Saving...) ' + d.title; | |
| z.setAttribute('src', 'http://www.instapaper.com/j/UNIQUE_INSTAPAPER_ID?u=' + encodeURIComponent(d.location.href) + '&t=' + (new Date().getTime())); | |
| b.appendChild(z); | |
| } catch(e) { |
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
| javascript: (function () { | |
| var n = null, | |
| C = false; | |
| function h(m) { | |
| d(m, "jsgif_overlaid"); | |
| m.removeEventListener("click", i, C) | |
| } | |
| function i(m) { | |
| var o = this; |
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
| show = (text, target) -> | |
| out = $("#" + target) | |
| out.hide() | |
| out.html text | |
| out.fadeIn() | |
| # https://api.github.com/users/victusfate/repos | |
| GetMyRepos = (uname) -> | |
| github_repo_api = "https://api.github.com/users/" + uname + "/repos?callback=?" |
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
| require 'rubygems' | |
| require 'json' | |
| require 'redis' | |
| class RedisComments | |
| def initialize(redis,namespace,sort_proc=nil) | |
| @r = redis | |
| @namespace = namespace | |
| @sort_proc = sort_proc | |
| end |
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
| <?php | |
| /** | |
| * Simple excel writer class with no external dependencies, drop it in and have fun | |
| * @author Matt Nowack | |
| * @license Unlicensed | |
| * @version 1.0 | |
| */ | |
| class Excel { | |
| private $col; |
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
| #include <stdarg.h> | |
| #include <stdlib.h> | |
| #include <iostream> | |
| template<class T> | |
| T sum(long n,...) { | |
| long i; | |
| va_list a; | |
| va_start( a, n ); | |
| T osum=0; |
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
| #include <stdarg.h> | |
| #include <stdlib.h> | |
| #include <iostream> | |
| using namespace std; | |
| typedef void* vp; | |
| typedef vp(*Me)(vp); | |
| template<class T> | |
| vp addOne(vp vtemp) { |
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
| #ifndef F_PTR_H | |
| #define F_PTR_H | |
| using namespace std; | |
| typedef void* vp; | |
| typedef vp(*Fptr1)(vp); | |
| typedef vp(*Fptr2)(vp,vp); | |
| typedef vp(*Fptr3)(vp,vp,vp); |
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
| #ifndef M_ARRAY | |
| #define M_ARRAY 1 | |
| #include <stdlib.h> | |
| #include <iostream> | |
| #include "Fptr.h" | |
| using namespace std; |
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
| #include <stdarg.h> | |
| #include <math.h> | |
| #include "mArray.h" | |
| #include "RunTime.h" | |
| template <class T> | |
| void qsort(mArray<T> &a) { | |
| long len = a.size(); | |
| if (len <= 1) return; |