Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

ILMostro ILMostro

🎯
Focusing
View GitHub Profile
View Gentoo_ruby-2.4-removal-issues
emerge -avuDN @world
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-ruby/xmlrpc:0
(dev-ruby/xmlrpc-0.3.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby24 (-ruby26) (-ruby27)" conflicts with
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(
64)"
^^^^^^^^^^^^^^^^^^^
@ILMostro
ILMostro / borgitup
Created Apr 13, 2020
Borg backup systemd timer, service, and logging config
View borgitup
# cat /etc/systemd/system/borgitup.service
[Unit]
Description=Create a backup using borg
[Service]
Type=oneshot
Environment=BORG_LOGGING_CONF=/etc/borg/logging.conf
; ExecStart=/usr/local/bin/borgitup
; 20200413 -- preprend a hyphen (-) to ignore error return value
@ILMostro
ILMostro / profile-overrides
Created Mar 2, 2020
/etc/portage/profile/overrides
View profile-overrides
package.mask
-net-firewall/firewalld
package.use.mask
### 20191230 -- negates the instruction set in
### /usr/portage/profiles/features/selinux/package.use.mask
net-wireless/bluez -user-session
use.mask
-systemd
View stdin
/etc/portage/package.use/fonts:media-fonts/nerd-fonts python_single_target_python2_7
/etc/portage/package.use/gnome:dev-util/gtk-builder-convert python_single_target_python2_7
/etc/portage/package.use/gnome:dev-util/itstool python_single_target_python2_7
/etc/portage/package.use/gnome:dev-util/gtk-doc python_single_target_python2_7
/etc/portage/package.use/gnome:net-libs/telepathy-glib python_single_target_python2_7
/etc/portage/package.use/gnome:dev-util/anjuta devhelp glade terminal vala python_single_target_python2_7
/etc/portage/package.use/media:media-tv/plex-media-server python_single_target_python2_7
/etc/portage/package.use/office:app-office/planner python_single_target_python2_7
/etc/portage/package.use/printer:>=net-fs/samba-4.5.10-r1 client cups iprint zeroconf python_single_target_python2_7
/etc/portage/package.use/python:app-text/asciidoc python_single_target_python2_7
@ILMostro
ILMostro / gist:4a9f18bbd98de88305a8b8350df13c63
Last active Mar 2, 2020
emerge -av ansible with respect to dev-python/httplib2[python2_7] selection
View gist:4a9f18bbd98de88305a8b8350df13c63
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-python/httplib2-0.12.1::gentoo PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 0 KiB
[ebuild N ] dev-python/netaddr-0.7.19::gentoo USE="cli -test" PYTHON_TARGETS="python3_6 (-python3_7)" 0 KiB
[ebuild N ] net-misc/sshpass-1.06::gentoo 0 KiB
[ebuild N ~] app-admin/ansible-2.9.5::gentoo USE="-doc -test" PYTHON_TARGETS="python3_6 -python3_7" 0 KiB
*********************************
@ILMostro
ILMostro / # dmesg |egrep '00:05.0|wlan|iwl|80211'; lspci -s 05:00.0 -vv; zcat procconfig.gz |grep 80211;
Last active Feb 27, 2020
# dmesg |egrep '00:05.0|wlan|iwl|80211'; lspci -s 05:00.0 -vv; zcat /proc/config.gz |grep 80211;
View # dmesg |egrep '00:05.0|wlan|iwl|80211'; lspci -s 05:00.0 -vv; zcat procconfig.gz |grep 80211;
# dmesg |egrep '00:05.0|wlan|iwl|80211'; lspci -s 05:00.0 -vv; zcat /proc/config.gz |grep 80211
[ 0.237201] pci 0000:05:00.0: [8086:24fb] type 00 class 0x028000
[ 0.237263] pci 0000:05:00.0: reg 0x10: [mem 0xba100000-0xba101fff 64bit]
[ 0.237481] pci 0000:05:00.0: PME# supported from D0 D3hot D3cold
[ 1.148907] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.152683] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.154096] cfg80211: failed to load regulatory.db
[ 1.158711] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002)
[ 1.159298] iwlwifi 0000:05:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[ 109.321943] cfg80211: Loading compiled-in X.509 certificates for regulatory database
@ILMostro
ILMostro / dropdown.md
Created Dec 16, 2019 — forked from citrusui/dropdown.md
"Dropdowns" in Markdown
View dropdown.md
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@ILMostro
ILMostro / lxc-arch2
Last active Feb 11, 2018 — forked from lilydjwg/lxc-arch2
lxc-arch2: a script to create a copy of my Arch Linux system in LXC for testing
View lxc-arch2
#!/bin/zsh -e
cd ~/tmpfs
mkdir -p .lxc-root .lxc-data/etc .lxc-data/home/lilydjwg/{.vim,.cache} .lxc-work
sudo GDK_DPI_SCALE=$GDK_DPI_SCALE zsh -e - <<'EOF'
modprobe overlay
mountpoint .lxc-root || mount -t overlay -o lowerdir=/,upperdir=$PWD/.lxc-data,workdir=$PWD/.lxc-root overlayfs $PWD/.lxc-root
# .lxc-root/etc/resolv.conf is protected
@ILMostro
ILMostro / gentoo-wip-systemd-selinux.md
Last active Dec 18, 2019
Documenting the work done and/or needed on a Gentoo system to make SELinux work with systemd
View gentoo-wip-systemd-selinux.md
IRC Logs from the #gentoo-hardened and #selinux IRC channels on FreeNode
2018-01-27 23:13:50	-->	ilmostro (~ilmostro@unaffiliated/ilmostro) has joined #gentoo-hardened
2018-01-27 23:13:50	--	Topic set by Zorry (~quassel@gentoo/developer/zorry) on Wed, 06 Dec 2017 19:01:01
2018-01-27 23:13:51	--	Channel #gentoo-hardened: 270 nicks (9 ops, 38 voices, 223 normals)
2018-01-27 23:13:52	--	Channel created on Sun, 26 Nov 2006 00:42:49
2018-01-27 23:54:23	ilmostro	Does anyone here know why the 17.0 SELinux profile is in "dev" still? I'm on a 17.0 systemd desktop profile right now.  AFAICT, the stable selinux profile is part of the hardened, unversioned profile set.  Has anyone used the 17.0 selinux profile successfully?
2018-01-28 00:29:20	ilmostro	I come from a RHEL background, where, AFAIK, the default SELinux setup is "targeted" with "unconfined" domain enabled.  After reading the wiki page for SELinux/Installation, I realize that might not be as secure as I had assumed. Alterna
@ILMostro
ILMostro / get_oracle_jdk_linux_x64.sh
Created Apr 25, 2017 — forked from n0ts/get_oracle_jdk_x64.sh
Get latest Oracle JDK package bash shell script
View get_oracle_jdk_linux_x64.sh
#!/bin/bash
# You must accept the Oracle Binary Code License
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html
# usage: get_jdk.sh <ext> <jdk_version>
# ext: rpm
# jdk_version: default 8
ext=rpm
jdk_version=8
You can’t perform that action at this time.