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
  • 14:28 (UTC +01:00)
  • Instagram tsk.xz
View GitHub Profile
sudo wget https://packages.microsoft.com/keys/microsoft.asc -O /etc/apt/keyrings/mssql2022.key
sudo wget https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-2022.list -O /etc/apt/sources.list.d/mssql-server-2022.list
sudo wget https://packages.microsoft.com/config/ubuntu/22.04/prod.list -O /etc/apt/sources.list.d/msprod.list
sudo nano /etc/apt/sources.list.d/mssql-server-2022.list
# add setting like follows
deb [signed-by=/etc/apt/keyrings/mssql2022.key arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/22.04/mssql-server-2022 jammy main
sudo nano /etc/apt/sources.list.d/msprod.list
# add setting like follows
@tskxz
tskxz / gist:d5c4442dc1114d0f85b4044fc74a5ab7
Created February 15, 2024 20:25
fix discord black screen debian
sudo nano /etc/gdm3/daemon.conf
Uncomment the following line
#WaylandEnable=false
To
WaylandEnable=false
And then restart your machine
@tskxz
tskxz / gist:0db6b0f3960edee0b8369bf489506042
Created February 15, 2024 20:24
fix discord black screen debian
sudo nano /etc/gdm3/daemon.conf
Uncomment the following line
#WaylandEnable=false
To
WaylandEnable=false
------------------
System Information
------------------
Time of this report: 9/20/2023, 16:02:58
Machine name: DESKTOP-A0KNSJT
Machine Id: {61750709-1678-44DD-95A1-F8A3ACE0D885}
Operating System: Windows 10 Home 64-bit (10.0, Build 19045) (19041.vb_release.191206-1406)
Language: Portuguese (Regional Setting: Portuguese)
System Manufacturer: HP
System Model: HP Pavilion Notebook
@tskxz
tskxz / sysinformation.txt
Created April 23, 2023 13:28
system information from steam
Computer Information:
Manufacturer: HP
Model: 80A4
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
@tskxz
tskxz / fix.sh
Created April 23, 2023 12:50
Hotline Miami - Controls completely not working in Ubuntu
sudo rm /dev/input/js0
➜ ~ 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)
@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"
)
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