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
// Package name: @strongstart/npcs | |
// Author: Jon Senterfitt | |
// Description: This is the NPC package for the StrongStart platform's Company Collector video game | |
// Is Cloud alive? | |
const isCloudAlive = true; | |
// Is the player alive? | |
const isPlayerAlive = true; |
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
// Marketing copy: | |
// "Our current mission in Web3 is to make it easy to build applications that run on the Ethereum blockchain." | |
// "We are building a new kind of application that will allow people to build their own decentralized applications." | |
// "We have been working on building a new kind of application that will allow people to build their own decentralized applications." | |
// "We expect delivery of updated roadmaps within the next few months." | |
// "We welcome your feedback and suggestions." | |
// "We are a DAO and are not affiliated with the Ethereum Foundation." | |
// "We have no affiliation with the Ethereum Foundation." | |
// "We are a decentralized autonomous organization that is focused (currently) on building decentralized applications for the Polygon blockchain." | |
// "Matic is much more cost effective than other alternatives." |
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
/* | |
package_name: @strongstart/core | |
contribute_email: jon@strongstart.io | |
author: Jon Senterfitt | |
owned_by: StrongStart | |
version: 1.0.0 | |
description: StrongStart Core Library | |
documentation: |
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
/* | |
▄████████ ███ ▄████████ ▄██████▄ ███▄▄▄▄ ▄██████▄ ▄████████ ███ ▄████████ ▄████████ ███ | |
███ ███ ▀█████████▄ ███ ███ ███ ███ ███▀▀▀██▄ ███ ███ ███ ███ ▀█████████▄ ███ ███ ███ ███ ▀█████████▄ | |
███ █▀ ▀███▀▀██ ███ ███ ███ ███ ███ ███ ███ █▀ ███ █▀ ▀███▀▀██ ███ ███ ███ ███ ▀███▀▀██ | |
███ ███ ▀ ▄███▄▄▄▄██▀ ███ ███ ███ ███ ▄███ ███ ███ ▀ ███ ███ ▄███▄▄▄▄██▀ ███ ▀ | |
▀███████████ ███ ▀▀███▀▀▀▀▀ ███ ███ ███ ███ ▀▀███ ████▄ ▀███████████ ███ ▀███████████ ▀▀███▀▀▀▀▀ ███ | |
███ ███ ▀███████████ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ | |
▄█ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▄█ ███ ███ ███ ███ ███ ███ ███ | |
▄████████▀ ▄████▀ ███ ███ ▀██████▀ ▀█ █▀ ███████ |
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
[ | |
{ | |
"id": 1, | |
"name": "Social Revolt Services" | |
}, | |
{ | |
"id": 2, | |
"name": "Social Media Strategy", | |
"parent": 1 | |
}, |
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
{ | |
"name": "flare", | |
"children": [ | |
{ | |
"name": "Prime", | |
"children": [ | |
{ | |
"name": "cluster", | |
"children": [ | |
{"name": "AgglomerativeCluster", "size": 3938}, |
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
# Get all starred repos for current user | |
query { | |
viewer { | |
login | |
starredRepositories(last:100) { | |
edges { | |
node { | |
id | |
name | |
owner { |
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
// This gist is intended for the age old problem of cross-origin iframe resizing for the height of an iframe to look like part of a site rather than a POS iframe. | |
// Put in the iframe code (after all of your content has loaded or at the end of success event for final ajax calls) | |
// This sends the height as an available variable for the parent page to grab. | |
window.parent.postMessage($(document).height(), "*"); | |
// In the parent page code. Initialize with onload="resizeIframe()". | |
// This grabs that variable and then sets the iframe height based on whatever is being sent back from the iframe | |
function resizeIframe() { | |
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent"; |