Skip to content

Instantly share code, notes, and snippets.

View Niduroki's full-sized avatar
📷

Christine S. Niduroki

📷
View GitHub Profile
@Niduroki
Niduroki / gist:5659360
Created May 27, 2013 22:21
Picture testing
<?php
function ls($directory) {
$result = array();
$handler = opendir($directory);
while ($file = readdir($handler)) { if ($file !== "." and $file !== "..") { $result[] = $file; } }
closedir($handler);
return $result;
}
?>
<!DOCTYPE html>
🏁 🍇
🔂 i 🆕⏩⏩ 1 101 ❗️ 🍇
↪️ i 🚮 15 🙌 0 🍇
😀 🔤foobar🔤 ❗️
🍉
🙅↪️ i 🚮 3 🙌 0 🍇
😀 🔤foo🔤 ❗️
🍉
🙅↪️ i 🚮 5 🙌 0 🍇
😀 🔤bar🔤 ❗️
@Niduroki
Niduroki / GenPersoNr.js
Last active April 2, 2024 22:36
Generate German ID Card Numbers, now also in Javascript https://jsfiddle.net/wntmj0vu/
<h1>Perso-Nummer Generator</h1>
Geburtsdatum:<br>
<input id="dob"> (Format: YYMMDD, also 01.02.1989 = 890201)<br>
Perso gültig bis:<br>
<input id="bbf"> (Format: YYMMDD, also 01.02.2025 = 250201)<br>
<a href="#" id="fill" onclick="fillnr">Personalausweisnummer erstellen</a><br>
<span id="out1" style="font-family: monospace;">...</span><br>
<span id="out2" style="font-family: monospace;">...</span><br>
<span id="out3" style="font-family: monospace;">...</span>