Gargolito Knows
Commentary on life, issues, movies and anything else that comes to mind.
Friday, January 27, 2012
Saturday, January 14, 2012
Please donate a few bucks for Jessica Ahlquist's scholarship fund.
Jessica is a teenager and high-school student who has successfully sued her school to remove a prayer mural at her school's auditorium. This is a re-post from the Friendly Atheist blog you can read more here:Jessica Ahlquist Has Won Her Lawsuit! | Friendly Atheist
Monday, December 26, 2011
Tuesday, December 13, 2011
Friday, September 02, 2011
Ubuntu: Run chrome with cache in a ramdisk
This script will create a ramdisk, mount it and run chrome using it as it's cache location. Depnding on how much memory you have in your system, you can adjust the size of the ramdisk by modifying the CACHE_MB variable (number of MB you want to allocate). You can modify the icon that launches chrome to use this script, just place it somewhere in you home directory.
While not secure, I recommend adding /bin/mount and /bin/unmount to your sudoers so that you don't have to enter a password every time you run it.
While not secure, I recommend adding /bin/mount and /bin/unmount to your sudoers so that you don't have to enter a password every time you run it.
#!/bin/bash
#Anthony Camilo 09/02/2011
#
# config
CACHE_DIR=/tmp/chromecache
CACHE_MB=128
#do not modify below
CACHE_SIZE=$(($CACHE_MB * 1024 - 1))
if [ ! -d $CACHE_DIR ]; then
mkdir -p $CACHE_DIR
else
find $CACHE_DIR -mmin +480 -delete
mkdir -p $CACHE_DIR
fi
sudo mount -t tmpfs -o size=$CACHE_MB'M' tmpfs $CACHE_DIR
/opt/google/chrome/google-chrome $1 --disk-cache-dir="$CACHE_DIR" --disk-cache-size=$CACHE_SIZE
sleep 10
sudo umount -fl $CACHE_DIR
Tuesday, June 14, 2011
The Late Movies: Ira Glass on Storytelling
The Late Movies: Ira Glass on Storytelling: "
"

Ira Glass, award-winning host of This American Life and sage to all nerdy literate types, knows how to tell a good story. Here, in an interview with Current TV, Glass explains the basics of strong storytelling. Each clip can stand alone, featuring one specific rule about creating a good tale, but watch ‘em one after another for the full lesson. Literary nerds, prepare to swoon.
"
Tuesday, April 19, 2011
Tuesday, February 01, 2011
Subscribe to:
Posts (Atom)


