Skip to content

Instantly share code, notes, and snippets.

View uncomfyhalomacro's full-sized avatar
๐Ÿ‡ต๐Ÿ‡ญ
Manifesting ๐ŸŒ 

Soc Virnyl S. Estela uncomfyhalomacro

๐Ÿ‡ต๐Ÿ‡ญ
Manifesting ๐ŸŒ 
View GitHub Profile
@egoens
egoens / ssh-add.md
Last active March 18, 2024 19:13
Use this if ssh key keeps asking for password
function rvm --description='Ruby enVironment Manager'
# run RVM and capture the resulting environment
set --local env_file (mktemp -t rvm.fish.XXXXXXXXXX)
bash -c 'source ~/.rvm/scripts/rvm; rvm "$@"; status=$?; env > "$0"; exit $status' $env_file $argv
# apply rvm_* and *PATH variables from the captured environment
and eval (grep '^rvm\|^[^=]*PATH\|^GEM_HOME' $env_file | grep -v '_clr=' | sed '/^[^=]*PATH/s/:/" "/g; s/^/set -xg /; s/=/ "/; s/$/" ;/; s/(//; s/)//')
# needed under fish >= 2.2.0
and set -xg GEM_PATH (echo $GEM_PATH | sed 's/ /:/g')
@xero
xero / unix
Last active March 14, 2024 08:08
curl -L git.io.unix
,_ ,_==โ–„โ–‚
, โ–‚โ–ƒโ–„โ–„โ–…โ–…โ–…โ–‚โ–…ยพ. / /
โ–„โ–†<ยด "ยปโ–“โ–“โ–“%\ / / / /
,โ–…7" ยด>โ–“โ–“โ–“% / / > / >/%
โ–ยถโ–“ ,ยปโ–“โ–“ยพยด /> %/%// / /
โ–“โ–ƒโ–…โ–…
@gerbsen
gerbsen / ssh_agent_start.fish
Last active May 15, 2025 03:26 — forked from schaary/ssh_agent_start.fish
Auto-launching ssh-agent in fish shell
# content has to be in .config/fish/config.fish
# if it does not exist, create the file
setenv SSH_ENV $HOME/.ssh/environment
function start_agent
echo "Initializing new SSH agent ..."
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
echo "succeeded"
chmod 600 $SSH_ENV
. $SSH_ENV > /dev/null
@mahammad
mahammad / firefox-developer-edition.md
Last active June 2, 2025 21:35
How To install Firefox Developer Edition and create desktop icon for Ubuntu 14.04 LTS

chose other install way

  1. Open Terminal Ctrl+Alt+T Download Firefox Developer Edition tar file

    wget https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=linux64&lang=en-US

  2. Copy tar file to opt sudo cp -rp firefox-35.0a2.en-US.linux-x86_64.tar.bz2

  3. Open opt folder (cd /opt/) and untar file sudo tar xjf firefox-35.0a2.en-US.linux-x86_64.tar.bz2

@sjoqvist
sjoqvist / arch-hp-pavilion-g6.md
Created February 24, 2014 13:00
Guide to install Arch Linux on an HP Pavilion g6 laptop with encryption and suspend-to-disk using LVM on LUKS

Arch Linux on HP Pavilion g6 with encryption and suspend-to-disk using LVM on LUKS

Hardware (relevant to this guide)

  • Exact model: HP Pavilion g6-1229so (I believe this is detailed enough to explain for example that the keyboard layout is Swedish)
  • Firmware Interface: BIOS (i.e. UEFI not available)
  • Graphics controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
  • Wi-Fi controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
  • RAM: 4GB
@rxaviers
rxaviers / gist:7360908
Last active July 25, 2025 21:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@vodik
vodik / SOS.md
Last active April 9, 2025 18:21
_Never_ -Sy when installing!

Once upon a time there was a user that wanted to install firefox.

The user tried to do pacman -S firefox but it didn't work. The all mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz could not be found on his mirror. So the user tried pacman -Sy firefox. It worked and the user rejoiced since he could once again go and troll /h/.

But all was not good. The user had made a grave error!

See, when the user told the almighty pacman to -Sy firefox, pacman did

@jboner
jboner / latency.txt
Last active July 25, 2025 09:04
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD