Has administering Linux via the command line confounded you? Here are 10 GUI tools that might make your life as a Linux administrator much easier.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.one {
border: 1px solid black;
position: relative;
height: 120px;
width 120px;
}
.two {
position: absolute;
border: 1px solid red;
width: 50%;
top: -1px;
left: -1px;
bottom: -1px;
}
</style>
</head>
<body>
<div class="one">X
<div class="two">O</div>
</div>
</body>
</html>
function play(url) {
window.open(url, "_blank", "toolbar=no", "scrolls=no");
}
works best in Firefox
CORS (Cross-Origin Resource Sharing) is both simple and complex. It is quite simple in philosophy; but, the devil, as always, is in the details.
CORS is AJAX. What makes CORS special is that the AJAX request is being posted to a domain different than that of the client. Historically, this type of request has been deemed a security threat and has been denied by the browser. With the prevalence of AJAX and the transformation of thick-client applications, however, modern browsers have been evolved to embrace the idea that critical information doesn't necessarily come from the host domain.
Set
$.cookie("test", 1);
Delete
$.removeCookie("test");
Extra Parameters
$.cookie("test", 1, { expires : 10 });
var cookieValue = $.cookie("test");