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
🌞 Morning 254 commits ██████▉░░░░░░░░░░░░░░ 33.0% | |
🌆 Daytime 382 commits ██████████▍░░░░░░░░░░ 49.7% | |
🌃 Evening 120 commits ███▎░░░░░░░░░░░░░░░░░ 15.6% | |
🌙 Night 13 commits ▎░░░░░░░░░░░░░░░░░░░░ 1.7% |
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
const express = require('express') | |
const app = express() | |
const port = 80 | |
const users = [ | |
{ | |
username: 'alice', | |
name: 'Alice', | |
domain: 'alice.com', | |
}, |
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
import { Entity, Column, PrimaryGeneratedColumn, getRepository, CreateDateColumn, UpdateDateColumn } from 'typeorm' | |
import { Type, Field, ID, String, Mutation } from 'graphql-typescript' | |
class CreateUserArguments { | |
@Field(String) username: string | |
@Field(String) password: string | |
} | |
@Entity({ name: 'User' }) | |
@Type |
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
const express = require('express'); | |
const passport = require('passport'); | |
const FacebookStrategy = require('passport-facebook'); | |
/* | |
* Server | |
*/ | |
const app = express(); | |
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
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const passport = require('passport'); | |
const JwtStrategy = require('passport-jwt').Strategy; | |
const ExtractJwt = require('passport-jwt').ExtractJwt; | |
const jwt = require('jsonwebtoken'); | |
const SECRET = 'SECRET'; | |
/* |
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
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/v/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="bullet-train" |
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
language en_US | |
set nocompatible " be iMproved, required | |
filetype off " required | |
call plug#begin('~/.dotfiles/nvim/bundle') | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'yssl/QFEnter' | |
Plug 'bling/vim-airline' |