Adblock Plus and Adsense compatibility issue

January 25th, 2010 Alex Posted in internet Comments Off

To be able to access my Adsense account, I had to add the following exception filter in Adblock plus:

@@https://www.google.com/adsense/

Note: I use the Easylist (USA) subscription.

AddThis Social Bookmark Button

Change Skype’s 2.1.0.47 Default Sound Device in PulseAudio

September 13th, 2009 Alex Posted in internet, linux, phone, voip Comments Off

Skype 2.1.0.47 beta uses pulseaudio as the default sound device, so you need to change the default sound device fo skype using a pulseaudio.

  1. Install pavucontrol if it’s not already installed
  2. Start pavucontrol
  3. Play a sound in the application where you need to change the default sound device.
  4. While the sound is playing, switch back to pavucontrol and change the sound device.
  5. that should be it.

I needed to set my Logitech Clearchat Wireless Headphones as the default sound device for Skype 2.1.0.47 beta in Ubuntu Karmic Alpha (pavucontrol was not installed).

AddThis Social Bookmark Button

Digi Watchport/H USB Serial Humidity/Temperature Sensor in Linux

August 19th, 2009 Alex Posted in electronics, internet, linux Comments Off

Using Digi Watchport/H USB Serial Humidity/Temperature Sensor in Linux

Ubuntu 9.04 has everything you need except for minicom. So all I had to do was to:

  • plug it in

    dmesg should get you the following output:

    usb 2-9: new full speed USB device using ohci_hcd and address 50
    usb 2-9: configuration #1 chosen from 1 choice
    io_ti 2-9:1.0: Edgeport TI 1 port adapter converter detected
    usb 2-9: Edgeport TI 1 port adapter converter now attached to ttyUSB0

  • Install minicom: sudo apt-get install minicom
  • Edit minicom settings: ~$ minicom -s
    1. Change the Serial Device to /dev/ttyUSB0

    2. Change the Bps/Par/Bits field to 9600 8N1, (9600 baud, 8 bits, no parity, 1 stop bit). These are the default settings used by the Linux kernel; they can, if necessary, be overridden from the kernel command line by adding extra parameters to the console= option. See kernel-parameters.txt and serial-console.txt.

    3. Turn off both Hardware Flow Control and Software Flow Control.

    4. In the Modem and dialing menu, remove the Init string and Reset string completely if required.

    5. Save your new config
    6. start minicom
    7. more details
  • Use one of the following commands:
    Command Description Return Value
    ?<CR> Tells about the command set available for this Watchport as described in this section
    I<CR> Tells what kind of Watchport is connected. Watchport/H<CR>
    H<CR> Gives the percentage relative humidity. 38%<CR>
    T<CR> Gives temperature in Celsius. +22.2500C<CR>
    TC<CR> Also gives temperature in Celsius. +22.2500C<CR>
    TF<CR> Gives temperature in Fahrenheit. +72.0000F<CR>
    TF+<CR> Repeats the TF command every 3-4 seconds until the next keystroke. Appending + also works with the TC and H commands +72.0000F<CR>
    L4<CR> Adjusts the slew rate of the data line. When ā€œLā€ is followed by a numeric value, 1 through 8, Watchport responds with OK. Other values return Invalid Command. The default setting is 4. Adjust the parameter until the data transmission becomes error-free. The setting remains in effect until the Watchport is power-cycled. OK

Download Watchport’s manual

Now all I need is a perl script to automate the posting of these values to twitter?

AddThis Social Bookmark Button

Three Best Firefox Extensions / Add-ons

August 11th, 2009 Alex Posted in firefox, internet, web Comments Off

I tried many other add-ons and extensions, but these are the ones I can’t live without:

  1. Adblock Plus
  2. No Script
  3. Firebug (mostly for web development)
AddThis Social Bookmark Button

Microsoft’s Bing Travel Site – Down Because of Fire

July 16th, 2009 Alex Posted in internet Comments Off

travel_bing_down_fire

See also http://alexpb.com/images/microsoft.says.microsoft.is.stupid-2006-03-29_1702.png, an old screenshot I took from 2006.

AddThis Social Bookmark Button