- keep vscode shortcut
- keep cursor ai chat
- modify cursor ai chat shortcut with cmd + 8/9/0 combination
- cmd + shift + P
- select keyboard shortcut json
- place the json
[ | |
{ | |
"key": "cmd+9", | |
"command": "composer.startComposerPrompt", | |
"when": "composerIsEnabled" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-composer.startComposerPrompt", | |
"when": "composerIsEnabled" |
WordPress is popular because it's easy to setup without much technical know-how. However, to build a more robust PHP project with command line deployments, updates and ongoing maintenance, working with WordPress out-of-the-box raises specific challenges:
From my end need to setup the
root /var/www/WordPress/;
and
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
$document_root required
server {
listen 80;
server_name localid.blog.com;
const { getFirestore, collection, addDoc, getDocs, doc, getDoc, query, where, updateDoc, | |
deleteField, deleteDoc } = require('firebase/firestore') | |
initializeApp({ | |
apiKey: "", | |
authDomain: "", | |
projectId: "", | |
storageBucket: "", | |
messagingSenderId: "", | |
appId: "" |
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
"""
x mod 3 = Fizz
x mod 5 = Buzz
x mod 15 = FizzBuzz
else print x
"""
#UBUNTU
which adb
in my case adb locate in /usr/bin/adb remove it
go to your android platform-tools adb in my case the location at ~/Android/Sdk/platform-tools
Prove this is the problem by turning off selinux with the command | |
setenforce 0 | |
This should allow writing, but you've turned off added security server-wide. That's bad. Turn SELinux back | |
setenforce 1 | |
Then finally use SELinux to allow writing of the file by using this command | |
chcon -R -t httpd_sys_rw_content_t storage | |
And you're off! |
// | |
// Javascript Format NPWP | |
// | |
function formatNpwp(value) { | |
if (typeof value === 'string') { | |
return value.replace(/(\d{2})(\d{3})(\d{3})(\d{1})(\d{3})(\d{3})/, '$1.$2.$3.$4-$5.$6'); | |
} | |
} |
Symfony/Component/OptionsResolver/Exception/MissingOptionsException.php | |
Symfony/Component/OptionsResolver/Exception/OptionDefinitionException.php | |
Symfony/Component/OptionsResolver/Exception/InvalidOptionsException.php | |
Symfony/Component/Serializer/Exception/InvalidArgumentException.php | |
Symfony/Component/Serializer/Exception/UnsupportedException.php | |
Symfony/Component/Serializer/Exception/UnexpectedValueException.php | |
Symfony/Component/Serializer/Exception/LogicException.php | |
Symfony/Component/Serializer/Exception/Exception.php | |
Symfony/Component/Serializer/Exception/RuntimeException.php | |
Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php |