Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
jfmherokiller / compile_commands.json
Created September 27, 2017 16:04
build ear arguments example
[
{
"arguments": [
"c++",
"-c",
"-DHAVE_CONFIG_H",
"-I.",
"-I../..",
"-Wall",
"-fno-strict-overflow",
@jfmherokiller
jfmherokiller / userscript.js
Last active September 28, 2017 14:14
fa material hack
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
(function defer() {
if (window.jQuery) {
class Steem < Formula
desc "Proof of Work blockchain with an unproven consensus algorithm."
homepage "https://steemit.com/"
url "https://github.com/steemit/steem.git",
:tag => "v0.19.0"
depends_on :macos => [:yosemite, :el_capitan, :sierra]
depends_on "cmake" => :build
depends_on "autoconf" => :build
@jfmherokiller
jfmherokiller / throwme.js
Last active December 19, 2017 06:59
throwable Discord Emojis
/*
* throwable
* JQuery plugin
*/
/**------------------------------------**/
// CREDITS
/**------------------------------------**/
/*
- Mr. Doobs :: http://mrdoob.com/92/Google_Gravity
@jfmherokiller
jfmherokiller / Scrollbar.as
Created February 6, 2018 18:44
currentScrollbar CoC
/**
* ScrollBar.as
* Keith Peters
* version 0.9.10
*
* Base class for HScrollBar and VScrollBar
*
* Copyright (c) 2011 Keith Peters
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
@jfmherokiller
jfmherokiller / i7.pl
Last active February 25, 2018 17:38
i7 script for inform7
#!/usr/bin/perl
#
use integer;
use Cwd qw(getcwd abs_path);
use Getopt::Std;
use File::Basename;
use File::Find;
$Getopt::Std::STANDARD_HELP_VERSION=1;
$idesettings{'PREFIX'}="/usr/local";
/*
Copyright Alex Leone, David Nufer, David Truong, 2011-03-11. kathack.com
javascript:var i,s,ss=['http://kathack.com/js/kh.js','http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);
*/
var BORDER_STYLE = "1px solid #bbb",
CSS_TRANSFORM = null,
CSS_TRANSFORM_ORIGIN = null,
POSSIBLE_TRANSFORM_PREFIXES = ['-webkit-', '-moz-', '-o-', '-ms-', ''],
@jfmherokiller
jfmherokiller / CMakeLists.txt
Last active July 12, 2024 23:26
towel.blinkenlights.nl switch example
cmake_minimum_required(VERSION 3.5)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 11)
add_executable(stelenet stelnet.c)
target_link_libraries(stelenet -lnx )
// ArrowKeyStringConstruction.cpp : Defines the entry point for the console application.
//
//#pragma warning(disable : 4996)
// System headers
#include <switch.h>
//#include <conio.h>
#!/usr/bin/python3
"""
WARNING: The code you are about to view is DISGUSTING
I wrote most of it months ago, so don't ask me what it's doing, or why.
"""
import struct
import sys