Skip to content

Instantly share code, notes, and snippets.

View jbagaresgaray's full-sized avatar
🏠
Working from home

Philip Cesar Garay jbagaresgaray

🏠
Working from home
View GitHub Profile
@jbagaresgaray
jbagaresgaray / sketch-never-ending.md
Created May 29, 2020 08:39 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@jbagaresgaray
jbagaresgaray / angular.json.md
Created December 19, 2018 02:30 — forked from cironunes/angular.json.md
Firebase Cloud Function for Angular SSR
{
-  "outputPath": "dist/piggybank", 
+  "outputPath": "functions/dist/piggybank",
-  "outputPath": "dist/piggybank-server",
+  "outputPath:": "functions/dist/piggybank-server",
}
@jbagaresgaray
jbagaresgaray / ios7.phonegap.cordova.js
Last active August 29, 2015 14:26 — forked from shazron/ios7.phonegap.cordova.js
PhoneGap / Apache Cordova - top margin for iOS 7
// Pre-requisites:
// 1. Device core plugin
// 2. Splashscreen core plugin (3.1.0)
// 3. config.xml: <preference name="AutoHideSplashScreen" value="false" />
// 4. config.xml: <preference name="DisallowOverscroll" value="true" />
function onDeviceReady() {
if (parseFloat(window.device.version) >= 7.0) {
document.body.style.marginTop = "20px";
// OR do whatever layout you need here, to expand a navigation bar etc
@jbagaresgaray
jbagaresgaray / 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