Skip to content

Instantly share code, notes, and snippets.

View JohnIncog's full-sized avatar

John Ashton JohnIncog

  • SeedBox
  • Montreal
View GitHub Profile
const Card = (props) => {
return (
<div style={{margin: '1em'}}>
<img width="75" src={props.avatar_url} />
<div style={{display: 'inline-block', marginLeft: 10}}>
<div style={{fontSize: '1.25em', fontWeight: 'bold'}}>
{props.name}
</div>
<div>{props.company}</div>
</div>
Vanilla forums test embed.
@JohnIncog
JohnIncog / uuid.php
Last active July 16, 2023 10:09
Ints to UUID and UUID to Ints
<?php
/**
* Class to convert upto 4 integer values into a UUID string; and vice versa.
*
*/
class UUID {
/**
* @param string $UUID Universal Unique Identifier.
* @return array Containing the 4 numbers used to generate generateUUIDFromInts
*/