App Entwicklung für Mobile, Web, Desktop

tomcat WAR 404 not found

Problem: A functional and well tested WAR was not reachable on a new tomcat instance. Solution: The new tomcat was for java 1.7 apps and the WAR was a 1.8 java compiled app, so the tomcat deployed the war without errors and the app was showing 404 not found. In the webapp folder of the

weiterlesen

iso image auf usb stick schreiben in linux / mac os

Linux

Mac OS

Gerät aussuchen Der Name des Geräts sieht so aus /dev/disk1 Jetzt kommt das dd Kommando, was als Parameter ein if für InputFile und ein of für OutputFile erwartet. Der InputFile ist euer Image und der OutputFile euer Device.

Linux wenn das Gerät busy ist dann

Mac OS wenn das

weiterlesen

Search or grep docker logs

Normal grep and piping seems not to work for docker:

  That is normal, because docker logs internally to the standard error out, so we have to redirect the standard error output (2) to the standard output (1):

 

Install error while installing ios-deploy globally on El Capitan

Solution: sudo npm -g install ios-deploy –unsafe-perm=true Error:

7zip process cannot access the file because it is being used by another process

Problem: I tried to compress a set of files via batch processing. Some of these files were currently opened by another process, so I encountered this problem. 7zip works as designed to skip those files, because an opened file could be uncompleted in the moment where we are trying to read it for compression, so its best

weiterlesen

yarn or npm or node install error

I got an error while using npm or yarn which is based on node js. Error:

Fix: Reinstall node js https://nodejs.org/en/download/package-manager/

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

I got an error while using constants inside my node js app. Here is the solution: SyntaxError: Block-scoped declarations:

Fix: node –use_strict [to-be-replaced].js Fix2: Update your node version (node -v) to the current version or above 7.4 sudo npm install -g npm sudo npm install -g n sudo n stable That still wasn’t changing

weiterlesen

hashcat on OS X