Skip to content

Instantly share code, notes, and snippets.

View PatrickLerner's full-sized avatar

Patrick Lerner PatrickLerner

  • Instaffo GmbH
  • Europe
  • 15:52 (UTC +02:00)
View GitHub Profile
<div id="floater">
<div id="content">
<div class="question japanese">{{furigana:Japanese}}</div>
<div class="answer">{{English}}</div>
<div class="hidden">{{Audio}}</div>
</div>
</div>
<div class="question japanese">
<span>{{furigana:日本語}}</span>
</div>
<div class="answer">{{Meaning}}</div>
<div class="hidden">{{Audio}}</div>
/**
* Looks at the triangle references in e and replaces the oldRef with the
* newRef
*
* @param e
* the edge
* @param oldRef
* the old reference that should be replaced
* @param newRef
* the new reference
public void deletePoint(Point p) {
HashSet<Triangle> innerTriangles = new HashSet<Triangle>();
HashSet<Edge> outerEdges = new HashSet<Edge>();
// root is any outer point. From this point on we will later build the
// new triangles
Point root = null;
// build the sets noted above
try {
#!/bin/bash
OPTIND=1
ruby=0
url=""
open=0
notvertical=0
download=0
show_help () {
動物[どうぶつ] Animal
飲[の]み 物[もの] Drink
鳥[とり] Bird
焼[や]き 鳥[とり] Grilled Chicken
白鳥[はくちょう] Swan
料理[りょうり] Cooking
料金[りょうきん] Charge
授業料[じゅぎょうりょう] Tuition
給料[きゅうりょう] Salary
理由[りゆう] Reason
0: proc - (:root:) creates proc 0 (barber)
0: proc - (:root:) creates proc 2 (customer)
1: proc 1 (customer) SleepingBarberProblem.pml:47 (state 14) [haircut[me] = 0]
2: proc 2 (customer) SleepingBarberProblem.pml:47 (state 14) [haircut[me] = 0]
3: proc 1 (customer) SleepingBarberProblem.pml:49 (state 11) [(sleeping)]
4: proc 1 (customer) SleepingBarberProblem.pml:51 (state 5) [sleeping = 0]
5: proc 1 (customer) SleepingBarberProblem.pml:55 (state 4) [chair = me]
6: proc 0 (barber) SleepingBarberProblem.pml:19 (state 1) [((sleeping==0))]
7: proc 1 (customer) SleepingBarberProblem.pml:66 (state 12) [.(goto)]
8: proc 2 (customer) SleepingBarberProblem.pml:49 (state 11) [(!(sleeping))]
/*
* Patrick Lerner
* Manual Spari
*/
#include <iostream>
#include <cmath>
template <typename T, int N>
class Vector
{
"url": "https://github.com/atom/atom/releases/download/v1.4.3/atom-mac.zip",
"name": "1.4.3",
"notes": "### Notable Changes\r\n\r\n* Fixed a bug that caused...",
"pub_date": "2016-02-02T21:51:58Z"
}
@PatrickLerner
PatrickLerner / gist:b6ec4768fd3a3f2ed591e4838bc24eed
Created July 19, 2017 14:18
Balsamiq Mockups keys for mac
2.2.x
Name : Sam
Serial : eJzzzU/OLi0odswsqglOzK0xsjQzNzI2NjA1q3GuMQQAnJAJjw==
3.3.x
Username: personal
eJzzzU/OLi0odswsqilILSrOz0vMqbFEAjXONYY1fu6ufgA/CA4X