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 […]

Xcode has conflicting provisioning settings

Die Lösung ist unter Project Target > Build Settings > Suchfenster nacht PROVISIONING_PROFILE zu suchen und alle Profile zu löschen. Xcode has conflicting provisioning settings Xcode has conflicting provisioning settings I have an Ionic 2 app, which builds and is testable in Xcode 8.2.1 Simulator environment, e.g. iPhone7 (Build Successful). When I try Archive the […]

Cordova Apps und iOS Bounce Effekt

Seit iOS 11.3 sind alle Apps mit einem Bounce-Effekt beim scrollen versehen. Das wirkt sicht negativ auf Cordova-Apps aus, da diese nur im Webview scrollen sollen. Dafür muss in der config.xml von Cordova folgendes eingefügt werden: <preference name=“DisallowOverscroll“ value=“true“ /> <preference name=“UIWebViewBounce“ value=“false“ /> Danach muss die App mit cordova build ios neu kompiliert werden. Disable iOS […]