I hereby claim:
- I am jolg42 on github.
- I am jolg42 (https://keybase.io/jolg42) on keybase.
- I have a public key whose fingerprint is BA48 B941 7374 7706 DBAD F04A 7113 1B1D A111 EC20
To claim this, I am signing this object:
#!/usr/bin/env python | |
from fontTools.ttLib import TTFont | |
from os.path import exists, join | |
from os import mkdir, sys | |
# print 'Number of arguments:', len(sys.argv), 'arguments.' | |
# print 'Argument List:', str(sys.argv) | |
# print sys.argv[1] | |
def main(): |
// Key is Decimal | |
// From https://github.com/adobe-type-tools/agl-aglfn | |
// Converted with http://www.convertcsv.com/csv-to-json.htm template "{parseInt(f1, 16)}: "{f2}" " | |
var unicodeNamesBasicPlane = { | |
65: "A", | |
198: "AE", | |
508: "AEacute", | |
193: "Aacute", | |
258: "Abreve", | |
194: "Acircumflex", |
var express = require('express'); | |
var router = express.Router(); | |
var _ = require('lodash'); | |
var crypto = require('crypto'); | |
var secret = 'MY_SECRET_PRIVATE_KEY'; | |
router.post('/', function (req, res) { | |
// Check User Agent |
// This example shows how to create a font from scratch using node.js. | |
'use strict'; | |
var opentype = require('../src/opentype'); | |
// These are the global measurements of the typeface. | |
var UNITS_PER_EM = 1000; | |
var ASCENDER = 800; | |
var DESCENDER = -200; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
export PATH=... # might not be needed, but sometimes the PATH is not set | |
# correctly in cron-called scripts. Copy the PATH setting you | |
# normally see under console. | |
cd YOUR_DIRECTORY # the directory where the script and imgs directory is located | |
{ | |
echo "========================" |
I have managed to install this… and make it work. I implemented it for Facebook and Google, but you can extend it. My solution it is mostly as described in #116, with a bit of more code presented. The key aspects that lack in the #116 presentation (IMO) are:
oauth_user_provider
in the security.yml
with your custom created serviceHere are the steps:
routing.yml
I have added all the routes for both bundles.config.yml
mostly as it is presented in the HWIOAuthBundle.security.yml
mostly as it is presented in the HWIOAuthBundle (though my routes are using /login
pattern, not /connect
). Also, the oauth_user_provider
is set for my custom service.