Saturday, June 29, 2013

Encode FLAC audio to MP3

Low quality encoding:
128Kbps CBR + 2 channels + 44100Hz sampling frequency.
It should be good enough for listening on your car, on the bus with your smartphone and headphones, etc. avconv -i input.flac -ab 128k -ac 2 -ar 44100 output.mp3

High quality encoding:
 avconv -i input.flac -ab 196k -ac 2 -ar 48000 output.mp3

Sunday, May 12, 2013

AIRBET​​​​ Serveis aeronĂ utics​, S.L.

AIRBET es una empresa que engloba todos los servicios que puedan necesitar nuestros Clientes. Formamos pilotos, vendemos ultraligeros y autogiros. Mantenemos, reparamos todo tipo de aeronaves. las guardamos en nuestra base. Usted no debe preocuparse por nada, solo de VOLAR.
http://airbet1965.wix.com/airbet

ClamAV tips

https://raymii.org/s/tutorials/ClamAV.html

Sunday, April 7, 2013

Interesting ARM computers for Linux

CUBOX:
$119    
* Linux based distributions like Ubuntu, Debian and others
* Android
* 800 MHz dual issue ARM PJ4 processor, VFPv3, wmmx SIMD and 512KB L2 cache.
* 1080p Video Decode Engine
* OpenGL|ES 2.0 graphic engine
* HDMI 1080p Output (with CEC function)
* 1GByte DDR3 at 800MHz
* Gigabit Ethernet, SPDIF (optical audio), eSata 3Gbps, 2xUSB 2.0, micro-SD, micro-USB (console)
* Standard Infra-red receiver for 38KHz based IR controllers.
* No JTAG required. Unbrickable for Developers!**

CUBOX PRO:
$159
Same specifications as CUBOX except for RAM, 2GB instead of 1GB.

ODROID-X2:
$135
* Low-cost development platform
* 1.7GHz Quad core ARM Cortex-A9 MPCore
* 2GB Memory
* 6 x High speed USB2.0 Host port
* 10/100Mbps Ethernet with RJ-45 LAN Jack
* Android 4.x & Ubuntu BSP
* Community-driven projects & supports

Saturday, March 2, 2013

ZFS + NFS: sharing files for XBMC

The NFS - XBMC page says that NFS has a lower protocol overhead than SMB, so let's try it and see if file sharing performance improves.
# 1. Install required package
jordi@topper:~$ sudo aptitude install nfs-kernel-server

# 2. Modify zfs configuration
jordi@topper:~$ sudo nano /etc/default/zfs:
  [...]
  # Run `zfs share -a` during system start?
  # nb: The shareiscsi, sharenfs, and sharesmb dataset properties.
  ZFS_SHARE='yes'
  
  # Run `zfs unshare -a` during system stop?
  ZFS_UNSHARE='yes'
  [...]

# 3. Set nfs configuration for our pools
jordi@topper:~$ sudo zfs set sharenfs='rw=@10.0.0.0/24,no_subtree_check,all_squash,insecure,anonuid=1000,anongid=100' tank
jordi@topper:~$ sudo zfs set sharenfs='rw=@10.0.0.0/24,no_subtree_check,all_squash,insecure,anonuid=1000,anongid=100' pool

# 4. Share everything
jordi@topper:~$ sudo zfs share -a

# Unshare everything (when needed)
jordi@topper:~$ sudo zfs unshare -a

Sunday, February 17, 2013

Registry Tweak to Decrease Window Border Size and Padding in Windows 8

http://www.askvg.com/registry-tweak-to-decrease-window-border-size-and-padding-in-windows-8/

In short:

Windows Registry Editor Version 5.00
;Created by Vishal Gupta for AskVG.com
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"BorderWidth"="0"
"PaddedBorderWidth"="0"

Set or change the mount point of a filesystem

sudo zfs set mountpoint=/zpools/new-mountpoint filesystem