Skip to content

Instantly share code, notes, and snippets.

View P3nny's full-sized avatar

Patricia Ennenbach P3nny

  • Germany, Cologne
View GitHub Profile
@P3nny
P3nny / dependencies_package.json
Created December 14, 2020 10:25
i18n-railslove
{
"dependencies": {
"i18next": "^19.8.4",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-http-backend": "^1.0.21",
"react-i18next": "^11.7.3"
},
"devDependencies": {
"eslint-plugin-jsx-a11y": "^6.3.1",
"i18next-parser": "^3.3.0"
@P3nny
P3nny / geopy.ipynb
Created February 17, 2016 21:42
Playing around with geopy using "Geburtsorte" - Data from Moers - [https://www.offenesdatenportal.de/dataset/geburtsorte-der-moerser-bevoelkerung]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nny
P3nny / make_it_pretty.ipynb
Created January 16, 2016 00:55
Make it pretty - Playing around with CSS, SVG, Animated CSS in Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nny
P3nny / sirenenliste.ipynb
Last active January 4, 2016 21:56
Data Cleansing an offenen Daten aus Köln
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nny
P3nny / wichteln.py
Created December 21, 2015 20:38
Wichtel-Programm für die Familienweihnachtsfeier
# -*- coding: UTF-8 -*-
# Patricia Ennenbach - 15-12-21 - Wichteln
# Aufgaben:
# - Jedes Kind soll einem Kind etwas schenken
# - Kinder sollen sich nicht selbst beschenken
# - Kinder sollen nicht ihre Geschwister beschenken
# - Jedes Kind soll nur einmal beschenkt werden
# Mein Problem:
# Wenn z.B "Kind == Wichtel" ist, müsste für dieses Kind ein neuer Wichtel gesucht werden, mein Weg "kinder.append(kind)" ist aber nicht ideal.
@P3nny
P3nny / ImageMagick.ipynb
Last active December 18, 2015 22:23
Image Magick Cheat Sheet - Fun and easy picture editing in Linux command lIne
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nny
P3nny / chart.js
Created July 27, 2015 18:33
Cologne Pics - Takes names of city quarters and displays recently posted instagram pics tagged with city quaters name.
$(document).ready(function() {
tooltipdiv = d3.select("body")
.append("div")
.attr("class", "tooltip");
function mousemove(text, text2){
tooltipdiv
.style("visibility", "visible")
.style("opacity", 1)
.style("top", d3.event.pageY+15 + "px")
@P3nny
P3nny / index.html
Last active August 29, 2015 14:20
Youth unemployment rate in selected european countries.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
<style type="text/css">
body {
background-color: white;
@P3nny
P3nny / alg2.csv
Created May 6, 2015 20:56
Köln ALG 2 - Time Data
jahr raum zei_id zeile zahl
2005 Stadt Koeln 10 Personen in Bedarfsgemeinschaften 116107.0
2005 Stadt Koeln 20 Erwerbsfaehige Leistungsberechtigte 85547.0
2005 Stadt Koeln 30 darunter Frauen 42046.0
2005 Stadt Koeln 40 darunter Auslaender/-innen 30486.0
2005 Stadt Koeln 60 Bedarfsgemeinschaften 65098.0
2005 Stadt Koeln 70 darunter Single-BG 37718.0
2005 Stadt Koeln 80 darunter Alleinerziehend 10118.0
2005 Stadt Koeln 90 darunter Partner-BG ohne Kinder 6877.0
2005 Stadt Koeln 100 darunter Partner-BG mit Kind(ern) 10372.0
@P3nny
P3nny / alg2.csv
Last active August 29, 2015 14:20
Data for Public aid in cologne city quarters
jahr raum zei_id zeile zahl
2005 Stadt Koeln 10 Personen in Bedarfsgemeinschaften 116107.0
2005 Stadt Koeln 20 Erwerbsfaehige Leistungsberechtigte 85547.0
2005 Stadt Koeln 30 darunter Frauen 42046.0
2005 Stadt Koeln 40 darunter Auslaender/-innen 30486.0
2005 Stadt Koeln 60 Bedarfsgemeinschaften 65098.0
2005 Stadt Koeln 70 darunter Single-BG 37718.0
2005 Stadt Koeln 80 darunter Alleinerziehend 10118.0
2005 Stadt Koeln 90 darunter Partner-BG ohne Kinder 6877.0
2005 Stadt Koeln 100 darunter Partner-BG mit Kind(ern) 10372.0