Skip to content

Instantly share code, notes, and snippets.

View lucaspmarra's full-sized avatar
:shipit:
working from home

Lucas Paulino Marra lucaspmarra

:shipit:
working from home
View GitHub Profile
@lucaspmarra
lucaspmarra / main.js
Created October 6, 2024 14:08
PrimeVue - change Aura preset default color and type
import { createApp } from "vue";
import { definePreset } from '@primevue/themes';
import PrimeVue from "primevue/config";
import Aura from "@primevue/themes/aura";
import App from "./App.vue";
// You can change the name 'purple' to any name you like, in my case it was just to keep the standard
const purple = definePreset(Aura, {
semantic: {
primary: {
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Lucas Paulino Marra",
"label": "Desenvolvedor Frontend | Vue.js | Javascript | Node.js | Nuxt | Quasar | NestJS | AgGrid",
"email": "marralucas1@gmail.com",
"phone": "(61) 99885-6381",
"summary": "Graduado em Análise e Desenvolvimento de Sistemas pelo UniCEUB, participei do desenvolvimento do Centro de Atendimento Comunitário do CEUB. Tenho experiência profissional com HTML, CSS, Javascript, OOP, REST APIs, GraphQL, JSON, Vue.js, Nuxt, Quasar, Node.js, Express e Nest. Além disso, possuo conhecimento em Oracle, MySQL e PostgreSQL, com ênfase em Raw Querys. Trabalhei com o ERP Protheus em diversos módulos, incluindo SIGACOM, SIGAFAT, SIGAFIN, SIGAEST, SIGACFG e APSDU. Também atuei no atendimento N3 aos usuários e tenho familiaridade com SEO, Google Search Console e Google Analytics. Além disso, criei microfrontends e componentes modulares em Vue e trabalhei com Ag-Grid e Ag-
import { boot } from 'quasar/wrappers';
import axios from 'axios';
// import { useI18n } from 'vue-i18n';
import { Notify } from 'quasar';
/**
* Instância do Axios configurada para requisições da API.
*/
const api = axios.create();
@lucaspmarra
lucaspmarra / style.css
Created December 20, 2023 19:26
style
.menu {
max-width: 250px;
min-width: 250px;
gap: 12px;
background-color: transparent;
}
.menu-item {
font-weight: bold;
import { defineStore } from 'pinia';
import { reactive, toRefs } from 'vue';
import { supabase } from '@/lib/supabaseClient.js';
import router from '@/router/index.js';
export const useAuthStore = defineStore('auth', () => {
const state = reactive({
session: '',
user: '',
error: ''
default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: dpg-ck3q5l36fquc73e6dma0-a.oregon-postgres.render.com
username: adoption_db_user
password: <%= ENV['DATABASE_PASSWORD'] %>
development:
<<: *default
|-----------------|
| Home.vue: |
|-----------------|
<script setup>
import PostComponent from '../components/Post/PostComponent.vue';
</script>
<template>
<main class="container">
Apr 22 07:49:10 PM RubyGems installed the following executables:
Apr 22 07:49:10 PM /opt/render/project/rubies/ruby-2.6.2/bin/gem
Apr 22 07:49:10 PM /opt/render/project/rubies/ruby-2.6.2/bin/bundle
Apr 22 07:49:10 PM /opt/render/project/rubies/ruby-2.6.2/bin/bundler
Apr 22 07:49:10 PM
Apr 22 07:49:11 PM RubyGems system software updated
Apr 22 07:49:15 PM ==> Running build command 'bundle install;bin/rails db:migrate db:seed'...
Apr 22 07:49:15 PM The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Apr 22 07:49:18 PM Fetching gem metadata from https://rubygems.org/..........
Apr 22 07:49:18 PM Your bundle is locked to mimemagic (0.3.3), but that version could not be found
Java:
@GetMapping("/users/nome/{nome}")
@Query(value = "SELECT * FROM USUARIO WHERE NOME LIKE '%:nome%'", nativeQuery = true)
List<User> getUserByName(@PathVariable(value = "nome") String nome) throws ResourceNotFoundException {
List<User> users = userRepository.findByNome(nome);
if (users.isEmpty()) {
throw new ResourceNotFoundException("User not found for this name: " + nome);
}
return users;
}
{
"data": {
"portalDaTransparenciaCollection": {
"items": [
{
"titulo": "AUDITORIA E PRESTAÇÃO DE CONTAS",
"slug": "auditoria-e-prestacao-de-contas",
"sys": {
"id": "29fkyYSQgWyMOuaK0JxcKI"
}