Skip to content

Instantly share code, notes, and snippets.

View running-average.c
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
struct running_average {
float average;
uint32_t count;
} typedef running_average;
void initialize(running_average* ra) {
View restart.c
#define _DARWIN_BETTER_REALPATH
#include <dlfcn.h>
#include <limits.h>
#include <mach-o/dyld.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char** argv) {
View applebees_per_capita.rb
# frozen_string_literal: true
require 'fileutils'
require 'json'
require 'pp'
# https://simple.wikipedia.org/wiki/List_of_U.S._states_by_population
# See July 1, 2019 estimate
STATES = {
'AL' => 4_887_871,
View move-files-from-desktop.bat
@echo off
set desktop_path="%HOMEPATH%\Desktop"
set documents_path="%HOMEPATH%\Documents"
set destination_path="%documents_path%\misc"
if not exist "%destination_path%" mkdir "%destination_path%"
forfiles /p %desktop_path% /m "*" /c "cmd /c move @file %destination_path%"
View ak-interactive-have.txt
Steaking Paints:
Streaking Grime (AK012)
Thinners:
White Spirits (AK047)
View emperors-children.txt
Noise Marine (Sonic Blaster) [16 + 4] 20
View ref-ancient-indian-society.txt
Introduction
This article provides bibliographic information on ancient Indian society from 2500 BCE until 300 CE, with most of the relevant publications relating to the period 500 BCE to 300 CE. For both periods we are almost entirely bereft of information about secular (and indeed religious) history, or political and social matters, except as filtered through a priestly lens, and as reported as asides, in their texts. Despite this, there has been a large body of scholarly writing on ancient Indian society, especially after 500 BCE when both the textual and archeological evidence becomes more transparent. There is an abundance of material derived from both sources, yet interpretation of it has always been problematic, as the conceptual frames shaping the contents of the texts must first be understood in order to ascertain how the primary data drawn upon was to be presented. In addition, one of the problems in dealing with ancient Indian society that has become very apparent since the turn of the 21st centur
View abstract-only.txt
Fractal meta-analysis and 'causality' embedded in complexity: advanced understanding of disease etiology.
Glattre E, Nygård JF.
https://www.ncbi.nlm.nih.gov/pubmed/15233878
The fractal geometry of evolution.
Burlando B.
https://www.ncbi.nlm.nih.gov/pubmed/8246501
Characterization of failure mechanism in composite materials through fractal analysis of acoustic emission signals
F.E.Silva, L.L.Gonçalves, D.B.B. Fereira, J.M.A. Rebello
View buddhism.txt
This is a list of links to articles, talks, and videos about (or vaguely related to) the Dhamma that I have read, listened
to, or watched. It is roughly in chronological order, starting in mid-2017. The first part of the list is fairly
comprehensive and represents more or less anything and everything I encountered. As time has gone on I've been a bit more
selective and included only things that I've found particulary useful or insightful. The earlier links which are not
directly related to the Dhamma are still very important because they naturally led to deeper inquiries into the nature of
the mind.
https://pste.eu/p/L2lO.html
"Learning to Be Me" by Greg Egan