Skip to content

Instantly share code, notes, and snippets.

Dheeraj Bhaskar dheerajbhaskar

Block or report user

Report or block dheerajbhaskar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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");
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
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 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 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 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 postman console logs for support
================================================================
o
(/) P O S T M A N
^
Go to View -> Show Postman Console to check your script logs.
================================================================
sails.io.js:142 🌏 sync service connectivity initiated
sails.io.js:759 socket replaying queued commands
View heroku-wp log
==> herokuwp: Running provisioner: shell...
herokuwp: Running: C:/Users/Dheeraj/AppData/Local/Temp/vagrant-shell20161201-1744-11iqfeq.sh
==> herokuwp: stdin: is not a tty
==> herokuwp: ###############################
==> herokuwp: ## Provisioning Heroku WP VM ##
==> herokuwp: ###############################
==> herokuwp: Reading package lists...
==> herokuwp: Building dependency tree...
==> herokuwp: Reading state information...
==> herokuwp: The following packages will be REMOVED:
@dheerajbhaskar
dheerajbhaskar / console output
Created Dec 3, 2016
2016-12-03 yarn bug report
View console output
C:\Users\Dheeraj>npm uninstall angular-cli -g
- abbrev@1.0.9 node_modules\angular-cli\node_modules\abbrev
- acorn@3.3.0 node_modules\angular-cli\node_modules\acorn
- adm-zip@0.4.7 node_modules\angular-cli\node_modules\adm-zip
- after@0.8.1 node_modules\angular-cli\node_modules\after
- semver@5.0.3 node_modules\angular-cli\node_modules\agent-base\node_modules\semver
- alphanum-sort@1.0.2 node_modules\angular-cli\node_modules\alphanum-sort
- amdefine@1.0.0 node_modules\angular-cli\node_modules\amdefine
- ansi-escapes@1.4.0 node_modules\angular-cli\node_modules\ansi-escapes
- ansi-regex@2.0.0 node_modules\angular-cli\node_modules\ansi-regex
View ng version output
C:\Users\Dheeraj>ng version
Cannot find module 'enhanced-resolve/lib/getInnerRequest'
Error: Cannot find module 'enhanced-resolve/lib/getInnerRequest'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Dheeraj\AppData\Local\Yarn\config\global\node_modules\@ngtools\webpack\src\paths-plugin.js:6:23)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
You can’t perform that action at this time.