Skip to content

Instantly share code, notes, and snippets.

@valyakuttan
valyakuttan / git: gitignore.md
Created July 16, 2025 17:04 — forked from jstnlvns/git: gitignore.md
a gitignore cheatsheet

Git sees every file in your working copy as one of three things:

  1. tracked - a file which has been previously staged or committed;
  2. untracked - a file which has not been staged or committed; or
  3. ignored - a file which Git has been explicitly told to ignore.

Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:

  • dependency caches, such as the contents of /node_modules or /packages
  • compiled code, such as .o, .pyc, and .class files
@valyakuttan
valyakuttan / keepassxc_firefox.md
Last active April 18, 2025 18:24
Connecting Flatpak versions of KeepassXC and Firefox browser on Fedora Silverblue

See what's the block device

[yabbes@x220 ~]$ lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0 298,1G  0 disk
├─sda1           8:1    0   500M  0 part  /boot
└─sda2           8:2    0 297,6G  0 part
  └─lvm        254:0    0 297,6G  0 crypt
    ├─vg0-swap 254:1    0     4G  0 lvm   [SWAP]
    ├─vg0-root 254:2    0    46G  0 lvm   /
@valyakuttan
valyakuttan / silverblue-vivobook.md
Last active February 11, 2024 18:41
How to Customize Fedora Silverblue on ASUS VivoBook

How to Customize Fedora Silverblue on ASUS VivoBook

  1. Enable Fractional scaling on wayland

          $ gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
  2. Add Flatpak remotes and other third-party repositories

conda cheatsheet

conda Installation

  • verify conda install and check version

    
    $ conda info
    
    

OpenKeychain

Backup and import gpg key from OpenKeychain

  • Make a bakup from OpenKeychain and transfer it to workstation

  • On the workstation import the key by

@valyakuttan
valyakuttan / flatpak-cheatsheet.md
Last active August 18, 2023 17:15
flatpak Command Reference

Frequently used flatpak commands

  • Location of flatpak configuration files and apps data

    • Applications store user data in $HOME/.var/app

    • User level configuration is storred in $HOME/.local/share/flatpak

    • System wide configuration is storred in /var/lib/flatpak

@valyakuttan
valyakuttan / vscode-flatpak.md
Last active June 6, 2025 07:57
Fedora Silverblue vscode flatpak configuration

How to configure flatpak version of Visual Studio Code on Fedora Silverblue

1 podman Configuration

  • Create a a file ${HOME}/.config/containers/containers.conf with the following contents:

    
    [containers]
    env = [
    
@valyakuttan
valyakuttan / podman-cheatsheet.md
Last active August 12, 2023 09:02
Podman Command Reference

Frequently used podman commands

  1. Add an additional name to a local image

         $ podman tag 0e3bbc2 fedora:latest
  2. Display the running processes of a container

         $ podman top f5a62a71b07
@valyakuttan
valyakuttan / markdown_cheatsheet.md
Created July 26, 2023 17:24
Markdown Cheatsheet

1. Code and Preformatted Text

  • 1.1 Indent four spaces to create an escaped <pre> <code> block:

    printf("%d\n", 42);  /* what was the
     question again? */
    
  • 1.2 Markdown and HTML are ignored within a code block
    You would hate this if it weren't