2015. január 4.

How to set up a Send to Kindle Button on Google Blogger

1. Visit The Send to Kindle Button for Websites page to generate design and code for your button:
http://www.amazon.com/gp/sendtokindle/developers/button

When generating the code for your button select the "Blogger / Blogspot" option twice, if you do not use the dinamic view on your blog.
If you use dinamic view, and you successfully install the Send to Kindle button on your blog, please do leave me a comment about how you did it! Thank you in advance!

2.1. Go to your Blogger home: https://www.blogger.com/home
2.2. Go to the Template menu of your blog.
2.3. Select Edit HTML button under the Live on Blog thumbnail.

3.1. Insert the "Step 1" code before the closing body tag.
3.2. Change the "&" to "&" in the code so the xml can understand it.
3.3. Click Save Template to see that you do not get any errors. If you get errors, google on the error message to solve your problems.

4.1. Insert the "Step 2" code in the "b:includable id='shareButtons' var='post'" section before the closing b:includable tag to have it together with the other shareButtons. (shareButtons have to be enabled from the Layout menu: edit Blog Entry and tick "Show Share Buttons".)
4.2. Click Save Template to see that you do not get any errors. If you get errors, google on the error message to solve your problems.

5. Check your blog, it now has a Send to Kindle button where ever you put it.

2015. január 3.

Plex Configuration for various reasons

Restart Plex Server:

~$ sudo service plexmediaserver stop
~$ sudo service plexmediaserver start

Install Plug-in manually:
Plug-in directory: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/

To install a new plug-in:
the new plug-in's directory name should end with ".bundle" like the existing plug-in directories.
copy the downloaded plugin to the plex plug-in directory
~$ sudo cp -R /download_dir/new_plug-in_dir /plex_plugin_dir/
change the permissions to be like the existing plug-ins (this is not needed in 14.04 anymore)
~$ sudo chmod ugoa+rx /plex_plugin_dir/new_plug-in_dir
change the owner of the files to be like the existing plug-ins
~$ sudo chown -R plex:plex /plex_plugin_dir/new_plug-in_dir
restart plex server as written above.
the new plug-in should show up in plex.

Custom plug-in sources:


works fine for me.


To get AnimeToon working you need to update this file:
AnimeToon.bundle/Contents/Services/URL/AnimeToon/ServiceCode.pys

UPDATE: a fixed version of the plugin can be downloaded from here.

Add these lines to the end of the file:

###new stuff begins

elif each.find("videozoo") >= 0:
 page_data = HTML.ElementFromURL(each)
 string_data = HTML.StringFromElement(page_data)
 find_url = RE_PLAY44.search(string_data).group()
 url = String.Unquote(find_url, usePlus=False)
 Log(url)
 return [MediaObject(parts = [PartObject(key = url)])]

elif each.find("playbb") >= 0:
 page_data = HTML.ElementFromURL(each)
 string_data = HTML.StringFromElement(page_data)
 find_url = RE_PLAY44.search(string_data).group()
 url = String.Unquote(find_url, usePlus=False)
 Log(url)
 return [MediaObject(parts = [PartObject(key = url)])]

elif each.find("easyvideo") >= 0:
 page_data = HTML.ElementFromURL(each)
 string_data = HTML.StringFromElement(page_data)
 find_url = RE_VIDEO44.search(string_data).group()
 url = String.Unquote(find_url, usePlus=False)
 Log(url)
 return [MediaObject(parts = [PartObject(key = url)])]

elif each.find("playpanda") >= 0:
 page_data = HTML.ElementFromURL(each)
 string_data = HTML.StringFromElement(page_data)
 find_url = RE_PLAY44.search(string_data).group()
 url = String.Unquote(find_url, usePlus=False)
 Log(url)
 return [MediaObject(parts = [PartObject(key = url)])]

###new stuff over

2015. január 2.

Serviio Configuration for various reasons

Serviio promises features that require additional configuration and not work out of the box.

Online Resources
RSS feed reading requires the installation of serviio plugins, and that the feed be specifically readable for serviio.
Online streaming my desktop with VLC could work, but definitely not through wifi (it is too slow for that)

2014. december 23.

Experimenting with a Samsung UE32H6200 Smart LED TV

Useful links

