Skip to content

Instantly share code, notes, and snippets.

@Ollo
Ollo / dabblet.css
Created December 31, 2012 23:34 — forked from anonymous/dabblet.css
hipster nonsense
/**
* hipster nonsense
*/
body {
font-family: Helvetica;
background:#efefef;
}
#main {
width:960px;
@Ollo
Ollo / .gitconfig
Created December 17, 2012 20:31
git config to use xcode file compare for mergetool
[merge]
tool = opendiff
[core]
quotepath = false
excludesfile = /Users/jray/.gitignore
whitespace=nowarn
[credential]
helper = osxkeychain
[difftool "sourcetree"]
@Ollo
Ollo / style.less
Created October 16, 2012 04:29
base bootstrap less setup
/* my new bootstrap site */
@import "../bootstrap/bootstrap.less";
@import "../bootstrap/responsive.less";
// import your unique less files as you build
@import "layout.less";
@import "theme.less";
@import "typography.less";
@Ollo
Ollo / bash_profile
Last active October 11, 2015 02:48
bash_profile
#Prompt and prompt colors
# 30m - Black
# 31m - Red
# 32m - Green
# 33m - Yellow
# 34m - Blue
# 35m - Purple
# 36m - Cyan
# 37m - White
# 0 - Normal
@Ollo
Ollo / pinterest.html
Created September 19, 2012 05:09
pinterest for Yahoo Stores
<script type="text/javascript">
$(document).ready(function(){
// get button vars
var site = encodeURI(window.location.href);
var img = $('#itemarea img').attr(encodeURI('src'));
var details = $('#caption #itemarea p').text();
// create pin button
var string1 = "<a class='pin-it-button' count-layout='horizontal' href='http://pinterest.com/pin/create/button/?url=";
@Ollo
Ollo / plus.js
Created September 18, 2012 23:14
googleplus.js
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
@Ollo
Ollo / social.css
Created September 18, 2012 23:12
social share styles for yahoo store
/* modified social share css from ollomedia.com */
#some {display:inline block;border-top: 1px solid #CFCECE;clear: both;margin-bottom: 5px;margin-top: 5px;padding-top: 6px;padding-left: 6px;}
#ys_social_media {height:26px;display:inline-block;vertical-align:middle;margin-left:10px; }
#ys_social_fblike {float:left;}
#ys_social_tweet {float:left;}
#ys_social_v_separator {margin-left:10px;margin-right:10px;float:left;}
#ys_social_bottom_hr {border-top:1px solid #CFCECE; margin-top:5px;}
@Ollo
Ollo / plus.css
Created September 18, 2012 23:10
inline css for plus button
float:left;height:24px;width:75px;border-right: 1px dotted #CCCCCC;
@Ollo
Ollo / piwik.js
Created September 8, 2012 20:47
piwik tracking code
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://ollomedia.com/piwik/" : "http://ollomedia.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
@Ollo
Ollo / info.php
Created September 8, 2012 20:46
phpinfo
<?php
phpinfo();
?>