Muy fácil!
# Primero, instalar bchunk
su -c 'yum install bchunk'
# Luego, usarlo!
bchunk archivo.bin archivo.cue nombre_de_mi.iso
Uff! Qué fácil!
Muy fácil!
# Primero, instalar bchunk
su -c 'yum install bchunk'
# Luego, usarlo!
bchunk archivo.bin archivo.cue nombre_de_mi.iso
Uff! Qué fácil!
No mames! Me topé con un gran sitio para todos aquellos músicos que no sabemos ni madre:
http://www.musictheory.net/
Éste sitio, además de ser Creative Commons, es MIT; o sea, el código fuente; hecho en ruby, está disponible! Wow!
Ojalá y lo pudiéramos traducir al español! Ya contacté al autor para ver qué onda.
Ok, no need explaining. If you’re gonna try this, you already know what the client-side cert is. To get it, just go to:
https://admin.fedoraproject.org/accounts/home
Please, login and download it. The link for downloading it is located just bellow of the successful login screen.
If you still don’t know how to create a FAS account, just go to:
https://fedoraproject.org/wiki/Infrastructure/AccountSystem
Ok, let’s pretend your cert is located at $HOME.
# import the certificate using nss-tools
pk12util -d sql:$HOME/.pki/nssdb -i ~/fedora-browser-cert.p12
You, probably, need to restart Google Chrome and that's it. If you wanna install Google Chrome, I suggest using their own fedora repo: http://www.google.com/linuxrepositories/yum.html
Bueno, GoogleCL está de lujo.
Entre otras cosas, te deja:
- subir fotos a picasa
- subir videos a youtube
- agendar algo en el calendario
- subir documentos a google docs
- etc
desde tu CLI!
Para instalarlo en Fedora, solo:
# instálalo con yum o pkcon
su -c 'yum install googlecl'
o
su -c 'pkcon install googlecl'
Hecho esto, debe servir. Adjunto una copia de su página de –help
[renich@introdesk ~]$ google --help
Usage: google [picasa|blogger|youtube|docs|contacts|calendar] TASK [options]
This program provides command-line access to (some) google services via their gdata APIs.
Called without a service name, it starts an interactive session.
Available tasks for service picasa: 'get', 'create', 'list', 'list-albums', 'tag', 'post', 'delete'
get: Download photos
Requires: none Optional: title, query Arguments: LOCATION
create: Create an album
Requires: title Optional: date, summary, tags Arguments: PATH_TO_PHOTOS
list: List photos
Requires: delimiter Optional: title, query
list-albums: List albums
Requires: delimiter Optional: title
tag: Tag photos
Requires: tags AND (title OR query)
post: Post photos to an album
Requires: title Optional: tags Arguments: PATH_TO_PHOTOS
delete: Delete photos or albums
Requires: (title OR query)
Available tasks for service blogger: 'post', 'tag', 'list', 'delete'
post: Post content.
Requires: none Optional: blog, title, tags Arguments: PATH_TO_CONTENT or CONTENT
tag: Label posts
Requires: tags AND title Optional: blog
list: List posts in your blog
Requires: delimiter Optional: blog, title
delete: Delete a post.
Requires: title Optional: blog
Available tasks for service youtube: 'post', 'tag', 'list', 'delete'
post: Post a video.
Requires: category AND devkey Optional: title, summary, tags Arguments: PATH_TO_VIDEO
tag: Add tags to a video and/or change its category.
Requires: devkey AND title AND (category OR tags)
list: List videos by user.
Requires: delimiter Optional: title
delete: Delete videos.
Requires: devkey Optional: title
Available tasks for service docs: 'edit', 'delete', 'list', 'upload', 'get'
edit: Edit a document
Requires: title Optional: format, editor
delete: Delete documents
Requires: none Optional: title
list: List documents
Requires: delimiter Optional: title, folder
upload: Upload a document
Requires: none Optional: title, folder, no-convert Arguments: PATH_TO_FILE
get: Download a document
Requires: (title OR folder) Arguments: LOCATION
Available tasks for service contacts: 'list', 'list-groups', 'add', 'add-groups', 'delete-groups', 'delete'
list: List contacts
Requires: none Arguments: Fields to show (example: name,email)
list-groups: List contact groups
Requires: none Arguments: Specific groups to list (if any)
add: Add contacts
Requires: none Arguments: "name,email" pair or CSV filename
add-groups: Add contact group(s)
Requires: none Arguments: Group name(s)
delete-groups: Delete contact group(s)
Requires: none Arguments: Group name(s)
delete: Delete contacts
Requires: none Arguments: names of contact(s) to delete (example: "John Doe" "Jane Doe")
Available tasks for service calendar: 'add', 'list', 'today', 'delete'
add: Add event to a calendar
Requires: none Optional: cal Arguments: QUICK_ADD_TEXT
list: List events on a calendar
Requires: delimiter Optional: title, query, date, cal
today: List events for the next 24 hours
Requires: delimiter Optional: title, query, cal
delete: Delete event from a calendar
Requires: (title OR query) Optional: date, cal
Options:
--version show program's version number and exit
-h, --help show this help message and exit
--blog=BLOG Blogger only - specify a blog other than your primary.
--cal=CAL Calendar only - specify a calendar other than your
primary.
-c CATEGORY, --category=CATEGORY
YouTube only - specify video categories as a comma-
separated list, e.g. "Film, Travel"
--config=CONFIG Specify location of config file.
--devtags=DEVTAGS YouTube only - specify developer tags as a comma-
separated list.
--devkey=DEVKEY YouTube only - specify a developer key
-d DATE, --date=DATE Date in YYYY-MM-DD format. Picasa only - sets the date
of the album Calendar only - date of the event to add
/ look for. Can also specify a range with a comma:
"YYYY-MM-DD", events between date and future. "YYYY-
MM-DD,YYYY-MM-DD" events between two dates.
--delimiter=DELIMITER
Specify a delimiter for the output of the list task.
--draft Blogger only - post as a draft
--editor=EDITOR Docs only - editor to use on a file.
-f FOLDER, --folder=FOLDER
Docs only - specify folder(s) to upload to / search
in.
--format=FORMAT Docs only - format to download documents as.
-n TITLE, --title=TITLE
Title of the item
--no-convert Google Apps Premier only - do not convert the file on
upload. (Else converts to native Google Docs format)
-q QUERY, --query=QUERY
Full text query string for specifying items. Searches
on titles, captions, and tags.
-s SUMMARY, --summary=SUMMARY
Description of the upload, or file containing the
description.
-t TAGS, --tags=TAGS Tags for item, e.g. "Sunsets, Earth Day"
-u USER, --user=USER Username to use for the task. Exact application is
task-dependent. If authentication is necessary, this
will force the user to specify a password through a
command line prompt or option.
First of all, Google’s go sounds cool. It’s expermental but on production within google. It seems really cool and th paradigm change is awesome!
Please, visit: http://golang.org/
Note: we will have to rebuild the current src RPM)
1. Get the source RPM
wget http://konradm.fedorapeople.org/fedora/SRPMS/go-0-0.20100609.fc12.src.rpm
2. Setup your rpm building environ (more info at: http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo)
rpmdev-setuptree
3. Install the src RPM
rpm -i go-0-0.20100609.fc12.src.rpm
4. Find the spec file and build it
rpmbuild -bb ~/rpmbuild/SPECS/go.spec
5. Find the rpm and install it
su -c 'yum localinstall ~/rpmbuild/RPMS/x86_64/go-0-0.20100609.fc13.x86_64.rpm'
There you go. You can install, optionally, the go-vim or go-emacs package (in that same dir).
If you think you know a better way of building it, please, suggest and/or comment here. I’m no package builder…
Mira! ya no se usa php_value en un .htaccess! Ahora usas .user.ini para configurar tu PHP en userspace!!
http://mx.php.net/configuration.file.per-user
http://mx.php.net/configuration
Al parecer solo sirve con fcgi, o sea, para usuarios que así configuren su apache o, también, para usuarios de cherokee!
Así, solo pones ésto en un archivo .user.ini; en el directorio que lo necesitas… o debajo de él:
date.timezone = “America/Mexico_City”
Y php escoge la timezone para este proyecto.
Ésto no lo sabía y lo acabo de descubrir!
Bueno, aquí está como:
1. Si tienes un proyecto, ve a él; si no, crea uno y, luego, le agregas git
cd /path/a/mi/proyecto && git init
2. Agrega todos los archivos a git y haz un commit
git add . && git commit -a
3. Ahora, ve un nivel más abajo en el directorio
cd ..
4. Clona, usando –bare, tu proyecto a otro directorio
git clone --bare ./proyecto proyecto.git
5. Entra a ./proyecto/hooks/ y edita copia post-update.sample a post-update
cd ./proyecto/hooks/ && cp post-update.sample post-update
6. Edítalo para que quede así:
exec git update-server-info
7. Cambia el permiso para que sea ejecutable
chmod +x post-update
8. Sube tu “repositorio” a un servidor web
scp -r /paty/a/mi/proyecto.git yo@miservidor.com:~/mi/docroot/publico/
9. Ve al directorio y correo el siguiente comando git update-server-info
ssh yo@miservidor.com "cd mi/docroot/publico/proyecto.git/ && git update-server-info"
10. Cálalo intentando clonar desde tu server
git clone http://miservidor.com/proyecto.git
Si no jala, intenta ver el directorio; se deben ver los archivos de git ahí. Si no, la estás cafeteando en algo.
El otro día, Richard y Yo vimos que, en Fedora 12, hay un named.ca viejito (2008!).
Bueno, he aquí, un comando para actualizarlo:
dig @a.root-servers.net . ns > /var/named/named.ca
Acuérdate que esto tiene mucho que ver con DNS y Bind. Por ahí dicen que, estos servidores, cambian cada 10 años… más vale prevenir, no?
Bueno, siguiendo con los cambios, hoy hice la transformación de todos mis documentos basados en Microsoft Office a OpenOffice.
Me tardé un ratín! Cómo? Usando unoconv!
Éste fué el procedimiento:
1. Instalar unoconv
su -c 'yum install unoconv -y'
2. Correr una instalncia de unoconv servidor
unoconv --listener
3. Crear un repositorio/directorio para documentos propietarios
mkdir /home/renich/trash_docs
4. Convertir todo y mover los archivos propietarios a un directorio
find /home/renich -iname '*.doc' -exec unoconv -f odt \{\} \; -exec mv \{\} /home/renich/trash_docs/
Probablemente pude haber usado && dentro del exec… pero no le calé. Ahí me dices si te sirve esto.
tip
Lo mismo puedes hacer con los .rtf o los .xls o .docx o .xlsx o esos formatos feos de MS! La -f de unocov solo define el formato de salida (el default es pdf… blew!)
Fácil!
find . -iname '*.mp3' | while read song; do mpg321 "${song}" -w - | oggenc -q 9 -o "${song%.mp3}.ogg" -; done
Sermón:
No debes convertir de un formato lossy a otro formato lossy.
lossy -> lossy = lossier!
Pero, no quiere decir que no se puede
Ahora, con el soporte de los navegadores de OGG (nativo en HTML5!), ya no hay porqué utilizar software privado.
Estoy en el proceso de convertir todos los mp3 de mi banda introbella a ogg. Ya no más mp3! Wákala!
# Referencia
http://www.perturb.org/display/entry/687/