This file contains 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
{ | |
"privateKeyCustom": { | |
"username": "root", | |
"keyLocation": "E:/credentials/keys/serverkey.ppk" | |
} | |
} |
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
//server deployment | |
'sftp-deploy': { | |
build: { | |
auth: { | |
host: 'wwww.hostname.com', | |
port: 22, |
This file contains 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
<html> | |
<head> | |
<title>Google Contacts</title> | |
</head> | |
<body> | |
Body ..... | |
<div id="con"> </div> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Iframe</title> | |
</head> | |
<body> | |
<button>Button</button> | |
<div id="childdiv"> </div> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Modular Design Pattern</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
</head> | |
<body> | |
<div>TODO write content |
This file contains 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
{ | |
"autoload": { | |
"psr-0": { | |
"MyApp": "src" | |
} | |
}, | |
"require": { | |
"cboden/ratchet": "0.3.*", | |
"react/zmq": "0.2.*|0.3.*" | |
} |
This file contains 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 | |
//echo phpinfo();exit; | |
//Connecting to Redis server on localhost | |
$redis = new Redis(); | |
$status=$redis->connect('XXX.XXXX.XXX.XXX', $portnumber); | |
echo "<pre>"; | |
echo "Connection to server sucessfully"; | |
//check whether server is running or not | |
echo "Server is running: ".$redis->ping(); |
This file contains 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 | |
//Function definations | |
function MakeUrls($str) | |
{ | |
$find=array('`((?:https?|ftp)://\S+[[:alnum:]]/?)`si','`((?<!//)(www\.\S+[[:alnum:]]/?))`si'); | |
$replace=array('<a href="$1" target="_blank">$1</a>', '<a href="http://$1" target="_blank">$1</a>'); | |
return preg_replace($find,$replace,$str); | |
} |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Geo City Locator by geoip-db.com</title> | |
</head> | |
<body> | |
<div>Country: <span id="country"></span></div> | |
<div>State: <span id="state"></span></div> | |
<div>City: <span id="city"></span></div> | |
<div>Postal: <span id="postal"></span></div> |
This file contains 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
{ | |
"require": { | |
"marcelog/pami": "dev-master", | |
"educoder/pest": "1.0.0", | |
"react/zmq": "0.2.*|0.3.*" | |
} | |
} |
OlderNewer