This file contains 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
(function ($, window, undefined) { | |
"use strict"; | |
$.feature('js-alert', function (el, value) { | |
$(el).click(function () { alert(value); }); | |
}); | |
})(jQuery, window); |
This file contains 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 <WebKit/WebKit.h> | |
@interface WKWebView (HideInputAccessoryView) | |
- (void) setAccessoryViewEnabled:(BOOL)on; | |
@end |
This file contains 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
import flash.events.TimerEvent; | |
class TimerInfo | |
{ | |
public function new(toInvoke, block) | |
{ | |
invoke = toInvoke; | |
blocking = block; | |
} | |
This file contains 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 NPoco; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Xml.Linq; | |
namespace NPocoFaceting | |
{ | |
public class FacetBuilder | |
{ |
This file contains 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
.karusell { | |
position: relative; | |
overflow: hidden; | |
} | |
.karusell .page.next { z-index: 3; } | |
.karusell .page.current { z-index: 2; } | |
.karusell .page { | |
position: absolute; | |
background: black; |
This file contains 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
function Class() { } | |
Class.extend = function(data) { | |
var cls = data.init || function(){}; | |
cls.base = data.__proto__ = this.prototype; | |
cls.extend = arguments.callee; | |
cls.prototype = data; | |
return cls; | |
}; |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Testing</title> | |
<base href="https://raw.github.com/sciolist/waffles.js/master/www/"> | |
<script type="text/javascript" src="coffee-script.js"></script> | |
<script type="text/javascript" src="../out/waffles.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<script type="text/javascript" src="scrolls.js"></script> | |
<script type="text/javascript" src="tableview.js"></script> |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <limits.h> | |
#ifndef PAGESIZE | |
#define PAGESIZE 4096 | |
#endif |
This file contains 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 './oh_god_why' | |
class Object | |
include FigureItOut | |
end | |
str = "hello, world." | |
puts str.make_upper_case # HELLO, WORLD. | |
this = "this be some text" |
This file contains 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:Array.prototype.slice.call(document.getElementsByTagName("*")).forEach(function(x)%20{for(var%20i=0;%20i<x.childNodes.length;%20++i)%20{var%20v%20=%20x.childNodes[i];%20if(v.nodeType%20!=%203)%20continue;%20if(!v.textContent.match(/[^\s]/))%20continue;v.textContent%20=%20v.textContent.replace(/[\w%C3%A5%C3%A4%C3%B6%C3%85%C3%84%C3%96]+/g,%20function(t)%20{var%20up%20=%20t[0].toUpperCase()%20==%20t[0];%20var%20vals%20=%20["fuck",%20"shit",%20"damn",%20"hell",%20"cock",%20"cunt",%20"ass"];%20var%20sel%20=%20vals[Math.floor(Math.random()%20*%20vals.length)];if(up)%20sel%20=%20sel[0].toUpperCase()%20+%20sel.substring(1);return%20sel});}}); |
OlderNewer