Skip to content

Instantly share code, notes, and snippets.

View tskxz's full-sized avatar
I may be slow to respond.

Tanjil tskxz

I may be slow to respond.
  • Portugal, Porto
  • 22:52 (UTC +01:00)
  • Instagram tsk.xz
View GitHub Profile
@tskxz
tskxz / testeA.cpp
Created January 18, 2021 19:21
Teste A Módulo 3
// Escreva a versão iterativa de uma função que calcula e devolve o máximo de umconjunto de N números reais
int maximo_iterativo(int N) {
int num, maxi;
cin >> maxi;
for (int i=1; i<N; i++) {
cin >> num;
if (num>maxi) maxi=num;
}
return maxi;
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
CPU Family: 0x6
* {
font-family: 'Oswald', sans-serif;
box-sizing: border-box;
}
body {
height: 100vh;
margin: 0px;
display: grid;
grid-template-rows: 120px 1fr 60px;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<title>Curso PHP</title>
</head>
@tskxz
tskxz / donut.c
Last active March 6, 2021 17:52
donut.c
k;
double sin() ,cos();
main()
{
float A=0,B=0,i,j,z[1760];
char b[1760];
printf("\x1b[2J");
for(;;){
memset(b,32,1760);
memset(z,0,7040);
@tskxz
tskxz / gist:c83cc1bef1764a9bcb3a2b797b6cb28a
Created July 20, 2022 09:39
mysql file my.ini with max_allowed_packet=16M
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or
Ponto 1
Criar projeto laravel
composer create-project laravel/laravel:^8.0 example-app
php artisan serve
Ponto 2
Instalar tailwind css
npm install -D tailwindcss postcss autoprefixer
Ponto 1
Criar projeto laravel
composer create-project laravel/laravel:^8.0 example-app
php artisan serve
Ponto 2
Instalar tailwind css
npm install -D tailwindcss postcss autoprefixer
@tskxz
tskxz / dados.py
Last active April 6, 2023 22:13
script_arduino_pap_erico
import serial
import mysql.connector
# Configure o objeto de conexão do MySQL
mydb = mysql.connector.connect(
host="127.0.0.1",
user="root",
password="",
database="arduino_pap"
)
➜ ~ steam
steam.sh[7915]: Running Steam on ubuntu 18.04 64-bit
steam.sh[7915]: STEAM_RUNTIME is enabled automatically
setup.sh[8063]: Steam runtime environment up-to-date!
steam.sh[7915]: Steam client's requirements are satisfied
[2023-04-17 19:55:42] Startup - updater built Mar 24 2023 17:19:53
[2023-04-17 19:55:42] Startup - Steam Client launched with: '/home/tanjil/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8169)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-04-17 19:55:42] Loading cached metrics from disk (/home/tanjil/.local/share/Steam/package/steam_client_metrics.bin)