This file contains hidden or 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
| $ git clone github.com/openresty | |
| $ git checkout 7b7fcbe0784f8551217d44ce7c7b06c5dd28b0ac | |
| $ make | |
| ---------------------- | |
| below is log (make 2>&1 | tee prepare.txt | |
| ---------------------- | |
| ./util/mirror-tarballs | |
| openresty 1.25.3.1 |
This file contains hidden or 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 <string.h> | |
| /* include libuv & llhttp */ | |
| #include <llhttp.h> | |
| #include <uv.h> | |
| #define DEFAULT_PORT 8080 |
This file contains hidden or 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 | |
| // Procedure 3964R | |
| // Interpreter RK512 | |
| class Com525 | |
| { | |
| // commands | |
| private const CMD_SEND = 0x41; // 'A' | |
| private const CMD_SEND_X = 0x4F; // 'O' |
This file contains hidden or 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
| 2024-01-19 15:39:01:710 [WARN] [neuron] daemon.c:181 write /tmp/neuron.pid, error Success(0) | |
| 2024-01-19 15:39:01:714 [NOTICE] [neuron] persist.c:450 schema head version=none | |
| 2024-01-19 15:39:01:716 [NOTICE] [neuron] persist.c:393 success apply schema `./config/0000_2.2.0_initial.sql`, version=`0000` description=`2.2.0_initial` | |
| 2024-01-19 15:39:01:724 [NOTICE] [neuron] persist.c:393 success apply schema `./config/0001_2.3.0_users.sql`, version=`0001` description=`2.3.0_users` | |
| 2024-01-19 15:39:01:726 [NOTICE] [neuron] persist.c:393 success apply schema `./config/0002_2.3.0_node_cache.sql`, version=`0002` description=`2.3.0_node_cache` | |
| 2024-01-19 15:39:01:728 [NOTICE] [neuron] persist.c:393 success apply schema `./config/0010_2.4.0_subscription_params.sql`, version=`0010` description=`2.4.0_subscription_params` | |
| 2024-01-19 15:39:01:732 [NOTICE] [neuron] persist.c:393 success apply schema `./config/0020_2.4.0_static_tag.sql`, version=`0020` description=`2.4.0_static_tag` | |
| 2024-01-19 15:39:01:734 [NOTICE] [neuron] p |
This file contains hidden or 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
| #!/usr/bin/python | |
| def 螢幕輸出(str): | |
| print(str) | |
| def 買西瓜(num): | |
| return f"{num}個西瓜" | |
| def 買蕃茄(num): | |
| return f"{num}個蕃茄" |
This file contains hidden or 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
| package main | |
| /* | |
| the code from https://gitlab.com/riglol/rigolee/hdo-tools | |
| modify for DHO800 | |
| */ | |
| import ( | |
| "bytes" | |
| "crypto/aes" | |
| "encoding/binary" | |
| "errors" |
This file contains hidden or 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
| version: '3.4' | |
| services: | |
| pgsql: | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| volumes: | |
| - ./data/postgresql:/var/lib/postgresql/data | |
| environment: |
This file contains hidden or 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 | |
| WORKSPACE=$PWD | |
| docker run --privileged -it \ | |
| --rm \ | |
| --volume=${WORKSPACE}:/droid \ | |
| --hostname droid-build \ | |
| android-build-trusty:latest | |
| exit 0 |
This file contains hidden or 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 | |
| cp ~/.gitconfig ./gitconfig | |
| docker build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) --tag android-build-trusty:latest . |
This file contains hidden or 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 ubuntu:14.04 | |
| ARG userid | |
| ARG groupid | |
| ARG username | |
| RUN apt-get update && apt-get install -y git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev \ | |
| gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev \ | |
| lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip python openjdk-7-jdk \ | |
| && apt-get install -y python mingw32 tofrodos \ | |
| && apt-get install -y squashfs-tools efitools bc ccache tesseract-ocr \ |