To fix this you just need to run the following command and accept all Android licenses:
flutter doctor --android-licenses
To fix this you just need to run the following command and accept all Android licenses:
flutter doctor --android-licenses
In the project folder, run the following commands:
sudo gem uninstall cocoapods
sudo gem uninstall ffi
brew install cocoapods
pod install
1.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
2.
xcodebuild -runFirstLaunch
The below steps apply for PHP8:
1. Go to /etc/httpd/conf.modules.d
2. Edit 00-mpm.conf
3. Uncomment following line:
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
4. Comment both the following:
#LoadModule mpm_worker_module modules/mod_mpm_worker.so
#LoadModule mpm_event_module modules/mod_mpm_event.so
5. Start Apache
service httpd start
When trying to import a site plugin, you could get the following error:
You're close to importing the template. To complete the process, please clear the following conditions.
XMLReader Support Missing
To fix it, please follow the next steps:
1. Make sure the installed php version is 8.0:
php -v
PHP 8.0.20 (cli) (built: Jun 23 2022 20:34:07) ( NTS )
If not, follow the steps described here to upgrade to PHP 8.0:
https://www.cyberciti.biz/faq/install-php-7-2-7-3-7-4-0r-8-0-on-amazon-linux-2/
2. Install xml support:
yum install php-xml
3. Enable all xml modules:
php -i --enable-xml
php -i --enable-xmlreader
php -i --enable-xmlwriter
4. Check modules are installed:
php -m
5. Restart php
service php-fpm restart
6. Restart httpd
service httpd restart
All set.
1. Install and Activate Server IP & Memory Usage Display
2. This will add a banner at the footer at WordPress App:
3. Optional - If needed to increase PHP or WP Memory limit.
PHP - Edit php.ini file and change the following line:
memory_limit = 256M
WordPress - Edit wp-config.php and add the following line:
define( 'WP_MEMORY_LIMIT', '200M' );
/* That's all, stop editing! Happy publishing. */
In old <5 react native you could just hide using shadowOpacity (iOS) or elevation (Android). This is not anymore valid in React >= 6.
For this you need to use headerShadowVisible for both iOS and Android.
An example is below:
<Stack.Navigator screenOptions={{
headerStyle: {
backgroundColor: Colors.light.tint,
},
headerShadowVisible: false,
headerTintColor: Colors.light.background,
headerTitleAlign: "left",
headerTitleStyle: {
fontWeight: 'bold',
}
}}>
Fix by using screenOptions as described below:
<MainTab.Navigator
initialRouteName="TabOne"
screenOptions={{
tabBarActiveTintColor: Colors[colorScheme].background,
tabBarStyle:{
backgroundColor: Colors[colorScheme].tint,
}
}}>
Exact error is this:
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:203:21)
To fix it, please just install watchman on your Linux/OS X system:
brew install watchman
To overcome this issue on Mac OS X, simple install the Command Line Tools using the below command:
xcode-select --install
1. Create a simple script to renew and restart Apache httpd server:
[user@scripts]# cat renew-easy-certificates.sh
certbot certonly --webroot -w /var/www/html/easybiny/price -d price.easybiny.com
certbot certonly --webroot -w /var/www/html/easybiny/prod -d easybiny.com
service httpd restart
2. Open crontab scheduler
crontab -e
3. Add the following under crontab scheduler:
0 0 1 */3 * sh /path/scripts/renew-easy-certificates.sh
This runs every 3 months on the first day of each month at 00:00. Certificates are now automatically renewed.
Run the following command and it works just fine (tested on OS X) :
sudo npm install --unsafe-perm -g expo-cli
For uninstallting expo-cli, following command can be used:
sudo npm uninstall --unsafe-perm -g expo-cli --save
From a terminal, run the following command. It shall tell node.js installed version:
MacBook-Pro ~ % node -v
v14.18.0
Below code will iterate from 1 to 10 with a delay of 1 second (1000 ms) between each iteration.
function loopFinish() {
console.log('All is complete');
}
for(let i = 1; i < 11; i++) {
setTimeout(()=>{
console.log("Iteration number: "+i);
if(i === 10){
setTimeout(loopFinish, 1000);
}
},i * 1000);
}
Output would be in the console browser:
Iteration number: 1
Iteration number: 2
Iteration number: 3
Iteration number: 4
Iteration number: 5
Iteration number: 6
Iteration number: 7
Iteration number: 8
Iteration number: 9
Iteration number: 10
All is complete
As per:
https://support.royalapps.com/support/solutions/articles/17000065344-where-are-my-documents-stored-
Follow those simple steps to solve it:
You accidentally activated "Show only Favorites" but don't have any favorites
Solution: Disable "Show only Favorites" by clicking the yellow star button in the bottom left corner of the navigation panel (sidebar)
All I needed to do is to update router firmware to latest version available - in my case this is 1.5.7:
Advanced -> System -> Firmware Upgrade
Please also note that for VPN to work, following need to be checked:
It's very simple, just use the following command to generate the certificate with as many domains as needed (two in the below example):
certbot certonly --webroot -w /var/www/html/easybiny/price -d price.easybiny.com -d www.price.easybiny.com
1. Configure AWS SES Service as per instructions below:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-set-up.html
2. Install sendmail
sudo yum install sendmail
sudo yum install m4
sudo yum install sendmail-cf
3. Follow the below steps from AWS:
https://docs.aws.amazon.com/ses/latest/dg/send-email-sendmail.html
4. Test by running the following command:
echo "Subject: sendmail test" | sendmail -f sender@domain.com -v destination@domain.com
1. Simple way to do it is to run following command:
top -o %MEM 2. Output below[root@ip-x-x-x-x xinetd.d]# top -o %MEM
top - 15:24:13 up 8:02, 1 user, load average: 0.01, 0.31, 0.25
Tasks: 107 total, 1 running, 66 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 0.2 sy, 0.0 ni, 99.3 id, 0.3 wa, 0.0 hi, 0.0 si, 0.2 st
KiB Mem : 472500 total, 227492 free, 185308 used, 59700 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 274136 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2275 mysql 20 0 1771192 65264 0 S 0.0 13.8 0:09.53 mysqld
1384 root 20 0 65632 12376 12000 S 0.0 2.6 0:00.66 systemd-journal
2833 apache 20 0 1923848 10644 152 S 0.0 2.3 0:05.61 httpd
2572 apache 20 0 2050504 9232 108 S 0.0 2.0 0:05.78 httpd
2571 apache 20 0 1921608 9196 72 S 0.3 1.9 0:05.60 httpd
2573 apache 20 0 1917128 8064 88 S 0.0 1.7 0:05.63 httpd
2258 root 20 0 398704 7360 896 S 0.0 1.6 0:01.19 httpd 3. As per above, we can see that mysql process is the top memory eater.