Skip to content

Instantly share code, notes, and snippets.

View johnarok's full-sized avatar

johnarok

View GitHub Profile
@johnarok
johnarok / git-cheatsheet.md
Last active December 21, 2018 15:12
git cheatsheet

clean workspace

git clean -df
git reset --hard

pull PR branch

@johnarok
johnarok / ContainerImageBuilding.md
Last active December 18, 2018 02:35
Container Image Building

https://docs.google.com/spreadsheets/d/19qit3B2kIjcQrf0w7H5yqeg-so1-pleA9Fs1EBQNvKc/edit?usp=sharing

URL Component Status Notes/Description

https://bugzilla.redhat.com/show_bug.cgi?id=1498628

Centos Open "rhel77-crypto-shadow-utils) shadow-utils: Update to get newuidmap and newgidmap binaries We are seeing a lot of interest in using buildah and podman as non root, withougt the newgimap and newuidmap on RHEL, those users will not be able use this feature. I think we should reconsider not at least adding these two executables "" shadow-utils-4.1.5.1-24.el7.x86_64"""

@johnarok
johnarok / proc-on-rhel8-beta.txt
Created November 16, 2018 03:07
proc on rhel8-beta
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 21:52 ? 00:00:01 /usr/lib/systemd/systemd --switched-root --system --deserialize 17
root 2 0 0 21:52 ? 00:00:00 [kthreadd]
root 3 2 0 21:52 ? 00:00:00 [rcu_gp]
root 4 2 0 21:52 ? 00:00:00 [rcu_par_gp]
root 6 2 0 21:52 ? 00:00:00 [kworker/0:0H-kblockd]
root 8 2 0 21:52 ? 00:00:00 [mm_percpu_wq]
root 9 2 0 21:52 ? 00:00:00 [ksoftirqd/0]
root 10 2 0 21:52 ? 00:00:00 [rcu_sched]
root 11 2 0 21:52 ? 00:00:00 [rcu_bh]
@johnarok
johnarok / rpms-rhel8-beta.txt
Created November 16, 2018 03:01
rpms on rhel8-beta
acl-2.2.53-1.el8.x86_64
audit-3.0-0.5.20180831git0047a6c.el8.x86_64
audit-libs-3.0-0.5.20180831git0047a6c.el8.x86_64
authselect-1.0-5.el8.x86_64
authselect-libs-1.0-5.el8.x86_64
basesystem-11-5.el8.noarch
bash-4.4.19-6.el8.x86_64
bind-export-libs-9.11.4-14.P2.el8.x86_64
biosdevname-0.7.3-1.el8.x86_64
brotli-1.0.6-1.el8.x86_64
@johnarok
johnarok / mongo-snippets.md
Last active November 6, 2018 16:30
MongoDB snippets

Installing mongo db client

sudo apt-get install mongodb-clients

Shell

mongo localhost:20710
@johnarok
johnarok / symbolic-links-in-windows-golang.md
Last active May 12, 2022 11:41
symlinks in windows using golang notes
@johnarok
johnarok / docker-install-18-06.md
Last active March 26, 2019 15:52
K8s v1.11.3 with Ubuntu 18.04 LTS and Docker 17.03/18.06
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
apt-get update
apt-cache madison docker-ce
apt-get install docker-ce=18.06.3~ce~3-0~ubuntu
@johnarok
johnarok / lxc-export-import.md
Created July 31, 2018 16:28
lxc-export-import
@johnarok
johnarok / onetime-installs.md
Last active January 6, 2019 06:57
onetime install setups

LXQT with i3

sudo apt-get update
sudo apt-get install lxqt
sudo apt-get update
sudo apt-get install i3 nitrogen 
https://feeblenerd.blogspot.com/2016/08/walkthrough-for-lubuntu-with-i3-tiling.html