Целта на workshop-а е хората да се научат да подкарват BGP и основни неща около него. Ще научим:
- Как се пуска bgp с upstream, peer и exchange;
- Как и защо се филтрират пътища
- Как правилно да си анонсираме собствените мрежи към света.
root@marla:~/acme-tiny# cat renew-all.sh | |
#!/bin/bash | |
cd /root/acme-tiny || exit 4 | |
for i in `find /etc/apache2/sites/ -type f`; do | |
bash process.sh $i | |
done | |
bash initlab.sh | |
/etc/init.d/apache2 reload | |
for i in `find /etc/nginx/sites-enabled/ -type l`; do |
#!/usr/bin/env python | |
# coding=utf-8 | |
import time | |
from lifxlan import LifxLAN | |
from subprocess import Popen, PIPE | |
import json | |
import sys | |
import re | |
import requests |
#! /bin/bash | |
if [ -z "$2" ]; then | |
echo usage: $0 cam pres | |
exit 2 | |
fi | |
ffmpeg -y -loglevel verbose \ | |
-i "$1" -map '0:v0' \ | |
-i "$2" -map '0:v1' \ |
diff --git a/instructions/sources/FOSDEM_AV_manual.tex b/instructions/sources/FOSDEM_AV_manual.tex | |
index e91d52d..d83adc3 100644 | |
--- a/instructions/sources/FOSDEM_AV_manual.tex | |
+++ b/instructions/sources/FOSDEM_AV_manual.tex | |
@@ -142,13 +142,13 @@ If you are volunteering for video inside a devroom, please: | |
Please do \emph{NOT} disconnect or turn off any equipment yourself. That is the task of the per building team only. | |
\section{Rooms} | |
-We have 24 rooms: 12 small, 6 large and 6 extra large rooms. Each type of room has a different audio/video setup. | |
+We have 27 rooms: 12 small, 6 large and 6 extra large rooms. Each type of room has a different audio/video setup. |
#!/usr/bin/python | |
from glob import glob | |
from os import rename, unlink, getpid | |
from os.path import basename | |
from hashlib import md5 | |
from time import sleep, time | |
from multiprocessing import Pool | |
import json |
#!/bin/sh | |
confdir="`dirname "$0"`/../" | |
. $confdir/default-config.sh | |
if [ -f $confdir/config.sh ]; then | |
. $confdir/config.sh | |
fi | |
# should come from config | |
URL=udp://227.0.0.2:9000 |
volatile int die=0; | |
void thread_func() { | |
while (42) { | |
do_something(); | |
do_anotherthing(); | |
if (die) { | |
close(fd); | |
return; |
<?php | |
$offafter=15*60; | |
$loop=60; | |
$lightstatus = array(); | |
$lightstatus[0]='off'; | |
$lightstatus[1]='on'; | |
#!/usr/bin/python | |
from __future__ import absolute_import, division, print_function, unicode_literals | |
""" Simple textruring of Sphere objects against a plane. The atmosphere has | |
blend set to True and so has to be drawn after object behind it to allow them | |
to show through. Normal map used for moon is just a 'normal' pictures so normals | |
are calculated strangely and create odd shadows. | |
Uses the import pi3d method to load *everything* | |
""" | |
from math import sin, cos | |
import demo |