Skip to content

Instantly share code, notes, and snippets.

@mkopdev
mkopdev / cloudSettings
Created November 8, 2018 22:39
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-08T22:39:12.773Z","extensionVersion":"v3.2.0"}
@mkopdev
mkopdev / cloudSettings
Last active April 6, 2021 20:43 — forked from brunoksato/gist:5e7f9b2916289d1649a4
Gps Enable Cordova Ionic
{"lastUpload":"2021-04-06T20:43:02.073Z","extensionVersion":"v3.4.3"}
@mkopdev
mkopdev / setup_android_keystore.js
Created May 9, 2016 20:31 — forked from xixilive/setup_android_keystore.js
Setup Android Keystore after android platform added in Ionic/Cordova project
#!/usr/bin/env node
/**
* Setup android keystore
* Save this script in hooks/after_paltform_add/
* And make sure it has x permission
*/
var exec = require('child_process').exec;
var path = require('path');
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
@mkopdev
mkopdev / gist:6b9601997c1ce2ddbb61e18cd26186af
Created April 12, 2016 21:59 — forked from Urbiwanus/gist:c1e456f889f53e940a11
Cordova Paypal Integration AngularJS
app.factory('PaypalService', ['$q', '$ionicPlatform', 'shopSettings', '$filter', '$timeout', function ($q, $ionicPlatform, shopSettings, $filter, $timeout) {
var init_defer;
/**
* Service object
* @type object
*/
var service = {
@mkopdev
mkopdev / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
(function ($){
window.facebook =
{
iniciado: 0,
settings: {},
log: {},
me: {},
fbsession: {},
fbApiInit: false,