Skip to content

Instantly share code, notes, and snippets.

View kylewest's full-sized avatar

Kyle West kylewest

View GitHub Profile
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{font:inherit;margin:0}button{overflow
@media (max-width: 960px) {
.left,
.right {
float: none !important;
}
#masterwrapper
/*Wraps the wrapper with 16px to each side*/ {
margin: 0 auto;
width: 100%;

RPMWare ES Import 2.0

The RPMWare import process is being updated to support ACES/PIES fields

Import Format

  • Columns A thru AA (listed below) remain the same.
  • Columns AB thru AF are deleted (ItemLevelGTIN, PackageLevelGTIN, PartTypeId, EXPICodes, INFO)
  • Any number of custom columns can be added using the format (below).
SELECT engine.Name, item.Name, item.[_ItemTypeName], item.Oversize, item.Brand, vehicle.Name, vehicle.Model
FROM (Items0 AS vehicle INNER JOIN Usages0 AS vehicle_join_engine ON vehicle.ItemID = vehicle_join_engine.ParentID) INNER JOIN ((Items0 AS engine INNER JOIN Usages0 AS engine_join_items ON engine.ItemID = engine_join_items.ParentID) INNER JOIN Items0 AS item ON engine_join_items.ChildID = item.ItemID) ON vehicle_join_engine.ChildID = engine.ItemID
WHERE (((engine.[_ItemTypeName])="Engine") AND ((vehicle.[_ItemTypeName])="Vehicle"))
ORDER BY engine.Name;
<script type="text/javascript">
$(document).ready(function(){
$('#brandlist ul').hide().parent().append('<select>'); $('#brandlist ul li').each(function(){ var link = $(this).find('a');
$('#brandlist select').append('<option value="'+link.attr('href')+'">'+link.html()+'</option>');
});
$('#brandlist select').on("change", function(){
window.location.href = $(this).val();
});
$('#brandlist').before("//popular brands HTML. make sure to use single quotes (')");
});
@kylewest
kylewest / brands-dropdown.html
Last active February 14, 2017 03:15
brands-dropdown.html
<!-- Copy and paste this code to Configuration -> Website -> Custom HTML <head> -->
<script type="text/javascript">
$(document).ready(function(){
$('#brandlist ul').hide().parent().append('<select>'); $('#brandlist ul li').each(function(){ var link = $(this).find('a');
$('#brandlist select').append('<option value="'+link.attr('href')+'">'+link.html()+'</option>');
});
$('#brandlist select').on("change", function(){
window.location.href = $(this).val();
});
});
<link href="flexslider.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="jquery.flexslider.js"></script>
<script type="text/javascript">
$(document).ready(function(){
if ( /(clutch masters|name of other brand|name of 3rd brand)/i.test($("h1").text()) ) {
$("#ctl00_MainContentPlaceHolder_YourPriceLabel").after("<br/>Coupon Code: megancoilovers<br/>Discount: Extra 5% off");
}
});
</script>

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment.

Prep

Install xCode

Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX