Category ArchiveInternet
Category ArchiveInternet
jQuery & Internet & Programming Daantje on 26 Aug 2011
It’s a little jquery patch I wrote after I found this post. I think this works better…. and in all browsers… Just copy it somewhere after the DOM is ready. (jquery.ready())
What the problem is; :hover is a css pseudo selector, but a event state in Javascript. (Or some thing like that…) So it only gives the right color on mouse over. Only than the selector is valid.
The fix is simple; rebuild the element on mouse over, so you find the right color. The rebuild has only to be done the first time you role over it. And after reading the Typeface-js source, I found the render method hack to fix the un-rendered text element in the new color. Done is my mesh up. Have fun with it.
$(".typeface-js a,a.typeface-js").hover(
function(){
if(!$(this).hasClass('typeface-js-hover-checked')){
$(this).wrapInner('<span class="typeface-js-normal"></span>').append($('<span class="typeface-js-hover"></span>').text($(this).text()).css('color',$(this).css('color'))).addClass('typeface-js-hover-checked');
_typeface_js.renderDocument();
}
$(this).find('.typeface-js-normal').hide();
$(this).find('.typeface-js-hover').show();
},
function(){
$(this).find('.typeface-js-normal').show();
$(this).find('.typeface-js-hover').hide();
}
);
eee & Debian & Internet & Windows Daantje on 04 Oct 2008
I want to have internet all the time. And I have… I have a HTC Touch Cruise running Windows Mobile 6.1 Pro with a HSDPA connection. Now this is a way to connect the EEE to the HTC via bluetooth and use the windows mobile device as a gateway to the internet. By the way, I’m running Ubuntu-eee… If you are running Xandros, the default distro, try to Google on “Xandros bnep0 windows mobile”
First get the right software. Open a terminal and install the Bluez gnome utilities.
sudo apt-get update
sudo apt-get install bluez-gnome
Now open the file ‘/etc/default/bluetooth’ and be sure that the following is set;
BLUETOOTH_ENABLED=1
PAND_ENABLED=1
Now I did a reboot, you could restart some services, but I was lazy. Now, after you insert your Bluetooth dongle (or when you have it build in), you should have a bluetooth icon in the upper right corner. With that tool you should be able to pair with your Windows Mobile device. If you don’t know how, try it the other way around, use your mobile to pair with your eee. After the exchange op pins the two devices should be paired.
Open up the terminal again and do the following command to scan for your mobile…
sudo hcitool scan
You should get something like this;
Scanning ...
00:17:83:xx:xx:xx HTC_P3650
This is the mac address of your mobile device and you’ll need it later on to connect.
Okay, we have a working bluetooth dongle and we can see the mobile… Now some config we need to have to get the link working. Append the following to ‘/etc/network/interfaces‘;
iface bnep0 inet manual
down dhclient -r -pf /var/run/dhclient.$IFACE.pid $IFACE
down pand -K
up pand -Q -n
up dhclient -pf /var/run/dhclient.$IFACE.pid $IFACE
We are done configuring the eee. The following steps should be made every time you want to get the eee online:
Open on your Windows Mobile device the application ‘Internet Sharing’, you can find it in your Programs folder. Start a Bluetooth PAN connection and wait for it to start.
Open up a terminal on you eee and do:
sudo pand -c 00:17:83:xx:xx:xx -n
Ofcource, you’ll have to replace the 00:17:83:xx:xx:xx with the mac address of your device.
You should get this as result:
pand[8033]: Bluetooth PAN daemon version 3.26
pand[8033]: Connecting to 00:17:83:xx:xx:xx
pand[8033]: bnep0 connected
Now bring the network interface up and get an IP from the windows mobile device:
sudo ifup bnep0
Now wait for the following result, it should look something like this:
pand[8060]: Bluetooth PAN daemon version 3.26 pand[8060]: Inquiring pand[8060]: Searching for NAP on 00:17:83:xx:xx:xx pand[8060]: Connecting to 00:17:83:xx:xx:xx pand[8060]: Connect to 00:17:83:xx:xx:xx failed. Connection refused(111) pand[8060]: Searching for NAP on 00:16:CB:xx:xx:xx Internet Systems Consortium DHCP Client V3.0.6 Copyright 2004-2007 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wifi0: unknown hardware address type 801 wifi0: unknown hardware address type 801 Listening on LPF/bnep0/00:10:60:a2:8c:dd Sending on LPF/bnep0/00:10:60:a2:8c:dd Sending on Socket/fallback DHCPREQUEST of 192.168.0.85 on bnep0 to 255.255.255.255 port 67 DHCPACK of 192.168.0.85 from 192.168.0.1 bound to 192.168.0.85 -- renewal in 111983 seconds.
YES! We have an IP! You can double check with the ‘ifconfig’ command, or just try to open up Firefox and start browsing ;) Now close your eee, walk to the pub, get a nice cold one. Open your eee and start browsing the net ;) w00t!
To get the interface down again, use:
sudo ifconfig bnep0 down
Most of the info I’ve used, can be found in this forum post. Ive written a little shell shell script to bring the connection up, because it’s hard to remember all of this after some beers ;)
#!/bin/sh
sudo pand -c 00:17:83:xx:xx:xx -n
sleep 5
sudo ifup bnep0
echo "Drink beer!"
Don’t forget to make the file executable with ‘chmod +x myscript.sh’, or something like that…
Internet & MacOS & Programming Daantje on 27 Jun 2008
It’s only easy with this Adobe Photoshop plugin. It’s a free and open source plugin available for Adobe Photoshop CS2 and CS3 for MacOSX and Windows. Also it works on PaintShop Pro.
To make a transparent favicon, just design your icon (32 x 32 pixels) with a transparent background. Resize your image to 16 x 16 pixels and choose ‘Save for the web’ and save the image as a GIF, with transparency on (duh!). Now reopen the GIF file and choose ‘Save as…’ and save it as a Windows Icon (.ico) file. And your done.
For an other way to do it on MacOSX with the free app ‘Graphic Converter’, check my older post ‘how-to-make-a-faviconico-on-macos-x‘.
Internet & Fun & Tech & Programming Daantje on 11 May 2007
Get lost in this site! This is realy cool for every hardware and web developer! This guy makes cool stuff! The site is dhtml and not flash! I repeat, not flash! I did somthing of the same stuff on this site.
Internet & iPod & Tech Daantje on 12 Jan 2007
My old iPod’s hard drive is broken. Here in the Netherlands a new hard drive for a iPod is about 70,- euro’s. Now on eBay (again) I found one for 10,- US dollars! Incl. shipment it’s 25,- dollars. Real cool. Now I have a iPod nano and a 20BG ;) If you are looking for a iPod disk, just browse eBay! I bought mine from this guy, will tell here if it arrived and if it worked. It is a used disk, so I’ll have to test it, but I’ve got hope ;)
Update: (23 jan 2007) It hasn’t arrived yet, but is has been send. I think that Dutch customs has it now… :(
Update: (24 jan 2007) It has arrived! Long live ebay! Tomorrow I will install it and check if it’s working or not. There is hope again!
Update: (25 jan 2007) I’ve installed the new one, but it doesn’t work. Have to test the disk more…
Internet & Windows & MacOS Daantje on 19 Dec 2005
In June 2003, the Microsoft Macintosh Business Unit announced that Internet Explorer for Mac would undergo no further development, and support would cease in 2005. In accordance with published support lifecycle policies, Microsoft will end support for Internet Explorer for Mac on December 31st, 2005, and will provide no further security or performance updates. Additionally, as of January 31st, 2006, Internet Explorer for the Mac will no longer be available for download from Mactopia. It is recommended that Macintosh users migrate to more recent web browsing technologies such as Firefox.
Internet Daantje on 09 Dec 2005
Exploit code for the latest version of open-source browser Firefox was published Wednesday, potentially putting users at risk of a denial-of-service attack.
The exploit code takes advantage of a bug in the recently released Firefox 1.5, running on Windows XP with Service Pack 2. Firefox, which initially debuted over a year ago, has moved swiftly to capture 8 percent of the browser market. Read more on C|Net
Internet Daantje on 08 Dec 2005
Here’s something nice! This guide provides a complete overview of many of the processes, techniques and strategies used by professional search engine optimization specialists.
Internet & MacOS Daantje on 25 Oct 2005
It’s so easy! Make an image of 16 x 16 pixels, 256 colors and save it as an GIF, BMP or any other format. (I saved it as an GIF file) Open the image in ‘GraphicsConverter’ from your applications folder. Save the image as a Windows Icon (.ICO) file and your done. Use the following HTML tag in yout page:
<link rel="shortcut icon" href="http://www.yourdomain.ext/favicon.gif" />
Frustrations & Internet Daantje on 08 Aug 2005
The European ministers of Justice and the European Commission want to keep all telephone and internet traffic data of all 450 million Europeans. If you are concerned about this plan, please sign the petition.
Purchase Cheap Oem Adobe Flash Professional Cs5 In German
Buy Microsoft Windows 7 Ultimate Sp1 Online Microsoft Office 2010 Visio Premium Online Purchase Adobe Dreamweaver Cs5 Online Oem Adobe Dreamweaver Cs5 In German Online Purchase Microsoft Windows Vista Ultimate Sp1 Online Purchase Discounted Microsoft Office 2008 For Mac Online Purchase Adobe Creative Suite 4 Design Premium Buy Cheap Adobe Photoshop Lightroom 3.2 In German Online Buy Cheap Adobe Photoshop Cs3 ExtendedBuy Cheap Oem Microsoft Office 2004 Pro For Mac
Buy Discounted Oem Adobe Creative Suite 5.5 Master Collection
Purchase Discounted Oem Microsoft Office 2003 Professional Edition Purchase Cheap Adobe Photoshop Cs3 Extended Online Cheap Oem Adobe Fireworks Cs4 For Mac Discounted Oem Adobe Acrobat 8 Pro For Mac Online Purchase Discounted Adobe Creative Suite 5.5 Master Collection Multilanguage Online Purchase Cheap Adobe Premiere Pro Cs5.5 Online