Skip to content

Instantly share code, notes, and snippets.

View latusikl's full-sized avatar

Łukasz Latusik latusikl

View GitHub Profile
@latusikl
latusikl / setup.md
Last active May 23, 2023 20:41
Ubuntu Server 22 LTS Wi-Fi

Setup Wi-Fi for Ubuntu server

Wi-Fi connections are not enabled by default on Ubuntu Server. You will need to enable it manually. You can do it during installation (this didn't work for me) and after. Here are steps I needed to do to enable Wi-Fi on my Ubuntu Server. You may need wired connections at first to download some packages or provide them using e.g. USB drive.

I am not and expert in this field so if you find something that can be improved in the Gist let me know :)

1. Download rfkill and unblock Wi-Fi

In my case I needed to unblock Wi-Fi interfaces. For that I used rfkill. It was not availalbe out of the box in the server so I needed to download additional package.

@latusikl
latusikl / kitty.conf
Last active May 15, 2023 11:43
My Kitty configuration file
# Treat Option button as Alt
macos_option_as_alt
# Use all predefined layouts except stacked
# See https://sw.kovidgoyal.net/kitty/overview/#layouts
enabled_layouts='tall','fat','grid','horizontal','vertical'
#Scrollback options
scrollback_lines 5000
scrollback_pager_history_size 500
@latusikl
latusikl / Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab.md
Last active April 18, 2021 10:28
Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab

Task 1: Create a bucket

gsutil mb -p qwiklabs-gcp-04-ffed8baf5001 -l us-east1 gs://<YOUR_BUCKET_NAME>

Task 2: Create a Pub/Sub topic

gcloud pubsub topic create kraken-topic
@latusikl
latusikl / GRUB.md
Last active May 13, 2024 20:05
How to hide GRUB menu while dual booting?

Hide GRUB menu while dual booting

Tested on Ubuntu 18.04 / 20.04 / 24.04

After that change during boot chosen default system will be opened without going through GRUB menu.\

Note

You can still open GRUB menu by pressing Shift key while booting.

@latusikl
latusikl / bashInfo.md
Last active August 8, 2019 19:32
Where to store your bash scripts? How execute bash script without sudo?
  • Storing your bash scrpits
    One of better ways to store scripts created by yourself is to create bin folder in your home direcotry and add it to path where bash is looking for scripts.
  1. Create bin folder.
mkdir ~/bin
  1. Add it to PATH in .bashrc configuartion file.
@latusikl
latusikl / Backlight.md
Last active August 8, 2019 19:46
Zenbook UX550GE Ubuntu 18.04 LTS

Not working backlight button (Zenbook UX550GE Ubuntu 18.04 LTS)

After instalation you can adjust yours keyboard backlight only via settings (Settings->Power->Keyboard Backlight) but the key is not responding.

For now I was able to create bash script which controlls backlight in a similar way it's done in Windows for that laptop. Thing left to do is to assign executing this script to the button which I'm currently working on.


  • How is backlight controlled?
@latusikl
latusikl / Instalation.md
Last active August 13, 2019 17:59
Zenbook UX550GE Ubuntu 18.04 LTS

Installing Ubuntu LTS 18.04 on Zenbook UX550GE

Installing Ubuntu on this laptop is quite simple.
However there are few things to remember.


  • Instalation along Windows Boot Manager

    To proceed the instalation you have to prepare bootable USB drive with Ubuntu on it. There are plenty of tutorials about it along with official Ubuntu tutorial, so I will skip this step.\