- Markdown style
[![Watch the video](https://img.youtube.com/vi/nTQUwghvy5Q/default.jpg)](https://youtu.be/nTQUwghvy5Q)
- HTML style
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">
git status | |
git diff | |
git add README.md | |
git status | |
git commit | |
git config --global user.email "[email protected]" | |
git config --global user.name "usernameGithub" | |
git commit | |
git log | |
git push origin master |
import pyautogui as auto | |
from time import sleep | |
contador =0 | |
while contador < 100: | |
auto.write('te amo <3') #aqui voce coloca o texto a ser enviado | |
auto.press('enter') | |
sleep(0.4) | |
contador+=1 |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!--<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> --> | |
<script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
<title>Document</title> | |
</head> |
g++ arquivo.cpp -o nomeDoExec -Wall | |
g++ -o NOME_DO_EXECUTAVEL nomeDoArquivo.cpp | |
gcc -o NOME_DO_EXECUTAVEL nomeDoArquivo.cpp |
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main(){ | |
runApp(MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( |
#include <stdbool.h> | |
#include <stdio.h> | |
typedef struct funcionario { | |
char nome[50]; | |
int idade; | |
char sexo; | |
char CPF[10]; | |
char dataNascimento[3]; | |
int codigoSetor; |
#include <stdbool.h> | |
#include <stdio.h> | |
typedef struct aluno { | |
char nome[50]; | |
char matricula[10]; | |
float notas[2]; | |
float media; | |
bool aprovacao; |
from datetime import datetime | |
user_input = input('entre com seu objetivo e deadline separados por (:)\n') | |
#colocando a string na lista | |
input_list = user_input.split(':') | |
#tratando a lista | |
objetivo =input_list[0] | |
deadline = input_list[1] | |
#preparando calculo dos dias | |
data_deadline = datetime.strptime(deadline, "%d.%m.%Y") |
import requests | |
user_name = input("digite aqui o seu usuário do gitlab: ") | |
response = requests.get(f"https://gitlab.com/api/v4/users/{user_name}/projects") #type -> <class 'requests.models.Response'> | |
lista_meus_projetos = response.json() #type -> <class 'list'> O metodo json converte o tipo para lista | |
for projeto in lista_meus_projetos: | |
print(f"nome do projeto: {projeto['name']} \nURL do projeto: {projeto['web_url']}\n") |