Skip to content

Instantly share code, notes, and snippets.

View Amad3eu's full-sized avatar
🐋
Evolution

Luiz Felipe Warmling Amadeu Amad3eu

🐋
Evolution
View GitHub Profile
#!/bin/bash
# Executar comandos a seguir para atualizar os pacotes
sudo apt update -y
sudo apt upgrade -y
# Só o Python
sudo apt install python3.10-full python3.10-dev -y
# Instalar pacotes a seguir
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
const [searchInput, setSearchInput] = useState(“”);
const searchInputDeferred = useDeferredValue(searchInput);
import {useSyncExternalStore} from 'react';
const state = useSyncExternalStore(store.subscribe, store.getSnapshot);
const selectedField = useSyncExternalStore(store.subscribe, () => store.getSnapshot().selectedField
import { useId } from 'react';
const SimpleForm = () => {
const id = useId();
return (
<>
<label htmlFor={`${id}-firstName`}>FirstName</label>
<div>
<input id={`${id}-firstName`} type="text" />
{
"emmet.syntaxProfiles" : {
"javascript" : "jsx"
},
"workbench.startupEditor" : "newUntitledFile",
"editor.fontSize" : 16,
"javascript.suggest.autoImports" : true,
"javascript.updateImportsOnFileMove.enabled" : "always",
"editor.rulers" : [
80,
@Amad3eu
Amad3eu / settings.json
Last active January 23, 2024 00:01
VscodeSettings
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 15,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
"files.associations": {
body{
background: rgb(245,154,154);
background: radial-gradient(circle, rgba(245,154,154,1) 0%, rgba(228,63,30,1) 100%);
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
font-size: 1rem;
@Amad3eu
Amad3eu / index.html
Created June 29, 2022 22:29
GitLessonCodeforRepository
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Colors</title>
<style>
body {