Skip to content

Instantly share code, notes, and snippets.


ILMostro ILMostro

View GitHub Profile
ILMostro / # mirrorselect -s3 -b10 -D -d 7;
Created Apr 9, 2021
# mirrorselect -s3 -b10 -D -d 7;
View # mirrorselect -s3 -b10 -D -d 7;
# mirrorselect -s3 -b10 -D -d 7
main(); config_path = /etc/portage/make.conf
main(); rsync = False
get_filesystem_mirrors(): config_path = /etc/portage/make.conf
get_filesystem_mirrors(): mirrorlist = ['', '', '']
get_filesystem_mirrors(): ignoring non-accessible mirror =
get_filesystem_mirrors(): fsmirrors = []
using url:
* Using url:
getlist(): fetching
View mirrorselect_with_python3.9
mirrorselect -s3 -b10 -D
* Using url:
* Downloading a list of mirrors...
Got 196 mirrors.
* Downloading mirrorselect-test files from each mirror... [71 of 196]Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/mirrorselect", line 61, in <module>
File "/usr/lib/python3.9/site-packages/mirrorselect/", line 380, in main
urls = self.select_urls(hosts, options)
File "/usr/lib/python3.9/site-packages/mirrorselect/", line 329, in select_urls
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.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="(
ILMostro / borgitup
Created Apr 13, 2020
Borg backup systemd timer, service, and logging config
View borgitup
# cat /etc/systemd/system/borgitup.service
Description=Create a backup using borg
; ExecStart=/usr/local/bin/borgitup
; 20200413 -- preprend a hyphen (-) to ignore error return value
ILMostro / profile-overrides
Created Mar 2, 2020
View profile-overrides
### 20191230 -- negates the instruction set in
### /usr/portage/profiles/features/selinux/package.use.mask
net-wireless/bluez -user-session
ILMostro /
Created Dec 16, 2019 — forked from citrusui/
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.
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 /
Last active Dec 18, 2019
Documenting the work done and/or needed on a Gentoo system to make SELinux work with systemd
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 /
Created Apr 25, 2017 — forked from n0ts/
Get latest Oracle JDK package bash shell script
# You must accept the Oracle Binary Code License
# usage: <ext> <jdk_version>
# ext: rpm
# jdk_version: default 8
ILMostro /
Created Apr 1, 2017 — forked from kvnsmth/
A real world usage for git subtrees.

Let's say you have an iOS project, and you want to use some external library, like AFNetworking. How do you integrate it?

With submodules

Add the project to your repo:

git submodule add Vendor/AFNetworking

or something to that effect.