Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

object

iAd Producer 2.0 adds new tools and animation effects
Tuesday, 08 November 2011 15:00

New tools and animation effects in iAd Producer 2.0 make it even easier to build great iAds. Create sophisticated animations with precise control over object properties like position, opacity, size, color and shadow. Get instant, one-click access to any object or element on a page with the new object list. Make your iAds better and faster with new validation tools that identify optimization opportunities and common errors. Learn more.


Read more: http://developer.apple.com/news/index.php?id=11082011a

 
Show/Hide Text Effect with jQuery UI
Friday, 02 September 2011 09:42
A simple code-snippet that with a mouse click will Hide/Show a text block ( div , paragraph) , although it can be modified to any DOM object on your website .
http://tournasdimitrios1.wordpress.com





object | tag

href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/ui-darkness/jquery-ui.css"/>

src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">


src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js">










Lorem Ipsum is simply dummy text .......





Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/VKukZB8nD4I/13607

 
đoạn mã vb script chạy trên win để change key win (.vbs)
Tuesday, 09 August 2011 21:21
đoạn mã vb script chạy trên win để change key win (sử dụng object window manager)


ON ERROR RESUME NEXT

Dim VOL_PROD_KEY

if Wscript.arguments.count<1 then

VOL_PROD_KEY = inputbox("dien vao cdkey")

else

VOL_PROD_KEY = Wscript.arguments.Item(0)



end if

VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","")

Dim WshShell

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry value

for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation")

result = Obj.SetProductKey (VOL_PROD_KEY)

if err < 0 then

WScript.Echo Err.Description, "0x" & Hex(Err.Number)

Err.Clear

end if

Next

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/2yQ5N_e_83c/13503

 
Who Wants To Eat Darth Vader's Head Anyway? [Wtf]
Saturday, 25 June 2011 12:00
With the summer heat upon us, you're gonna have to stay cool somehow. Try importing these eerily-realistic ice cream popsicles from Stoyn in Russia. You might object, but we've already been eating creepy popsicle heads for decades. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/4LA6FOOje9k/who-wants-to-eat-darth-vaders-head-anyway

 
Zend Framework 1.11 : Storing data in Mysql database Using Plain Old SQL
Thursday, 07 April 2011 12:48



// Data object in application/models/ directory
/**
* Database handler.
*Name of file Db_Db.php
*/
class Db_Db
{

public static function conn(){

$connParams = array("host" => "localhost",
"username" => "root",
"password" => "",
"dbname" => "test");

$db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
return $db;

}
}

// Controller in application/controllers/
/**
*Controller and Actions must be created with the Zend tool
*so that routes are automaticaly updated
*/

class IndexController extends Zend_Controller_Action
{

public function init()
{
/* Initialize action controller here */
}

public function indexAction()
{
// action body
}

public function testConnAction()
{
try{
$connParams = array("host" => "localhost",
"username" => "root",
"password" => "",
"dbname" => "test");
$db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
}catch(Zend_Db_Exception $e){
echo $e->getMessage();
}
echo "Database object created.";
//Turn off View Rendering.
$this->_helper->viewRenderer->setNoRender();
}

public function testInsertAction()
{

try {

//Create a DB object--> First reference the Db_Db.php model
require_once "/../application/models/Db_Db.php";
$db = Db_Db::conn();

//DDL for initial 3 users
$statement = "INSERT INTO accounts(
username, email, password,status, created_date
)
VALUES(
'test_1', ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ', 'password',
'active', NOW()
)";

$statement2 = "INSERT INTO accounts(
username,email,password,status,created_date
)
VALUES(
'test_2', ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ', 'password',
'active', NOW()
)";

$statement3 = "INSERT INTO accounts(
username,email,password,status,created_date
)
VALUES (
?, ?, ?, ?, NOW()
)";

//Insert the above statements into the accounts.
$db->query($statement);
$db->query($statement2);

//Insert the statement using ? flags.
$db->query($statement3, array('test_3', ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ',
'password', 'active'));

//Close Connection
$db->closeConnection();

echo "Completed Inserting";

}catch(Zend_Db_Exception $e){
echo $e->getMessage();
}

//Supress the View.
$this->_helper->viewRenderer->setNoRender();

}


}






Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/AXYBm5lu89A/13117

 
Start
Prev
1


Page 1 of 2
Taxonomy by Zaragoza Online