This file contains hidden or 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
echo 'installing code' | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install apt-transport-https -y | |
sudo apt-get update | |
sudo apt-get install code -y # or code-insiders |
This file contains hidden or 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
[Desktop Entry] | |
Name=Plank Config | |
GenericName=Dock config | |
Comment=Stupidly simple. | |
Categories=Utility; | |
Type=Application | |
Exec=plank --preferences | |
Icon=plank | |
Terminal=false | |
NoDisplay=false |
This file contains hidden or 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
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
This file contains hidden or 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
function toCamelCase(str){ | |
if(str === ''){ | |
return '' | |
} else { | |
let containmentArea = [] | |
let splitString = str.replace(/[^A-Z0-9]/ig, "_").split("_") | |
let firstElement = containmentArea.push( splitString.splice(0,1) ) | |
for(let word in splitString){ |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def GenderOfThePerson(): | |
nome = raw_input("Insira um nome: ") | |
sexo = input( | |
"Qual o sexo de {Nome}? \n\n 1. Homem \n\n 2. Mulher\n\n".format(Nome=nome)) | |
if sexo == 1: | |
print("{Nome} é homem".format(Nome=nome)) |
This file contains hidden or 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
const age_user = [ | |
{ | |
name: "Jane Dow", | |
age: 39, | |
}, | |
{ | |
name: "John Doe", | |
age: 39, | |
}, | |
{ |
This file contains hidden or 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
const userISPRO = [ | |
{ | |
nome: "John", | |
pro: true, | |
}, | |
{ | |
nome: "Hima", | |
pro: false, | |
}, | |
{ |
This file contains hidden or 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
const githubStars = [ | |
{ | |
userID: "tecnobert", | |
userStars: 88, | |
}, | |
{ | |
userID: "philipwalton", | |
userStars: 36, | |
}, | |
{ |
This file contains hidden or 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
const temperatureCelsius = [0, 22, 31, 40, 45, 12, 3]; | |
const toFahrenheit = (value) => (value * 9) / 5 + 32; | |
const temperatureFahrneheit = temperatureCelsius.map(toFahrenheit); | |
console.log(temperatureCelsius); | |
console.log(temperatureFahrneheit); |
This file contains hidden or 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
const mySkills = [ | |
"C#", | |
"JavaScript", | |
"TypeScript", | |
"HTML", | |
"CSS3", | |
"Angular", | |
"ReactJS", | |
"React Native", | |
"NodeJs", |