This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const skills = [ | |
'Algorithms', | |
'Analytical Skills', | |
'Big Data', | |
'Calculating', | |
'Compiling Statistics', | |
'Data Analytics', | |
'Data Mining', | |
'Database Design', | |
'Database Management', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const interests = [ | |
'3D printing', | |
'Amateur radio', | |
'Scrapbook', | |
'Amateur radio', | |
'Acting', | |
'Baton twirling', | |
'Board games', | |
'Book restoration', | |
'Cabaret', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getGreetingTime = (currentTime) => { | |
if (!currentTime || !currentTime.isValid()) { return 'Hello'; } | |
const splitAfternoon = 12; // 24hr time to split the afternoon | |
const splitEvening = 17; // 24hr time to split the evening | |
const currentHour = parseFloat(currentTime.format('HH')); | |
if (currentHour >= splitAfternoon && currentHour <= splitEvening) { | |
// Between 12 PM and 5PM | |
return 'Good afternoon'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { isClient } from '../../config/app'; | |
const scrollComponent = (WrappedComponent) => { | |
class ScrollComponent extends Component { | |
state = { | |
topPos: 0, | |
bottomPos: 0 | |
}; | |
componentDidMount() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_options SET option_value = replace(option_value, 'oldURL', 'newURL') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'oldURL','newURL'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'oldURL', 'newURL'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'oldURL','newURL'); |
NewerOlder