Skip to content

Instantly share code, notes, and snippets.

View deild's full-sized avatar

Tōlvä deild

View GitHub Profile
{
"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",
@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
@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 / 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 / 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
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 / installation.md
Last active February 2, 2020 11:43
macOS OpenJDK PKG installer packages

macOS OpenJDK PKG installer packages

AdoptOpenJDK macOS installer packages are available as standard .pkg files, which can be run with an interactive user interface or run silently from the Terminal command line.

GUI installation Instructions for running an interactive installation using the macOS PKG installer.

  1. Download the .pkg file.

  2. Navigate to the folder that contains the file and open it to launch the installation program or drag the icon to your Application folder.

@deild
deild / README-Template.md
Created July 4, 2019 19:03 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@deild
deild / README.md
Last active March 16, 2019 21:32
build ledger on macOS

with

  • macOS Mojave 10.14.3
  • boost 1.68.0
  • The C compiler identification is AppleClang 10.0.0.10001044
  • The CXX compiler identification is AppleClang 10.0.0.10001044
./acprep opt make --output=build  --prefix=$(brew --prefix) --boost=$(brew --prefix boost) \
--python -- -DUSE_PYTHON27_COMPONENT=1