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 <dirent.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <time.h> | |
#include <string.h> | |
#define MAX_PATH_LEN 1024 |
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:(function(){[].slice.call(document.querySelectorAll("*")).filter(function(e){return-1==e.innerHTML.indexOf("<")}).forEach(function(e){var n=Math.random()<.7?"aeiou":"äeiöy";e.innerHTML=e.innerHTML.replace(/[aeiouyåäö]+/gi,function(e){var r=n[0|5*Math.random()];return e[0].toUpperCase()==e[0]&&(r=r.toUpperCase()),r})})}()); |
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:!function(){function e(e){var o=Math.random()<.7?"aeiou":"äeiöy";return e.replace(/[aeiouyåäö]+/gi,function(e){var n=o[0|5*Math.random()];return e[0].toUpperCase()==e[0]&&(n=n.toUpperCase()),n})}function o(n){n.nodeType==Node.TEXT_NODE&&/\S/.test(n.nodeValue)?n.nodeValue=e(n.nodeValue):[].slice.call(n.childNodes).map(o)}o(document.body)}(); |
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
from random import random | |
def maybe_raise(chance, n): | |
for x in xrange(n): | |
try: | |
if random() < chance: | |
raise ValueError("derp") | |
except ValueError: | |
pass |
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
%I+k=0](r$*1000]$+0500]$i])A(0#! | |
>`11 @!>(B$+1])BxB=A],52 | |
+k>0],52 >%J,31 | |
>ï42 xB>A]@Z(0$+30]`$1 | |
&## >(C$+1])C#Z | |
e@#+C=0]%K(A$-B]=$]%L#$@$! | |
>%M=C]&%Nv | |
xC>300]#O<9@0 | |
#0@1 xC>250]#P | |
xC>200]#Q#1@2 |
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
commit 84a32fa532f9fc7871ff720c82663d72f7a87b61 | |
Reflog: HEAD@{3 seconds ago} (Aarni Koskela <[email protected]>) | |
Reflog message: reset: moving to HEAD~ | |
Author: Aarni Koskela <[email protected]> | |
Date: 2 weeks ago | |
Admin for achieve | |
commit 019085e0b95f32aa45845c50b48b0ab540a6a57c | |
Reflog: HEAD@{9 seconds ago} (Aarni Koskela <[email protected]>) |
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 java.io.ByteArrayOutputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.net.Socket; | |
import java.util.Enumeration; | |
import javax.servlet.ServletConfig; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletOutputStream; | |
import javax.servlet.UnavailableException; |
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
[uwsgi] | |
xml = false | |
yaml = false | |
json = false | |
ssl = false | |
pcre = false | |
routing = false | |
debug = false | |
unbit = false | |
malloc_implementation = libc |
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
// by dave whyte https://dribbble.com/beesandbombs | |
int[][] result; | |
float t; | |
void setup() { | |
setup_(); | |
result = new int[width * height][3]; | |
} | |
void draw() { |
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
[].slice.call(document.querySelectorAll("div.post")).map(function(post){ | |
var classList = [].slice.call(post.classList); | |
var categories = classList | |
.filter(function(c){return !c.indexOf("category-");}) | |
.map(function(c){return c.replace("category-","");}); | |
var postId = classList.filter(function(c){return !c.indexOf("post-");})[0]; | |
postId = (postId ? 0 | postId.split("-",2)[1] : null); | |
var title = post.querySelector("a[rel=bookmark]").innerText; | |
var html = post.querySelector(".expand code").innerText; | |
return {title: title, categories: categories, html: html, id: postId}; |