1.Generate ssh keys in your home dir.
Command: ssh-keygen -t rsa
2.Create your profile file in home dir.
Command: touch ~/.bash_profile
3.Install NVM inside home dir.
1.Generate ssh keys in your home dir.
Command: ssh-keygen -t rsa
2.Create your profile file in home dir.
Command: touch ~/.bash_profile
3.Install NVM inside home dir.
webpack creates a graph of all of your application's dependencies. The starting point of this graph is known as an entry point. The entry point tells webpack where to start and follows the graph of dependencies to know what to bundle. You can think of your application's entry point as the contextual root or the first file to kick off your app. Simple rule: one entry point per HTML page. SPA: one entry point, MPA: multiple entry points. Entry Points are also called chunks
#!/bin/sh | |
echo "[Deploy] Building" | |
yarn run build | |
echo "[Deploy] Changing Directory" | |
cd ./dist | |
echo "[Deploy] Current Directory: ${PWD}" | |
echo "[Deploy] Emptying existing bucket <bucket_name>" | |
aws s3 rm s3://<bucket_name> --recursive | |
echo "[Deploy] Uploading new files to <bucket_name>" |
sudo pip install awscli # Installing aws cli
$ aws configure # Setup
$ aws s3 ls # You can see list of buckets
See credentials file for aws with cat ~/.aws/credentials
This is default profile
# bash/zsh git prompt support | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# This script allows you to see repository status in your prompt. | |
# | |
# To enable: | |
# | |
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names | |
# *) local and remote tag names |
// try here http://pdfmake.org/playground.html | |
var dd = { | |
content: [ | |
{ | |
columns: [ | |
{ | |
image: | |
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABjCAYAAADeg0+zAAAACXBIWXMAABYlAAAWJQFJUiTwAAAQbUlEQVR42u1dh3tUVRbnf9hvv5WuJBAkhZKEJEAoZkICBKWpVAUERClSFQgl9CZIjYAiuAvLoq4FdEURRQQVFUGa9A5SpUsJ4ez9nXn35c3kvZk3aQQ49/t+32TevHLL+d1T7rkvZWrEPkECgcAeZaQTBAIhiEAgBBEIhCACgRBEIBCCCARCEIFACCIQCEEEAiGIQCAQgggEQhCBQAgiEAhBBAIhiEAgBBEIhCACgRBEIBCCCARCEOkIgUAIIhAIQQQCIYhAIAQRCIQgAoEQRCAQgggEQhCBQAgiEAiEIAKBEEQgEIIIBEIQgUAIIhAIQQQPOh6v08TVMSFIATuzuO7t9Cy35xXmOQVtZyjXBTq3IL/heEGeHxmXQlHxHh/g2P1IlDL3khi6s6rXbkzVajaiiFqNqJofIiyfOF93Pj7dDnoEX9/YdtDz6tCE6xCqYOrz8Il6oi3+z7F+Rvi1y7+t+notWG7r4v8M/34LRlzb61z2hXVc8D0sqgFVikigitXqMvA3jul2RcbdP0QpFRqkTr1mlNj4SYpLbmGLeAWcg/MfrZFEFVSnV41pyJ0daJbTv9Vt1JJiGzQPeF7NhKZch2ACFUhAcH2tpDRTyO0EEe1JUPWxayfqGF03lcKiG1DFCK9wgdhuiaJ/r9swgxJUXYD45AzXGqRuw5aW61pQjTrurkP9MB4YFxxLb9WFuvceQv0Gj2J06z2Y0p7qzP2Cc6rVbBgS+R9agkTFp1Dlx5NowdvL6Pr1v+jSpct09dp1W1y5cpX+vHiJtmzbQVN |
find . -name "node_modules" -type d | |
find . -name "node_modules" -type d -exec rm -rf {} + |
git config credential.helper store
git pull
OR
You need to update SourceTree config via "Preferences -> Git tab -> Git Version" by select "Use System Git", then everything works well
let obj = { | |
id: '1', | |
children: [ | |
{ | |
id: '2', | |
children: [ | |
{ | |
id: '4', | |
children: [ |