Code, Maker, Robotic, Open Source. Knowledge Bases

  1. Docker - Create a Java development environment

    Yes is Docker Again 🐳. ! Well my work need to switch many different programming language and different development environment . Docker is really helpful There are two way to compile and execute you java code. Compile and execute inside the Docker or compile and execute outside the Docker instance. Compile your app…

    on Docker, Java, OpenJDK, OpenJDK8, Compile Java, Execute Java, Open Java Development Kit

  2. Android Java - Get Eddystone Beacon Service Data and Convert

    On Android Eddystone beacon we can store some useful information inside Namespace and Instance to identify unique beacon. Before Learn and Play CTF event. byte, ASCII text, Decimal and Hex is difficult thing for me. But after learning CTF this become very easy . since this kind of numbers is very…

    on Android, Java, Android 11, ASCII, Decimal, Hex, Bytes, byte array, Eddystone, Beacon, Bluetooth, Service Data, Namespace, Instance, convert decimal to hex, scan record

  3. PHP SQL LIKE operator wildcard cause SQL injection

    PHP SQL LIKE operator with percent sign wildcard cause SQL injection vulnerability. One of my team member build a backend system and discovery the backend system can explore all the data by wildcard. So let analysis and investigate why change UserID to percent sign can cause SQL injection and explore…

    on Security, SQL injection, SQL, PHP, Transact-SQL, wildcard, Azure Database, Azure App Service, PHP 5.6.40

  4. Python3 virtual environment

    After using awhile and finally discovery some limitation of Docker can't do and not suitable. If you need to develop something related with GUI applications and input devices automation thing Docker is totally not suitable. For Example using the PyAutoGUI to capture a screenshoot and control the input devices using…

    on Python, Docker, Python3, VirtualEnvironment, VirtualBox, VM, Ubuntu20.04, PyAutoGUI

  5. Docker - Build a PHP with Apache HTTP Server

    I can't stop play with Docker 🐳. Let setup and configure PHP development environment. Can you imagine using docker build PHP and apache environment need how long ? 1. First let Create a folder call docker_dev_php. 2. Create a Dockerfile with below configuration FROM php:7.3.0-apache COPY src/…

    on Docker, PHP, PHP 7.3.0, Apache