Skip to content

Instantly share code, notes, and snippets.

View AllanPooley's full-sized avatar
💃

Allan Pooley AllanPooley

💃
View GitHub Profile
@AllanPooley
AllanPooley / skills.js
Created November 9, 2018 02:41
Compiled List of Skills Array
export const skills = [
'Algorithms',
'Analytical Skills',
'Big Data',
'Calculating',
'Compiling Statistics',
'Data Analytics',
'Data Mining',
'Database Design',
'Database Management',
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AllanPooley
AllanPooley / flatcolours.js
Last active December 25, 2018 00:48
Flat UI Palette v1 Array of Objects (https://flatuicolors.com/palette/defo)
const flatColours = [
{ label: 'Turquoise', hex: "#1abc9c" },
{ label: 'Emerald', hex: "#2ecc71" },
{ label: 'Peter River', hex: "#3498db" },
{ label: 'Amethyst', hex: "#9b59b6" },
{ label: 'Wet Asphalt', hex: "#34495e" },
{ label: 'Green Sea', hex: "#16a085" },
{ label: 'Nephritis', hex: "#27ae60" },
{ label: 'Belize Hole', hex: "#2980b9" },
{ label: 'Wisteria', hex: "#8e44ad" },
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AllanPooley
AllanPooley / eventbrite.js
Last active July 1, 2021 02:36
Eventbrite Embedded Checkout Snippet
import $ from 'jquery'
const initEventbrite = () => new Promise((resolve) => {
const ready = () => {
resolve(window.EBWidgets)
}
let first = true
const init = () => {
if (window.EBWidgets && window.EBWidgets.createWidget) {
ready()