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
# RESCAN FOR NEWLY ADDED HDS | |
echo "- - -" > /sys/class/scsi_host/host#/scan | |
fdisk -l | |
# NEW LOGICAL VOLUME | |
sudo fdisk /dev/sdb | |
# then create a new partition of type 8e (Linux LVM) | |
# create a phisical volume | |
sudo pvcreate /dev/sdb1 | |
# create new volume group |
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
# my.cnf for TAKIS Server | |
# BEGIN CONFIG INFO | |
# DESCR: 8 GB RAM, InnoDB only, ACID, few connections, heavy queries | |
# TYPE: SYSTEM | |
# END CONFIG INFO | |
[client] | |
port = 7000 | |
socket = /var/lib/mysql/mysql.sock |
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
def carregarDadosCNPJ(**kwargs): | |
# r = requests.get('https://www.receitaws.com.br/v1/cnpj/{cnpj}'.format(cnpj=kwargs['cnpj'])) | |
r = requests.get('https://www.receitaws.com.br/v1/cnpj/{cnpj}/days/10000'.format(cnpj=kwargs['cnpj']), headers = {'Authorization': 'Bearer token'}) | |
if r.status_code == 200: | |
data = r.json() | |
if data.get('status', None) == 'ERROR': | |
return False, data.get('message', None) |
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
// https://codepen.io/anon/pen/WKRJGd?editors=1010 | |
// https://codepen.io/anon/pen/WKRJGd | |
<div id="app"> | |
<el-table style="width: 100%" | |
ref="minhaTabela" | |
:data="tableData3" | |
:row-style="getRowStyle" | |
@select="aoSelecionarUmRegistro" | |
@select-all="aoSelecionarTodos" |
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
https://github.com/programadriano/node-mongo-redis/blob/master/src/repositories/personRepository.js | |
https://pt.stackoverflow.com/users/227/utluiz | |
https://pt.stackoverflow.com/questions/12927/qual-a-diferen%C3%A7a-entre-dao-e-repository | |
https://github.com/bookshelf/bookshelf/wiki/Plugin:-Pagination | |
https://github.com/jcdesimp/express-mvc-starter/blob/master/app/controllers/car.js |
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
<!-- AUTO-GENERATED-CONTENT:START (DIRTREE:dir=./src&depth=2&onlyDirs=true) --> | |
<!-- AUTO-GENERATED-CONTENT:END --> |
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
“scripts”: { | |
“atualizar-diretorios”: “node ./doc-directory-create.js” | |
} |
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
## Estrutura de diretórios | |
<!-- AUTO-GENERATED-CONTENT:START (DIRTREE:dir=./&onlyDirs=true) --> | |
<!-- AUTO-GENERATED-CONTENT:END --> | |
## Estrutura de diretórios e arquivos | |
<!-- AUTO-GENERATED-CONTENT:START (DIRTREE:dir=./) --> | |
<!-- AUTO-GENERATED-CONTENT:END --> |