Skip to content

Instantly share code, notes, and snippets.

View bfodeke's full-sized avatar

Bayo Fodeke bfodeke

  • Red Hat
  • United States
View GitHub Profile
<table border="1" cellpadding="0" cellspacing="0">
<tbody><tr><th>Old Url</th><th>Product Name</th><th>Product SKU</th></tr>
<tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/188</td><td>Business Meets the Bible: Customer Service by David E. Reed</td><td>0976249308</td></tr><tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/234</td><td>A Culture of Service by David E. Reed</td><td>0976249316</td></tr><tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/235</td><td>Monday Morning Customer Service by David Reed</td><td>0974640328</td></tr><tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/282</td><td>Twice As Much in Half the Time</td><td>9781608100330</td></tr><tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/417</td><td>The One Year Daily Insights</td><td>9781414319414</td></tr><tr><td>http://www.ziglar.com/shop/product_info.php/cPath/21/products_id/458</td><td>So, You’re New to Sales By Bryan Fl
@bfodeke
bfodeke / gist:5438246
Created April 22, 2013 20:28
Classic Style
<style>
/* Billboard
************************************************************/
.view.view-id-billboard{
position: relative;
}
.view.view-id-billboard .views-field-nothing{
position: absolute;
top: 40px;
@bfodeke
bfodeke / dabblet.css
Created July 24, 2013 03:15
QCIT Experimental CSS Logo
/**
* QCIT Experimental CSS Logo
*/
@import url(http://fonts.googleapis.com/css?family=Rammetto+One);
.logoback, .city{
width:250px;
height:250px;
border-radius:50%;
<?PHP
// Generates a strong password of N length containing at least one lower case letter,
// one uppercase letter, one digit, and one special character. The remaining characters
// in the password are chosen at random from those four sets.
//
// The available characters in each set are user friendly - there are no ambiguous
// characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option,
// makes it much easier for users to manually type or speak their passwords.
//
// Note: the $add_dashes option will increase the length of the password by
// Javascript price Regex
// Should work for the following prices.
var validPrices = ['90.99', '23', '231123.90', '90.00', '990,000.90', '$99.903', '$99,000.00'];
// Should fail for the following.
var invalidPrices = ['90,99', '993.999', '99,99.90'];
// Regex I have so far.
var priceRegex = /^\d+(\.\d{2})?$/;
@bfodeke
bfodeke / README.md
Last active August 29, 2015 14:25 — forked from jimothyGator/README.md
Nginx configuration for Mac OS X with Homebrew, using sites-enabled directory.
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}

File locations:

  • nginx.conf to /usr/local/etc/nginx/
  • default and default-ssl to /usr/local/etc/nginx/sites-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/
@bfodeke
bfodeke / meta-tags.md
Created December 31, 2015 14:21 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@bfodeke
bfodeke / ScrollMagic Spin.markdown
Created February 13, 2016 03:17
ScrollMagic Spin
@bfodeke
bfodeke / Add local .drush folder as a mount to vagrant
Last active July 16, 2021 13:28
Adding local .drush folder as a mount to vagrant drush
// Add a sync folder to sync local drush folder to the vm.
vagrant_synced_folders:
- local_path: ~/.drush
destination: /home/vagrant/.drush
type: nfs
create: true
<?php
$months = array(
'January' => 31,
'February' => 28,
'March' => 31,
'April' => 30,
'May' => 31,
'June' => 30,
'July' => 31,
'August' => 31,