Skip to content

Instantly share code, notes, and snippets.

Corey Sheldon linux-modder

View GitHub Profile
View gist:ac787650bb77fcd9138e5395a1ce9f16
sudo dnf whatprovides gnutls-utils
Last metadata expiration check: 0:30:30 ago on Thu 24 May 2018 09:26:01 AM EDT.
gnutls-utils-3.6.2-1.fc28.x86_64 : Command line tools for TLS protocol
Repo : @System
Matched from:
Provide : gnutls-utils = 3.6.2-1.fc28
gnutls-utils-3.6.2-1.fc28.x86_64 : Command line tools for TLS protocol
Repo : fedora
Matched from:
View gist:dfc6035b2a1d3d01a187bc29ce9fab8d
transmission-create -p -s 2048 \
-c "ISO SHA512SUM: $(cat CHECKSUM512*)" \
-t http://respins.fedorainfracloud.org:6969/announce \
-o F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.torrent \
F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.iso && \
transmission-show F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-Live.torrent | \
awk '/Hash/{ hash = $2 } /Name/ {name = $2} END { print hash, name }' > F${RELEASE}-${SPIN_SHORT_NAME}-x86_64-${SPIN_ID}-torrenthash && \
popd
View gist:0c4a3b2cb78c02007711db889001e30e
- name: Set defaults for firewall # (For security purposes,reject anything not started by an internal connection, only allow via service/port)
firewalld:
enabled: true
become: true
command: firewall-cmd --set-default-zone=drop --permanent
command: firewall-cmd --add-interface={eth0,lo,docker0} --permanent
command: firewall-cmd --add-services={ssh,cockpit,mosh,git,jenkins,kerberos,ldaps,squid,rsyncd} --permanent
command: firewall-cmd --add-port={14623/tcp,1829/tcp,1829/udp,2620/tcp,2620/udp} --permanent
command: firewall-cmd --service=ssh --set-source-port=14623/tcp --set-destination-port=111/tcp --permanent
command: firewall-cmd --zone=dmz --set-source-port=111/tcp --set-destination-port=1829/tcp --permanent
View gist:4c8014056c154ce9d9cb5d880e26390e
- name: Set defaults for firewall # (For security purposes,reject anything not started by an internal connection, only allow
via service/port)
firewalld:
enabled: true
become: true
zone: drop
interface:
eth0
permanent: true
port:
View gist:8d807536ff103d13061e34897f39ea0a
[Child 23527, MediaPlayback #2] WARNING: Decoder=7f41c5aa0f20 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3411
[Child 23527, MediaPlayback #1] WARNING: Decoder=7f41b4cb82e0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3411
[Child 23527, MediaPlayback #1] WARNING: Decoder=7f41b4cb82e0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mo
View gist:ac5855763bc71dfea44c61908f9262b7
[linuxmodder@tx 20180508]$ cat buildfile
F27-CINN-x86_64-20180508.iso
F27-KDE-x86_64-20180508.iso
F27-LXDE-x86_64-20180508.iso
887fc5d6960ab55ffe5069584266dd462b8df3ed -
F27-LXQT-x86_64-20180508.iso
458f4a53df315939797c191a3efcb8a5b7162c22 -
F27-MATE-x86_64-20180508.iso
F27-SOAS-x86_64-20180508.iso
F27-WORK-x86_64-20180508.iso
View gist:0df35c1c86997c02e801c4158b95a773
cat buildfile
F27-CINN-x86_64-20180508.iso
F27-KDE-x86_64-20180508.iso
F27-LXDE-x86_64-20180508.iso
887fc5d6960ab55ffe5069584266dd462b8df3ed -
F27-LXQT-x86_64-20180508.iso
458f4a53df315939797c191a3efcb8a5b7162c22 -
F27-MATE-x86_64-20180508.iso
F27-SOAS-x86_64-20180508.iso
View Fedora Respins Aliases
alias newx='tmux new -n respins -s respins'
alias xmsn='tmux attach -t respins'
alias get-respins='sudo rsync -rv --exclude=F27-source* --progress --partial --delete-before dl.fedoraproject.org::fedora-live-respins/ /srv/fedora-repo/F27-Respins; sudo chown transmission: /srv/fedora-repo/F27-Respins/*'
#alias get-respins-alt='rsync -rv --exclude=F27-source* --progress --partial --delete-before tx.fspin.org:/Testing /srv/fedora-repo/F27-Respins/; sudo chown transmission: /srv/fedora-repo/F27-Respins/*'
alias add-respins='cd /srv/fedora-repo/F27-Respins; for i in `ls -1 *.torrent`; do xmsn-ctl -a $i -w `pwd` --start-paused; done'
alias restart-respins='cd /srv/fedora-repo/F27-Respins; for i in ``ls -1 *.torrent``; do xmsn-ctl -t -$i -s; done'
View gist:478f052a8ef856b2f0b30860db400cf6
/usr/bin/dirmngr
dirmngr[8571]: error opening '/home/csheldon/.gnupg/dirmngr_ldapservers.conf': No such file or directory
dirmngr[8571.0]: permanently loaded certificates: 134
dirmngr[8571.0]: runtime cached certificates: 0
dirmngr[8571.0]: trusted certificates: 134 (133,0,0,1)
dirmngr[8571.0]: failed to open cache dir file '/home/csheldon/.gnupg/crls.d/DIR.txt': Permission denied
dirmngr[8571.0]: error creating new cache dir file '/home/csheldon/.gnupg/crls.d/DIR.txt': Permission denied
dirmngr[8571.0]: Fatal: failed to create a new cache object: Configuration error
View gist:79aa1bdad655b86afacb99715fe31a94
[nimrod@linwin27-defcon ~]$ sudo chronyd -Q -d -4
2017-11-25T13:07:14Z chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +SIGND +ASYNCDNS +IPV6 +DEBUG)
2017-11-25T13:07:14Z Disabled control of system clock
2017-11-25T13:07:14Z Frequency -0.526 +/- 5.164 ppm read from /var/lib/chrony/drift
2017-11-25T13:07:14Z Using right/UTC timezone to obtain leap second data
2017-11-25T13:07:21Z System clock wrong by -0.005655 seconds (ignored)
2017-11-25T13:07:21Z chronyd exiting
[nimrod@linwin27-defcon ~]$ sudo ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
You can’t perform that action at this time.