This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <iostream> | |
#include <memory> | |
#include <string> | |
#include <curl/curl.h> | |
#include <json/json.h> | |
namespace | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some basic info: | |
- Russian trains always run in Moscow time, that's why Moscow time is mentioned | |
- The track gauge is different in Mongolia and China, so there's always a stop on Chinese border | |
- We should try to have a get together in Beijing between July 1st and July 16th (Victorian school holidays), | |
it's a good time as well since end of June should be comfortable weather to travel in Siberia and there's | |
already more trains than usual. | |
- There is no time difference between most of Mongolia and Beijing, Irkutsk is one hour ahead of China which | |
is a bit awkward | |
Moscow - Irkutsk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef PARSER_H | |
#define PARSER_H | |
#include <iostream> | |
#include <string> | |
#include <curl/curl.h> | |
#include <jsoncpp/json/json.h> | |
#include <jsoncpp/json/reader.h> | |
#include <jsoncpp/json/writer.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2018, Marcin Konicki | |
* All rights reserved. Distributed under the terms of the MIT license. | |
*/ | |
// This was written after reading: | |
// https://vermaden.wordpress.com/2018/09/19/freebsd-desktop-part-16-configuration-pause-any-application/ | |
// and then: | |
// https://dev.haiku-os.org/ticket/14507 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
Usage() | |
{ | |
echo "usage: ${script_name} [-D] [-a value] [-dhl] [-s value] [-f] [-twLFGpPMAmHnr value] | |
-D automatically detects the current active window, obtaining the name of the application and the ID number | |
-a select the application by name | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 2baa0abbbb8a97b0c1eb70b1aeafcf7fdba25ad4 Mon Sep 17 00:00:00 2001 | |
From: X512 <danger_mail@list.ru> | |
Date: Wed, 12 May 2021 18:03:24 +0900 | |
Subject: WIP: Haiku patches, share UART with RISC-V machine | |
--- | |
Makefile | 9 +- | |
cutils.h | 2 +- | |
fs_disk.c | 15 +++ | |
riscv_cpu.c | 7 +- |