Skip to content

Instantly share code, notes, and snippets.

View marloncabrera's full-sized avatar

Marlon Cabrera Oliveira marloncabrera

View GitHub Profile
@marloncabrera
marloncabrera / Scanjet_2400_linux_driver.markdown
Last active August 29, 2015 13:57
Install Scanjet 2400 driver on Linux

Install Scanjet 2400 driver on Linux

Download the driver here.

Install steps

  1. Login as root user.
  2. Create a new folder as scanner on the desktop.
  3. Copy the 2400rv.tar.gz to the scanner� folder.
@marloncabrera
marloncabrera / gist:cadac29004993da7f52b
Created August 16, 2014 00:06
Install Jekyll on OpenSuse 13.1
@marloncabrera
marloncabrera / gist:b4f1e4734d4e3e5f8ba9
Last active August 29, 2015 14:05
Delete BTRFS snaphosts with Snapper on OpenSuse

Delete BTRFS snaphosts with Snapper on OpenSuse

for i in `seq 1 500`; do snapper -c root delete $i; done

@marloncabrera
marloncabrera / gist:54b6383addde6b12742c
Last active August 29, 2015 14:05
Create libdbh2 rpm for OpenSuse 13.1

Create libdbh2 rpm for OpenSuse 13.1

libdbh2 5.0.15 is required to install latest rodent on OpenSuse 13.1.

  1. create ~/rpmbuild/{RPMS,SRPMS,SPECS,BUILD,BUILDROOT,SOURCES}
  2. drop the source tarball in ~/rpmbuild/SOURCES
  3. drop the the spec file(s) in ~/rpmbuild/SPECS
  4. run rpmbuild -bp YOURSPEC in ~/rpmbuild/SPECS
  5. run rpmbuild -bc YOURSPEC in ~/rpmbuild/SPECS
  6. run rpmbuild -bb YOURSPEC in ~/rpmbuild/SPECS
@marloncabrera
marloncabrera / gist:f6bf4e6c7ad73377102c
Last active August 29, 2015 14:05
Create librfm5 rpm for OpenSuse 13.1

Create librfm5 rpm for OpenSuse 13.1

  1. Install dependencies:
zyper in file-devel intltool libzip-devel libxml2-devel librsvg-devel

  1. drop the source tarball in ~/rpmbuild/SOURCES
@marloncabrera
marloncabrera / gist:e617913f0d8ec41a3ae1
Created August 22, 2014 03:48
Resolve rodent-5.2.9 dependency on OpenSuse 13.1 x86_64

Resolve rodent-5.2.9 dependency on OpenSuse 13.1 x86_64

cd /usr/lib64/
ln -s libpng16.so.16 libpng15.so.15
@marloncabrera
marloncabrera / Spotify client on openSuse 13.1
Last active August 29, 2015 14:06
Spotify client on openSuse 13.1
## Spotify client on openSuse 13.1
References --> http://blog.gonzih.me/blog/2014/05/27/installing-spotify-linux-beta-on-opensuse-13-dot-1/
http://genietvanhetleven.blogspot.com.br/2014/04/install-spotify-under-linux-opensuse.html
1. Install alien (perl scripts for converting packages).
2. Download deb from spotify repository, pay attention to architecture.
3. Convert deb -> rpm by running sudo alien -r spotify*.deb.
4. Install rpm sudo zypper in spotify*.rpm.
@marloncabrera
marloncabrera / Core 2 Duo showing only one core in openSuse
Created September 16, 2014 10:39
Core 2 Duo showing only one core in openSuse
## Core 2 Duo showing only one core in openSuse
Added acpi_apic_instance=2 to kernel command line paramater:
From: apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf resume=/dev/disk/by-id/ata-OWC_Mercury_Electra_6G_SSD_EX6G06013E08U7515-part1 splash=silent quiet showopts
To: acpi_apic_instance=2 idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf resume=/dev/disk/by-id/ata-OWC_Mercury_Electra_6G_SSD_EX6G06013E08U7515-part1 splash=silent quiet showopts
@marloncabrera
marloncabrera / tilemill_opensuse.md
Last active August 29, 2015 14:06
Install Tilemill on openSuse 13.1

Install Tilemill on openSuse 13.1

References:

Mapbox

Mapnik

Walkthrough

@marloncabrera
marloncabrera / tweak_opensuse.md
Last active July 27, 2017 19:15
Tweak openSuse 13.02