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 | |
/* | |
This short code can help you to hide Hellobar plugin on specific WordPress page. | |
Just copy and paste this code into your 'hellobar_wp_plugin.php' file inside the 'hellobar_wp_plugin' folder. | |
Make sure the script URL is full and correct. |
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 | |
/* | |
This short code can help you to hide Hellobar plugin on multiple WordPress page. | |
Just copy and paste this code into your 'hellobar_wp_plugin.php' file inside the 'hellobar_wp_plugin' folder. | |
Make sure the script URL is full and correct. |
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
<script> | |
/* | |
This is the example of how to get data from JSON Array Object | |
If you want to get earliest data, you need to know the data length first. Then use 'jsonobject.data.length-1' to get it. | |
Uncomment my example to see how it's work | |
DEMO: http://jsfiddle.net/bpphzwgx/ |
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> | |
<script type="text/javascript"> | |
// when the button is clicked, this function will fire | |
function get_json_data() { | |
// get HTML tag ID of the databox that will show the result we get & put it as a variable called 'databox' | |
var databox = document.getElementById("databox"); |
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
https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=[APP_ID_HERE]&client_secret=[APP_SECRET_HERE] |
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
<head> | |
<script> | |
function getData() { | |
var json = { | |
"entry": [{ | |
"id": "11014108", | |
"hash": "9db0054df76cc4b80888ff713527a652", | |
"requestHash": "zulhfreelancer", | |
"profileUrl": "http:\/\/gravatar.com\/zulhfreelancer", | |
"preferredUsername": "zulhfreelancer", |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>24 hour format to 12 hour format</title> | |
</head> | |
<body> | |
<p id="am"></p> | |
<p id="pm"></p> | |
<script type="text/javascript"> |
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> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Dynamic Dropdown</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
</head> | |
<body> |
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
=== | |
Phonegap | |
=== | |
To check current (installed) version: | |
phonegap -v | |
To check latest version in npm (not installed yet): | |
npm info phonegap version |
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
<span id="bytes"></span> = <span id="converted"></span> |
OlderNewer