Skip to content

Instantly share code, notes, and snippets.

@release-please
release-please / intall_meslo_fonts.sh
Last active April 25, 2024 17:12 — forked from incogbyte/fonts.sh
Install Meslo Fonts Ubuntu Linux Mint and debians
#!/bin/bash
REPO_NAME="ryanoasis/nerd-fonts"
LATEST_RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/$REPO_NAME/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
sudo apt install fontconfig
cd ~
wget https://github.com/$REPO_NAME/releases/download/$LATEST_RELEASE_VERSION/Meslo.zip
mkdir -p .local/share/fonts
# -o overwrite existing files without prompting.

How to shrink existed partition with ext4 file system AND encrypt the new one with LUKS

  1. As far as I know we should resize both: file system (ext4) AND partition:
  • install partition resizer parted: sudo pacman -S parted
  • if you're shrinking /home partition you should logout first, login as root and umount /home partition: umount /home
  • how it looks right now:
[mezlogo@virtarch ~]$ sudo fdisk -l /dev/sda
Disk /dev/sda: 8 GiB, 8589934592 bytes, 16777216 sectors
Disk model: VBOX HARDDISK
@release-please
release-please / Jest_GitLab_CI.md
Created November 9, 2021 08:48 — forked from rishitells/Jest_GitLab_CI.md
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages:
/*
The MIT License (MIT)
Copyright (c) 2014 Ismael Celis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is