Skip to content

Instantly share code, notes, and snippets.

FROM ubuntu:bionic
ARG GST_VERSION=master
ARG PREFIX=/usr
ENV TZ=Europe/Vienna
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN export TERM=linux DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
#COPY apt-preferences /etc/apt/preferences
#RUN echo 'APT::Default-Release "stretch";' | tee -a /etc/apt/apt.conf.d/00local
#RUN echo 'deb http://ftp.de.debian.org/debian testing main' >> /etc/apt/sources.list
import random
import ssl
import websockets
import asyncio
import os
import sys
import json
import argparse
import gi
import random
import ssl
import websockets
import asyncio
import os
import sys
import json
import argparse
import gi
#!/usr/bin/env python3
#
# Example 1-1 call signalling server
#
# Copyright (C) 2017 Centricular Ltd.
#
# Author: Nirbheek Chauhan <[email protected]>
#
import os
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
struct claim {
int id;
int x;
int y;
int w;
#1 @ 335,861: 14x10
#2 @ 97,613: 24x14
#3 @ 118,29: 25x13
#4 @ 55,721: 10x22
#5 @ 102,127: 23x12
#6 @ 304,347: 24x17
#7 @ 172,726: 28x24
#8 @ 102,115: 25x25
#9 @ 270,568: 14x25
#10 @ 599,384: 10x16
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <map>
#include <memory>
struct InputLine {
int min;
std::string text;
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <map>
#include <memory>
struct InputLine {
int min;
std::string text;
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <map>
#include <memory>
struct InputLine {
int min;
std::string text;
[1518-11-22 00:49] wakes up
[1518-05-18 00:01] Guard #1171 begins shift
[1518-11-20 00:28] wakes up
[1518-10-27 00:37] wakes up
[1518-08-14 00:39] falls asleep
[1518-09-08 00:51] falls asleep
[1518-07-27 00:57] wakes up
[1518-10-21 00:00] Guard #2699 begins shift
[1518-09-09 00:16] falls asleep
[1518-03-21 00:51] wakes up