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
hbspt.forms.create({ | |
portalId: '1234567', | |
formId: 'formid-here', | |
css: 'select{font-size:21px;line-height:36px;background: #0397d6;font-family:"ProximaNova-Regular";height: 36px;color: #fff;position: relative;box-shadow: 0 3px 5px rgba(0,0,0,.20);-moz-box-shadow: 0 3px 5px rgba(0,0,0,.20);-webkit-box-shadow: 0 3px 5px rgba(0,0,0,.20);border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius:5px;margin-bottom:11px;border:0;width: 100%;}select:focus{outline:none} label{display:none;}.fldSet4 input[type="text"], .fldSet4 input[type="email"]{font-size: 16px;} .input select{font-size: 16px;}', | |
onFormReady: function($form) { | |
$form.on('change', '#form_policy', function(){ | |
if(jQuery(this).is(':checked')){ |
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 | |
// Display erros if any on the page. | |
error_reporting(E_ALL); | |
ini_set("display_errors", 1); | |
session_start(); | |
if(isset($_GET['action']) and $_GET['action'] == 'logout'){ | |
unset($_SESSION['accessToken']); |
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
function listAllFiles($driveService){ | |
$parameters = array( | |
'maxResults' => '100' | |
); | |
$results = $driveService->files->listFiles($parameters); | |
echo '<table>'; |
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
/** | |
* Select Dropdown Countries Template for WordPress developers | |
* Author: Muhammad Adnan (http://adnan.pk/) | |
* Company: WPBrigade (http://wpbrigade.com/) | |
*/ | |
<select name="country" id="country" class="form-control"> | |
<option value="AF" <?php selected( $_POST['country'], 'AF' ); ?>>Afghanistan</option> | |
<option value="AX" <?php selected( $_POST['country'], 'AX' ); ?>>Åland Islands</option> |
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
/* | |
* Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
* Better handling of scripts without supplied ids. | |
* | |
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
*/ | |
(function(doc, script) { | |
var js, | |
fjs = doc.getElementsByTagName(script)[0], |
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
.DS_Store |
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
.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent, | |
#customize-theme-controls .customize-pane-child.current-section-parent { | |
-webkit-transform: translateX(-100%); | |
-ms-transform: translateX(-100%); | |
transform: translateX(-100%); | |
} |
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 TAX_RATE = 0.10; // 10% | |
const PHONE_PRICE = 500; // $500 | |
const ACCESSORY_PRICE = 12; //$12 | |
const SPENDING_THRESHOLD = 900; // This should be 60% of the total bank balance. | |
var bank_account_balance = 0; | |
var quantity = 0; | |
var total = 0; | |
bank_account_balance = prompt("What is your Bank Account Balance"); |
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
[analytify-worldmap start_date="2015-10-22" end_date="2015-10-28" analytics_for="full"] | |
//You can change the dates according to your needs. If you don't specify the end date It will take the current end date. | |
[analytify-worldmap start_date="2015-10-22" analytics_for="full"] | |
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
git archive --format zip --output /full/path/to/theme-name.zip master |
OlderNewer