For when you aren't loading images.
import Foundation
public class Future<Type> {
private var store: Type?
private var mutex: pthread_mutex_t
// Knowledge is power | |
// This is trivial, in the public domain, do whatever you want, no warranty, etc | |
// (I think this only works with GCC and Clang) | |
#include <typeinfo> | |
#include <iostream> | |
#include <cxxabi.h> | |
struct A { | |
virtual void print(std::ostream& stream) { |
/* | |
The RiscBEE ALU in Chisel | |
I rewrote the ALU for github.io/donn/RiscBEE in Chisel in the initial research phase for Phi… | |
I uh. Wasn't a fan. | |
Scala | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or |
#!/usr/bin/env ruby | |
# TM4C123GH6PM Environment Mac Setup | |
# | |
# This is what I do when I procrastinate. | |
# | |
# I recommend you have homebrew pre-installed for this, but the script | |
# will try to install it anyway. | |
# | |
# (To get STM32 working on Mac instead, try |
// attempted to replace GCD but it turns out GCD was not in fact broken so uh Linux | |
import Foundation | |
import CThreadPool | |
var pool: threadpool? | |
public class Future { | |
private var semaphore: DispatchSemaphore | |
private var store: Any? | |
private var executor: () -> Any |
#!/usr/bin/env quips | |
/* | |
Requires quips - github.com/donn/quips | |
yeet | |
Swift | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or |
# This file was automatically generated by SWIG (http://www.swig.org). | |
# Version 4.0.2 | |
# | |
# Do not make changes to this file unless you know what you are doing--modify | |
# the SWIG interface file instead. | |
from sys import version_info as _swig_python_version_info | |
if _swig_python_version_info < (2, 7, 0): | |
raise RuntimeError("Python 2.7 or later required") |
Download and install this:
http://bleyer.org/icarus/iverilog-v11-20190809-x64_setup.exe
(This comes with both IcarusVerilog and GTKWave.)