Skip to content

Instantly share code, notes, and snippets.

View nerdic-coder's full-sized avatar
💭
Block Photos 2.0 will be out soon and is going to be great!

Johan Axelsson nerdic-coder

💭
Block Photos 2.0 will be out soon and is going to be great!
View GitHub Profile
@nerdic-coder
nerdic-coder / pom.xml
Last active March 7, 2024 20:46
Spring Boot pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
Verifying my Blockstack ID is secured with the address 1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5 https://explorer.blockstack.org/address/1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5
@nerdic-coder
nerdic-coder / blockstack
Created December 7, 2018 20:20
blockstack
Verifying my Blockstack ID is secured with the address 1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL https://explorer.blockstack.org/address/1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL
@nerdic-coder
nerdic-coder / blockstackjs-get.js
Created July 3, 2018 17:06
Blockstack JS get bucket URL
this.userUrl = await getAppBucketUrl(loadUserData().hubUrl, loadUserData().appPrivateKey);
console.log(this.userUrl);
@nerdic-coder
nerdic-coder / header.html
Created June 21, 2018 21:53
Photos App header.html
<title>React Photos</title>
<script src="https://unpkg.com/@ionic/core@4.0.0-alpha.7/dist/ionic.js"></script>
<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>
Verifying my Blockstack ID is secured with the address 16ouDBkQRBzV447krGJ3RpSpNH9rpjppii https://explorer.blockstack.org/address/16ouDBkQRBzV447krGJ3RpSpNH9rpjppii
@nerdic-coder
nerdic-coder / generate.js
Created June 3, 2018 13:21
stencil-cli 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]);
@nerdic-coder
nerdic-coder / start-component.js
Created June 3, 2018 13:15
stencil.cli 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.');
@nerdic-coder
nerdic-coder / start-app.js
Created June 2, 2018 19:51
stencil-cli 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.');