Inicialmente, crie um ambiente virtual para a sua aplicação usando o Pipenv
$ pipenv --python 3
Instale os pacotes django
, django-heroku
e gunicorn
:
{ | |
"explorer.fileNesting.enabled": true, | |
"explorer.fileNesting.patterns": { | |
"package.json": ".eslint*, prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*", | |
"tailwind.config.js": "tailwind.config*, postcss.config*", | |
".env.local": ".env*", | |
".env": ".env*" | |
} | |
} |
import React from 'react' | |
interface IComposeProvidersProps { | |
with: Array<React.ElementType> | |
children: React.ReactNode | |
} | |
export const ComposeProviders = ({ | |
with: Providers, | |
children, |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export ANDROID_HOME=~/Android/Sdk | |
export PATH="$PATH:$ANDROID_HOME/tools" | |
export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/diegofernandes/.oh-my-zsh" | |
export PATH="$PATH:/usr/local/bin" |
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/
is intended for code that can run as-issrc/
is intended for code that needs to be manipulated before it can be usedimport re | |
import random | |
# Load the file into a graph represented by a dict of lists | |
def load_graph(): | |
g = {} | |
f = open('kargerMinCut.txt') | |
lines = f.readlines() | |
f.close() |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh