Skip to content

Instantly share code, notes, and snippets.

Looking for a laptop

Criterion #0.23.5.17(magic-iii)

Color is also a good criterion to pay attention to. For instance, I would not buy a white laptop. This is of course a matter of taste. However, should you find a bright orange laptop, don't think, buy it immediately because you're done looking as those are the best ones. Red laptops are slightly faster than the blue models because of red/blue-shift and the Doppler effect, but they also appear slightly closer than they actually are. Green laptops use less energy, while yellow ones don't break as easily if you accidentally drop one (just like Walkmans).

@tripzilch
tripzilch / 1KBWC.md
Last active December 15, 2015 01:19
Summary of rules, useful house rules and notes on 1000 Blank White Cards

1000 BLANK WHITE CARDS

The game consists of whatever the players define it as by creating and playing cards. There are no initial rules, and while there may be conventions or House Rules, it is in the spirit of the game to spite and explode these conventions, as well as to adhere to them religiously.

Prologue

Decide how many cards you will use. Maybe 60 for 3-4 players and 90 for 5-6 players. Or maybe less, 40 can also be good.

Ben u al PAUS?? Neem mee !!

Setting Orange, Discord 52, 3179 YOLD


PAUS PAS

@tripzilch
tripzilch / VoorbeeldFunctie.java
Created May 26, 2013 18:53
Een voorbeeld programma voor het declareren van functies en klasses in Java. Geschreven voor Ebbe van DJO.
public class VoorbeeldFunctie {
/* De functie die "main" heet is speciaal, die wordt als eerste
aangeroepen als je het programma start. */
public static void main(String [] args) {
System.out.println("Dit programma heeft een voorbeeldfunctie.");
/* Je roept functies op dezelfde manier aan als in Javascript */
groet("Ebbe");
System.out.println("33 keer 61 is: " + vermenigvuldig(33, 61));
@tripzilch
tripzilch / fixedfixer.js
Last active December 17, 2015 18:49
Bookmarklet for unhinging those pesky position:fixed elements plaguing the web since 2012-13, unwanted "nav" bars taking up your precious vertical screenspace (especially when at 150% zoom on a netbook).Tested for Firefox.
javascript:(function() { var s,e,i,ee=document.getElementsByTagName('*'); for(i=0; e=ee[i]; i++) { s=getComputedStyle(e); if (s && s.position == 'fixed') e.style.position='static'; } })();
/* Bookmarklet for unhinging any pesky position:fixed elements plagueing the web these days.
Tested for Firefox
*/
@tripzilch
tripzilch / carbonara.md
Last active January 6, 2016 15:30
Recept Pasta Carbonara

PASTA CARBONARA

  • spekjes op laag vuur beginnen uit te bakken in een koekepannetje/hapjespan/braadpan.
  • kluts drie (of meer) eieren in een kommetje, met een scheutje slagroom (of creme fraiche, of volle melk), en versgemalen zwarte peper.
  • doe de droge pasta (fusilli is voor bijna alle doeleinden de optimale vorm voor pasta) alvast in een pan met wat zout.
  • vul je waterkoker en doe die alvast aan zodat je straks snel kokend water hebt.
  • snipper een ui.
  • doe de ui pas in de koekepan als de spekjes bruin beginnen te worden. als het goed is heb je een goede laag spekvet, waar de ui langzaam in kan garen ("confijten"), die wordt dan zacht en zoet.
  • eventueel ook een gesnipperd teentje knoflook (of twee).
@tripzilch
tripzilch / game-loop.md
Last active April 18, 2017 22:08
Timing en de gameloop

Timing en de game-loop

lol, sam snapt mijn gameloop niet ofzo :P "die while loop is niet goed ofzo" stel je pc loopt vast dan zou ie oneindig veel updates kunnen krijgen

http://gameprogrammingpatterns.com/game-loop.html hmm ik zie toch echt dat ze t hier ook doen XD

Ah nice dus ik had het goed onthouden? :-) Volgens mij was dat ook precies het artikel waar ik dit uit geleerd heb.

@tripzilch
tripzilch / blobs_aa.pde
Last active August 29, 2015 14:19
Processing: 2d implicit metaballs surface with anti-aliasing
import java.lang.Math; // de functies in java.lang.Math zijn een stuk sneller
// dan die van Processing zelf.
class Blobs {
int N;
int[] rrr;
float[] cx, cy, cr;
private float time;
Blobs(int N) {
this.N = N;
@tripzilch
tripzilch / blobs_simple.pde
Created April 24, 2015 16:03
Simple 2D Blobs (metaballs / implicit surface)
import java.lang.Math; // de functies in java.lang.Math zijn een stuk sneller
// dan die van Processing zelf.
class Blobs {
int N;
int[] rrr;
float[] cx, cy, cr;
private float time;
Blobs(int N) {
#ifdef GL_ES
precision mediump float;
#endif
#define PROCESSING_TEXTURE_SHADER
uniform sampler2D texture;
uniform vec2 C;
uniform vec2 P;
uniform vec2 M;