Skip to content

Instantly share code, notes, and snippets.

View Cxarli's full-sized avatar
🔓
'; DROP TABLE bugs --

Charlie Cxarli

🔓
'; DROP TABLE bugs --
View GitHub Profile
@Cxarli
Cxarli / CAPL.rb
Created August 1, 2015 22:20
CAPL.rb v1.1
# Custom class for errorcodes
class ERR
def self.ERR; -1 end
def self.OK; 0 end
def self.EXIT; 1 end
def self.UNKNOWN; 2 end
def self.EMPTY_STACK; 3 end
def self.get x
case x
@Cxarli
Cxarli / [0-28] {4} % 4 == 0
Created June 30, 2015 19:08
[0-28] {4} % 4 == 0
This file has been truncated, but you can view the full file.
1+1+1+1 = 4
1+1+1+5 = 8
1+1+1+9 = 12
1+1+1+13 = 16
1+1+1+17 = 20
1+1+1+21 = 24
1+1+1+25 = 28
1+1+2+4 = 8
1+1+2+8 = 12
1+1+2+12 = 16
@Cxarli
Cxarli / Math.cs
Last active August 29, 2015 14:20
using System;
namespace Math
{
public class Math
{
int[] stack=new int[1024];
int pointer=2;
public Math ()
public class Math {
int[] stack=new int[1024];
{
stack[0]=1;
stack[1]=1;
}
int pointer=2;
public Math(String[] args) {
main();