Skip to content

Instantly share code, notes, and snippets.

View RcColes's full-sized avatar

Raef Coles RcColes

View GitHub Profile
@RcColes
RcColes / makefile
Last active September 14, 2019 12:09
Super makefile
# Copyright 2019 Raef Coles
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Copyright 2019 Raef Coles
#===============================================================================
# You can touch this bit
EXE=swarm_control
SRC_DIR =./src
BIN_DIR =./bin
BLD_DIR =./build
#!/bin/bash
awk -v newsums="$(makepkg -g)" '
BEGIN {
if (!newsums) exit 1
}
/^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*$/ {
if (!i) print newsums; i++
next
concatenation
concentration
conception
conceptualisation
conceptualization
conciliation
concoction
concretion
condemnation
condensation
cabinetmakers
cabinetmaking
cabinetmaking's
calcification
calcification's
calculatingly
calligraphers
calligraphist
calligraphist's
calligraphists
Hey check this out
https://asciinema.org/a/CVh9ooIf4CMiDWQAuG7gxDuMk
iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAjxYklEQVs0VmjplR5khmhpgxdhxOkzTc9DK0vfjud35HVv6+KTyY+c3O0eosaABwMOtwDYXUKHW+RyIsDjxoDXiy6Jgc+HsJaHQuD2CV1eaMgDy+Z8m5bD6wunhPWZzcL0E9m/zFKFAv/JLdI3J6sc/Axbq9OHtdfi8W8OEBHxaCwm+1xcAqIxYgn7f4pE8f8F2xt0uxKP4SAWxUAkjIRJcZhEQ0GmjIsCWEQYlWEglGPC4EsZjocwkhiCdFgG1LUThNE0+lUhJA0xgjhVC0GEtmjJEp6ksE8hYItGl3AqRUAyNAepjDyVkaazMrYE2bwCQPAUpIHHnLISC9JU4nUUAnEZDaQtMUlqaRTArNprGVVBpNZzDwGIA0ATIZCYDgq9VMTLJaJcwpYIUCqiEH+K+FdR+plimShVJOWqFEAAKmXJZ/nFkrxQlL/TEA9yKRYB6ARAIeIYKiJABudyqFA2YFcsIl/pIYUHnZVk4aLUhDGcouAoZQy1cl2r5mj160CtfQkUKgFQaUQaHQK0ehRiqJEpeECu5LPBV0fYmjUnNX1BreilYnUGvWgVbHATAxnWHj/0O/yVlaNxg3WMZNhmnzlddsTpQM1uudEpVZjVqIYQ4ZgARYRCIZ/PF3E5DN5LIfcFn/fsq+AUwNXrco6Md8fqXHK3e61TaHwuaUWR1Sp1MI2O8wfJAZbumSfEnpcModDulBYzw2aUmfWETYs5DRKXWeJ3KJ1evcOj03hMcrsO1Wq4UgkfJTgilM8J5JhWsK5JlG+tKo5lk2UbuZsNnkwGhXa00ylVGmMEgUOqlUjcuUCFb3KqzC611q5VmpV6g0Krkxk0uNkgsxklTovc59T4XVqfTw+8fobbZw6I0Ko0Vts6oddi0sjsuldnsUsGJWq8xikdrMcpdd7bfpg47NcMAQD5bXB7LF6fjSTNkYiVFQy5PF6r3bFpteldHp3Xv5mImIpZX6uZ6HXo
@RcColes
RcColes / decode.py
Created August 27, 2018 13:15
Decoded for CDPR livestream
import numpy as np
import matplotlib.pyplot as plot
import string
symbols = " " + string.ascii_letters + string.digits + "+" + "/"
# symbols = "S"
chars=[]
np.set_printoptions(threshold=np.nan)

Keybase proof

I hereby claim:

  • I am rccoles on github.
  • I am rccoles (https://keybase.io/rccoles) on keybase.
  • I have a public key whose fingerprint is C1AB 06CC 4912 F217 66F3 2630 A305 64F7 C6D7 A7CE

To claim this, I am signing this object:

@RcColes
RcColes / Makefile
Last active February 25, 2018 19:57
# Makefile
EXE=d2q9-bgk
CC=gcc
CFLAGS= -std=c99 -Wall -O3
LIBS = -lm
SIZES = 128 256