Skip to content

Instantly share code, notes, and snippets.

$ clang++-3.5 -O3 -c look_boy_why_you_so_mad.cpp -o lbwysm.o
$ objdump -CdMintel lbwysm.o
lbwysm.o: Dateiformat elf64-x86-64
Disassembly of section .text:
0000000000000000 <findStuff(int)>:
0: 89 f8 mov eax,edi
@main--
main-- / gist:98d2b09d779b548443d9
Created November 25, 2014 21:56
Deal with it.
$ cat Obviously.java
public class Obviously {
public static void main(String[] args) {
/* a */ System.out.println("I am evil.");
/* b */ int a, b, c;
/* c */ a = b = 42;
/* d */ c = a + b;
/* e‮ ;7331 = c ‭ */
/* f */ System.out.println(c);
}
"""
Turn arrays like this:
+-0°/360° just print normally
90°/-270° swap X and Z offsets and reverse iteration direction of inner loop
180°/-180° reverse both X and Z iteration direction (downwards; start from high corner)
270°/-90° swap X and Z offsets and reverse iteration direction of outer loop
"""
data = [['0', '1', '2', '3'], ['4', '5', '6', '7'], ['8', '9', 'a', 'b']]
@main--
main-- / Awesomeness.cs
Last active August 29, 2015 14:05
BestBitstreamEUW
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BestBitstreamEUW
{
public static class Awesomeness