View zigzag.c
/* Requires raylib (compile with -lraylib) */ | |
#include <raylib.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define WIDTH 400 | |
#define HEIGHT 240 | |
#define SAFE_AREA 50 | |
#define BASE_COUNT 500 | |
#define PER_LEVEL 100 |
View mandelbrot.c
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <errno.h> | |
#include <pthread.h> | |
#include <getopt.h> | |
#include <SDL2/SDL.h> | |
#define DEFAULT_ITER_COUNT 768 | |
#define OPT_CLEAR 1 |
View allGauGANLabels.user.js
// ==UserScript== | |
// @name All GauGAN Labels | |
// @version 1 | |
// @grant none | |
// @include http://34.216.122.111/gaugan/ | |
// ==/UserScript== | |
function selectCategoryAll() | |
{ | |
var palette = document.getElementById('palette'); |
View rainbow.v
module rainbow ( | |
input clk, | |
output red, | |
output grn, | |
output blu, | |
); | |
reg [26:0] counter; | |
wire [11:0] t; | |
wire [11:0] cmp; |
View gt-reverse.js
// ==UserScript== | |
// @name Google U.G.E. | |
// @version 1.1 | |
// @grant none | |
// @include https://translate.google.com/* | |
// ==/UserScript== | |
window.addEventListener('load', function() { | |
var btn = document.createElement('div'); | |
btn.setAttribute('class', 'jfk-button-standard jfk-button-narrow jfk-button'); |
View fakehash.patch
diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c | |
index 3a1735e..67cf753 100644 | |
--- a/sha1dc/sha1.c | |
+++ b/sha1dc/sha1.c | |
@@ -1829,25 +1829,9 @@ int SHA1DCFinal(unsigned char output[20], SHA1_CTX *ctx) | |
ctx->buffer[63] = (unsigned char)(total); | |
sha1_process(ctx, (uint32_t*)(ctx->buffer)); | |
output[0] = (unsigned char)(ctx->ihv[0] >> 24); | |
- output[1] = (unsigned char)(ctx->ihv[0] >> 16); | |
- output[2] = (unsigned char)(ctx->ihv[0] >> 8); |
View hexedit_vim_cursor.patch
--- interact.c_ 2016-11-03 16:19:44.646114334 -0400 | |
+++ interact.c 2016-11-03 16:15:20.402249954 -0400 | |
@@ -339,6 +339,25 @@ | |
oldbase = base; | |
/*printf("*******%d******\n", key);*/ | |
+ if (hexOrAscii) { | |
+ /* Hex-mode-only key binds */ | |
+ switch (key) | |
+ { |
View icia.sh
#!/bin/bash | |
# Requirements: | |
# * qrencode <https://fukuchi.org/works/qrencode/> (apt-get install qrencode) | |
# * netcat <http://nc110.sourceforge.net/> | |
if [ -z "$1" ]; then | |
echo "Usage: $0 filename" >&2 | |
exit 2 | |
fi |
View ScreenTint.cs
// Created by flarn2006 <flarn2006@gmail.com> | |
// Licensed under MIT License | |
using System; | |
using System.Runtime.InteropServices; | |
namespace YourNamespaceHere //TODO: change me | |
{ | |
static class ScreenTint | |
{ |
View Makefile
#--------------------------------------------------------------------------------- | |
.SUFFIXES: | |
#--------------------------------------------------------------------------------- | |
ifeq ($(strip $(DEVKITARM)),) | |
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM") | |
endif | |
TOPDIR ?= $(CURDIR) | |
include $(DEVKITARM)/3ds_rules |
NewerOlder