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
<center> | |
<div class="ib-station-name"><div style="display:inline" class="fn org"><span style="display:inline-block; position:relative; vertical-align:middle; border:6.25px solid #009BBF; border-radius:50%; margin:1px; height:37.5px; width:37.5px; line-height:100%; background:white; font-size:18.75px"><span style="position:absolute; left:0; width:37.5px; text-align:center; font-weight:bold; color:black; top:1px; height:16px; line-height:16px; font-size:16px;">T</span><span style="position:absolute; bottom:2.5px; left:0; height:19px; width:37.5px; line-height:19px; text-align:center; font-weight:bold; font-size:19px; color:black;">09</span></span> <span style="display:inline-block; position:relative; vertical-align:middle; border:6.25px solid #F62E36; border-radius:50%; margin:1px; height:37.5px; width:37.5px; line-height:100%; background:white; font-size:18.75px"><span style="position:absolute; left:0; width:37.5px; text-align:center; font-weight:bold; color:black; top:1px; height:16px; line-height:16px; font |
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
let rdx = document.getElementById('rdx'); | |
let c = rdx.children; | |
let arr = []; | |
for (i of c) { | |
let x = i.children; | |
if (x.length < 4) | |
continue; | |
if (!x[0].innerText || !x[1].innerText || !x[2].innerText) | |
continue; |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Simple CRUD with x86-64 Assembly (System V ABI). | |
*/ | |
#define MAX_INPUT_LEN 255 | |
#define SEEK_END 2 | |
/* | |
* The struct stored in the DB looks like this: |
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
Makefile | 10 ++--- | |
README.md | 97 ++++++++++++++++++++++++++++++---------- | |
src/core/src/hev-socks5-server.c | 42 ++++++++++------- | |
3 files changed, 103 insertions(+), 46 deletions(-) | |
diff --git a/Makefile b/Makefile | |
index 4fec989e7531d10c..db449cb220f2e6c7 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -10,10 +10,10 @@ CCFLAGS=-O3 -pipe -Wall -Werror $(CFLAGS) \ |
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
[pid 7604] [00000000006aa98f] accept(21, NULL, NULL) = 94 | |
[pid 7604] [00000000006a821f] ioctl(94, FIONBIO, [1]) = 0 | |
[pid 7604] [00000000006aa98f] accept(21, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) | |
[pid 7604] [00000000006aa4ce] epoll_ctl(22, EPOLL_CTL_ADD, 94, {EPOLLIN|EPOLLOUT|EPOLLET, {u32=2415928312, u64=140499386115064}}) = 0 | |
[pid 7604] [00000000006aabbe] recvfrom(94, "w\1", 2, 0, NULL, NULL) = 2 | |
[pid 7604] [00000000006aabbe] recvfrom(94, "\0", 1, 0, NULL, NULL) = 1 | |
[pid 7604] [00000000006aadfe] sendto(94, "\5\0", 2, 0, NULL, 0) = 2 | |
[pid 7604] [00000000006aabbe] recvfrom(94, 0x7fc8a6570c10, 4, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) | |
[pid 7604] [00000000006aabbe] recvfrom(94, 0x7fc8a6570c10, 4, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) | |
[pid 7604] [00000000006aabbe] recvfrom(94, "\5\1\0\3", 4, 0, NULL, NULL) = 4 |
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
int OK = 0; | |
int ERR_IO_PENDING = -1; | |
int ERR_FAILED = -2; | |
int ERR_ABORTED = -3; | |
int ERR_INVALID_ARGUMENT = -4; | |
int ERR_INVALID_HANDLE = -5; | |
int ERR_FILE_NOT_FOUND = -6; | |
int ERR_TIMED_OUT = -7; | |
int ERR_FILE_TOO_BIG = -8; | |
int ERR_UNEXPECTED = -9; |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Copyright (C) 2023 Ammar Faizi <ammarfaizi2@gnuweeb.org> | |
* Copyright (C) 2023 Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org> | |
*/ | |
#ifndef GWFT_H | |
#define GWFT_H | |
#include <stdint.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
<?php | |
// SPDX-License-Identifier: GPL-2.0-only | |
const OWRT_HOST = "192.168.33.1"; | |
const OWRT_USER = "root"; | |
const OWRT_PASS = "root password here"; | |
class OWRTJsonRPC | |
{ | |
/** |
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
<?php | |
ini_set("display_errors", true); | |
header("Content-Type: application/json"); | |
require __DIR__."/../bootstrap/autoload.php"; | |
loadConfig("api"); | |
loadConfig("telegram_bot"); | |
function get_messages(PDO $pdo, int $chat_id, ?int $last_tmsg_id = NULL, | |
?int $limit = NULL): ?array |
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 <string.h> | |
static const char store_file[] = "./todo_data.bin"; | |
static const char store_file_tmp[] = "./todo_data.bin.tmp"; | |
struct todo { | |
char data[255]; | |
}; |
NewerOlder