Skip to content

Instantly share code, notes, and snippets.

@simonw
simonw / how-to.md
Last active June 13, 2024 09:35
How to create a tarball of a git repository using "git archive"
@tsu84
tsu84 / karbonhara.txt
Last active April 6, 2021 12:19
La ricetta per gli spaghetti alla Karbonhara
Spaghetti alla Karbonhara
per n porzioni:
Ingredienti (per n*130 grammi di pasta):
- n*130gr di pasta (spaghetti o bombolotti consigliati)
- n*1 uovo/a
- n*100gr di guanciale tagliati a listarelle o a cubetti con sezione da 1cm
- n cucchiai/o di pecorino romano
- pepe
@darkwave
darkwave / Agent.pde
Last active August 29, 2015 14:12
Simple Path Finding using NavMesh for Point and Click Adventure Games for Processing. It depends on AI for Games library by Peter Lager and it uses Polygon class by Roman Kushnarenko. SVG file mesh.svg included as source for the navmesh (add it to the /data folder).
class Agent {
PVector pos, currentTarget;
ArrayList<PVector> path = new ArrayList<PVector>();
ArrayList<PVector> newPath;
int pathIndex = 0;
Agent(PVector _pos) {
pos = _pos;
currentTarget = pos;
newPath = path;
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active June 28, 2024 10:38
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

// shapes: minimal program to explore OpenVG
// Anthony Starks (ajstarks@gmail.com)
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <time.h>
#include "VG/openvg.h"
#include "VG/vgu.h"
#include "EGL/egl.h"
@sergej-brazdeikis
sergej-brazdeikis / grid960.less
Created July 14, 2012 09:25
grid 960 using less.js
/*
rewriten to less.js by Sergej Jevsejev
@date 2012 07 14
@webpage http://sjevsejev.blogspot.com
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
@steveworkman
steveworkman / gist:3097598
Created July 12, 2012 11:31 — forked from hileon/gist:1311735
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Windows)

General

Ctrl+KB toggle side bar
Ctrl+Shift+P command prompt
Ctrl+` python console
Ctrl+N new file

Editing