Skip to content

Instantly share code, notes, and snippets.

View nop33's full-sized avatar
🏗️
Building at @alephium

Ilias Trichopoulos nop33

🏗️
Building at @alephium
View GitHub Profile

Zurich Rooftop Day

Things to know about the Zurich Rooftop Day [5]

  1. Several rooftops and gardens in Zurich are organizing parties/activities on the same day
  2. You create your own program (ex: open-air cinema, a round of yoga, a ping-pong tournament, a concert, a reading, a photo exhibition, a barbecue,...)
  3. Your event will be publicly publicized on Ron Orp and in the newsletter the day before the Rooftop Day.
  4. Even if your event is made public, you decide how many people will attend your event. You can also confidently keep a guest list that you have to sign up for and close the door if it gets too crowded.
  5. Just as with the number of people you decide yourself when your event begins and when it ends. Remember: You're the organizer, not Ron Orp.
  6. Participation is free.

Need to decide/todo [1]

<section>
Hallo! Wir sind Ilias und Sibylle, ein junges Paar, dass die letzten vier Jahre in Genf lebte. Nun sind wir auf der Suche nach der perfekten Wohnung in Zürich. Wir sind diskret, sauber und verantwortungsbewusst. Wir geniessen es zusammenzuleben und zu reisen.
</section>
<section>
<h1>Über Ilias</h1>
<p>Ilias wuchs in Griechenland auf und zog im Jahr 2013 nach Genf um seine Karriere als Programmierer zu verfolgen und Auslandserfahrungen zu sammeln. Er hat seit dem für das CERN gearbeitet und ist nun für eine neue Herausforderung in Zürich bereit. Ilias Leidenschaften sind das Reisen, Zeichnen und Snowboarding!</p>
<h2>Aktuelle Beschäftigung</h1>
<div class="employment-and-income">
<div class="employment">
<div class="company">CERN</div>
from lxml import etree
from flask import Flask, request
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
@nop33
nop33 / reservation_list_csv.py
Created December 15, 2016 15:19 — forked from pferreir/reservation_list_csv.py
CSV list of booking occurrences for a set of rooms
from io import BytesIO
import csv
import sys
from pytz import timezone
from indico.modules.rb.models.reservations import RepeatMapping
tz = timezone('Europe/Zurich')
room_ids = {96, 336, 97, 98}
@nop33
nop33 / 502.html
Created August 9, 2016 12:09 — forked from OmeGak/502.html
NGINX 502 autoreload
<head>
<title>502 Bad Gateway</title>
</head>
<body>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
<script>
function tryRefresh() {
var xhr = new XMLHttpRequest();
@nop33
nop33 / cern_afs_kerberos.md
Created July 25, 2016 13:47 — forked from OmeGak/cern_afs_kerberos.md
Authentication at CERN made not-an-ordeal (kind of)

AFS Kerberos at CERN

"Kerberos is not the authentication system CERN deserves, but the one we need". - A wise man

This guide aims to ease the pain of setting up Kerberos authentication in your local (Ubuntu) machine and then completely forget about it.

Ready to fight?

First of all, install the following packages if you want to be successful on this journey:

Case #1:

  • Click venue field
    • First option should always be active
  • Click suggested option
    • Venue is highlighted
    • Focus remains on the field
  • Click room field
  • Click suggested option (from the same venue)
  • Room is highlighted
@nop33
nop33 / zombislayer.py
Created April 29, 2016 10:02
Slays zombi events in a category
from BTrees.OOBTree import OOTreeSet
cat = CategoryManager().getById(5052)
new_conferences = OOTreeSet()
for conf in cat.conferences:
if not EE(conf.getId()).is_deleted:
new_conferences.insert(conf)
else:
cat.unindexConf(conf)
@nop33
nop33 / 195news.md
Last active September 2, 2015 19:40
Release 1.9.5 - News

We’re proud to announce a new update of our software. We have worked hard to simplify some advanced feature that are nonetheless very important for our user community.

First of all, there is a new way to activate and deactivate Indico features. The new feature selector will simplify event management and leave complexity to power users. In the future, most Indico advanced features will be toggled in this way. For now, only a couple of them (Surveys and the Image Uploader) can be managed. Features management page

The most important change in this release is a completely new version of the Survey feature (formely known as “Evaluation”). Creating a survey

Many new things were added, such as the possibility of having more than one survey per event, support for “sections” and a drag and drop interface.

@nop33
nop33 / gist:81df80c3e95703c13a01
Created September 24, 2014 22:39
cmsplugin_custom_contact
##### cms_plugins.py #####
from django.utils.translation import ugettext_lazy as _
from cms.plugin_pool import plugin_pool
from cmsplugin_contact.cms_plugins import ContactPlugin
from models import CustomContact
class CustomContactPlugin(ContactPlugin):
name = _("Custom Contact Form")