diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-09-25 20:14:40 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-09-25 20:14:40 +0200 |
commit | 41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1 (patch) | |
tree | cc2f54ec637a1ecc55eeda9cf1970e2447ad6aee | |
parent | 136789a1f14cdc53d1287f1670c7e5e086de4e21 (diff) | |
download | UnspecifiedGarbage-41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1.zip UnspecifiedGarbage-41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1.tar.gz |
Add AndroidDebugBridge to debian setup.
-rw-r--r-- | doc/note/setup/setup-debian.txt | 2 | ||||
-rw-r--r-- | doc/note/sqlite/execSqlFileThroughPhp.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/note/setup/setup-debian.txt b/doc/note/setup/setup-debian.txt index 582764e..1924e34 100644 --- a/doc/note/setup/setup-debian.txt +++ b/doc/note/setup/setup-debian.txt @@ -124,7 +124,7 @@ Populate "/etc/environment" as described by "./etc-environment". `# Low level ` \ lm-sensors fancontrol exfat-fuse exfatprogs \ `# Others` \ - systemd-sysv bc rsync qrencode libxml2-utils \ + systemd-sysv bc rsync qrencode libxml2-utils adb \ `# Nvidia graphics (open)` \ mesa-utils clinfo mesa-opencl-icd \ `# Nvidia graphics (non-free, DoesNotWorkYet)` \ diff --git a/doc/note/sqlite/execSqlFileThroughPhp.txt b/doc/note/sqlite/execSqlFileThroughPhp.txt index 3bb4126..da080b1 100644 --- a/doc/note/sqlite/execSqlFileThroughPhp.txt +++ b/doc/note/sqlite/execSqlFileThroughPhp.txt @@ -1,7 +1,7 @@ <?php $srcSqlFile = "path/to/query.sql"; $dstDbFile = "path/to/sqlite.db"; -$stmts = file_get_contents($srcSqlFile); +$stmts = file_get_contents($srcSqlFile) or exit(1); $stmts = explode(';', $stmts); $db = new SQLite3($dstDbFile); $db->enableExceptions(true); |