HTML

<!DOCTYPE html>
<html class=”js flexbox flexboxlegacy canvas canvastext postmessage no-we…tioncache js_active vc_desktop vc_transform no-overflow-y” lang=”en-US” style=”overflow-y: hidden;”>

<head></head>
<body class=”page page-id-16 page-template-default logged-in admin-bar ne…s-composer js-comp-ver-3.7.3 vc_responsive customize-support” data-responsive=”1″ data-smooth-scrolling=”1″ data-transparent-header=”false” data-header-color=”light” data-header-resize=”1″ data-ext-responsive=”true” data-bg-header=”true” data-loading-animation=”none” data-ajax-transitions=”true” style=”padding-right: 16px;”>

<div id=”header-space” style=”height: 112px;”></div>
<div id=”header-outer” data-header-resize=”1″ data-padding=”28″ data-logo-height=”” data-using-logo=”” data-using-secondary=”0″ data-full-width=”false” data-shrink-num=”6″ data-transparency-option=”0″ data-cart=”false” style=”padding-right: 16px; padding-top: 28px;”></div>
<!–

/header-outer

–>
<div id=”mobile-menu” style=”display: none;”></div>
<div id=”ajax-loading-screen”></div>
<div id=”ajax-content-wrap”></div>
<!–

/ajax-content-wrap

–>
<a id=”to-top”></a>
<script src=”http://alexbonesteel.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/jquery/ui/menu.min.js?ver=1.11.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.2″ type=”text/javascript”></script>
<script type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/nectar/assets/functions/ajax-search/wpss-search-suggest.js” type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/admin-bar.min.js?ver=4.1″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.51.0-2014.06.20″ type=”text/javascript”></script>
<script type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.1″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/superfish.js?ver=1.4.8″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/respond.js?ver=1.1″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/nicescroll.js?ver=3.5.4″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/sticky.js?ver=1.0″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/prettyPhoto.js?ver=4.5.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/wpbakery/…ser/assets/lib/flexslider/jquery.flexslider-min.js?ver=3.7.3″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/isotope.min.js?ver=2.0″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/carouFredSel.min.js?ver=6.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/appear.js?ver=1.0″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/init.js?ver=4.5.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/nectar-slider.js?ver=4.5.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/ajaxify.js?ver=4.5.2″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/js/infinitescroll.js?ver=1.0″ type=”text/javascript”></script>
<script type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=2.15.1″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/mediaelement/wp-mediaelement.js?ver=4.1″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-includes/js/comment-reply.min.js?ver=4.1″ type=”text/javascript”></script>
<script type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/nectar/love/js/nectar-love.js?ver=1.0″ type=”text/javascript”></script>
<script src=”http://alexbonesteel.com/wp-content/themes/salient/wpbakery/js_composer/assets/js/js_composer_front.js?ver=3.7.3″ type=”text/javascript”></script>
<script type=”text/javascript”></script>
<div id=”wpadminbar” class=”” role=”navigation”></div>

<div id=”ascrail2000″ class=”nicescroll-rails” style=”width: 15px; z-index: auto; cursor: default; position: fixed; top: 0px; height: 100%; right: 0px; opacity: 1;”></div>

</body>
</html>
<!–

CSS

/*
Theme Name: Salient
Theme URI: http://www.themenectar.com
Author: ThemeNectar
Author URI: http://themenectar.com
Description: An Ultra Responsive Multi-Purpose Theme.
Version: 4.5.22
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

————————————————————————-

1.    Browser Reset + Font Face
2.    Globally Applied Styles
3.    Header + Search Bar Styles
4.    Plugin Related Styles
5.    Page + Custom Page Layout Styles
6.    Nectar Shortcode Styles
7.  Footer Styles
8.    Sidebar Styles
9.  Blog + Pagination Styles
10.    Comment Styles
11.    General Form Styles

————————————————————————-*/

/*————————————————————————-*/
/*    1.    Browser Reset + Font Face
/*————————————————————————-*/
html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
vertical-align: baseline;
font-family: inherit;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}

:focus {
outline: 0;
}

input[type=submit] {
-webkit-appearance: none;
}

html {
overflow-x: hidden;
overflow-y: scroll;
max-width:   100%;
}

body {
max-width:   100%;
overflow-x: hidden;
background: white;
font-family: ‘Open Sans’, sans-serif;
color: #676767;
position: relative;
}

ol, ul {
list-style: none;
}

input[type=text]::-ms-clear {
display: none;
}

sup {
font-size: 10px;
vertical-align: super;
}

