Skip to content

Instantly share code, notes, and snippets.

@LudLaf
LudLaf / github_desktop_ubuntu.sh
Created November 23, 2022 16:16 — forked from berkorbay/github_desktop_ubuntu.md
To install Github Desktop for Ubuntu
## Follow this link for further updates to Github Desktop for Ubuntu https://github.com/shiftkey/desktop/releases/latest
# UPDATE (2022-11-07): Thanks to Sxvxgee's message, the updated code is as follows
sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb
### Uncomment below line if you have not installed gdebi-core before
# sudo apt-get install gdebi-core
sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb
# UPDATE (2021-10-18): Thanks to Amin Yahyaabadi's message, the updated code is as follows
@LudLaf
LudLaf / markdown-details-collapsible.md
Created June 26, 2022 11:12 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help
@LudLaf
LudLaf / create_split_secret.sh
Created December 5, 2020 20:31 — forked from sowbug/create_split_secret.sh
Use Shamir's Secret Sharing Scheme to split a strong passphrase into five QR codes, any three of which will reconstruct the passphrase.
#!/bin/bash
#
# Use Shamir's Secret Sharing Scheme to split a strong passphrase into
# five QR codes, any three of which will reconstruct the passphrase.
#
# Requires packages qrencode, ssss, and optionally zbarimg.
PASSPHRASE_LENGTH=32
SHARES=5 # max 9 (fix single-digits below if you need more)
MIN_TO_COMBINE=3
@LudLaf
LudLaf / fichero.rb
Created May 19, 2013 10:13
Adicto a Petrominerales: Banco !Malo¡ ¡Malo! ¡Malo!
http://petromineralesaddict.blogspot.com.es/2013/05/banco-malo-malo-malo.html?m=1