Connecting to the TV
  • Using the HDMI port 
    • Connecting via HDMI Port (using the HDMI cable) 
    • Connecting with the HDMI (DVI) Port (using a DVI to HDMI cable)
  • Samsung Link (log in) connects content to the TV through cloud based software
  • Home Network (DLNA, UPnP) connects content to the TV through virtual network file server
  • Screen Mirroring for Samsung Mobile Devices
  • Wi-Fi Direct 
  • Samsung Smart View 2.0 for PC, for Samsung Mobile Devices, for iPhone to share the screen
DLNA connection from Ubuntu
Screen Casting with Wi-Fi Direct from Ubuntu
Read this summary first.
Read this how-to second.
Unfortunately HP Compaq TC4400 does not support Wi-Fi Direct.
I know this from the directions of the above how-to. I installed "iw" through synaptic and checked for "p2p" under "supported interface modes" in ~$ sudo iw list -- and there was none.



2014. október 6.

How to extract a unique distinct list from a column in LibreOffice Calc with range filter criteria

Using this method it is possible to filter a range of data with the INDIRECT function.

you will have to change the $A$2:$A$20 range two times to the wished range given by INDIRECT.

=INDEX($A$2:$A$20, MATCH(0, COUNTIF($B$1:B1, $A$2:$A$20), 0))

Let's say you have a third column, C with a header row 1 and data from row 2.
This function will work only if the data in column C is sorted.

You type your filter criteria in cell $E$1.
  1. using MATCH to find the first occurrence of the filter criteria:
  2. MATCH($E$1,$C$1:$C$20,0)
  3. using COUNTIF to fing out how many rows have this criteria:
    COUNTIF($C$1:$C$20,$E$1)
  4. the range will start in the row given by MATCH($E$1,$C$1:$C$20,0)
    and end in the row given by (MATCH($E$1,$C$1:$C$20,0)+COUNTIF($C$1:$C$20,$E$1)-1)
  5. now add the letter of the data column to the range like "A"&
  6. your range starting cell will be INDIRECT("A"&MATCH($E$1,$C$1:$C$20,0))
    your range ending cell will be INDIRECT("A"&(MATCH($E$1,$C$1:$C$20,0)+COUNTIF($C$1:$C$20,$E$1)-1))
  7. the string you will paste in place of $A$2:$A$20 will be INDIRECT("A"&MATCH($E$1,$C$1:$C$20,0)):INDIRECT("A"&(MATCH($E$1,$C$1:$C$20,0)+COUNTIF($C$1:$C$20,$E$1)-1))

How to extract a unique distinct list from a column in LibreOffice Calc

Hi all,

to this problem: http://nabble.documentfoundation.org/Generate-Unique-List-from-Values-in-Column-td4077250.html

this is the solution in MS Excel,
http://www.get-digital-help.com/2009/03/30/how-to-extract-a-unique-list-and-the-duplicates-in-excel-from-one-column/

and to do this in LibreOffice the single difference you have to make is to not click and drag, but to ctrl+click and drag down the cell contents!

so, step by step:

you have a header: row 1.
your list starts in row 2 in column A.
your unique list will start in row 2 column B.

you type =INDEX($A$2:$A$20, MATCH(0, COUNTIF($B$1:B1, $A$2:$A$20), 0)) in cell B2 and hit CTRL+SHIFT+ENTER

this should result in you having one of the values of your A2:A20 list in B2.

now press CRTL and click and drag down the bottom-right corner of B2 cell.

if you drag down long enough, #N/A cell contents should show up on the bottom of your unique list.

2014. május 27.

HP Compaq TC4400 specification

The model was released in 2006. (source: Wikipedia)

This is a copy of the specification of the HP website.

Processor, Operating System and Memory
Operating system installedGenuine Windows Vista® Business
ProcessorIntel® Core™2 Duo Processor T5600
• 1.83 GHz, 2 MB L2 cache, 667 MHz FSB 
Compatible Operating SystemsGenuine Windows 2000 drivers available on www.hp.com, FreeDOS
ChipsetMobile™ Intel® 945GM Express Chipset
Standard memory1 GB (512 MB x 2)
Memory UpgradeUpgradeable to 4096 MB maximum
Memory slots2 SODIMM slots
System features
Internal hard disk drive80 GB
Hard disk drive speed5400 RPM
CD-ROM and DVDVia optional HP External MultiBay II (9.5-mm) or HP Advanced Docking Station
Multi-bay devicesOptional External Multibay II devices
Portability
WeightStarting at 2.1 kg
Dimensions (w x d x h)3 (at front) x 28.5 x 23.5 cm
Display size12.1 inches diagonal
Connectivity
Wireless TechnologiesWLAN 802.11 a/b/g
Network interfaceBroadcom NetXtreme Gigabit (10/100/1000 NIC) PCI Express Ethernet Controller, HP Smart Power NIC technology
Expandability
Expansion slotsSlots available for additional devices: 1 Type I/II PC Card slot supports both 32-bit CardBus and 16-bit cards, Secure digital slot
External I/O ports3 USB 2.0 ports, VGA, headphone, microphone, AC adapter, RJ-11, RJ-45, S-video TV out, Firewire (1394a)
Software
Software includedAdditional software available from the Web: HP Client Manager Interface
Graphic / Audio
Graphic Subsystem NameIntel® Graphics Media Accelerator 950
Graphic Subsystem Video Card MemoryUp to 224 MB shared video memory
Other information
KeyboardFull-sized keyboard
Mouse/Pointing DeviceEnhanced dual pointing devices (touchpad and pointstick) with scroll zone, digital eraser pen with tether and clip
Power Features6-cell Lithium-Ion battery internal
Power RequirementsExternal 65W Smart AC adapter
Docking solutionHP Docking Station, HP Advanced Docking Station, HP External MultiBay II, HP Monitor Stands (all sold separately)
Security ManagementKensington lock slot, optional Smart Card Reader (replaces PC card slot)
Operating Temperature Range0 to 35° C
Operating Humidity Range10 to 90% RH
Non-Operating Humidity5 to 95% RH
Warranty3 years carry-in (pick-up and return in some countries (upgrades available, sold separately)) 1 year warranty on primary battery


EY608EA - HP Compaq tc4400 Tablet PC

Audio
Audio
HP Premier Sound™ High Definition Audio 24-bit DAC, headphone jack, stereo/mono microphone jack, integrated mono microphone
Internal audio
HP Premier Sound™ High Definition Audio 24-bit DAC, headphone jack, stereo/mono microphone jack, integrated mono microphone
Communications
Modem
56K modem
Connectivity
Wireless capability
Yes
Wireless technologies
Intel® Wireless LAN 802.11a/b/g mini-pci card, Bluetooth
Displays
Display size
12.1 inches diagonal
Display features
12.1" XGA WVA (1024 × 768), 160 degree, with digitizer with ambient light sensor; 12.1" XGA WVA (1024 × 768), 160 degree, outdoor viewable display with digitizer, with ambient light sensor
Expansion slots
Expansion slot
Slots available for additional devices: 1 Type I/II PC Card slot supports both 32-bit CardBus and 16-bit cards, Secure digital slot
Expansion slots
Slots available for additional devices: 1 Type I/II PC Card slot supports both 32-bit CardBus and 16-bit cards, Secure digital slot
Faxing
Fax/modem
56K modem
Input devices
Keyboard
Full-sized keyboard
Keyboard
Full-sized keyboard
Pointing device
Enhanced dual pointing devices (touchpad and pointstick) with scroll zone, digital eraser pen with tether and clip
Pointing device
Enhanced dual pointing devices (touchpad and pointstick) with scroll zone, digital eraser pen with tether and clip
Memory
Memory type
DDR2, 667 MHz, 512, 1024, 2048 MB
Memory slots
2 SODIMM slots
Memory slots
2 SODIMM slots
Memory upgrade
Upgradeable to 4096 MB maximum
Memory upgrade
Upgradeable to 4096 MB maximum
Cache external
2 MB L2 cache
Networking
Network interface
Broadcom NetXtreme Gigabit (10/100/1000 NIC) PCI Express Ethernet Controller, HP Smart Power NIC technology
Network interface
Broadcom NetXtreme Gigabit (10/100/1000 NIC) PCI Express Ethernet Controller, HP Smart Power NIC technology
Ports
I/O port
3 USB 2.0 ports, VGA, headphone, microphone, AC adapter, RJ-11, RJ-45, S-video TV out
External I/O ports
3 USB 2.0 ports, VGA, headphone, microphone, AC adapter, RJ-11, RJ-45, S-video TV out, Firewire (1394a)
Power
Battery life
Up to 5h30m (up to 12h30m with HP Extended Life Battery, up to 16 hours with HP Ultra-capacity battery)
Battery life
Up to 5h30m (up to 12h30m with HP Extended Life Battery, up to 16 hours with HP Ultra-capacity battery)
Power features
6-cell Lithium-Ion battery internal
Power features
6-cell Lithium-Ion battery, optional 8-Cell HP Extended Life Battery (sold separately), HP Fast Charge Technology (sold separately)
Power requirements
External 65W Smart AC adapter
Power requirements
External 65W Smart AC adapter
Processor
Chipset
Mobile™ Intel® 945GM Express Chipset
Chipset
Mobile™ Intel® 945GM Express Chipset
Processor speed
1.83 GHz
Centrino technology
Intel® Centrino® processor technology
Software
Software included
Additional software available from the Web: HP Client Manager Interface
Software included
Additional software available from the Web: HP Client Manager Interface
Operating system software 01
Genuine Windows XP Tablet PC Edition 2005
Pre-installed software
HP Wireless Assistant (on selected models), HP Mobile Printing Driver, HP Backup and Recovery Manager, HP ProtectTools Security Manager, Sonic Digital Media Plus (on selected models), Intervideo WinDVD 5, Adobe Acrobat Reader, HP Help and Support, HP One-Touch Buttons, Symantec Norton Internet Security, HP OpenView Radia Management Solutions, HP Qmenu Software, Tablet PC Tour, Microsoft Reader eBooks
Pre-installed software
HP Wireless Assistant (on selected models), HP Mobile Printing Driver, HP Backup and Recovery Manager, HP ProtectTools Security Manager, Sonic Digital Media Plus (on selected models), Intervideo WinDVD 5, Adobe Acrobat Reader, HP Help and Support, HP One-Touch Buttons, Symantec Norton Internet Security, HP OpenView Radia Management Solutions, HP Qmenu Software, Tablet PC Tour, Microsoft Reader eBooks
Compatible operating systems
Genuine Windows 2000 drivers available on www.hp.com, FreeDOS
Compatible operating systems
FreeDOS, Windows 2000 drivers available on www.hp.com
Operating system installed
Genuine Windows XP Tablet PC Edition
Storage
Optical drives
Via optional HP External MultiBay II (9.5-mm) or HP Advanced Docking Station
Optical drives
Via optional HP External MultiBay II (9.5-mm) or HP Advanced Docking Station
Hard disk drive
Serial ATA 60, 80 or 100 GB (5400 rpm)
Internal hard disk drive
80 GB
Hard disk drive speed
5400 rpm
Multi-bay devices
Optional External Multibay II devices
Multi-bay devices
Optional External Multibay II devices
System
Docking solution
HP Basic Docking Station, HP Advanced Docking Station, HP External MultiBay II, HP Monitor Stands (all sold separately)
Docking solution
HP Docking Station, HP Advanced Docking Station, HP External MultiBay II, HP Monitor Stands (all sold separately)
Security management
Kensington lock slot, optional Smart Card Reader (replaces PC card slot)
Security management
Kensington lock slot, optional Smart Card Reader (replaces PC card slot)
HP Protection tools
HP ProtectTools, HP Enhanced Drivelock, HP TPM Embedded Security Chip, HP Biometric Fingerprint Sensor
HP Protection tools
HP ProtectTools, HP Enhanced Drivelock, HP TPM Embedded Security Chip, HP Biometric Fingerprint Sensor
Upgradability
Windows Vista® capable
System bus
667 MHz FSB
Video
Graphic card 01
Intel® Graphics Media Accelerator 950
Graphic subsystem name
Intel® Graphics Media Accelerator 950
Graphic subsystem video card memory
Up to 224 MB shared video memory
Video resolutions description
1024 × 768 XGA WVA TFT (16 million colours)
Wireless
Wireless technologies
Intel or Broadcom Wireless LAN 802.11 and/or Bluetooth 2.0
 
 
Operating humidity range10 to 90% RH
Operating temperature range0 to 35° C
Operating temperature range0 to 35° C
 
 
WeightStarting at 2.1 kg
Dimensions (W x D x H)3 (at front) x 28.5 x 23.5 cm
Dimensions, metric3.43 (at front) x 28.5 x 23.5 cm