This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Gmail Sign in CSS page By Javed Baloch> | |
<html> | |
<head> | |
<link rel="Shortcut icon" href="http://i61.tinypic.com/qp2zhu.jpg"> | |
<title>Gmail</title> | |
<style> | |
{ | |
background-image:url(http://i62.tinypic.com/5wc7c5.jpg); | |
width:121px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Copy and Paste the Text into Notepad save Name.htm> | |
<html> | |
<head> | |
<title>Android Robot</title> | |
<style> | |
.android { | |
position: absolute; | |
left: 320px; | |
top: 230px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$txt = "Javed"; | |
$t_md5 = md5($txt); | |
$t_sha1 = sha1($txt); | |
$t_crypt = crypt($txt); | |
echo $t_md5. "<br>" . $t_sha1 . "<br>" . $t_crypt ; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This game created by Javed Baloch, 8-May-2016---> | |
<html> | |
<head> | |
<title>How Many Fingers</title> | |
<style type="text/css"> | |
</style> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* By Muhammad Javed Baloch | |
** You can process data via $_POST or $_GET | |
** You could add secuirty functionalties suchas Escaping | |
*/ | |
$data = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Casting bools to string | |
*/ | |
$t = true; | |
$f = false; | |
// By default false returns nothing we need to type cast it to int to how 0 | |
$f = (int) $f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Array | |
$brands = ['electronics' => ['Dell','Hp','Compaq','Acer']]; | |
// Encode Array into JSON | |
$json = json_encode($brands); | |
// Decode the json data, Object is ready | |
$object = json_decode($json); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const product = DATA.map(function(product) { | |
return ( | |
<Col span={6} style={{ minHeight: "280px" }}> | |
<Card style={{ minHeight: "260px" }}> | |
<h2>{product.name}</h2> | |
<img src={product.img} alt={product.name} width={100} /> | |
<p> | |
<strong>{product.price}</strong> | |
</p> | |
<p>{product.isAvailable ? "Available" : "Out of Stock"}</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const container = { width: '1000px', margin: '20px auto'} | |
class App extends React.Component { | |
constructor(props) { | |
super(props); | |
this.addOne = this.addOne.bind(this); | |
this.subOne = this.subOne.bind(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const container = { width: '1000px', margin: '20px auto'} | |
class App extends React.Component { | |
constructor(props) { | |
super(props); | |
this.toggleVisibility = this.toggleVisibility.bind(this); | |
this.state = { |
OlderNewer