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
  • 05:58 (UTC +01:00)
  • Instagram tsk.xz
View GitHub Profile
@tskxz
tskxz / fix.sh
Created April 23, 2023 12:50
Hotline Miami - Controls completely not working in Ubuntu
sudo rm /dev/input/js0
@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
------------------
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 / 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
@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
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
# installs fnm (Fast Node Manager)
winget install Schniz.fnm
# Restart your powershell
# download and install Node.js
fnm use --install-if-missing 20
# If you get error, enter these commands