Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
#OSX-specific exclusions | |
.[dD][sS]_[sS]tore | |
#Sublime nature exclusions | |
*.sublime-workspace | |
*.sublime-project | |
#MavensMate nature exclusions | |
config/* | |
mm.log |
When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.
Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008
…………………………
<?php | |
class ExampleRestController extends Controller_Rest { | |
/** | |
* Make sure the router method has the same method signature as the parent::router declaration. | |
* @see fuel/core/classes/controller/rest.php | |
*/ | |
public function router($method, array $params) { |
# (create oauth2 tokens from Google Console) | |
client_id = "" | |
client_secret = "" | |
# (paste the scope of the service you want here) | |
# e.g.: https://www.googleapis.com/auth/gan | |
scope = "" | |
class ActionDispatch::Routing::Mapper | |
def draw(routes_name) | |
instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb"))) | |
end | |
end | |
BCX::Application.routes.draw do | |
draw :api | |
draw :account | |
draw :session |
#Four Ways To Do Pub/Sub With jQuery and jQuery UI (in the future)
Between jQuery 1.7 and some of work going into future versions of jQuery UI, there are a ton of hot new ways for you to get your publish/subscribe on. Here are just four of them, three of which are new.
(PS: If you're unfamiliar with pub/sub, read the guide to it that Julian Aubourg and I wrote here http://msdn.microsoft.com/en-us/scriptjunkie/hh201955.aspx)
##Option 1: Using jQuery 1.7's $.Callbacks() feature:
* Review this article and add new steps as needed: http://blog.therubymug.com/blog/2010/05/20/the-install-osx.html |
// Build and inject Like button | |
$('ul.posts a').each(function() { | |
var fb_url = location.href.split('/')[0] + '//' + location.href.split('/')[2] + $(this).attr('href'), | |
fb_like = '<div class="fb_recommend"><fb:like href="'+fb_url+'" layout="standard" show_faces="false" action="recommend" colorscheme="light"></fb:like></div>'; | |
$(this).parent().next().after(fb_like); | |
}); |
function setFacebookLike() { | |
$('html').attr("xmlns:og","http://www.facebook.com/2008/fbml").attr("xmlns:fb","http://www.facebook.com/2008/fbml"); | |
// Remove previously created FB like elements -- if they exist -- so they can be re-added after AJAX pagination | |
$('.fb-recommend').remove(); | |
$('#fb-root').empty(); | |
// Build and inject Like button | |
$('ul.posts a').each(function() { | |
var fb_url = location.href.split('/')[0] + '//' + location.href.split('/')[2] + $(this).attr('href'), |