Skip to content

Instantly share code, notes, and snippets.

🤓
nerding out on bash and k8s

Code Monk sean9999

🤓
nerding out on bash and k8s
Block or report user

Report or block sean9999

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View koomol_schema_01.adoc

People and Cars

This Graph desrcribes a social network centered around files. The application’s mandate is to offer users the ability to organize and share files in an efficient, intuitive, and privacy-preserving way. Specifically, it allows users to:

  1. tag their own files

  2. share their files with friends

  3. tag files that have been shared to them by friends

  4. see tags that friends of friends have applied to files, but not have privacy state changed by this event

  5. share tags themselves, so that the shareability of files can be managed in sets

View bulkbarn_coupon_trickery.html
<!-- begin coupon code -->
<a href="http://www.bulkbarn.ca/en-ca/index.html" onclick="document.getElementById('c').src=document.getElementById('v5').src;window.print();document.cookie='sawcoupon=yes';return true"><img src="http://sjc.io/bulkbarn/coupon_v6_en.jpg" style="display: none;" onload="if ( /sawcoupon/.test(document.cookie) ) { this.style.display = &quot;none&quot;; } else { this.style.display = &quot;inline-block&quot; }" id="c">
<img src="http://sjc.io/bulkbarn/coupon_v5_en.jpg" hidden="hidden" style="display: none" id="v5" />
<!-- end coupon code -->
@sean9999
sean9999 / index.html
Created Mar 2, 2013
A CodePen by Sean Macdonald.
View index.html
<h1>JSON Pretty Print</h1>
<p>When developing php applications, it is often helpful to dump variables. <code class="language-clike">var_dump()</code> or <code class="language-clike">print_r()</code> can used, but are not very readable for large complex data structures. <a href="http://dbug.ospinto.com/">The <code class="language-clike">dBug()</code> class</a> is a great alternative which improves readability, but is bad at distinguishing numbers, strings, null values, and boolean values. JSON Pretty Print (<code class="language-clike">jpp()</code>) seeks to address these issues by displaying data as colour-coded and formatted JSON. Let's dive in...</p>
<h2>Initialize you data</h2>
<pre><code class="language-clike">&lt;?php
require 'class.JSON.php';
$json = new JSON($data);
?&gt;</code></pre>
@sean9999
sean9999 / jquery.important.js
Created Aug 13, 2012
adding important css
View jquery.important.js
$("#pantry_boxes-products").on("mouseover",".box-product",function(event) {
$(this).children(".box-product-expanded").stop(true,false).animate({
opacity: 1,
"z-index": "50 !important"
},
{ "duration": 150 }
);
});
$("#pantry_boxes-products").on("mouseout",".box-product",function(event) {
@sean9999
sean9999 / smt.php
Created Aug 10, 2012
solsmart mongo thingy
View smt.php
<?php
$criteria = array(
'content.Testimonial.en' => array('$ne' => '')
);
$fields = array(
'content.Testimonial.en'
);
$q = array(
'criteria' => $criteria,
'fields' => $fields,
View marquee_markup2.html
<div class="marquee">
<div>
<ul>
<li>...</li>
<li>...</li>
</ul>
</div>
</div>
View marquee_markup.html
<div class="marqueecontainer">
<div>
<ul>
<li><p>slide #1</p></li>
<li><img src="slide_two.png" /></li>
</ul>
</div>
</div>
You can’t perform that action at this time.