sub {
font-size: 10px;
vertical-align: sub;
}

p:empty {
display: none;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
display:block;
}

@font-face {
font-family: ‘OpenSansLight’;
src: url(‘css/fonts/OpenSans-Light-webfont.eot’);
src: url(‘css/fonts/OpenSans-Light-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘css/fonts/OpenSans-Light-webfont.woff’) format(‘woff’),
url(‘css/fonts/OpenSans-Light-webfont.ttf’) format(‘truetype’),
url(‘css/fonts/OpenSans-Light-webfont.svg#OpenSansLight’) format(‘svg’);
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: ‘OpenSansRegular’;
src: url(‘css/fonts/OpenSans-Regular-webfont.eot’);
src: url(‘css/fonts/OpenSans-Regular-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘css/fonts/OpenSans-Regular-webfont.woff’) format(‘woff’),
url(‘css/fonts/OpenSans-Regular-webfont.ttf’) format(‘truetype’),
url(‘css/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular’) format(‘svg’);
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: ‘OpenSansSemibold’;
src: url(‘css/fonts/OpenSans-Semibold-webfont.eot’);
src: url(‘css/fonts/OpenSans-Semibold-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘css/fonts/OpenSans-Semibold-webfont.woff’) format(‘woff’),
url(‘css/fonts/OpenSans-Semibold-webfont.ttf’) format(‘truetype’),
url(‘css/fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold’) format(‘svg’);
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: ‘OpenSansBold’;
src: url(‘css/fonts/OpenSansBold-webfont.eot’);
src: url(‘css/fonts/OpenSansBold-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘css/fonts/OpenSansBold-webfont.woff’) format(‘woff’),
url(‘css/fonts/OpenSansBold-webfont.ttf’) format(‘truetype’),
url(‘css/fonts/OpenSansBold-webfont.svg#OpenSansBold’) format(‘svg’);
font-weight: normal;
font-style: normal;

}

/*————————————————————————-*/
/*    2. Globally Applied Styles
/*————————————————————————-*/

body {
font-size: 12px;
-webkit-font-smoothing: antialiased;
font-family: ‘OpenSansRegular’;
background-color: #1C1C1C;
line-height: 22px;
}

body .ui-widget {
font-family: ‘OpenSansRegular’;
}

.overflow-x-hidden {
overflow-x: hidden;
}

.alignleft {
float: left;
margin-right: 15px;
}

.alignright {
float: right;
margin-left: 15px;
}

.aligncenter {
display: block;
margin:15px auto;
}

.no-bottom-padding {
padding-bottom: 0px;
}

.col.center {
text-align: center;
}

.col.right {
text-align: right;
}

.wp-smiley {
margin-bottom: 0px!important;
}

dt {
font-family: ‘OpenSansSemiBold’;
color: #333;
}
dd {
padding-left: 20px;
}

.gallery-caption {
margin-left: 0;
margin-bottom: 10px;
padding: 0px 10px;
}

.bypostauthor {}

#wpstats {  display: none; }

.sticky {
margin-bottom: 50px;
}

.sticky .content-inner {
margin-bottom: 0px!important;
padding-bottom: 0px!important;
border-bottom: 0px!important;
-o-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
background-color: #fff;
padding: 25px!important;
position: relative;
}

 

PHP

<?php get_header(); ?>

<?php nectar_page_header(get_option(‘page_for_posts’)); ?>

<div class=”container-wrap”>

<div class=”container main-content”>

<?php if(!is_home()) { ?>
<div class=”row”>
<div class=”col span_12 section-title blog-title”>
<h1>
<?php if(is_author()){

printf( __( ‘All posts by %s’, NECTAR_THEME_NAME ), get_the_author() );

} else if(is_category()) {

printf( __( ‘Category Archives: %s’, NECTAR_THEME_NAME ), single_cat_title( ”, false ) );

} else if(is_date()){

if ( is_day() ) :
printf( __( ‘Daily Archives: %s’, NECTAR_THEME_NAME ), get_the_date() );

elseif ( is_month() ) :
printf( __( ‘Monthly Archives: %s’, NECTAR_THEME_NAME ), get_the_date( _x( ‘F Y’, ‘monthly archives date format’, NECTAR_THEME_NAME ) ) );

elseif ( is_year() ) :
printf( __( ‘Yearly Archives: %s’, NECTAR_THEME_NAME ), get_the_date( _x( ‘Y’, ‘yearly archives date format’, NECTAR_THEME_NAME ) ) );

else :
_e( ‘Archives’, NECTAR_THEME_NAME );

endif;
} else {
wp_title(“”,true);
} ?>
</h1>
</div>
</div>
<?php } ?>

<div class=”row”>

<?php $options = get_option(‘salient’);

$blog_type = $options[‘blog_type’];
if($blog_type == null) $blog_type = ‘std-blog-sidebar’;

$masonry_class = null;
$infinite_scroll_class = null;

//enqueue masonry script if selected
if($blog_type == ‘masonry-blog-sidebar’ || $blog_type == ‘masonry-blog-fullwidth’ || $blog_type == ‘masonry-blog-full-screen-width’) {
$masonry_class = ‘masonry’;
}

if($blog_type == ‘masonry-blog-full-screen-width’) {
$masonry_class = ‘masonry full-width-content’;
}

if(!empty($options[‘blog_pagination_type’]) && $options[‘blog_pagination_type’] == ‘infinite_scroll’){
$infinite_scroll_class = ‘ infinite_scroll’;
}

if($blog_type == ‘std-blog-sidebar’ || $blog_type == ‘masonry-blog-sidebar’){
echo ‘<div id=”post-area” class=”col span_9 ‘.$masonry_class. $infinite_scroll_class.'”> <div class=”posts-container”>’;
} else {
echo ‘<div id=”post-area” class=”col span_12 col_last ‘.$masonry_class. $infinite_scroll_class.'”> <div class=”posts-container”>’;
}

if(have_posts()) : while(have_posts()) : the_post(); ?>

<?php

if ( floatval(get_bloginfo(‘version’)) < “3.6” ) {
//old post formats before they got built into the core
get_template_part( ‘includes/post-templates-pre-3-6/entry’, get_post_format() );
} else {
//WP 3.6+ post formats
get_template_part( ‘includes/post-templates/entry’, get_post_format() );
} ?>

<?php endwhile; endif; ?>

</div><!–/posts container–>

<?php nectar_pagination(); ?>

</div><!–/span_9–>

<?php  if($blog_type == ‘std-blog-sidebar’ || $blog_type == ‘masonry-blog-sidebar’) { ?>
<div id=”sidebar” class=”col span_3 col_last”>
<?php get_sidebar(); ?>
</div><!–/span_3–>
<?php } ?>

</div><!–/row–>

</div><!–/container–>

</div><!–/container-wrap–>

<?php get_footer(); ?>

 

Javascript

<SCRIPT LANGUAGE=”JavaScript”> var now = new Date(); var days = new Array(‘Sunday’,’Monday’,’Tuesday’,’Wednesday’,’Thursday’,’Friday’,’Saturday’); var months = new Array(‘January’,’February’,’March’,’April’,’May’,’June’,’July’,’August’,’September’,’October’,’November’,’December’); var date = ((now.getDate()<10) ? “0” : “”)+ now.getDate(); function fourdigits(number) { return (number < 1000) ? number + 1900 : number; } today =  days[now.getDay()] + “, ” +         months[now.getMonth()] + ” ” +         date + “, ” +         (fourdigits(now.getYear())) ; document.write(today); </script>

MySQL

  1. — dump mySQL database to file:
  2. VAR=$(DATE +�%y-%m-%d�); mysqldump v uUSERNAME pPASSWORD hlocalhost DATABASENAME > /BACKUPDIR/$VARDATABASENAME.sql ;
  3. — dump mySQL database to file and then move it:
  4. VAR=$(DATE +�%y-%m-%d�); mysqldump v uUSERNAME pPASSWORD hlocalhost DATABASENAME > /BACKUPDIR/$VARDATABASENAME.sql ; mv /BACKUPDIR/DATABASENAME.sql /OTHERBACKUPDIR/$VARDATABASENAME.sql ;

asp.net

<html><head>
<title>arraysredim.asp</title>
</head><body bgcolor=”#FFFFFF”>
<%
‘ this code
Dim a_array(100)

‘ this code will fail
x=100
Dim my_array(x)

%>
</body></html>

Assigning an Array size With a variable produces an Error unless the ReDim command Is used.

<html><head>
<title>arraysredimcorrect.asp</title>
</head><body bgcolor=”#FFFFFF”>
<%
Dim my_array()
x=100
ReDim preserve my_array(x)
my_array(20)=”Hi!”
my_array(40)=”How are You”

lowcount=LBound(my_array)
highcount=UBound(my_array)
Response.Write “lowcount=” & lowcount & “;highcount=” & highcount & “<p>”
For counter=lowcount To highcount
Response.Write counter & ”   ”
Response.Write my_array(counter) & “<br>”
Next

%>
</body></html>