Skip to content

Instantly share code, notes, and snippets.

View deild's full-sized avatar

Tōlvä deild

View GitHub Profile
@deild
deild / readme.md
Last active December 28, 2020 21:16
Rust Code Coverage Tools

grcov

Another tool for code coverage is called grcov. It is available at https://github.com/mozilla/grcov.

To produce HTML reports with grcov you can either use the built-in way or using the lcov package. The workflow for grcov is as follows:

# Install the tool
cargo install grcov
@deild
deild / 5_steps_change_master_to_main.md
Last active January 2, 2021 15:33
5 steps to change GitHub default branch from master to main

All commands

# Step 1 
# create main branch locally, taking the history from master
git branch -m master main

# Step 2 
# remove the "upstream" branch link to origin/master
git branch --unset-upstream
@deild
deild / README.md
Created February 14, 2021 16:41
How can you completely remove a package on ubuntu ?

You first check out for the name of the package you want to remove:

dpkg --list

Then remove the given package

sudo apt-get remove package_name

Purge any related code

@deild
deild / NOTES.md
Last active May 10, 2023 00:28
Fedora on a LENOVO ThinkPad P14s with AMD processor

Fedora on a LENOVO ThinkPad P14s Gen 1 (MT_20Y1)

These are my installation-tricks and notes for running Linux on a Thinkpad P14s Gen1 with AMD Ryzen 7 4750U.

Specs

OS: Fedora release 35 (Thirty Four) x86_64

Model: 20Y1CTO1WW ThinkPad P14s Gen 1

CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics (16) @ 1.700GHz

@deild
deild / fedora_dev_tools.md
Last active May 8, 2025 04:17
Fedora Dev Tools

Fedora tools and more

These are my notes for tools and config on Fedora

Gnome terminal theme Nord

to have previously modified the profile to have generated a conf file

sudo dnf install -y dconf util-linux GConf2
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Thomas Davis",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I’m a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am use to wearing many hats. I am a very product focussed developer who priotizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ",
"website": "https://lordajax.com",