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
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.