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
Verifying my Blockstack ID is secured with the address 1KfdWMJuVKdLB2eCLXNxnkmU1TmdzC9rfM https://explorer.blockstack.org/address/1KfdWMJuVKdLB2eCLXNxnkmU1TmdzC9rfM |
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
var view = new View(); | |
view.width = 1024; | |
view.height = 768; | |
view.render(); |
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
function getAnalytics() { | |
$user = $_SERVER['HTTP_USER_AGENT']; | |
$browser = 'Unknown'; | |
$platform = 'Unknown'; | |
$version= ''; | |
// First get the platform? | |
if(preg_match('/linux/i', $user)) { | |
$platform = 'Linux'; | |
} |
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
class OrderIdentifierGenerator { | |
static characters = '234567CDFGHJKLMNPQRTVWXYZ'; | |
// Generate a new identifier | |
static generate() { | |
const partialIdentifier = OrderIdentifierGenerator.generatePartialIdentifier(); | |
let identifier = ( | |
partialIdentifier.slice(0, 3) + |
OlderNewer