Skip to content

Instantly share code, notes, and snippets.

View peanutbutterandcrackers's full-sized avatar

peanutbutterandcrackers

View GitHub Profile
$$$Gen.1.1
In the beginning, God create the heaves and the earth.
$$$Gen.1.2
And the earth was without form, and void
And darkness was upon the face of the deep
$$$Gen.1.3
And the Spirit of God moved
@jwalanta
jwalanta / ne
Created May 3, 2019 18:57
Fixed Nepali Romanized keyboard file for Linux (/usr/share/X11/xkb/symbols/ne)
// based on a keyboard map from an 'xkb/symbols/dev' file
//
// $XFree86: xc/programs/xkbcomp/symbols/pc/dev,v 1.2 2002/11/22 04:03:28 dawes Exp $
partial default alphanumeric_keys
xkb_symbols "basic" {
name[Group1]= "Nepali_Romanized";
// `,1,2,3,4,5,6,7,8,9,0,-,=
@ferdnyc
ferdnyc / github-branching.md
Last active September 27, 2023 21:13
My GitHub branch-management workflow

GitHub branch management for upstream remote projects using git

My previous GitHub branch-management process, first attempted with OpenShot/openshot-qt, and used on all projects until I came to appreciate the hub method (described below). Note that what's described here is also what the gh command will set up automatically, if the user first clones an upstream and then runs gh repo fork in that directory.

  1. After creating my fork in the web interface
    $ git clone <my fork SSH identifier>; cd $PROJECT
    $ git remote add upstream <upstream HTTPS URL>
    $ git fetch upstream

From https://github.com/...

@TheRockStarDBA
TheRockStarDBA / gist:c8687028d5c3c4fb3a0ddf984e32db50
Created July 12, 2018 16:42 — forked from rxaviers/gist:7360908
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:
### Flatpak Repos
List packages on a repo :
flatpak remote-ls repon-name --user
flatpak remote-ls
Install packages :
flatpak --user install repo-name package-name io.liri.Platform
Flathub:
Mi lista de repos flatpak
Flathub:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Gnome Stable:
flatpak remote-add --if-not-exists gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak remote-add gnome-apps https://sdk.gnome.org/gnome-apps.flatpakrepo
@mcastelino
mcastelino / Simple vsock setup for QEMU.md
Last active January 16, 2024 13:35
using qemu with vsock

Simple vsock setup for QEMU

Configuration

Host Kernel: rawhide 4.13.0-0.rc6.git4.2.fc28.x86_64 (on Fedora 24)

QEMU is mainline built from sources: QEMU emulator version 2.10.50 (v2.10.0-105-g223cd0e)

Guest: clear-17460-kvm.img (which has vsock support)

copy/paste to terminal the whole of the next line;
inxi -FxxRduplorzc0 | gist-paste
share the link/url output in chat room being used, i wont accept private chat responses.
If you dont see a url/link output that means you have not done an update since installing, do so first, the needed app will install.
Rerun above command after updating.
@bouroo
bouroo / thai-id-card.py
Last active October 31, 2023 03:24
Thai National ID Card reader in python
#!/usr/bin/env python
# Kawin Viriyaprasopsook<kawin.v@kkumail.com>
# 2023-10-19
# sudo apt-get -y install pcscd python-pyscard python-pil
import binascii
import os
import sys
from PIL import Image
from smartcard.System import readers
@simonw
simonw / how-to.md
Last active March 26, 2024 23:21
How to create a tarball of a git repository using "git archive"