Skip to content

Instantly share code, notes, and snippets.

View whatnickcodes's full-sized avatar

Nicholas Cerminara whatnickcodes

View GitHub Profile
fdsafdsa
fda
sf
dsa
fds
f
## test
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update
sudo apt-get -y install php7.1 php7.1-mbstring php7.1-curl php7.1-dom php7.1-mysql php7.1-gd php7.1-zip
sudo a2dismod php5
sudo a2enmod php7.1
sudo service apache2 restart
<!-- 2 columns -->
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6">
</div>
</div>
<div
class="bsd-options"
data-columns="2"
data-attempt-placeholders="1"
data-required-validation="1"
data-image="http://placekitten.com/1500/1000"
></div>
<div class="read-more-helper">
<div class="preview-stuff">
Whatever I want here for the preview. However long I want.
<a href="#" class="trigger">Read More <i class="fa fa-angle-right"></i></a>
</div>
<div class="complete-stuff">
Redirect 301 /tutorials/javascript/single-page-apps-with-angularjs-routing-and-go /tutorials/javascript/single-page-apps-with-angularjs-routing
Redirect 301 /bar-talk/animating-angular-apps-ngshow-and-nghide /tutorials/javascript/animating-angular-apps-ngshow-and-nghide
Redirect 301 /how-to-create-a-vagrant-base-box-from-and-existing-one /how-to-create-a-vagrant-base-box-from-an-existing-one
Redirect 301 /tutorials/hosting/deploying-a-node-js-app-to-heroku /tutorials/hosting/how-to-deploy-a-node-js-app-to-heroku
Redirect 301 /bar-talk/freebies/freebie-svg-developer-icon-set /freebies/svg-developer-icon-set
Redirect 301 /tag/css3 /tag/css
Redirect 301 /series /collections
Redirect 301 /category/tutorials/css /tag/css
Redirect 301 /category/tutorials/javascript /tag/javascript
Redirect 301 /tutorials/javascript /tag/javascript
<style>
#side-promo {
display: block;
text-align: center;
background-color: #111;
background-size: cover;
background-position: top center;
border-radius: 4px;
padding-bottom: 15px;
<?php
// Param check / validation
if (!isset($_POST['email']) || !isset($_POST['zip']))
wp_send_json(array('is_true' => FALSE, 'Not enough params sent.'));
// Rate Limit: 100 requests to a nation every 10 seconds.
// Expiration: Check on this
$access_token = 'TOKEN_GOES_HERE';
$nation = 'scotch';
<div class="youtube-showcase for-content">
<h2>Lorem Ipsum Dolor Sit Amet Consectetur Adi</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore</p>
<div class="wrap">
<div class="embed-responsive embed-responsive-16by9">
<a class="popup-video add-play-button embed-responsive-item" href="https://www.youtube.com/watch?v=M_55awSJdUY">
<img src="https://img.youtube.com/vi/M_55awSJdUY/maxresdefault.jpg">
</a>
</div>
</div>
<div class="form-stamp">
<div class="guts">
<div class="left">
</div>
<div class="right">