Skip to content

Instantly share code, notes, and snippets.

@valyakuttan
valyakuttan / dnscrypt-proxy-as-podman-container.md
Last active April 13, 2024 11:26
Configue dnscrypt-proxy as a podman container in Fedora Silverblue

Configure dnscrypt-proxy as a podman container in Fedora Silverblue

Download dnscrypt-proxy and dnscrypt-proxy.toml

  • Pull dnscrypt-proxy docker image from dockerhub

    
    $ sudo podman pull docker.io/klutchell/dnscrypt-proxy
    
    
@valyakuttan
valyakuttan / tor-proxy-as-podman-containder.md
Last active October 23, 2023 01:20
Configue tor as a podman container in Fedora Silverblue

Configue tor as a podman container in Fedora Silverblue

Installation

  1. Pull image from dockerhub

         $ podman pull docker.io/osminogin/tor-simple

Run a local HTTP server with Docker 🐳

Serve your static website from localhost using Docker and Nginx.

By @arrested-developer

Why Docker?

Do you know the famous phrase "it works on my machine"?

@valyakuttan
valyakuttan / git-commit-title-first-word.md
Created May 8, 2023 12:02 — forked from scmx/git-commit-title-first-word.md
Example list of verbs / first word to use in git commit title #git #commit #title

Example list of first words to use in a git commit title

I like writing well-formed git commits that explain the intention behind why a code change was made.

Check out Chris Beams excellent How to Write a Git Commit Message if you haven't read it.

Anyway, for a project I've been working on I've gathered up 900+ commits that hold up a pretty high quality (except for one 😁). Let's look at some trends about these commits!

Most common first words in commit titles of a project

@valyakuttan
valyakuttan / Fedora_38.md
Last active March 1, 2023 12:45
[Setting up dnscrypt-proxy on Fedora 38]

Setting up dnscrypt-proxy on Fedora 38

Installation

  1. Install dnscrypt-proxy

         $ sudo dnf install dnscrypt-proxy
@valyakuttan
valyakuttan / remove_grub_from_windows11.md
Last active December 7, 2023 03:45
How to remove GRUB from Windows 11

1. How do I use gdb?

When you compile your program, you must tell the compiler to produce a program that is compatible with the debugger. The debugger needs special information to run properly. To do this, you must compile your program with the debugger flag, -g. This step is critical. Without it, the debugger won't have the program symbol information. That means it won't know what your functions and variables are called, and it won't understand when you ask it about them.

How do I...?

@valyakuttan
valyakuttan / math.md
Last active June 29, 2022 17:51
Math support of github

When $a \ne 0$, there are two solutions to $(ax^2 + bx + c = 0)$ and they are $$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

@valyakuttan
valyakuttan / GnuPG_Cheat_Sheet.md
Last active August 19, 2023 08:32 — forked from colematt/Backup-and-Restore-GPG-and-SSH-keys.md
[Backup and Restore GPG and SSH keys] #git #gpg #ssh

GnuPG Cheat sheet

Import and Backup secret keys

  1. Import secret keys from a backup

    $ gpg --decrypt backup_file.pgp | gpg --import
    
@valyakuttan
valyakuttan / keybase.md
Created October 13, 2021 11:53
keybase proof

Keybase proof

I hereby claim:

  • I am valyakuttan on github.
  • I am valyakuttan (https://keybase.io/valyakuttan) on keybase.
  • I have a public key ASD8so6H4iN9XaQ5_KHQAjxtOxQEWRGHn12S-2TisyhX5wo

To claim this, I am signing this object: