18 February 2011

Firefox 4 beta tips

Firefox 4 beta tips:

  • To have firefox remember which tabs were open when you close firefox:


    • Firefox button -> options

    • General Tab

    • In the startup box change when firefox starts to "Show my windows and tabs from last time"


  • If your tabs are not showing on top correctly with the firefox single button menu


    • View -> Toolbars

    • Make sure Tabs on Top is checked

    • View -> Toolbars -> Customize

    • Click Restore Default Set


  • Hotmail Appears to have trouble in FF4beta. I just use Chrome for that

02 January 2011

Linux UPnP DLNA client

In my search to connect my Droid X to my server wireless, I came across the idea of using DLNA to copy my pictures over to it.

To set it up:

mkdir /mnt/dlna
sudo modprobe -l -t /mnt/dlna fuse
sudo djmount /mnt/dlna -o allow_other


To run in a diagnose mode try:

sudo djmount /mnt/dlna -f -o allow_other




However, I have found 2 problems with it
1. does not maintain the file date/time
2. only seems to pull the first 90 files

26 December 2010

IPMI

Servers come with a great tool called ipmitool.

To use it run:

sudo ipmitool sdr

It will output the results of the Sensor Data.



If it does not work, you may have to load the drivers:

sudo modprobe ipmi_msghandler
sudo modprobe ipmi_devintf
sudo modprobe ipmi_si



More to come as I find more uses.

19 December 2010

SAMBA and XP

I was trying to setup public shares (including a printer) and user secured shares on SAMBA, but kept running into problems where XP would not authenticate to the shares.


The first problem was an oversight on my part. I had 2 security settings in my [global] space.


[global]
security = user
.
.
.
security = share



The second problem was actually with XP. It was storing the guest password. I actually had to remove the stored shares using the command line.


net use \\192.168.1.10\jeff /delete




Here is my final smb.conf file:

[global]
security = user
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
guest ok = yes
guest account = nobody
workgroup = LINUX
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.1.0/24
hosts deny = 0.0.0.0/0
browseable = yes
map to guest = Bad User
domain logons = no

# follow symlinks
follow symlinks = yes
wide links = yes
unix extensions = no

#printers
printcap name = cups
printing = cups


[printers]
browseable = yes
printable = yes
public = yes
create mode = 0700
guest only = yes
use client driver = yes
path = /tmp

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750
guest ok = no

[nas]
comment = move to here
path = /home/nas
read only = no
public = yes
guest ok = yes

[docs]
comment = documents
path = /home/docs
read only = no
guest ok = no





Don't forget to add passwords for users and enable them:

smbpasswd -a jeff
smbpasswd -e jeff


They also need to exist in your /etc/samba/smbusers file:

jeff = "jeff"

21 October 2010

My Favorite Android Productivity Apps

Here are a list of my favorite Android Apps:

  1. Advanced Task Killer by ReChild


    1. Allows you to kill running apps


  2. GMail by Google Inc.


    1. quick access to Gmail


  3. GTasks by Dato


    1. A widget and app that integrates with google tasks


  4. SMS Backup+ by Jan Berkel


    1. An app that backups all SMS and MMS to gmail with a SMS label


  5. Calendar Widget by Motorola


    1. A widget and app that integrates with Google Calander

19 July 2010

Transfering Contacts from LG ENV2 to Samsung Reality

I recently came across the problem of transferring contacts from a LG ENV2 to a Samsung Reality. Here is the solution I devised:

1. Use BitPim to download contacts from ENV2

2. Export vCards v2.1

3. Break the single vCard into multiple vCards. I did this using vcardsplitter. This step is key as the Samsung Reality does not support vCards with multiple contacts.

4. Create the directory my_contacts on a micro-SD card.

5. Copy the vCards into this directory

6. Put the micro-SD card into Samsung Reality

7. On the Samsung Reality do the following:
Menu->Settings and Tools->Memory->Card->My Contacts->Copy->Copy All

27 May 2010

Firefox printing woes

So I was working on a webpage that included alot of generated content (aka content were I could not control the length) and firefox kept putting the page breaks in the middle of content instead of just before or just after. I tried implementing page-break-before: avoid; inside of the paragraph. I also tired page-break-inside: avoid;. However, both were to no avail.

The all at once it hit me! I was using floats to do the page layout with my divs! So I just switched from float:left; to display:inline-block; Then with a couple other minor changes to widths, Firefox was correctly inserting page breaks!