Ruben Laguna’s blog

Google Maps Is Easy

I decided to give a try to Google Maps API and I found it pretty easy. Currently I’m looking for a jiu-jitsu school near Madrid so I decided to pinpoint all jiu-jitsu schools in a google map. I’ve got the school addresses in this page and put those directly in the page using the geocoder api. Here’s the result, you can see all the code using View Source in the browser menu it’s all embedded javascript.

Cygwin Problem: Can’t Access /cygdrive/c

I’ve lost my ability to see my c: drive from cygwin. when I do

1

1
<span class='line'>$ cd c:</span>

or

1

1
<span class='line'>$ cd /cygdrive/c</span>

all goes ok. But if I do

1

1
<span class='line'>$ ls</span>

then it complains

1
2

1
2
<span class='line'>ecerulm@rlm-ecb4fe6cda1 /cygdrive/c $ ls
</span><span class='line'>ls: reading directory .: No such file or directory</span>

I found something at this forum and also here
So it seems that I screwed up permission (maybe it related to some automatic windows update). So after checking my username and group are the right on with

1

1
<span class='line'>$ id</span>

I noticed that I can perform

1

1
<span class='line'>$ cd /cygdrive/c/Documents\ And\ Settings</span>

and see the contents of that directory so I must be some problem with the permission at the root folder c:

So I right-click the c drive and click on Properties. In the security tab added permission to “Read & execute” to Everyone but I didn’t solve the problem so I guess I have to live with this little annoyance.

Wordpress Importing Tools Is Awesome

Wow! I noticed the Import tab in the Wordpress admin tool and I found that is possible to import your old blog from blogger.com (among others). It awesome! works perfectly! All my previous post are now in Wordpress.

Adjust the Volume and EQ Setting of Podcast and Audiobooks Automatically

Continuing with my previous posts 1,2 ….
I wrote a little script that I run every day via Windows Scheduled tasks. The script adjust the volume and EQ setting of all the podcasts and audiobooks everyday. I find hard to listen to podcast and audiobooks at the gym (that’s were I listen to podcasts and audiobooks) at the standard volume so I like to adjust the volume +100% and change the EQ setting to “Spoken word”.

Save the file adjustvolume.js and make sure that file extension is handled by wscript.exe.

The file association windows should look like this

Folder options for .js (JScript) files
Now in Control Panel → Scheduled Tasks you can set that script to execute every day to maintain your podcasts and audiobook with the correct settings

Copyright © 2015 - Ruben Laguna - Powered by Octopress