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
<!doctype html> | |
<html> | |
<head> | |
<!-- This is where you put any scripts or stylesheets--> | |
</head> | |
<body> |
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
<!doctype html> | |
<html> | |
<head> | |
<!-- This is where you put any scripts or stylesheets--> | |
</head> | |
<body> |
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
require 'sinatra' | |
def print_that | |
"Happy Birthday OpenStack" | |
end | |
get '/' do | |
print_that | |
end |
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
$xmlData .= <FL val="Firma">$firma</FL> //this is not a string | |
$xmlData .= "<FL val=\"Firma\">{$firma}</FL>"; //this is a string with a interpolated variable. {$variable} |
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
//inserts the correct data on keyup | |
// $('input[name=leadFirstName], input[name=leadLastName], input[name=leadEmail], input[name=leadPhoneArea], input[name=leadPhonePrefix], input[name=leadPhoneSuffix]').keyup(function(){ | |
// var initValues, firstNameVal, lastNameVal, emailVal; | |
// //initializes values | |
// initValues = new values(); | |
//defines value for first name | |
// firstNameVal = initValues.firstName; | |
// lastNameVal = initValues.lastName; | |
// emailVal = initValues.emailAddress; | |
// phoneVal = initValues.phone; |
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
"<Leads><row no=\"1\"><FL val=\"Lead Source\">Web Download</FL><FL val=\"First Name\">contacto 1</FL><FL val=\"Last Name\">apellido</FL><FL val=\"Email\">[email protected]</FL><FL val=\"Title\">Manager</FL><FL val=\"Phone\">1234567890</FL><FL val=\"Home Phone\">0987654321</FL><FL val=\"Other Phone\">1212211212</FL><FL val=\"Fax\">02927272626</FL><FL val=\"Mobile\">292827622</FL></row></Leads>"; | |
//notice how I am escaping all of the double quotation marks by puting a \ in front. Also notice that There are no line breaks. This is just on long string. |
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
<div id="controls"> | |
<a href="#" id="bold"></a> | |
<a href="#" id="italic"></a> | |
<a href="#" id="underline"></a> | |
<a href="#" id="justifyLeft"></a> | |
<a href="#" id="justifyCenter"></a> | |
<a href="#" id="justifyRight"></a> | |
</div><!--end of controlls div--> |
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 | |
/** | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
* | |
* This file is used by the wp-config.php creation script during the | |
* installation. You don't have to use the web site, you can just copy this file |
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
$('#show_icon').click(function(){ | |
$(this).hide(); | |
$('#hide_icon').show(); | |
$(this).parent().parent().find('div[class^="content_box_one"]').slideDown('slow'); | |
$.cookie('content_box_one', 'extended'); | |
}) | |
$('hide_icon').click(function(){ | |
$(this).hide(); | |
$('#show_icon').show(); |
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
$(document).ready(function(){ | |
$('.show_icon').click(function() | |
{ | |
$(this).parent().parent().find('div[class^="right_side_content"]').slideDown('slow'); | |
$(this).css('display','none'); | |
$('.hide_icon').css('display','block'); | |
$.cookie('content', 'extended'); | |
}); | |
$('.hide_icon').click(function() |