Skip to content

Instantly share code, notes, and snippets.

View drmmr763's full-sized avatar

Chad Windnagle drmmr763

View GitHub Profile
@drmmr763
drmmr763 / make-well.less
Created February 3, 2014 21:56
Bootstrap 3 doesn't have a make-well option which is useful if you want to generate wells of different color. Unfortunately just use .well() in your class with a background color doesn't work either (too many background colors to override). So this makes it well! (or, er, better).
// copied from bootstrap 3's original .well class but made it reusable to produce additional wells.
.make-well(@bg-color) {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: @bg-color;
border: 1px solid darken(@bg-color, 7%);
border-radius: @border-radius-base;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
#top-a .module-wrapp .module1 {
overflow: hidden;
}
.allmode-img img {
border: 1px solid #ffffff;
}
.allmode-img {
<div class="row">
<div class="well span4">
<!-- the make name -->
<h1>Porsche Convertibles</h1>
<!-- the content as HTML paragraphs -->
<p>In the decades since Porsche's early beginnings, Porsche has made a name for itself by providing high-performance rear-engine convertible sports cars for the consumer market.</p>
<p>The Porsche 911, originally introduced in 1963, is one of the oldest sports coupes still being produced. The first convertible Porsche 911 convertible debuted in 1984 as the 911 Cabriolet. Its popularity ensured that the prestigious Porsche 911 convertible top option has been available ever since.</p>
<p>In 1996 Porsche rolled out a new model, the Porsche 986 Boxster. The second generation, the Porsche 987 Boxster, debuted in 2005. One of the most distinctive aspects of the car is the Porsche Boxster convertible top, which comes standard on all models. This affordable Porsche convertible, has accumulated awards year after year, including making Car and Driver magazine&rsquo;s &ldquo;Ten Best&r
<p>My passion for good food started in elementary school.&nbsp; I would often trade my packaged snacks like devil dogs and potato chips for my friend's delicious homemade cakes. &nbsp; As I got older, and more fitness and health oriented, my quest to learn more about food and cooking eventually lead me to the chef's training program at the Natural Gourmet Institute for Health and Culinary Arts, a ground-breaking school that connects food and health, healing arts and gourmet cooking.&nbsp; There I honed my skills and now love exploring a variety of cuisines, ranging from comfort foods to exotic and ethnic, inspired by treks through Europe and Israel, and even New York City! &nbsp; &nbsp;</p>
<p>&nbsp;</p>
<p>Today I am the chef and owner of Personal Palate, offering personal chef and kosher catering services using all natural ingredients.&nbsp; I've worked with therapeutic diets such as GAPS, Gluten-free/casein-free, specific-carb, and macrobiotics to help clients with weight loss, food allergies, celiac, auti
@drmmr763
drmmr763 / gist:11332731
Created April 26, 2014 22:21
pstges-error.text
JLIB_DATABASE_QUERY_FAILED SQL=INSERT INTO "ji3t6_extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES (400, 'plg_authentication_gmail', 'plugin', 'gmail', 'authentication', 0, 0, 1, 0, '', '{"applysuffix":"0","suffix":"","verifypeer":"1","user_blacklist":""}', '', '', 0, '1970-01-01 00:00:00', 1, 0), (401, 'plg_authentication_joomla', 'plugin', 'joomla', 'authentication', 0, 1, 1, 1, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0), (402, 'plg_authentication_ldap', 'plugin', 'ldap', 'authentication', 0, 0, 1, 0, '', '{"host":"","port":"389","use_ldapV3":"0","negotiate_tls":"0","no_referrals":"0","auth_method":"bind","base_dn":"","search_string":"","users_dn":"","username":"admin","password":"bobby7","ldap_fullname":"fullName","ldap_email":"mail","ldap_uid":"uid"}', '', '', 0, '1970-01-01 00:00:00', 3, 0), (403, 'plg_content_contact
@drmmr763
drmmr763 / postgres.sql
Created April 27, 2014 13:07
joomla postgres 3.3-dev repo
0 Database query failed (error # %s): %s SQL=SELECT "m"."tag_id","m"."core_content_id","m"."content_item_id","m"."type_alias",COUNT( "tag_id") AS "count","t"."access","t"."id","ct"."router","cc"."core_title","cc"."core_alias","cc"."core_catid","cc"."core_language" FROM "bxy68_contentitem_tag_map" AS "m" INNER JOIN "bxy68_tags" AS "t" ON m.tag_id = t.id INNER JOIN "bxy68_ucm_content" AS "cc" ON m.core_content_id = cc.core_content_id INNER JOIN "bxy68_content_types" AS "ct" ON m.type_alias = ct.type_alias WHERE "m"."tag_id" IN (2,3,4,5) AND t.access IN (1,1) AND ("m"."content_item_id" <> 24 OR "m"."type_alias" <> 'com_content.article') AND "cc"."core_state" = 1 GROUP BY "m"."core_content_id" ORDER BY "count" DESC LIMIT 5
@drmmr763
drmmr763 / markup.html
Created June 13, 2014 20:03
Strangeness
<header>
<!-- the dimensions of this div will be 220 x 77px -->
<div class="logo-normal">
<a href="#">
<img src="logo.png" />
</a>
</div>
<!-- the dimensions of this div will be 220 x 82px -->
<div class="logo-werid">
<div style="float:left; width: 200px; padding: 10px;border: 2px solid #efefef">
<p> the contents of the module </p>
</div>
<div class="clear"></div>
@drmmr763
drmmr763 / geocodeZipcode.js
Created June 17, 2014 01:22
Pass anonymous function result to parent function?
/*
* Takes a zipcode in string format
* Sends it to Google Maps API
* Returns an object containing latitude & longitude
*/
function geocodeZipcode(zip)
{
var geocodeOptions =
{
@drmmr763
drmmr763 / retailerlookup.js
Created June 17, 2014 22:47
Geocoding Script
/**
* Created by Chad Windnagle on 6/15/14.
*/
// kick off the map load
google.maps.event.addDomListener(window, 'load', pageMapLoad);
// add watcher to the form submit
window.addEventListener('submit', formSubmit, false);