Skip to content

Instantly share code, notes, and snippets.

View andrewabogado's full-sized avatar
🎯
Focusing

Andrew Abogado andrewabogado

🎯
Focusing
View GitHub Profile
@pongstr
pongstr / Globe4gLTE.md
Last active October 3, 2023 05:39
Access to Globe Broadband's Azatech DSL5001EN Router

Globe 4G LTE (Internet Only)

Noob access to administer your local area network and wifi access:

http://192.168.254.254

username: user
password: @l03e1t3
@elithrar
elithrar / stripe-config.js
Created November 27, 2013 00:40
Example Stripe Checkout - Custom Integration for #stripe
// 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);
@tomsseisums
tomsseisums / jsbin.upUFIbO.css
Last active July 22, 2016 16:04
A very dirty extension for Highcharts, that makes the leftmost and rightmost points, areas extend to plot areas edges.
#chart
{
width: 90%;
margin: 0 auto;
min-height: 350px;
}
@cheeaun
cheeaun / rdrc2013.md
Last active December 18, 2015 04:59
RedDotRubyConf 2013 links & resources
@ziadoz
ziadoz / stripe-checkout.html
Last active November 19, 2022 05:59
Custom Stripe Checkout Button
<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"
@paulirish
paulirish / gist:4158604
Created November 28, 2012 02:08
Learn JavaScript concepts with recent DevTools features

Learn JavaScript concepts with the Chrome DevTools

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.

Closures

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:

@csswizardry
csswizardry / email.md
Created November 23, 2012 16:45
Discussion around filesize and classes

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 ;-) >>

@harshthakar002
harshthakar002 / about.md
Last active October 16, 2015 19:38 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@jackie
jackie / config.rb
Created October 17, 2012 16:23
Remove the cachebuster from a Compass-generated sprite
# 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
@amcdnl
amcdnl / jq_html5.md
Created October 17, 2012 16:18
The jQuery for Next Generation of the Web

The jQuery for Next Generation of the Web

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.

Examples