MongoDB 101 official course

August 19, 2014 1 comment

Videos for the MongoDB 101 course for node developers:

https://www.youtube.com/playlist?list=PL5wy-Ijp__A1ahxC8wFJNZSFVN83R4-4J

Categories: Uncategorized Tags:

kodeboard.com a new side project

June 4, 2013 Leave a comment

Been playing around with another project, a place to put my code snippets:

Check it out:

kodeboard.com

Categories: php Tags: ,

Bootstrap Twitter Button

May 24, 2013 Leave a comment

The other day, while putting together Tweet My Search, I was looking for a twitter icon that I could put as an icon on a bootstrap button. By default, the bootstrap library (as far as I know) does not come with the twitter icon, even though it’s a twitter product.

So I put this snippet together — feel free to improve

http://jsfiddle.net/LeAQN/embedded/result/

Categories: bootstrap, jquery

Tweet My Search

May 23, 2013 Leave a comment

Another reason why loss of focus is so much fun. Thought of this idea this afternoon:

http://www.searchigniter.com/tms

Share your search on twitter.

Categories: Uncategorized Tags:

Photo realistic popeye

May 22, 2013 Leave a comment

How cool is this! Popeye meets to new millenium

Categories: Uncategorized

PolicyFolder.com cloud-based policy management

May 11, 2013 Leave a comment

Designed for insurance MGAs or Program Administrators, PolicyFolder is a cloud-based system that is a complete policy management, underwriting, and agency management solution.

What differentiates the system is an integrated billing system that allows for pro-rated and usage based billing for specialized insurance products.

Check it out at: www.policyfolder.com

Categories: Uncategorized

jquery colorbox as simple dialog

October 8, 2012 Leave a comment

I’ve been working with opencart for a while now, and like the choice of jquery libraries that have been chosen for the project.  Recently I was developing a custom extension for opencart that required a simple dialog to appear before deleting a record.  Opencart is using the excellent colorbox jquery plugin for lightboxes and I wanted to see if I could leverage the plugin for a simple jquery dialog.

I ended up using the following code:

<a onclick="delete_entry_dialog(<?php echo $entry['id'] ?>)">Remove</a>

<div style="display:none">
 <div id="delete_entry_dialog">
 <p>
    Are you sure you want to delete this entry?
 </p>
 <a id="delete_dialog_continue">Continue</a> or <a onclick="$.colorbox.close()">Cancel</a>
 </div>
</div>

<script type="text/javascript">
function delete_entry_dialog(id) {    
    $.colorbox({inline:true, href:'#delete_entry_dialog'});
    $('#delete_dialog_continue').bind('click', function() {
       delete_entry(id); 
       $.colorbox.close();
    });
}
</script>
Categories: jquery

Reset django admin password

September 12, 2012 1 comment

Reset django admin password:

$ ./manage.py shell
>>> from django.contrib.auth.models import User
>>> users = User.objects.all()
>>> users
>>> u=User.objects.get(username__exact='admin')
>>> u.set_password(‘whatever’);
>>> u.save()
Categories: django

Google Voice Fail

March 13, 2012 Leave a comment

What is it about seeing a google product Server Error?  Is it that they’re human too?

Got this while checking my google voice messages:

Categories: google

Urbanbiscuit has launched!

March 9, 2012 Leave a comment

My friend Josh and I have just launched Urbanbiscuit.  An awesome site for the upscale modern dog.  Built on opencart in record time.

http://www.urbanbiscuit.com