yarn install
yarn run shit --ip=<ip here>
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 webpack from 'webpack'; | |
import path from 'path'; | |
import ExtractTextPlugin from 'extract-text-webpack-plugin'; | |
import postcssImport from 'postcss-import'; | |
import pxtorem from 'postcss-pxtorem'; | |
import cssnext from 'postcss-cssnext'; | |
import postcssNesting from 'postcss-nesting'; | |
import postcssVariables from 'postcss-variables'; | |
import postcssColorFn from 'postcss-color-function'; | |
import cssnano from 'cssnano'; |
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
{ | |
"parser": "babel-eslint", | |
"extends": "airbnb", | |
"env": { | |
"node": true, | |
"es6": true, | |
"browser": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 6, |
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 gulp = require('gulp'); | |
const browserify = require('browserify'); | |
const babelify = require('babelify'); | |
const concat = require('gulp-concat'); | |
const concatcss = require('gulp-concat-css'); | |
const browserSync = require('browser-sync'); | |
const babel = require('gulp-babel'); | |
const postcss = require('gulp-postcss'); | |
const cssnext = require('postcss-cssnext'); | |
const postcssImport = require('postcss-import'); |
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
[ | |
{ | |
type: 'button' | |
tooltip: 'Open File' | |
callback: 'application:open-file' | |
icon: 'document' | |
iconset: 'ion' | |
}, | |
{ | |
type: 'button' |
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
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
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 the public repository GPG keys | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
# Register the Microsoft Ubuntu repository | |
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list | |
# Update apt-get | |
sudo apt-get update | |
# Install PowerShell |
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
.oops { | |
margin: 0; | |
padding: 0; | |
background-color: #0a1821; | |
flex: 1; | |
height: 100%; | |
width: 100%; | |
color: #fff; | |
position: relative; | |
text-align: center; |
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 chalk from 'chalk'; | |
import { | |
Observable, | |
Observer, | |
Subscription, | |
Subject, | |
Subscriber, | |
ConnectableObservable, | |
BehaviorSubject, | |
ReplaySubject, |
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 React, { FunctionComponent, ReactChild } from 'react' | |
const listeners = Symbol('jsx-web-comp/event-listeners') | |
const eventPattern = /^onEvent/ | |
const toKebabCase = (str: string): string => str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase() | |
export default function jsx (type: string | FunctionComponent, props: Record<string, any>, ...children: ReactChild[]) { | |
const isCustomElement = customElements.get(type as string) | |
const newProps = { ...props } |
OlderNewer