Noob access to administer your local area network and wifi access:
http://192.168.254.254
username: user
password: @l03e1t3
// Disable the payment/submit button until everything has loaded | |
// (if Stripe fails to load, we can't progress anyway) | |
$(document).ready(function() { | |
$("#payment-button").prop('disabled', false) | |
}) | |
var handler = StripeCheckout.configure("customButtonA", { | |
key: '<yourpublishablekey', | |
token: function(token, args){ | |
var $input = $('<input type=hidden name=stripeToken />').val(token.id); |
#chart | |
{ | |
width: 90%; | |
margin: 0 auto; | |
min-height: 350px; | |
} |
June 7-8, 2013
Web site: http://reddotrubyconf.com/ Twitter: http://twitter.com/reddotrubyconf
Ping me @cheeaun on Twitter if you found some awesome stuff for #rdrc. This gist will be updated whenever there's new stuff.
Previously, on RedDotRubyConf 2012
<form action="." method="post"> | |
<noscript>You must <a href="http://www.enable-javascript.com" target="_blank">enable JavaScript</a> in your web browser in order to pay via Stripe.</noscript> | |
<input | |
type="submit" | |
value="Pay with Card" | |
data-key="PUBLISHABLE STRIPE KEY" | |
data-amount="500" | |
data-currency="cad" | |
data-name="Example Company Inc" |
Authored by Peter Rybin , Chrome DevTools team
In this short guide we'll review some new Chrome DevTools features for "function scope" and "internal properties" by exploring some base JavaScript language concepts.
Let's start with closures – one of the most famous things in JS. A closure is a function, that uses variables from outside. See an example:
I received this email from someone in response to my Code smells in CSS article in which I advocate the use of classes over not doing (you will need to read the article for full context).
Below is that email conversation, with names removed:
Hiya Harry,
Just wanted to drop you a line to say hi really as I am a fan of your work. I loved your talk about Big CSS, I even made my whole team watch it so they could learn a thing or two.
I have just read your latest blog article "Code Smells..." great stuff in there, some of which I am still guilty of even now. Generally I do try and make all my CSS as robust as it can be though. At my work I am the only one that takes things like HTML, CSS, JS seriously, it gets hard to try and pass on the enthusiasm for great sites onto other members of the team. I will be making them read this post aswell so thanks ;-) >>
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
# config.rb | |
on_sprite_saved do |filename| | |
if File.exists?(filename) | |
FileUtils.mv filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png').gsub('images/../images/', '') | |
end | |
end |
Soon jQuery will simply be a facade layer. With browser iterations becoming faster and faster, the web will soon loose the need for a jQuery.
The problem we face now is a similar problem we faced 5 years ago. Browser feature compatibility.
My idea is to take jQuery's syntax and paradigm and apply it to HTML5 and the next generation of web development.