Skip to content

Instantly share code, notes, and snippets.

@zoff99
zoff99 / sh
Created May 29, 2017 12:48
sh
screenshot:
@zoff99
zoff99 / blog_toxcon2018_after_the_event.md
Last active October 30, 2018 22:06
blog_toxcon2018_after_the_event

ToxCon 2018

We had a lot of fun at this year's event. Sorry if you could not make it there, see you there next year? If you are working on anything fun with Tox and you want to share it with the world, think about giving a talk next year. We are happy to host your talk.

The organizers, seemingly happy about the success of the event:

@zoff99
zoff99 / compile.sh
Last active February 19, 2019 07:44
raspi omx turn90 problem
#! /bin/bash
gcc -O0 \
-DRASPBERRY_PI -DOMX_SKIP64BIT -DUSE_VCHIQ_ARM \
-I/opt/vc/include -I/opt/vc/interface/vmcs_host/linux -I/opt/vc/interface/vcos/pthreads \
-fPIC -export-dynamic -o test_omx \
-lm \
test_omx.c omx.c \
-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads \
-I/opt/vc/include/interface/vmcs_host/linux -lbrcmEGL -lbrcmGLESv2 \
@zoff99
zoff99 / gist:1c6677ce292cb986d774d5039e102e21
Last active April 14, 2019 18:56
ToxCon 2019 1st blogpost


This October the Tox developer community will be holding it's third annual Conference in the @metalabvie in the heart of Vienna, Austria.
The Event will be 3 full days, from Friday 11th October to Sunday 13th October.

We will talk about Tox, and other security related and interesting topics.
If you would like to attend, meet the Tox devs, do some live hacking, or just socialize, get your free ticket (and reserve a T-shirt) here:
  https://pretix.eu/ZMetalab/ToxCon2019/
You can find the exact address on your ticket!

@zoff99
zoff99 / tc18_2nd_blogpost.md
Last active May 5, 2019 14:16
ToxCon 2018 (2nd post)


This October the Tox developer community will be holding it's annual Conference in the @metalabvie in the heart of Vienna, Austria.
The Event will be 3 full days this time, from Friday 12th October to Sunday 14th October.

we will talk about the progress of Tox in the last 12 months, and also other security releated and interesting topics.
If you would like to attend, meet the Tox Devs, do some live hacking, or just to socialize then get your free tickets (and maybe a T-Shirt) here:
  https://pretix.eu/ZMetalab/ToxCon2018/
You can find the exact address on your Ticket!

#include <inttypes.h>
#include <pthread.h>
#include <signal.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <unistd.h>
#include <tox/tox.h>
#include <sodium.h>
all bootstrap nodes with "status_udp == true"
2 {"version":""}
1 {"version":"1000002008"}
2 {"version":"1000002009"}
1 {"version":"1000002010"}
6 {"version":"1000002012"}
14 {"version":"1000002013"}
5 {"version":"1000002015"}
1 {"version":"1000002016"}
:D:--start--
:D:[1]:ID:1: 51B9E8FC7DA8517ABD7BAFF8A55D51E30B7E77F216DCF89AEA072D92F197521B89A210861C5D
:D:[2]:ID:2: 6F0816CF6052E07CE7C5A8A6929FC955B7E8131C3CA79BAB46025FDC6F75386E73CD83265096
:D:[1]:bootstrapping ...
:D:[1]:bootstrapping done.
:D:[2]:bootstrapping ...
:D:[2]:bootstrapping done.
:D:[1]:add friend res=0
:D:[2]:Connected using TCP.
:D:[1]:Connected using TCP.
#define _GNU_SOURCE
#include <ctype.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
--start--
[0]:remove old savefiles
[1]:ID:1: BED3FD1457FFF6CB7B732965878725F26F9094C45730E6F4FAF9167859B1463F070C886D246E
[2]:ID:2: E0A6D8740AEC95E2F25AC085972225113EA759BF58C9CA651BD0AD788EB6863277E085299E61
[1]:tox num_friends:0
[1]:tox num_groups:0
[2]:tox num_friends:0
[2]:tox num_groups:0
[1]:bootstrapping ...
[1]:bootstrapping done.