Skip to content

Instantly share code, notes, and snippets.

View jamoy's full-sized avatar
🍵
Milk Tea & Javascript

John Rocela jamoy

🍵
Milk Tea & Javascript
View GitHub Profile
@jamoy
jamoy / generate-certs.sh
Created July 25, 2021 02:47
generate self signed cert and trustasroot in osx
#!/bin/bash
# Directories
cur=$(pwd)
tmp=$(mktemp -d)
scriptName=$(basename "$0")
# Certificate Variables
OUTPATH="./"
VERBOSE=0
@jamoy
jamoy / serverless-deploy.yml
Created July 15, 2020 04:32 — forked from hadynz/serverless-deploy.yml
Serverless deploy with state management in S3
name: Continuous deploy
on:
push:
branches: [master]
jobs:
serverless-deploy:
runs-on: ubuntu-latest
@jamoy
jamoy / retrospective.yml
Last active December 7, 2015 06:27
retrospective.yml
good
- web-sdk is working
- have a lot of time for experimentation and out of sprint stuff
- animations
- sdk finally plays
- block structure for json api
- uneventful hah
bad
- drm for mobile sdk ain't workin (ios/android)
'steps' => [
'VTYPE_ESIGN' => 'http://link.to/a/file',
'VTYPE_VIDEO' => true
]
<?php
$tokenOrPin = $request->create([
'uid' => 1234567890,
'caption' => 'Hi! my name is john from the lovely island of Singapore',
'data' => [
'foo' => 'bar'
],
'steps' => [
'VTYPE_ESIGN' => 'http://link.to/a/file',
$request = Vbc\Request::factory($config);
<?php
$config = [
'AppKey' => '',
'SecretKey' => ''
];
$client = new Vbc\Client($config);
$request = new Vbc\Request($client);
<?php
require_once 'vendor/autoload.php';
$config = [
'AppKey' => '',
'SecretKey' => ''
];
// oop
$client = new Vbc\Client($config);
@jamoy
jamoy / composer.json
Last active August 29, 2015 14:06
composer.json
"require": {
"incube8/vbc-sdk": "dev-master"
}