Skip to content

Instantly share code, notes, and snippets.

View flosommerfeld's full-sized avatar
:atom:
Coding

Florian Sommerfeld flosommerfeld

:atom:
Coding
View GitHub Profile
@flosommerfeld
flosommerfeld / genTest.py
Last active November 20, 2016 17:18
just some simple codegenerators for a project
import random
#Codegenerator 1:
value = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"]
digit1 = random.randint(0,35)
digit2 = random.randint(0,35)
digit3 = random.randint(0,35)
digit4 = random.randint(0,35)
@flosommerfeld
flosommerfeld / keybase.md
Created August 20, 2018 15:50
Keybase.io proof

Keybase proof

I hereby claim:

  • I am flosommerfeld on github.
  • I am flosommerfeld (https://keybase.io/flosommerfeld) on keybase.
  • I have a public key ASA3g33zu1TBtYTibX3RNP2i32hSBytPxIFoyHdYw-Tg6Qo

To claim this, I am signing this object:

@flosommerfeld
flosommerfeld / pypi-mirror.md
Last active September 4, 2021 18:05 — forked from aschmu/pypi-mirror.md
Setting up a PyPi mirror

https://www.linuxhowto.net/how-to-setup-local-apt-repository-server-on-ubuntu-20-04/

I) Introduction

Taken from: [https://groups.google.com/forum/#!topic/devpi-dev/S-3ioWILTiY]).

We wanted to do some python developpement but we had a problem : our working network is completely isolated from any internet access, only having servers providing services like distribution packages repository mirror and web servers. The question then was how to make a full pypi mirror for usig pip install and pip search.

This is possible to be done using devpi, a web server, bandersnatch and an external hard drive.

@flosommerfeld
flosommerfeld / events.json
Created October 7, 2021 11:46 — forked from nikolak/events.json
Simple flask example that uses fullcalendar.io
[
{
"title": "All Day Event",
"start": "2014-09-01"
},
{
"title": "Long Event",
"start": "2014-09-07",
"end": "2014-09-10"
},