Skip to content

Instantly share code, notes, and snippets.

@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@yusuftaufiq
yusuftaufiq / customize-gnome-panel-guide.md
Last active September 2, 2023 02:45
Creating a Transparent Panel with Grouped Buttons in the GNOME Desktop Environment

Creating a Transparent Panel with Grouped Buttons in the GNOME DE

⚠️ This guide uses the apt package manager, if you are using another package manager, please follow the related package installation guide according to the one you are using.

Overview

There is a short tutorial how to make your GNOME panel like the image below panel

Requirements

  1. First, you need to install GNOME Tweaks & GNOME Shell Extensions
@Vertecedoc4545
Vertecedoc4545 / Hyprland-Ubuntu.md
Last active July 20, 2024 22:19
Ubuntu 23.04 Build and Install instructions for Hyprland

Building on Ubuntu 23.04

You have 2 options, use the script descrived bellow or follow the instrutions

script in this gist if you want the source code

wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh