Problem
您的裝置管理設定不允許在此 iPAD 上使用開發者「Apple Development: [email protected] (XXXXXXXXXX)」的 APP。您可以在「設定」中允許使用這些 APP
Solution
設定 > 一般 > 裝置管理 > 開發者 APP > Apple Development: [email protected] > 信任 Apple Development: [email protected] > 信任
您的裝置管理設定不允許在此 iPAD 上使用開發者「Apple Development: [email protected] (XXXXXXXXXX)」的 APP。您可以在「設定」中允許使用這些 APP
設定 > 一般 > 裝置管理 > 開發者 APP > Apple Development: [email protected] > 信任 Apple Development: [email protected] > 信任
iOS Simulator CANNOT use Camera
Wrong
void main() {
final cameras = await availableCameras();
runApp(MyApp());
}
Correct
Future<void> main() async {
final cameras = await availableCameras();
runApp(MyApp());
}
pubspec.yaml
的 dependencies 是否已加入 cameradependencies:
flutter:
sdk: flutter
camera:
flutter pub get
sudo pip3 install awscl
aws configure
If you don’t have an access key, you can create one at IAM Management Console
AWS Access Key ID [None]: <YOUR ACCESS KEY>
AWS Secret Access Key [None]: <YOUR SECRET ACCESS KEY>
Default region name [None]: ap-northeast-1
Default output format [None]:
Sync all file from bucket to local
aws s3 sync s3://litawardab/ . --delete
cat ~/bitnami_credentials
Result
Welcome to the Bitnami LAMP Stack
******************************************************************************
The default password is 'XXXXXXXXXXXX'.
******************************************************************************
You can also use this password to access the databases and any other component the stack includes.
Please refer to https://docs.bitnami.com/ for more details.
建立目錄
mkdir ~/htdocs/blog
cd ~/htdocs/blog
下載 WordPress 並解壓縮
wget http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
cd wordpress
目錄權限調整
sudo chown -R bitnami:daemon .
sudo find . -type d -exec chmod 775 {} \;
sudo find . -type f -exec chmod 664 {} \;
sudo chmod 640 ./wp-config.php
WordPress 初始設定
cp wp-config-sample.php wp-config.php
vim wp-config.php
修改 wp-config
define( 'DB_NAME', '資料庫名' );
define( 'DB_USER', '使用者名稱' );
define( 'DB_PASSWORD', '使用者密碼' );
// WordPress 預設更新方式為 FTP, 這裡改為直接更新
define('FS_METHOD','direct');
WordPress 初始化
<YOUR WORDPRESS URL>/wp-admin/setup-config.php
狀況
[InvalidArgumentException]
Script “post-install-cmd” is not defined in this package
laravel new [YOUR PROJECT NAME]
之前先執行
composer global update
php.ini
載 pem 回來 https://curl.haxx.se/docs/caextract.html
設定 curl.cainfo = D:\xampp\php\extras\ssl\cacert-2017-06-07.pem