Skip to content

Instantly share code, notes, and snippets.

View paraboul's full-sized avatar
🏠
Working from home

Anthony Catel paraboul

🏠
Working from home
View GitHub Profile
var IRCBot = new Class({
Implements: Events,
socket: null,
initialize: function(opts) {
this.socket = new Ape.sockClient(opts.server.port, opts.server.ip, {flushlf: true});
@paraboul
paraboul / command line
Created March 14, 2012 16:03
JavaScript + C Preprocessor
/usr/bin/cpp -P -undef -Wundef -std=c99 -nostdinc -Wtrigraphs -fdollars-in-identifiers -C < foo.js
function sendToMany(users, cmd, data) {
var chan = Ape.mkChan("*" + +new Date());
for (var i = 0; i < users.length; i++) {
users[i].join(chan);
}
chan.pipe.sendRaw(cmd, data);
Ape.delChan(chan);
}
@paraboul
paraboul / cover.html
Created August 23, 2012 00:04
random cover
<html>
<head></head>
<body>
<canvas id="canvas" width="800" height="600"></canvas>
<script>
var canvas = document.getElementById("canvas").getContext('2d');
canvas.shadowColor="#000";
@paraboul
paraboul / build.sh
Last active August 29, 2015 13:55
Stripe CTF level0
#!/bin/sh
gcc -O3 -static -static-libgcc -fdata-sections -ffunction-sections -s -march=native level0.c -o level0 -Wl,--gc-sections
PRESS RELEASE: IRC NETWORKS UNDER SYSTEMATIC ATTACK FROM GOVERNMENTS
Written by QuakeNet on Thursday 06 February 2014
IRC networks have hosted hundreds of thousands of users discussing every topic imaginable for over two decades. QuakeNet has grown to be one of the largest and we have a diverse base of users connecting from all corners of the globe. Despite the relatively recent dominance of the large social networks IRC maintains its position as a highly relevant and popular platform for free communication, free idea sharing and free expression.
Many of our users are notably technologically capable and started at a young age sharing and learning by using IRC as their open communications platform. Without many internet users even knowing IRC networks exist it is likely that IRC networks have played a key role in shaping the internet itself as well as the people that help develop the technologies behind the internet. All of the large IRC networks operate on a non-profit, sponsor-led basis. There is no centra
/bin/date > /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts/.dir
mkdir: /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts: File exists
/bin/date > /private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-tidy/Release+Asserts/.//.dir
llvm[6]: Compiling IncludeDirectivesTest.cpp for Release+Asserts build
if clang++ -I/private/tmp/llvm3520150421-46957-12ddqem/include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../../../include -I/private/tmp/llvm3520150421-46957-12ddqem/tools/clang/tools/extra/unittests/clang-modernize/../../clang-m
@paraboul
paraboul / keybase.md
Created November 17, 2016 15:41
keybase.md

Keybase proof

I hereby claim:

  • I am paraboul on github.
  • I am paraboul (https://keybase.io/paraboul) on keybase.
  • I have a public key whose fingerprint is 36FA 2119 972B 0A6A 735B 56F0 660F 1185 35C9 CC94

To claim this, I am signing this object: