Skip to content

Instantly share code, notes, and snippets.

View agarie's full-sized avatar

Carlos Agarie agarie

View GitHub Profile
@agarie
agarie / type-chart.json
Last active July 15, 2024 21:44
Pokémon type chart as a JSON.
{
"normal": {
"normal": 1,
"fire": 1,
"water": 1,
"electric": 1,
"grass": 1,
"ice": 1,
"fighting": 1,
"poison": 1,
@agarie
agarie / index.html
Created May 6, 2012 03:55
CSS buttons for pokémon types.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pok&eacute;mon Buttons for each type</title>
<link rel="stylesheet" type="text/css" href="./types.css" />
</head>
<body>
<div class='container'>
<span class="type normal left">normal</span>
@agarie
agarie / natures
Created May 3, 2012 13:29
All the natures from the Pokémon series, with the corresponding increasing/decreasing stats names.
{
hardy: {
increase: "none",
decrease: "none"
},
docile: {
increase: "none",
decrease: "none"
},
serious: {
@agarie
agarie / ajax-other-domains.js
Created April 28, 2012 05:32
Sending AJAX requests to other domains
/*
Used when you need a JSON feed from your other domain. Need a
Content-type of application/json, so be sure to use the correct
HTTP header in your app (at the other domain).
*/
// blabla just don't forget jQuery
$.ajax({
url: "another domain generating a JSON",