Skip to content

Instantly share code, notes, and snippets.

View overwine's full-sized avatar

John M. Overwine overwine

View GitHub Profile
@overwine
overwine / dongs.css
Created May 13, 2013 14:56
Some CSS bullshit
4,7c4,7
< src: url('../cartonslab/cartonslab.eot?#iefix') format('embedded-opentype'),
< url('../cartonslab/cartonslab.woff') format('woff'),
< url('../cartonslab/cartonslab.ttf') format('truetype'),
< url('../cartonslab/cartonslab.svg#cartonslab') format('svg');
---
> src: url('../cartonslab/cartonslab.eot?#iefix')
> format('embedded-opentype'), url('../cartonslab/cartonslab.woff')
> format('woff'), url('../cartonslab/cartonslab.ttf') format('truetype'),
> url('../cartonslab/cartonslab.svg#cartonslab') format('svg');
@overwine
overwine / achteeemell.html
Last active December 14, 2015 20:49
DERP
<li>
<div class="category">
<div class="cat-text">TYPE</div>
<div class="rotate-arrow-down"></div>
</div>
<div class="subcategories"style="display:inherit;">
<div class="clearfix subcategory">
<input type="checkbox" name="selcategory[0]" value="1"><label>APPETIZERS</label>
</div>
<div class="clearfix subcategory">
<?php
/**
*
*/
class mysitePortfolio {
private static $carousel_id = 1;
/**
*
@overwine
overwine / assault_rifle.php
Created October 4, 2012 17:20
Assault Rifle Page
__NOTOC__
<div id="row-top" style="clear: both; height:0px; width:100%;"> </div>
==Assault Rifle Overview ==
{| align="center" width="330" cellpadding="0" cellspacing="1" style="text-align:left; margin-right: 5px;"
| colspan="3" class="cert-header" style="text-align:center;" |Assault Rifles
|-
| style="text-align:center; width:33%; height:30px;" class="column-header" |[[File:Icon-small-tr.png|link=Terran Republic]]
| style="text-align:center; width:33%; height:30px;" class="column-header" |[[File:Icon-small-nc.png]]
| style="text-align:center; width:33%; height:30px;" class="column-header" |[[File:Icon-small-vs.png]]
@overwine
overwine / form-popup.js
Created September 7, 2012 19:09
Form that I'm going to need 12 different versions of...
$('a.login-window').click(function() {
//Getting the variable's value from a link
var loginBox = $(this).attr('href');
//Fade in the Popup
$(loginBox).fadeIn(300);
//Set the center alignment padding + border see css style
var popMargTop = ($(loginBox).height() + 24) / 2;
<div class="work-scrollable">
<p class="top shaw">We started by reaching out to influential bloggers to create relationships and start the conversation about designing from the floor up.</p>
<p>After we had a solid foundation, we created a Facebook presence and seeded it with content that people care about: colors, interior decorating and patterns.</p>
<p>Then we put it all together with a blogger conference featuring a tie-in with HGTV to promote Shaw's new line<span class="dotdotdot">...</span> <span class="hide-copy">of carpets. We gave the bloggers expert advice and let them design a room literally from the ground up. Then we used that as the basis for a Facebook contest to build on the momentum and get even more word of mouth buzz.</span></p>
<p><span class="hide-copy">The results? 39,000+ new Likes in 30 days and 244+ million word of mouth impressions. Who says people don't talk about floors?</span></p>
<a href="" class="shaw-more" onclick="return false;">MORE</a>
@overwine
overwine / butts.js
Created August 20, 2012 17:51
scroll function
$navs = $('#navigation a');
$navs.click(function(e) {
e.preventDefault();
alert($navs);
var target = $(this).attr('href'),
y = $(target).offset().top,
speed = 500; /*Math.abs($('window').scrollTop() - y) * .5;*/
@overwine
overwine / m_master.php
Created August 2, 2012 18:28
master controller and m_master(model)
<?php
class M_Master extends CI_Model
{
public function findURI( $uri )
{
$query = $this->db->where( 'uri', $uri )->limit(1)->get('pages');
if ( $query->num_rows > 0 )
{
echo '<pre>';
@overwine
overwine / bertts.terxt
Created July 24, 2012 21:05
lerts erf bertts
BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BERTTS BE
@overwine
overwine / fail.html
Created July 24, 2012 19:56
Crappy Table
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="38"><img src="http://www.chiquitamoms.com/wp-content/themes/chiquitamoms/images/email_promo/chiquita_email_02.jpg" style="display:block;" width="20" height="278"></td>
<td width="256"><p>Hi *|MMERGE3|*,</p>
<p>Miss Chiquita was featured on the <em>WE</em> Network&rsquo;s show 'Having It All' on July 28 at 8:30 AM EST/PT. But, you can catch the show early, exclusively through the Chiquita Moms community! Watch Miss Chiquita chatting with Nikki Taylor, a fellow Chiquita Mom who, just like you, strives to have it all while juggling a career and her four kids. </p>
<p>Watch and get some fresh ideas for quick, tasty snacks for you and your kids. Then share some of your own fun, healthy snacks with your fellow Chiquita Moms in the <a href="http://www.chiquitamoms.com/engage">engage section &gt;</a></p></td>
<td width="306"><img src="http://www.chiquitamoms.com/wp-content/themes/chiquitamoms/images/email_promo/