Skip to content

Instantly share code, notes, and snippets.

View ivoarch's full-sized avatar

ivoarch

  • none
View GitHub Profile
@ivoarch
ivoarch / create_rpmrepo.sh
Created October 1, 2014 19:54
Create RPM Repository for Rhel/CentOS
#!/bin/bash
# Create RPM Repository for Rhel/CentOS
ftpdir="$HOME/Dropbox/Public/rpmrepo"
releases=(el6 el7)
for release in "${releases[@]}"; do
for dir in i386 x86_64 SRPMS; do
pushd "${ftpdir}/${release}/${dir}" >/dev/null 2>&1
createrepo -v .
@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.
@ivoarch
ivoarch / zenburn.py
Last active July 18, 2022 00:40
Zenburn like colorscheme for https://github.com/hut/ranger .
# Ivaylo Kuzev <ivkuzev@gmail.com>, 2014
# Zenburn like colorscheme for https://github.com/hut/ranger .
# default colorscheme.
# Copyright (C) 2009-2013 Roman Zimbelmann <hut@lepus.uberspace.de>
# This software is distributed under the terms of the GNU GPL version 3.
from ranger.gui.colorscheme import ColorScheme
from ranger.gui.color import *
@ivoarch
ivoarch / .dircolors
Last active February 16, 2020 09:54
Zenburn color theme for .dircolors!
# Zenburn color theme for the color GNU ls utility.
# Ivaylo Kuzev <ivkuzev@gmail.com>, 2014
Moved to https://github.com/ivoarch/dircolors-zenburn
@ivoarch
ivoarch / zenburn-theme
Created January 4, 2014 15:45
zenburn like color scheme for newsbeuter <http://www.newsbeuter.org/>
# Ivaylo Kuzev <ivkuzev@gmail.com>, 2014
# zenburn like color scheme for newsbeuter <http://www.newsbeuter.org/>
color background color188 color237
color info color223 color234
color article color188 color237
color listnormal color188 color237
color listfocus color108 color234
color listnormal_unread color108 color234
color listfocus_unread color234 color108
--- 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>