View gist:4b8a739ddceec0eb63888f1016b40325
Verifying my Blockstack ID is secured with the address 1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5 https://explorer.blockstack.org/address/1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5 |
View blockstack
Verifying my Blockstack ID is secured with the address 1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL https://explorer.blockstack.org/address/1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL |
View blockstackjs-get.js
this.userUrl = await getAppBucketUrl(loadUserData().hubUrl, loadUserData().appPrivateKey); | |
console.log(this.userUrl); |
View header.html
<title>React Photos</title> | |
<script src="https://unpkg.com/@ionic/core@4.0.0-alpha.7/dist/ionic.js"></script> |
View ion-react.html
<ion-app> | |
<ion-header> | |
<ion-toolbar> | |
<ion-title>React Photos</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<h1>Welcome to React Photos!</h1> | |
</ion-content> | |
</ion-app> |
View blockstack
Verifying my Blockstack ID is secured with the address 16ouDBkQRBzV447krGJ3RpSpNH9rpjppii https://explorer.blockstack.org/address/16ouDBkQRBzV447krGJ3RpSpNH9rpjppii |
View generate.js
// Command for generating a new stencil component within any stencil project, example 'stencil generate my-component' | |
if (process.argv[2] === 'generate') { | |
if (!process.argv[3]) { | |
shell.echo('Please state the component name after the "generate" command.'); | |
shell.exit(1); | |
} | |
// The uppercase version of the component alias | |
var componentName = capitalizeFirstLetter(process.argv[3]); |
View start-component.js
// Command for starting a new stencil component project, example 'stencil start-component my-component' | |
if (process.argv[2] === 'start-component') { | |
if (!shell.which('git')) { | |
shell.echo('Sorry, this script requires git'); | |
shell.exit(1); | |
} | |
var projectName = process.argv[3]; | |
if (!projectName) { | |
shell.echo('Please state the project name after the "start-component" command.'); |
View start-app.js
// Command for starting a new stencil starter app, example 'stencil start-app my-app' | |
if (process.argv[2] === 'start-app') { | |
if (!shell.which('git')) { | |
shell.echo('Sorry, this script requires git'); | |
shell.exit(1); | |
} | |
var projectName = process.argv[3]; | |
if (!projectName) { | |
shell.echo('Please state the project name after the "start-app" command.'); |
View cli-dependecies.js
#! /usr/bin/env node | |
var shell = require("shelljs"); | |
const path = require('path'); | |
// The path to the installation directory if this tool | |
var cliPath = path.join(path.dirname(__filename), '..'); | |
// Check that a command is given | |
if (!process.argv[2]) { | |
shell.echo('Please tell me what you want me todo!'); |
NewerOlder