This file contains hidden or 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
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700);*{outline:0 none;padding:0;margin:0}body{font-family:Quicksand,sans-serif;background:#e9e9e9}.grid{display:grid;grid-gap:15px}@-webkit-keyframes beat{0%{-webkit-transform:scale(1.5);transform:scale(1.5)}20%{-webkit-transform:scale(1.4);transform:scale(1.4)}40%{-webkit-transform:scale(1.3);transform:scale(1.3)}60%{-webkit-transform:scale(1.2);transform:scale(1.2)}80%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes beat{0%{-webkit-transform:scale(1.5);transform:scale(1.5)}20%{-webkit-transform:scale(1.4);transform:scale(1.4)}40%{-webkit-transform:scale(1.3);transform:scale(1.3)}60%{-webkit-transform:scale(1.2);transform:scale(1.2)}80%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}.scoreboard{width:600px;min-height:250px;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.sc |
This file contains hidden or 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
/* eslint-disable no-console, import/first */ | |
import path from 'path'; | |
import express from 'express'; | |
import expressStaticGzip from 'express-static-gzip'; | |
import graphqlHTTP from 'express-graphql'; | |
import PrettyError from 'pretty-error'; | |
import bodyParser from 'body-parser'; | |
import raven from 'raven'; | |
import morgan from 'morgan'; | |
import { graphqlBatchHTTPWrapper } from 'react-relay-network-layer'; |
This file contains hidden or 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
{ | |
// Workbench | |
"workbench.startupEditor": "none", | |
"workbench.editor.tabSizing": "fit", | |
"workbench.editor.tabCloseButton": "off", | |
"workbench.activityBar.visible": true, | |
"editor.minimap.renderCharacters": false, | |
"editor.lineHeight": 33, | |
"editor.wordWrap": "wordWrapColumn", | |
"editor.wordWrapColumn": 120, |
This file contains hidden or 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 1Ddf2WkrqviNX8Ds9577TX8iFRPyAzwDCc https://explorer.blockstack.org/address/1Ddf2WkrqviNX8Ds9577TX8iFRPyAzwDCc |
This file contains hidden or 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
<div className="todo-list"> | |
<div className="card p-2"> | |
<div className="form-group"> | |
<label className="form-switch"> | |
<input type="checkbox" /> | |
<i className="form-icon" /> | |
Task description | |
</label> | |
</div> | |
</div> |
This file contains hidden or 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
g=git | |
ga='git add' | |
gaa='git add --all' | |
gap='git apply' | |
gapa='git add --patch' | |
gau='git add --update' | |
gav='git add --verbose' | |
gb='git branch' | |
gbD='git branch -D' | |
gba='git branch -a' |
This file contains hidden or 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
Vue.component('increment-button', { | |
props: { | |
count: { | |
type: Number, | |
default: 0, | |
}, | |
}, | |
template: ` | |
<div> | |
<p>Count: {{ numberCount }}</p> |
This file contains hidden or 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
# Creating a MongoDB container with the mongo latest version. | |
docker pull mongo | |
docker run --name mongo-database -d -p 27017:27017 mongo --noauth --bind_ip=0.0.0.0 | |
docker ps | |
# Creating a MySQL container with the mysql:5.7 version. | |
docker pull mysql:5.7 | |
docker run -d -p 3306:3306 --name mysql-database -e MYSQL_ROOT_PASSWORD=root mysql:5.7 |
This file contains hidden or 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
const mysql = require('mysql') | |
const express = require('express') | |
const app = express() | |
app.use(express.json()) | |
app.use(express.urlencoded({ extended: false })) | |
// Connection database | |
const connection = mysql.createConnection({ |
This file contains hidden or 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
/* | |
* Getting Started | |
* $ yarn add mysql faker moment | |
* $ npm i -S mysql faker moment | |
* $ node index.js | |
*/ | |
const mysql = require('mysql') | |
const faker = require('faker') | |
const moment = require('moment') |