VSCode Dateimaske
In VSCode z.B. nach PHP-Dateien im Unterverzeichnis webroot rekursiv suchen. ./webroot/**/*.php
ShrewVPN auf Mac installieren
Das Problem ist einen Client der für macOS > Catalina geeignet ist ohne Homebrew zu installieren Download: https://www.amft-it.de/dist/macos/ShrewSoftVPNClient-2.1.1_macOS_Oct2017.pkg Wichtig! Den Shrew Soft Access Manager nutzen, nicht den Shrew Soft VPN Client Connect! Source: kb.amft-it.de/doku.php?id=kb-macos:shrewvpnclient-download
Unix Prozess mit spez. Port beenden
lsof -i :<PORT> PID raussuchen kill -9 <PID> Quelle: http://code2care.org/2015/how-to-kill-service-running-on-port-using-terminal-command/
Cordova Build fehlgeschlagen (kann Zip nicht entpacken)
Failed with exit code 1 Error In cordova Failed with exit code 1 Error In cordova Delete „gradle-2.13-all.zip“ folder and everything in this directory: C:\Users\Somnath Sarkar.gradle\wrapper\dists\gradle-2.13all\7hsc6vr6mi3i6i5m7q9hj4ci1q\ Download the gradle zip manually Paste the gradle zip folder in C:\Users\Somnath Sarkar.gradle\wrapper\dists\gradle-2.13-all\7hsc6vr6mi3i6i5m7q9hj4ci1q\ Run cordova build android Source: https://stackoverflow.com/questions/40050423/failed-with-exit-code-1-error-in-cordova#40065446
PHP Strings über mehrere Zeilen ausgeben (Heredoc)
Heredoc-Syntax echo <<<CONTENT <p>The content to be output comes here and must be closed by following </p> CONTENT; Quelle: https://www.php.net/
MongoDB Intro
How to Install and Configure MongoDB on Ubuntu 14.04 How to Install and Configure MongoDB on Ubuntu 14.04 MongoDB is a NoSQL database that offers a high performance, high availability, and automatic scaling enterprise database. Data is stored in a documen… Source: www.howtoforge.com/tutorial/install-mongodb-on-ubuntu-14.04/
Mongo-DB Server über externe IP verfügbar machen vi /etc/mongod.conf net: port: 27017 bindIp: 0.0.0.0 Quelle: https://stackoverflow.com/questions/24899849/connection-refused-to-mongodb-errno-111#24941698
Node Module inkompatibel nach NodeJS Update
Wenn nach eine NodeJS-Update Node-Module nicht mehr laufen (inkompatibel), dann hilft meist: Schließen der IDE Entfernen vonnode_modules und package–lock.json Ausführen von npm clean cache –force als Administrator Ausführen von npm install Quelle: https://github.com/gulpjs/gulp/issues/2280#issuecomment-493701211
PHP: Properties eines Objektes auslesen
$properties = array_keys((array) $record);
A valid provisioning profile for this executable was not found
Wenn das Problem auftritt, muss in den Project Setting das Build System von „New Build System“ auf „Legacy Build System“ umgestellt werden: Xcode 10: A valid provisioning profile for this executable was not found Xcode 10: A valid provisioning profile for this executable was not found Since yesterday I’ve been getting the following error […]