Skip to content

Instantly share code, notes, and snippets.

View benwaffle's full-sized avatar
🍝
best spaghetti in town

Ben Iofel benwaffle

🍝
best spaghetti in town
View GitHub Profile
@joepie91
joepie91 / index.js
Last active June 23, 2023 23:42
Breaking CloudFlare's "I'm Under Attack" challenge
'use strict';
const parseExpression = require("./parse-expression");
function findAll(regex, target) {
let results = [], match;
while (match = regex.exec(target)) {
results.push(match);
}
@ptomato
ptomato / css.md
Created August 12, 2015 04:27
GTK CSS properties
@Prince781
Prince781 / DoubleBuffering.java
Last active December 22, 2015 19:19
Example double-buffering using Canvas2D; excerpt from Project X.
/*******************************
* Example of double buffering
* in Canvas2D
********************************/
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.util.*;