Skip to content

Instantly share code, notes, and snippets.

View ivoarch's full-sized avatar

ivoarch

  • none
View GitHub Profile
@ivoarch
ivoarch / vpn.md
Created November 8, 2022 17:14 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
--- wine-orig.spec 2017-06-01 17:43:58.483796356 +0200
+++ wine.spec 2017-06-01 17:43:05.086559289 +0200
@@ -9,7 +9,7 @@
# build with compholio-patches, see: http://www.compholio.com/wine-compholio/
# uncomment to enable; comment-out to disable.
%if 0%{?fedora}
-%global compholio 1
+%global compholio 0
%endif # 0%{?fedora}

Keybase proof

I hereby claim:

  • I am ivoarch on github.
  • I am ivoarch (https://keybase.io/ivoarch) on keybase.
  • I have a public key ASASsJ07PdTYhRugtCPqyadk84McnluBxENwvqV7nKytJwo

To claim this, I am signing this object:

...
creating: /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64/usr/share/glib-2.0/
creating: /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64/usr/share/glib-2.0/schemas/
inflating: /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64/usr/share/glib-2.0/schemas/com.gexperts.Terminix.gschema.xml
/builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64//usr/share/metainfo/com.gexperts.Terminix.appdata.xml: + sed -i -e 's/Categories=Utilities/Categories=GNOME;GTK;System;TerminalEmulator;/' /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64/usr/share/applications/com.gexperts.Terminix.desktop
+ desktop-file-validate /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64/usr/share/applications/com.gexperts.Terminix.desktop
+ appstream-util validate-relax --nonet /builddir/build/BUILDROOT/terminix-1.5.0-1.el7.sos.x86_64//usr/share/metainfo/com.gexperts.Terminix.appdata.xml
Validation of files failed
error: Bad exit status from /var/tmp/rpm-tmp.F4F5iN (%install)
Bad exit s
--- rpmbuild/SPECS/terminix.spec.org 2017-02-20 21:43:12.478583827 +0100
+++ rpmbuild/SPECS/terminix.spec 2017-02-20 20:47:09.372558448 +0100
@@ -42,7 +42,7 @@
sed -i -e 's/Categories=Utilities/Categories=GNOME;GTK;System;TerminalEmulator;/' %{buildroot}%{_datadir}/applications/com.gexperts.$
desktop-file-validate %{buildroot}%{_datadir}/applications/com.gexperts.Terminix.desktop
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
+#appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
# remove unused files
--- hide-app-icon@mrapp.sourceforge.com/schemas-orig/org.gnome.shell.extensions.hide-app-icon.gschema.xml 2016-10-16 17:35:54.000000000 +0200
+++ hide-app-icon@mrapp.sourceforge.com/schemas/org.gnome.shell.extensions.hide-app-icon.gschema.xml 2016-11-29 14:32:17.465748160 +0100
@@ -11,17 +11,17 @@
</key>
<key type="b" name="hide-app-label">
- <default>false</default>
+ <default>true</default>
<summary>Hide app label</summary>
<description>Hides the label of the currently focused app in the top panel of the GNOME shell.</description>
@ivoarch
ivoarch / live-usb-install-beesu.patch
Created November 25, 2016 21:18
Add support for beesu - (su) graphical interface for Rhel/Fedora .
--- live-usb-install-orig.py 2016-05-15 13:18:34.000000000 +0200
+++ live-usb-install.py 2016-11-25 22:03:37.951168584 +0100
@@ -2997,6 +2997,8 @@
os.system('gksu -D %s ./live-usb-install.py' % '/usr/share/applications/live-usb-install.desktop' if os.path.exists('/usr/share/applications/live-usb-install.desktop') else _('live-usb-install'))
elif os.system('which kdesudo')==0:
os.system('kdesudo ./live-usb-install.py')
+ elif os.system('which beesu')==0:
+ os.system('beesu ./live-usb-install.py')
elif os.system('which sudo')==0:
password = getText('',_('LiveUSB Install requires root privileges. Please enter your password below.'),_('Password'), password = True)
@ivoarch
ivoarch / Gnome 3.20 repository for CentOSRHEL 7.x.md
Created October 28, 2016 11:39 — forked from mongoltolbo/Gnome 3.20 repository for CentOSRHEL 7.x.md
Welcome to the Gnome 3.20 repository for CentOSRHEL 7.x.

Since Red Hat spoiled us with RHEL 7.2 by rebasing Gnome, but will not be again updating Gnome for 7.3, I felt I would continue that action for them.

CentOS/RHEL is a great platform to work with, but on a workstation it feels out of date. I intended to fix that. So I built Gnome 3.20 and its dependencies for that platform.

Welcome to the Gnome 3.20 repository for CentOS/RHEL 7.x.

#!/bin/sh
# ratpoison info
LIFE="$(($(($(date +%s) - $(date -d " $(head -1 /var/log/pacman.log | cut -d ' ' -f 1,2 | tr -d '[]')" +%s))) / 86400)) days"
PACKAGE="`pacman -Q | wc -l`"
KERNEL="`uname -r`"
MEM="`free -m | grep "buffers/" | awk {'print $3'}`"
FREQ=$(cpufreq-info | grep "current CPU frequency" | awk '{print $5"MHz"}')
VOL="$(exec amixer get Master | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*")%"
HOME="$(df /dev/sda4 | awk '/^\/dev/{printf "%s ", $5}' | sed '$s/.$//')"
@ivoarch
ivoarch / xcursor theme tutorial
Created August 8, 2016 21:52 — forked from sole/xcursor theme tutorial
A lightly edited version of the xcursor theme tutorial by the_One at http://kde-look.org/content/show.php?content=11428
<---TUTORIAL FOR CREATING XCURSOR THEMES.--->
<---By ThEOnE @ kde-look--->
<---My_foros@yahoo.com.ar-->
_______________________________________________________________________________________
| |
| First of all, let me tell you that everything I know I've learned it by inspecting |
| some xcursor themes like jaguarx, and others. |