Skip to content

Instantly share code, notes, and snippets.

View linux-modder's full-sized avatar

Corey Sheldon linux-modder

  • VA,USA
View GitHub Profile
linuxmodder@morpheus:~ $ df -h | grep -v '/run/'
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.4G 0 1.4G 0% /dev/shm
tmpfs 1.4G 175M 1.3G 13% /run
tmpfs 1.4G 0 1.4G 0% /sys/fs/cgroup
/dev/mapper/rhel-root 50G 12G 39G 24% /
/dev/sdb1 1.4G 8.0K 1.4G 1% /tmp
/dev/mapper/rhel-var 10G 1.5G 8.6G 15% /var
/dev/mapper/rhel-home 50G 31G 20G 61% /home
@linux-modder
linux-modder / gist:3f943e34f2e744e84491914ce119f5e4
Last active November 15, 2017 01:53
Using git commit -S with git verify-commit
nimrod@linwin27-defcon.ameridea.net ://:Tue, 14 November 20:51:08 EST ~/git/personal/Configs
0 git lg2
* gpg: Signature made Tue 14 Nov 2017 08:49:38 PM EST
gpg: using EDDSA key 5145945986603E4E3D5E7B80FE648279B77E7FD5
gpg: Good signature from "Corey Sheldon (Official Personal 2017 Key -- ALL Previous & Future Keys not expirign in July are invalid) <sheldon.corey@openmailbox.org>" [ultimate]
gpg: aka "[jpeg image of size 60284]" [ultimate]
5f582f5 - Tue, 14 Nov 2017 20:49:22 -0500 (2 minutes ago) (HEAD -> master)
Basic gnupg and ssh configs added — Corey 'linuxmodder' Sheldon
nimrod@linwin27-defcon.ameridea.net ://:Tue, 14 November 20:51:40 EST ~/git/personal/Configs
nimrod@linwin27-defcon.ameridea.net ://:Mon, 23 October 02:06:13 EDT ~
0 sudo su
[sudo] password for nimrod:
[root@linwin27-defcon nimrod]# useradd armedic
[root@linwin27-defcon nimrod]# ls /home
armedic nimrod
[root@linwin27-defcon nimrod]# usermod -aG wheel armedic
[root@linwin27-defcon nimrod]# groups armedic
armedic : armedic wheel
[root@linwin27-defcon nimrod]#
@linux-modder
linux-modder / Fedora defacto gitconfig
Created October 7, 2017 23:45
gitconfig --default fedora
user.signingkey=7587 9300 8171 DABB CB58 96F7 D2E1 CCE9 2010 0F28
user.name= Corey 'linuxmodder' Sheldon
user.email=sheldon.corey@openmailbox.org
user.email1=sheldon.corey@gmail.com
commit.gpgsign=true
gpg.program=gpg2
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.GLib.Error: Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python3.6/site-packages/blueman/main/DbusService.py", line 38, in wrapper
return method(*args[1:], **kwargs)
File "/usr/lib/python3.6/site-packages/blueman/plugins/mechanism/Network.py", line 56, in ReloadNetwork
self.confirm_authorization(caller, "org.blueman.network.setup")
File "/usr/libexec/blueman-mechanism", line 166, in confirm_authorization
action_id, {}, 1, "")
File "/usr/lib64/python3.6/site-packages/gi/overrides/Gio.py", line 172, in __call__
Type in terminal:
sudo nano /etc/pulse/default.pa
This will present the following:
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
ls -la /etc/yum.repos.d
total 112
drwxr-xr-x. 3 root root 4096 Sep 22 13:05 .
drwxr-xr-x. 210 root root 12288 Sep 26 00:55 ..
-rwxr-xr-x. 1 root root 183 Sep 21 20:57 adobe-linux-x86_64.repo
-rw-r--r--. 1 root root 350 Sep 22 03:14 _copr_agoston-mattermost.repo
-rwxr-xr-x. 1 root root 339 Sep 21 20:57 _copr_mildew-usbguard.repo
-rwxr-xr-x. 1 root root 339 Sep 21 20:57 _copr_rommon-telegram.repo
-rwxr-xr-x. 1 root root 323 Sep 21 20:57 _copr_tcg-discord.repo
-rwxr-xr-x. 1 root root 706 Sep 21 20:57 fedora-cisco-openh264.repo
git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/RITLug/TigerOs.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.devel.remote=origin
branch.devel.merge=refs/heads/devel
# planned new layout for Fedora 26 Server (20170912) #
#----------------------------------------------------#
/sda1 /boot/efi
/sda2 /windows 10
/sda3 /RECOVERYCE --for failed bitlocker
/sda4 /boot
/dev/mapper {
/ 15g
/usr 25g
/usr/local/bin 10g
linuxmodder@linwin.ameridea.net ://:Sun, 10 September 23:11:07 EDT ~
0 inxi -Dxx
Drives: HDD Total Size: 480.1GB (40.6% used)
ID-1: /dev/sda model: PNY_CS1311_480GB size: 480.1GB serial: PNY4316219366020000A
linuxmodder@linwin.ameridea.net ://:Sun, 10 September 23:11:16 EDT ~
0 inxi -Sxx
System: Host: linwin.ameridea.net Kernel: 4.12.9-300.fc26.x86_64 x86_64 bits: 64 gcc: 7.1.1
Desktop: i3 4.14 dm: gdm,sddm,sddm Distro: Fedora release 26 (Twenty Six)
linuxmodder@linwin.ameridea.net ://:Sun, 10 September 23:11:51 EDT ~
0 inxi -sxx