Skip to content

Instantly share code, notes, and snippets.

View rcsmit's full-sized avatar

Rene Smit rcsmit

View GitHub Profile
monsterlist <- c() #This will hold the number of disabled in each sim run
for (h in 1:100){ #Repeat simulation 100 times
disabled <- c() #This will hold the disabled within each sim run
population <- as.vector(c(rep(0,10000))) #The population of 10,000
/* LETS LOOK AT THE WORLD DATA */
FILENAME REFFILE '/Data/owid-covid-data.xlsx';
PROC IMPORT DATAFILE=REFFILE DBMS=XLSX OUT=WORK.IMPORT;GETNAMES=YES;RUN;
proc freq data=import nlevels;table date;run;
proc freq data=import nlevels;table location;run;
data import; set import;
new = input(date,yymmdd10.);
drop date;
rename new=date;
run;
// When an ad is detected, this script mutes the Spotify music player and plays custom audio files instead
// Paste in console of web app / PWA
// Add your own audio file URLs below to replace the ads
// Or empty to play nothing
//-------------------------------------------------------//
let tunes = [
/*
* Copyright (c) 2017, Jeff Hlywa ([email protected])
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@aemkei
aemkei / LICENSE.txt
Last active March 7, 2025 20:08 — forked from 140bytes/LICENSE.txt
Binary Tetris - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE