Camel vacuum thermos mercury glass
Feb 2nd, 2012 by admin
Do these thermos have mercury in them and is it dangerous?
Feb 2nd, 2012 by admin
Do these thermos have mercury in them and is it dangerous?
Jan 26th, 2012 by admin
Jan 8th, 2012 by admin
Jan 8th, 2012 by admin
No piont buying old iPhone 2Gs to get unlimited data. It doesnt work anymore. ATT closes loop on the iPhone 2G unlimited data plan.
Jan 8th, 2012 by admin
And drops Galaxy S II to $149. Damn it.
Dec 30th, 2011 by admin
root/admin for certain shared folders
<username>/smb
root/root for MAIN FOLDERS
Dec 30th, 2011 by admin
The PICTURE and VIDEO folders are automatically linked via symbolic links by Promise 4300. So if you swap in a new drive and those PICTURE and VIDEO folders are on anything other than VOLUME1, it’ll become lost.
You’ll need to SSH into the server and rename the folder to something else.
I used command mv PICTURE PHOTOS
So your stuff are still there. Just hidden.
Dec 20th, 2011 by admin
Dec 6th, 2011 by admin
Nov 22nd, 2011 by admin
ps -axww | grep Sym
Find out the file path to process
Nov 19th, 2011 by admin
Nov 17th, 2011 by admin
The Kindle Fire software is now public…. so anyone tried this?
Nov 15th, 2011 by admin
http://www.storiesinflight.com/html5/pseudo_after.html
<div class="framedphoto"><img src="images/crossings1.jpg" width="200" height="150"></div>
<style>
.framedphoto {
position: relative;
display: inline-block;
font-size: 0;
line-height: 0;
}
.framedphoto:after {
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
content: " ";
border: 10px solid;
-moz-border-image: url('images/overlay2.png') 20 20 20 20 stretch stretch;
-webkit-border-image: url('images/overlay2.png') 20 20 20 20 stretch stretch;
border-image: url('images/overlay2.png') 20 20 20 20 stretch stretch;
}
</style>
Nov 15th, 2011 by admin
Nov 15th, 2011 by admin
Nov 15th, 2011 by admin
http://www.htmlforums.com/css/t-flowchart-using-css-85999.html
http://valid-webs.com/samples/arrow.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>family tree using 32 divs </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
h1 {
width:580px;
font-family:verdana,arial,helvetica,sans-serif;
font-size:18px;
text-align:center;
margin:40px auto;
}
#container {
width:580px;
font-family:verdana,arial,helvetica,sans-serif;
font-size:11px;
text-align:center;
margin:auto;
}
#container a {
display:block;
color:#000;
text-decoration:none;
background-color:#f6f6ff;
}
#container a:hover {
color:#900;
background-color:#f6f6ff;
}
#no1 {
width:190px;
line-height:60px;
border:1px solid #000;
margin:auto;
}
#no1 a {
height:60px;
}
#line1 {
font-size:0;
width:1px;
height:20px;
color:#fff;
background-color:#000;
margin:auto;
}
#line2 {
font-size:0;
width:424px;
height:1px;
color:#fff;
background-color:#000;
margin:auto;
}
#line3 {
font-size:0;
display:inline;
width:1px;
height:20px;
color:#fff;
background-color:#000;
margin-left:78px;
float:left;
}
#line4,#line5,#line6 {
font-size:0;
display:inline;
width:1px;
height:20px;
color:#fff;
background-color:#000;
margin-left:140px;
float:left;
}
#no2 {
display:inline;
border:1px solid #000;
clear:both;
margin-left:35px;
float:left;
}
#no2 a,#no4 a,#no8 a {
width:84px;
height:50px;
padding-top:8px;
}
#no3 {
display:inline;
border:1px solid #000;
margin-left:58px;
float:left;
}
#no3 a,#no5 a,#no6 a,#no7 a,#no9 a {
width:84px;
height:42px;
padding-top:16px;
}
#no4 {
display:inline;
border:1px solid #000;
margin-left:53px;
float:left;
}
#no5 {
display:inline;
border:1px solid #000;
margin-left:55px;
float:left;
}
#line7,#line13 {
font-size:0;
display:inline;
width:1px;
height:38px;
color:#fff;
background-color:#000;
margin-left:219px;
float:left;
}
#line8,#line14 {
font-size:0;
display:inline;
width:1px;
height:38px;
color:#fff;
background-color:#000;
margin-left:281px;
float:left;
}
#no6,#no8 {
display:inline;
border:1px solid #000;
margin-left:107px;
float:left;
}
#line9,#line11,#line15,#line17 {
font-size:0;
display:inline;
width:26px;
height:1px;
color:#fff;
background-color:#000;
margin-top:29px;
float:left;
}
#line10,#line12,#line16,#line18 {
font-size:0;
display:inline;
width:1px;
height:60px;
color:#fff;
background-color:#000;
float:left;
}
#line16,#line18 {
height:30px;
}
#no7,#no9 {
display:inline;
border:1px solid #000;
margin-left:169px;
float:left;
}
.clear {
clear:both;
}
-->
</style>
</head>
<body>
<h1>A simple family tree using 32 divs</h1>
<div id="container">
<div id="no1"><a href="">Managing Director</a></div>
<div id="line1"></div>
<div id="line2"></div>
<div id="line3"></div>
<div id="line4"></div>
<div id="line5"></div>
<div id="line6"></div>
<div id="no2"><a href="#">Sales & Marketing Director</a></div>
<div id="no3"><a href="#">Production Director</a></div>
<div id="no4"><a href="#">Human Resources Director</a></div>
<div id="no5"><a href="#">Finance Director</a></div>
<div id="line7"></div>
<div id="line8"></div>
<div class="clear"></div>
<div id="no6"><a href="#">Factory Manager</a></div>
<div id="line9"></div>
<div id="line10"></div>
<div id="no7"><a href="#">Management Accountant</a></div>
<div id="line11"></div>
<div id="line12"></div>
<div class="clear"></div>
<div id="line13"></div>
<div id="line14"></div>
<div class="clear"></div>
<div id="no8"><a href="#">Quality Control Manager</a></div>
<div id="line15"></div>
<div id="line16"></div>
<div id="no9"><a href="#">Financial Accountant</a></div>
<div id="line17"></div>
<div id="line18"></div>
<div class="clear"></div>
</div>
</body>
</html>
Nov 14th, 2011 by admin
Have to update the code a bit to work with Jquery 1.7
function handleData(iframe, type) {
if (type == “json”) {
return $(iframe).contents().find(‘body’).html();
} else {
var data, contents = $(iframe).contents().get(0);
if ($.isXMLDoc(contents) || contents.XMLDocument) {
return contents.XMLDocument || contents;
}
data = $(contents).find(‘body’).html();
if (type == ‘xml’) return parseXml(data);
else return data;
}
}
Nov 14th, 2011 by admin
Nov 13th, 2011 by admin
Nov 10th, 2011 by admin
Nov 10th, 2011 by admin
Nov 10th, 2011 by admin
Nov 9th, 2011 by admin
Nov 9th, 2011 by admin
Nov 9th, 2011 by admin
Nov 6th, 2011 by admin
http://www.makemineatriple.com/2007/10/passing-parameters-to-a-function-called-with-settimeout
setTimeout(function(){myFunction(parameter)}, myTimeout);
Nov 4th, 2011 by admin
Nov 4th, 2011 by admin
http://www.javascript-coder.com/jquery/jquery-selector-this.phtml
When you handle events for a particular element, it is often required to make a change only within children of the element. Here is how to do it.
Suppose this is the HTML code
<h2>Select the services you want:</h2> |
<ul id='services'> |
<li><img src='tick.gif'>Build a Website</li> |
<li><img src='tick.gif'>Page design</li> |
<li><img src='tick.gif'>Flash banners</li> |
<li><img src='tick.gif'>SEO</li></ul> |
</ul> |
When someone clicks on each of the service, the image is to toggle.
Here is the jQuery code to do that
$(function() |
{ |
//handle the click for each of 'li' |
$('ul#services li').click(function() |
{ |
//toggle the image |
var newimg = |
$('img',this).attr('src') == 'tick.png' ? 'cross.png' : 'tick.png'; |
/* |
notice the second parameter to $() is the context. |
'this' is the 'li' that was clicked.*/ |
$('img', this).attr('src',newimg); |
}); |
}); |
Nov 4th, 2011 by admin
http://jsbin.com/ipoxe5/edit#javascript,html,live
$(document).ready(function(){
$(“img”).resizable({ handles:’n,e,s,w,ne,se,nw,sw’ , maxHeight: 300, aspectRatio: true }).parent().draggable({containment: “#droppable”, snap:false});
$( “#droppable” ).droppable({
drop: function( event, ui ) {
$( this )
.find( “p” ).hide();
}
});
});
Nov 4th, 2011 by admin
http://aleembawany.com/2009/01/25/jquery-resizable-draggable-bug-workaround/
$('#box').resizable().parent('.ui-wrapper').draggable();
Nov 3rd, 2011 by admin
http://ryanflorence.com/sandbox/aligned-labels.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
<style type="text/css">
ol{
padding-left: 0;
margin-left:0;
}
ol>li {
list-style-type: none;
margin-bottom: .5em;
}
ol>li input[type=radio] {
display: -moz-inline-box;
display: inline-block;
vertical-align: middle;
}
ol>li label {
display: -moz-inline-box;
display: inline-block;
vertical-align: middle;
}
</style>
</head>
<body>
<fieldset>
<legend>Radio Buttons</legend> <ol> <li> <input type="radio" name="radio" id="x"> <label for="x">blah blah<br/>blah blah<br/>blah</label> </li> <li>
<input type="radio" name="radio" id="y"> <label for="y">blah blah<br/>blah blah<br/>blah</label> </li> </ol> </fieldset> </body> </html>
Nov 3rd, 2011 by admin
http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/
$(‘.container’).hover(function(){
var position = $(this).children().position();
$(“.detail”, this).stop().animate({bottom: 0},{queue:false,duration:600});
}, function() {
var position = $(this).children().position();
$(“. detail”, this).stop().animate({bottom : -70},{queue:false,duration:600});
});
});
Nov 1st, 2011 by admin
Oct 31st, 2011 by admin
Oct 31st, 2011 by admin
Once you are inside SmartStor SSH:
Latest DLNA drivers
this is the new ftp address for the DLNA plugin 01.02.0000.05 A6
thanks to Promise on Twitter
ftp://oem.promise.com
username: promisenas
password: dlna
Go here to learn more http://www.avsforum.com/avs-vb/showthread.php?t=859675&page=19
http://mizupc8.bio.mie-u.ac.jp/pukiwiki/?Promise%20NS4300N#hf420c97
Know any more hacks? I want to increase the speed of copies. 4300n is so damn slow over network.
Oct 31st, 2011 by admin
history
get history of commands
history | grep “sudo”
find all history of commands that has sudo in it
history > commands.txt
output the history to a text file
increase scrollback buffer in OS X
Copy files recursively keeping directories
cp . -b –parent /usbdrive
Find files by certain size and copy them
find . -size -4gb -exec cp -b –parent ‘{}’ /downloads \;
restart shell
Rsync only certain file size
rsync -rv –max-size=1.5m root@tss01:/tmp/dm
Prevent SSH disconnect
edit /etc/ssh/ssh_config
ServerAliveInterval 100
Copy files without overwrite and typing Y over and over again
yes n | cp -R -h -i /dirone/* /dirtwo
Creating alias shortcuts
alias browse=’nautilus’
alias gohere=’cd /gohere’
You can save shorts to your .bash_profile file.
Oct 31st, 2011 by admin
Oct 30th, 2011 by admin