Remove sqlite3, the module installed by php7 compilation

Remove the modules installed by php7 compilation. Take sqlite3 as an example SQLite3 extension has been enabled by default since PHP 5.3.0. Allow -- without SQLite3 disabled at compile time background When I develop a project, I need to use php to connect to the encrypted sqlite database, but the sqlite extension compiled by php by default do ...

Posted on Thu, 18 Jun 2020 05:05:33 -0400 by Pigmaster

Access to byte stream of sqlite byte array

There are two ways to store sqlite byte arrays: It's easy to understand how to store byte array in string type Base64.encodeToString(rawData, Base64.DEFAULT) byte[]Convert to string Base64.decode(printData.getBytes(), Base64.DEFAULT) string Convert to byte[] The data type of the specified field is blob BLOB - The value is a blob of data, ...

Posted on Sun, 31 May 2020 01:45:55 -0400 by lutzlutz896

Access to byte stream of sqlite byte array

There are two ways to store sqlite byte arrays: It's easy to understand how to store byte array in string type Base64.encodeToString(rawData, Base64.DEFAULT) byte[]Convert to string Base64.decode(printData.getBytes(), Base64.DEFAULT) string Convert to byte[] The data type of the specified field is blob BLOB - The value is a blob of data, ...

Posted on Sun, 31 May 2020 01:38:33 -0400 by Holoverse

[open source]. Net orm FreeSql 1.5.0 latest version (serial number: long time no see)

The beginning of nonsense This article is the longest editing time in my history, it takes 4 hours!!! I could have used this 4 hours to write a bunch of glue code. I sincerely hope that you are kind enough to like it. Thank you!! I haven't written an article for a long time. The last time I released version 1.0 on New Year's day, this year's ...

Posted on Tue, 26 May 2020 01:03:05 -0400 by ducey

SQLite case 1: using SQLiteDatabase to operate database and table

SQLite case 1: using SQLiteDatabase to operate database and table 1, Operation effect 2, Implementation steps 1. Create an Android Application SQLiteDatabaseDemo 2. Prepare the background picture background.jpg and copy it to the mipmap directory under res 3. Main layout resource file activity main.xml &lt ...

Posted on Tue, 05 May 2020 04:59:05 -0400 by maff20

Build ShowDoc document tool

Preparing the Nginx + PHP environment Install Nginx Install Nginx using yum: yum -y install nginx Modify the /etc/nginx/nginx.conf file as follows: user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { lo ...

Posted on Mon, 04 May 2020 02:16:38 -0400 by aaronhall

The configuration and use of mysql database in flash

1, Create database Create the database needed by the project in advance through the command line tool Note: remote login permission is required for database #1. Log in to the database: mysql -uusername -p #2. Create a new login user: create user newname identified by 'password'; #3. Remote login authorizati ...

Posted on Fri, 01 May 2020 06:46:12 -0400 by lucasmontan

Android datastore notes - SQLite database

I recently used this SQLite local database in my project, so I wrote a blog to summarize it, hoping it can also help Xiaobai When to use SQLite SharedPreferences is a lightweight data storage method. When saving data, it actually stores key value pairs, similar to Map. Storage location: / data/data / application package name / shared_prefs ...

Posted on Thu, 30 Apr 2020 15:18:46 -0400 by thesmartone

DataAnalysis - read local data

1, TXT file operation Read all import numpy as np import pandas as pd txt_filename = './files/python_wiki.txt' # Open file file_obj = open(txt_filename,'r') # Read the entire file all_content = file_obj.read() # Close file file_obj.close() print (all_content) Python is a widely used high-level, general-purpose, interpreted, dynamic progra ...

Posted on Wed, 15 Apr 2020 10:04:20 -0400 by kslagdive

Decryption algorithm of wechat database

Decryption algorithm of wechat database on pc and Android There is an article about the password generation algorithm of Android wechat database, which is not mentioned here The password production algorithm on the pc side is encrypted in memory. Interested friends can see how the password is generated ...

Posted on Sun, 05 Apr 2020 18:02:35 -0400 by swissmissflash