summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2024-09-25 20:14:40 +0200
committerAndreas Fankhauser hiddenalpha.ch2024-09-25 20:14:40 +0200
commit41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1 (patch)
treecc2f54ec637a1ecc55eeda9cf1970e2447ad6aee /doc
parent136789a1f14cdc53d1287f1670c7e5e086de4e21 (diff)
downloadUnspecifiedGarbage-41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1.zip
UnspecifiedGarbage-41eb0458e5bde4f06b0ab9d6aa0c9e2a137380f1.tar.gz
Add AndroidDebugBridge to debian setup.
Diffstat (limited to 'doc')
-rw-r--r--doc/note/setup/setup-debian.txt2
-rw-r--r--doc/note/sqlite/execSqlFileThroughPhp.txt2
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);