To see current versions:
npm outdated -g
---------------------------------------------------------------------------
To clean npm cache
npm cache clean
---------------------------------------------------------------------------
To debug ionic app on device:
ionic cordova run android --device -l --debug
Then inspect with chrome
In case of error google play missing related:
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/77
---------------------------------------------------------------------------
Error mipmap when running app using google maps,
edit file:
app_path\platforms\android\res\xml\authenticator.xml
comment out
<!-- <account-authenticator
xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_type"
android:icon="@mipmap/icon"
android:smallIcon="@mipmap/icon"
android:label="@string/app_name"/> -->
---------------------------------------------------------------------------
To get Google Map API Key:
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/Installation/windows/cli/README.md
Monday, 8 August 2016
Tuesday, 16 February 2016
launch putty from keepass
URL Override:
Scheme: putty
URL Override: example: cmd://C:\Programmes2\putty\putty.exe -ssh {USERNAME}@{BASE:HOST} -pw {PASSWORD}
url putty://host
Scheme: putty
URL Override: example: cmd://C:\Programmes2\putty\putty.exe -ssh {USERNAME}@{BASE:HOST} -pw {PASSWORD}
url putty://host
Thursday, 4 February 2016
jconsole
If trying jconsole to connect to local weblogic
add this to setDomainEnv.cmd
-Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10313 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
How to start jconsole with more useful debug information
jconsole.exe -J-Djava.util.logging.config.file=C:\temp\jconsole_logging.properties
content of jconsole_logging.properties:
handlers = java.util.logging.ConsoleHandler
.level = DEBUG
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.ConsoleHandler.formatter = \
java.util.logging.SimpleFormatter
// Use FINER or FINEST for javax.management.remote.level - FINEST is
// very verbose...
javax.management.level = FINEST
javax.management.remote.level = FINER
add this to setDomainEnv.cmd
-Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10313 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
How to start jconsole with more useful debug information
jconsole.exe -J-Djava.util.logging.config.file=C:\temp\jconsole_logging.properties
content of jconsole_logging.properties:
handlers = java.util.logging.ConsoleHandler
.level = DEBUG
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.ConsoleHandler.formatter = \
java.util.logging.SimpleFormatter
// Use FINER or FINEST for javax.management.remote.level - FINEST is
// very verbose...
javax.management.level = FINEST
javax.management.remote.level = FINER
Saturday, 9 January 2016
GIT
To have git ask you for a password for a private repository:
git config --global credential.helper cache
git config --global credential.https://github.com.username foo
git clone https://github.com/foo/repository.git
Subscribe to:
Posts (Atom)