sudo apt install r-base-core
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
<script> | |
// PASSANDO PARA A FUNÇÃO UMA INFORMAÇÃO PRIMITIVA (COMO NÚMERO, STRING OU BOOLEAN), UMA CÓPIA DO VALOR É PASSADA. ASSIM, QUANDO A FUNÇÃO FAZ UMA ALTERAÇÃO, APENAS A CÓPIA É ALTERADA, MANTENDO O VALOR ORIGINAL INTACTO. | |
let numberAge=1; | |
function functionBirthday(parAge){ | |
parAge=parAge+1; | |
} | |
functionBirthday(numberAge); | |
sudo apt-get install git-all
``
sudo killall snap-store
sudo snap refresh
``
sudo apt install python-is-python3
sudo apt install python3-pip
sudo apt install python3.10-venv
pip freeze > requirements.txt
pip uninstall -r requirements.txt -y
git config --global user.name "TYPE YOUR NAME HERE"
git config --global user.email your_email_in_github@provider.com
sudo apt update
sudo apt upgrade
sudo apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install nodejs -y
node --version.
NO CASO DE ERRO, TENTAR:
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
export function runify(obj) { | |
if(Array.isArray(obj)) { | |
return obj.map(runify); | |
} else if(typeof obj === 'object') { | |
let rune = $state(obj); | |
let output = {}; | |
for(let key in rune) { | |
if(typeof obj[key] === 'object') { | |
obj[key] = runify(obj[key]); | |
} |
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
// store.ts | |
import { getContext, setContext } from 'svelte'; | |
import { writable, type Writable } from 'svelte/store'; | |
export function createStore() { | |
const mystore = writable('INITIAL VALUE'); | |
setContext('contextStore', mystore); | |
} | |
export function readStore() { |
NewerOlder