Skip to content

Instantly share code, notes, and snippets.

import 'dotenv/config'
import { gql } from 'apollo-server-express'
import { Sequelize, models } from '../../data/models/index.js'
export const sessionLogSchema = gql`
type SessionLog {
id: ID!
user: User
date: Date
@rodrigobarrosdsn
rodrigobarrosdsn / ambiente-dev-ubuntu.sh
Created June 19, 2022 22:55 — forked from luizomf/ambiente-dev-ubuntu.sh
Ambiente de desenvolvimento Python no Ubuntu - Com VS Code, Google Chrome, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e spaceship prompt.
#!/bin/bash
# Executar comandos a seguir para atualizar os pacotes
sudo apt update -y
sudo apt upgrade -y
# Instalar pacotes a seguir
sudo apt install dkms make perl gcc build-essential git curl -y
# Instalar Python 3.10 (opcional)