Skip to content

Instantly share code, notes, and snippets.

rogeriojlle

Block or report user

Report or block rogeriojlle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Icon.jsx
import React from 'react'
import { icons } from 'feather-icons'
function Icon ({ icon }) {
this.svg = icons[icon].toSvg()
this.blob = new Blob([this.svg], { type: 'image/svg+xml' })
this.src = URL.createObjectURL(this.blob)
return (<img src={this.src}></img>)
}
@rogeriojlle
rogeriojlle / freshdesk_sso.js
Last active Aug 29, 2015 — forked from derekseymour/freshdesk_sso.js
solution for accented characters
View freshdesk_sso.js
var crypto = require('crypto');
/**
* Generates and returns a Freshdesk Single Sign On URL
* {@link https://gist.github.com/derekseymour/26a6fe573c1274642976 Gist}
*
* @author Derek Seymour <derek@rocketideas.com>
* @param {String} name - The name of the user logging in.
* @param {String} email - A valid email address to associate with the user.
You can’t perform that action at this time.