Skip to content

Instantly share code, notes, and snippets.

View MarcosSiega's full-sized avatar
🎯
Focusing

Marcos de Melo Siega MarcosSiega

🎯
Focusing
View GitHub Profile
#!/bin/bash
# Update package lists
apt-get update
# Install wget
apt-get install wget
# Download JProfiler tarball
wget https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_linux_11_1_4.tar.gz -O /tmp/jprofiler_linux_11_1_4.tar.gz
@MarcosSiega
MarcosSiega / VSCODE.md
Created December 9, 2023 13:16 — forked from daehli/VSCODE.md
Install Visual Studio Code on Mac OS and add vscode alias

Brew Install

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null

Install Brew Visual-Studio Code

brew cask install visual-studio-code
@MarcosSiega
MarcosSiega / geraDados.js
Created January 26, 2023 19:41 — forked from samlucax/geraDados.js
Gerador de Dados para Postman env
//adicionar eval(environment.geraDados) no início do pré-request
function gera_random(n) {
var ranNum = Math.round(Math.random() * n);
return ranNum;
}
function mod(dividendo, divisor) {
return Math.round(dividendo - (Math.floor(dividendo / divisor) * divisor));
}
@MarcosSiega
MarcosSiega / README.md
Created January 26, 2023 19:11 — forked from egermano/README.md
Gerador de CPF para Postman

Gerador de CPF

Criei esse script para gerar CPF randômicos para test de API no Postman.

Adicione esse script na aba Pre-request Script e adicione a variável {{cpf}}na sua request.

Sempre que você chamar o Postman vai chamar o seu script antes de enviar a request gerando um novo CPF em toda request.

@MarcosSiega
MarcosSiega / Login.vue
Created August 31, 2021 18:27 — forked from warlock/Login.vue
Vuex and Vue.js Session Control Example
<template>
<div id="login">
<div v-if="getToken === ''">
<input type="text" v-model="user">
<br>
<input type="password" v-model="password">
<br>
<button @click="handleLogin">LOGIN</button>
</div>
<div v-else>