Skip to content

Instantly share code, notes, and snippets.

Avatar

Matheus Lima matheusml

View GitHub Profile
View main.js
$("#button").bind("click", function() {
alert("Clicked");
});
View index.html
<div>
<button id="button">Click me</button>
</div>
View impure.js
var printSquares = function(n) {
if (n > 0) {
printSquares(n-1);
console.log(n*n);
}
};
View pure.js
var counter = 0;
var increment = function(counter) {
return counter + 1;
};
View gist:819e95f83650b3415d9d
Verifying I am +matheuslima on my passcard. https://onename.com/matheuslima
View SEO Url Rewrite - PD
<system.webServer>
<rewrite>
<rules>
<rule name="CrawlerBotRedirect">
<match url="(.*)html"/>
<action type="Redirect" url="http://google.com" redirectType="Found" />
</rule>
</rules>
</rewrite>
You can’t perform that action at this time.