Skip to content

Instantly share code, notes, and snippets.

How to install a package on a machine which does not have internet access?

Steps

  • download apt-offline .deb package file from https://packages.ubuntu.com and transfer it to offline machine

  • install apt-offline

sudo dpkg -i apt-offline_<version>_all.deb
@BuonOmo
BuonOmo / emojis.sh
Last active November 12, 2024 17:58
A list of all UTF-8 emojis in bash or zsh
# Obtained with the code written in next file
emoji_grinning_face=😀
emoji_grinning_face_with_big_eyes=😃
emoji_grinning_face_with_smiling_eyes=😄
emoji_beaming_face_with_smiling_eyes=😁
emoji_grinning_squinting_face=😆
emoji_grinning_face_with_sweat=😅
emoji_rolling_on_the_floor_laughing=🤣
emoji_face_with_tears_of_joy=😂
emoji_slightly_smiling_face=🙂