Skip to content

Instantly share code, notes, and snippets.

Avatar

Dheeraj Bhaskar dheerajbhaskar

View GitHub Profile
View ng
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir//bin/sh" ]; then
"$basedir//bin/sh" "$basedir/../../Users/Dheeraj/AppData/Local/Yarn/config/global/node_modules/.bin/ng" "$@"
ret=$?
View yarn-error.log
Arguments:
C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js global add angular-cli
PATH:
C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Lenovo\FusionEngine;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program F
View npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'shaadi' ]
2 info using npm@3.10.3
3 info using node@v6.4.0
4 verbose run-script [ 'preshaadi', 'shaadi', 'postshaadi' ]
5 info lifecycle wdio@1.0.0~preshaadi: wdio@1.0.0
6 silly lifecycle wdio@1.0.0~preshaadi: no script for preshaadi, continuing
View wdio typescript issue wdio.conf.js
exports.config = {
//
// ==================
// Specify Test Files
// ==================
// Define which test specs should run. The pattern is relative to the directory
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
// directory is where your package.json resides, so `wdio` will be called from there.
View wdio typescript issue project-tree.txt
C:\MY-HOME\AUTOMATIONPROJECTS\WEBDRIVERIOPROJECTS\WDIO
├───.idea
├───node_modules
│ ├───.bin
│ ├───amdefine
│ ├───ansi-escapes
│ ├───ansi-regex
│ ├───ansi-styles
│ ├───any-promise
│ │ └───register
@dheerajbhaskar
dheerajbhaskar / enableHTML5AppCache.java
Created Oct 31, 2015 — forked from jaydeepw/enableHTML5AppCache.java
Enabling HTML5 AppCache in Android Webview programatically.
View enableHTML5AppCache.java
private void enableHTML5AppCache() {
webView.getSettings().setDomStorageEnabled(true);
// Set cache size to 8 mb by default. should be more than enough
webView.getSettings().setAppCacheMaxSize(1024*1024*8);
// This next one is crazy. It's the DEFAULT location for your app's cache
// But it didn't work for me without this line
webView.getSettings().setAppCachePath("/data/data/"+ getPackageName() +"/cache");
You can’t perform that action at this time.