Skip to content

Instantly share code, notes, and snippets.

View jorgicio's full-sized avatar
🏠
Working from home

Jorge Pizarro Callejas jorgicio

🏠
Working from home
View GitHub Profile
@jorgicio
jorgicio / biobio.txt
Last active August 29, 2015 13:58
Acá pongo mis repositorios y pastes y demases :3
[Adblock Plus 2.0]
.biobiochile.cl##div.ad-250x250
¡Cooooooooñoooooooooo!
%
Coño verga marico no joda
%
Soy ateo porque pienso.
-- Dross contesta preguntas estúpidas, parte 2
%
Si me vas a vender la idea de que existe un Dios, eso sería como si me estuvieras vendiendo un televisor. Quiero ver la mercancía primero.
-- Dross contesta preguntas estúpidas, parte 2
%
@jorgicio
jorgicio / mate-patchesmate-session-managermate-session-manager-1.20-enable-elogind.patch
Created October 9, 2018 22:47
mate-patches/mate-session-manager/mate-session-manager-1.20-enable-elogind.patch
diff -Naur mate-session-manager-1.20.1/configure.ac mate-session-manager-elogind-1.20.1/configure.ac
--- mate-session-manager-1.20.1/configure.ac 2018-06-17 10:54:45.000000000 -0400
+++ mate-session-manager-elogind-1.20.1/configure.ac 2018-10-09 17:27:11.624380596 -0300
@@ -110,6 +110,26 @@
AC_SUBST(HAVE_SYSTEMD)
dnl ====================================================================
+dnl Check for libelogind
+dnl ====================================================================
+
@jorgicio
jorgicio / mate-session-manager-1.20-enable-elogind.patch
Created October 9, 2018 23:16
mate-session-manager-1.20-enable-elogind.patch
diff -Naur mate-session-manager-1.20.1/configure.ac mate-session-manager-elogind-1.20.1/configure.ac
--- mate-session-manager-1.20.1/configure.ac 2018-06-17 10:54:45.000000000 -0400
+++ mate-session-manager-elogind-1.20.1/configure.ac 2018-10-09 17:27:11.624380596 -0300
@@ -110,6 +110,26 @@
AC_SUBST(HAVE_SYSTEMD)
dnl ====================================================================
+dnl Check for libelogind
+dnl ====================================================================
+
@jorgicio
jorgicio / filesnitroshare-qt-5.11-compatibility.patch
Created October 17, 2018 23:57
files/nitroshare-qt-5.11-compatibility.patch
diff -Naur a/src/application/splashdialog.cpp b/src/application/splashdialog.cpp
--- a/src/application/splashdialog.cpp 2018-10-17 20:46:46.215724733 -0300
+++ b/src/application/splashdialog.cpp 2018-10-17 20:52:08.809896702 -0300
@@ -24,6 +24,15 @@
#include <QApplication>
#include <QDesktopWidget>
+/*
+* Check if Qt version is older than 5.11 in order to
+* include the QtStyle header, older versions didn't
@jorgicio
jorgicio / filesnitroshare-qt-5.11-compatibility.patch
Created October 17, 2018 23:59
files/nitroshare-qt-5.11-compatibility.patch
diff -Naur a/src/application/splashdialog.cpp b/src/application/splashdialog.cpp
--- a/src/application/splashdialog.cpp 2018-10-17 20:46:46.215724733 -0300
+++ b/src/application/splashdialog.cpp 2018-10-17 20:52:08.809896702 -0300
@@ -24,6 +24,15 @@
#include <QApplication>
#include <QDesktopWidget>
+/*
+* Check if Qt version is older or equal than 5.11 in order to
+* include the QStyle header, older versions didn't
@jorgicio
jorgicio / etcportagepatchesx11-termskitty-0.14.6kitty-fix-surrogate-invalid.patch
Created October 10, 2019 03:20
/etc/portage/patches/x11-terms/kitty-0.14.6/kitty-fix-surrogate-invalid.patch
diff -Naur a/kitty/main.py b/kitty/main.py
--- a/kitty/main.py 2019-10-10 00:12:43.425552669 -0300
+++ b/kitty/main.py 2019-10-10 00:14:51.659220009 -0300
@@ -296,6 +296,10 @@
os.environ['PATH'] = os.pathsep.join(existing_paths)
args = sys.argv[1:]
+ _args = []
+ for a in args:
+ _args.append(a.encode('utf-8','surrogateescape').decode('utf-8'))
@jorgicio
jorgicio / etcportagepatchesx11-termskitty-0.14.6kitty-fix-surrogate-invalid.patch
Created October 11, 2019 17:50
/etc/portage/patches/x11-terms/kitty-0.14.6/kitty-fix-surrogate-invalid.patch
diff -Naur a/kitty/main.py b/kitty/main.py
--- a/kitty/main.py 2019-10-11 14:47:31.246901676 -0300
+++ b/kitty/main.py 2019-10-11 14:48:48.475187475 -0300
@@ -296,6 +296,9 @@
os.environ['PATH'] = os.pathsep.join(existing_paths)
args = sys.argv[1:]
+ # Escaping surrogate characters if available
+ _args = [a.encode('utf-8','surrogateescape').decode('utf-8') for a in args]
+ args = _args
@jorgicio
jorgicio / mychroot
Created November 18, 2019 01:11
Chroot daemon for OpenRC
#!/sbin/openrc-run
depend() {
need localmount
need bootmisc
}
start() {
ebegin "Mounting chroot directories"
mount -o rbind /dev /mnt/dev > /dev/null &
@jorgicio
jorgicio / Colaborar Proyecto GitHub.markdown
Created December 4, 2019 03:15 — forked from BCasal/Colaborar Proyecto GitHub.markdown
Pasos a seguir para colaborar en un proyecto de GitHub

Cómo colaborar en un proyecto en GitHub

  • Fork del repositorio
  • Clonar el repositorio
  • Actualizar la rama master
  • Crear una rama
  • Hacer los cambios
  • Hacer un Pull Request

Fork del repositorio