Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Fartomy / links.md
Last active February 19, 2023 19:13
It is up to you
@Fartomy
Fartomy / colorls.md
Last active February 19, 2023 20:31
Like a Jelly Bean

🍬 Like a Jelly Bean

If you want a colorful list your in directory, you should install colorls:

git clone https://github.com/ryanoasis/nerd-fonts.git && cd nerd-fonts; ./install.sh && cd

than:

git clone https://github.com/athityakumar/colorls.git && cd colorls; sudo gem install colorls

and run this command:

@Fartomy
Fartomy / tts.md
Last active December 15, 2023 18:19
If you want your brother/sister to bring you water

🥤 If you want your brother/sister to bring you water

Text to Speech Package

TTS, It allows you to output what is written aloud. You should these steps:

sudo apt install espeak

usage:

@Fartomy
Fartomy / video.md
Last active February 19, 2023 22:36
Watching Video via Terminal

📹 Watching Video via Terminal

You may want to open any video via the terminal as well as search and open something from youtube.
We need this:

sudo apt-get install python3-pip

than install media player package:

sudo apt install mplayer
@Fartomy
Fartomy / game.md
Last active February 19, 2023 23:04
The Machine of The Game

👾 The Machine of The Game

As everything can be done on the linux terminal, the game can also be played.

There are my favorites:

sudo apt install nsnake

for play:

@Fartomy
Fartomy / cal.md
Created February 19, 2023 23:18
To Make Fine Calculations on the Calendar

🗓️ To Make Fine Calculations on the Calendar

Maybe some just like to do calculations on the calendar. So they why not do it on terminal?

sudo apt install ncal
cal

for the calculations:

@Fartomy
Fartomy / pure.md
Last active May 16, 2023 09:24
A Smooth and Pure Terminal

🖥️ A Smooth and Pure Terminals

⚡ Hyper - (MacOS - Windows - Linux)

There really is such perfection. Hyper is an Electron-based terminal.

🔲 The Fig - (MacOS - Windows - Linux)

The Fig next-generation command line. The source of truth for your team’s secrets, scripts, and SSH credentials.

🟦 Warp - (MacOS)

@Fartomy
Fartomy / mc.md
Last active January 7, 2025 11:05
The MC Launchers

🎲 The Minecraft Launchers

Since they all support Java, it can run on any platform.

🟩 Prism Launcher

Prism Launcher, an Open Source Minecraft launcher with the ability to manage multiple instances, accounts and mods. Focused on user freedom and free redistributability.

🟧 MultiMC

@Fartomy
Fartomy / threejs.md
Last active February 20, 2023 00:02
The Power of Three.js

👽 The Power of Three.js

Three.js is a cross-browser JavaScript library and application programming interface used to create and display animated 3D computer graphics in a web browser using WebGL.

@Fartomy
Fartomy / modet.md
Created February 20, 2023 00:11
What is mode_t in C?

What is mode_t in C?

Lots of man pages refer to mode_t, but frustratingly, the manual does not include a page on it. (This is a general flaw in the manual: there are no pages for types.) The documentation for mode_t is found buried in CHMOD(2):
A mode is created from or’d permission bit masks defined in <sys/stat.h>:

#define S_IRWXU 0000700    /* RWX mask for owner */
#define S_IRUSR 0000400    /* R for owner */
#define S_IWUSR 0000200    /* W for owner */
#define S_IXUSR 0000100    /* X for owner */