Skip to content

Instantly share code, notes, and snippets.

View xtornasol512's full-sized avatar

Jesús Alvarado Garzón xtornasol512

View GitHub Profile
@celisflen-bers
celisflen-bers / README.md
Last active March 11, 2022 11:45 — forked from bertspaan/README.md
Python script to convert DBF database file to CSV
@xtornasol512
xtornasol512 / resize1920.py
Created April 29, 2014 21:25
Wand, Python, resize 1920 and quality 92 or more
# -*- coding: utf-8 -*-
"""
Author: Jesus A. Garzon
github: xtornasol512
twitter: xtornasol512
Description:
Just put this script in your directory of images
After create a directory for img_result
Then execute the script
python resize1920.py
@lewisgoddard
lewisgoddard / install_flash_for_midori.sh
Last active February 19, 2017 19:02
This one single method will work in both 64bit and 32bit systems by using the 32bit flash natively, or emulating it. Either way, it uses nspluginwrapper, which will pull in a lot of libraries (packages), but most of them should be quite small. You can download and execute this file or just copy and paste the whole block into your terminal, then …
clear &&
echo 'Installing Flash for Midori' &&
read -p 'Press Enter to continue, or abort by pressing CTRL+C' nothing &&
mkdir -p ~/.mozilla/plugins &&
wget https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.626/install_flash_player_11_linux.i386.tar.gz &&
tar -zxvf install_flash_player_11_linux.i386.tar.gz libflashplayer.so &&
rm install_flash_player_11_linux.i386.tar.gz &&
if [ $(getconf LONG_BIT) = '64' ]
then
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.32.so &&