Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Without much time for coding, sorry!

Ivaylo Kuzev ivoarch

💭
Without much time for coding, sorry!
  • none
  • Tarragona,Spain
View GitHub Profile
@ivoarch
ivoarch / termux_mxrig.md
Last active Nov 7, 2021 — forked from 2niuhe/termux_mxrig.md
install XMRig on termux
View termux_mxrig.md

Monero XMR mining via termux ;ubuntu

1.
apt-get update && apt-get upgrade -y
apt-get install wget -y
apt-get install proot -y
apt-get install git -y
cd ~
git clone https://github.com/MFDGaming/ubuntu-in-termux.git
cd ubuntu-in-termux
View stotinkaos-7-i686.cfg
config_opts['root'] = 'stotinkaos-7-i686'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
config_opts['dist'] = 'el7.sos' # only useful for --resultdir variable subst
config_opts['macros']['%dist'] = ".el7.sos"
config_opts['%centos_ver'] = "7"
config_opts['macros']['%centos_ver'] = "7"
config_opts['macros']['%rhel'] = "7"
config_opts['macros']['%el7'] = "1"
View wine.sos.fix.diff
--- 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}
View PKGBUILD-kate
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgbase=kate
pkgname=('kwrite'
'kate')
pkgver=17.04.0
pkgrel=3
View keybase.md

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:

View terminix-1.5.0-1.fc25.src.rpm fail on el7
...
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
View terminix-1.5.0_appdata_compile_fix.patch
--- 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
@ivoarch
ivoarch / channelList.json
Last active Feb 4, 2017
Gnome Shell Extension Radio - configured channels from ~/.gse-radio
View channelList.json
{ "channels":[
{
"name": "БГрадио",
"address": "http://stream.radioreklama.bg:80/bgradio128\r",
"favourite": false,
"encoding": false
}, {
"name": "Радио 1 Rock",
"address": "http://149.13.0.81/radio1rock.ogg",
"favourite": true,
View hide-all.patch
--- 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 Nov 25, 2016
Add support for beesu - (su) graphical interface for Rhel/Fedora .
View live-usb-install-beesu.patch
--- 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)