Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#

Keybase proof

I hereby claim:

  • I am g0ddest on github.
  • I am velikodniy (https://keybase.io/velikodniy) on keybase.
  • I have a public key ASDOws58pGOPk8uzm2ZyHTv5akBASE0Z5QthtMObM2O2qgo

To claim this, I am signing this object:

class server:
# list of all TCP connections
tcp_connections = list<tcp_connection>
# one tcp_connection have limited count of connections
struct tcp_connection{
list<connection> connections
}
@g0ddest
g0ddest / sched.json
Last active February 21, 2018 12:37
[
{
"date": "2018-02-22",
"lessons":[
{
"name": "Дискурс",
"type": "lab",
"teacher": {
"first_name": "Анна",
"last_name": "Саврацкая",
@g0ddest
g0ddest / splitter.py
Created January 10, 2019 22:49
Зависимости:
from lxml import etree
import copy
from bs4 import BeautifulSoup
import re
class Splitter:
ns = ''
xml_file = "book.fb2"