Skip to content

Instantly share code, notes, and snippets.

Andre Miranda andreldm

Block or report user

Report or block andreldm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hash benchmark output
030822cb-da90-41ac-92ae-e08013a6c04c1535074412389
a533b497764368b4b2e47224e70a2281
MD5: 2192
6263b5919b0912b1d46c4185abba5cac4add04f1
SHA-1: 1708
5bf2e980fd1b8968cd5a4319617c9754af7af70d200bbb3b82dd8eaca8977f41
SHA-256: 1776
b56a4a12187814f8429ebe43bc893ddb6ebb23c0687de3c162889fd1c75bd7e35dba3edef72e4de6503bbeb38846d73fdab3e3339f15343fe6fb329adec240b1
SHA-512: 1793
-------
@andreldm
andreldm / PKGBUILD
Created Aug 16, 2018
AUR apfs-fuse-git
View PKGBUILD
# Maintainer: Adam Harvey <adam@adamharvey.name>
pkgname=apfs-fuse-git
pkgver=r54.cecf2aa
pkgrel=1
pkgdesc="FUSE driver for APFS (Apple File System)"
arch=('i686' 'x86_64')
url="https://github.com/sgan81/apfs-fuse"
license=('GPL')
groups=()
depends=('fuse2')
@andreldm
andreldm / sscce2.c
Created Aug 26, 2017
SSCCE Thunar shortcuts layout issue (FIXED)
View sscce2.c
/*
* Short, Self Contained, Correct Example to demostrate Thunar GTK3 issue
* related to shortcuts pane layout.
* More details: https://github.com/andreldm/thunar/issues/40
* Build:
* gcc $(pkg-config --cflags gtk+-2.0) sscce2.c -o sscce2 $(pkg-config --libs gtk+-2.0)
* gcc $(pkg-config --cflags gtk+-3.0) sscce2.c -o sscce2 $(pkg-config --libs gtk+-3.0)
*/
#include <gtk/gtk.h>
@andreldm
andreldm / create_folders.sh
Created Aug 2, 2017
Script to create random folders
View create_folders.sh
#!/bin/bash
mkdir -p thunar-test
cd thunar-test
for run in {1..10}; do
FOLDER=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $(shuf -i 5-40 -n 1) | head -n 1)
mkdir -p $FOLDER
cd $FOLDER
done
@andreldm
andreldm / sscce.c
Last active Aug 26, 2017
SSCCE Thunar shortcuts layout issue
View sscce.c
/*
* Short, Self Contained, Correct Example to demostrate Thunar GTK3 issue
* related to shortcuts pane layout.
* More details: https://github.com/andreldm/thunar/issues/40
* Build:
* gcc $(pkg-config --cflags gtk+-2.0) sscce.c -o sscce $(pkg-config --libs gtk+-2.0)
* gcc $(pkg-config --cflags gtk+-3.0) sscce.c -o sscce $(pkg-config --libs gtk+-3.0)
*/
#include <gtk/gtk.h>
View thunar_shortcut_pane_hack.diff
diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index ca370cd5..4f8d4f98 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -340,6 +340,9 @@ thunar_shortcuts_view_init (ThunarShortcutsView *view)
/* allocate the text renderer (ellipsizing as required, but "File System" must fit) */
renderer = g_object_new (GTK_TYPE_CELL_RENDERER_TEXT,
"ellipsize", PANGO_ELLIPSIZE_END,
+ /*"width-chars", 20,*/
+ "cell-background", "lightblue",
View fallback_for_xfce4panel.patch
diff --git a/configure.ac.in b/configure.ac.in
index 9012783..40b8806 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -45,7 +45,7 @@ AC_HEADER_STDC
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
-XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.13.0])
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])
View thunar-volman gtk3 patch
diff --git a/configure.ac.in b/configure.ac.in
index 738e6b0..44012cd 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -92,15 +92,15 @@ XDT_I18N([@LINGUAS@])
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
-XDT_CHECK_PACKAGE([EXO], [exo-1], [0.10.0])
+XDT_CHECK_PACKAGE([EXO], [exo-2], [0.10.0])
@andreldm
andreldm / build.sh
Last active Jun 19, 2017
Build thunar-gtk3
View build.sh
#!/bin/bash
git clone https://github.com/andreldm/thunar.git thunar-gtk3
cd thunar-gtk3
./autogen.sh
make
pkill -i thunar
thunar/thunar
@andreldm
andreldm / PKGBUILD
Created May 9, 2017
PKGBUILD for Medis
View PKGBUILD
# Maintainer: John Doe <john.doe at gmail dot com>
_pkgname=medis
_version=git
pkgname=${_pkgname}-${_version}
pkgver=0.6.1.c212
pkgrel=1
pkgdesc='Medis is a beautiful, easy-to-use database management application for Redis.'
arch=('x86_64' 'i686')
You can’t perform that action at this time.