Skip to content

Instantly share code, notes, and snippets.

View coderdiaz's full-sized avatar
:electron:

Javier Diaz coderdiaz

:electron:
View GitHub Profile
@coderdiaz
coderdiaz / pokemon.json
Created November 29, 2017 16:59
POKEMON API
[{"abilities":["Overgrow"],"detailPageURL":"/us/pokedex/bulbasaur","weight":15.2,"weakness":["Fire","Flying","Ice","Psychic"],"number":"001","height":28.0,"collectibles_slug":"bulbasaur","featured":"true","slug":"bulbasaur","name":"Bulbasaur","ThumbnailAltText":"Bulbasaur","ThumbnailImage":"https://assets.pokemon.com/assets/cms2/img/pokedex/detail/001.png","id":1,"type":["grass","poison"]},{"abilities":["Overgrow"],"detailPageURL":"/us/pokedex/ivysaur","weight":28.7,"weakness":["Fire","Flying","Ice","Psychic"],"number":"002","height":39.0,"collectibles_slug":"ivysaur","featured":"true","slug":"ivysaur","name":"Ivysaur","ThumbnailAltText":"Ivysaur","ThumbnailImage":"https://assets.pokemon.com/assets/cms2/img/pokedex/detail/002.png","id":2,"type":["grass","poison"]},{"abilities":["Thick Fat"],"detailPageURL":"/us/pokedex/venusaur","weight":342.8,"weakness":["Fire","Psychic","Flying","Ice"],"number":"003","height":94.0,"collectibles_slug":"venusaur","featured":"true","slug":"venusaur","name":"Venusaur","Thumbnai
@coderdiaz
coderdiaz / agnoster.zsh-theme
Created November 22, 2017 18:11 — forked from elijahmanor/agnoster.zsh-theme
Custom Agnoster Zsh Theme to Add Node & Npm Versions
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@coderdiaz
coderdiaz / agnoster.zsh-theme
Created November 22, 2017 18:11 — forked from elijahmanor/agnoster.zsh-theme
Custom Agnoster Zsh Theme to Add Node & Npm Versions
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
//Git it! Thank you very much!
var weightChartOptions = {
responsive: true,
legendCallback: function(chart) {
console.log(chart);
var legendHtml = [];
legendHtml.push('<table>');
legendHtml.push('<tr>');
for (var i=0; i<chart.data.datasets.length; i++) {
@coderdiaz
coderdiaz / setup-elementary.sh
Created February 7, 2017 00:56 — forked from floriancgit/setup-elementary.sh
Things to do after installing elementary OS Loki 0.4
# chromium
sudo apt install -y chromium-browser
# dev (php, docker, git, node, bower, electron, composer)
sudo apt install -y \
php php-curl php-mysql \
docker.io \
git \
nodejs npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
Arima Madurai
Slabo 27px
Antic Slab
Great Vibes
Scope One
@coderdiaz
coderdiaz / DarculaLaravel.icls
Created January 5, 2017 00:36
Custom style for Laravel Programming Style Colors
<scheme name="Darcula - Laravel" version="142" parent_scheme="Darcula">
<metaInfo>
<property name="created">2016-11-30T10:57:57</property>
<property name="ide">PhpStorm</property>
<property name="ideVersion">2016.3.0.0</property>
<property name="modified">2017-01-04T18:34:54</property>
<property name="originalScheme">_@user_Darcula</property>
</metaInfo>
<option name="LINE_SPACING" value="1.5" />
<option name="EDITOR_FONT_SIZE" value="12" />
@coderdiaz
coderdiaz / .minttyrc
Created November 28, 2016 06:27
A theme for Git Bash
BoldAsFont=-1
Transparency=low
Font=Fira Code
FontWeight=400
FontIsBold=no
FontHeight=10
FontSmoothing=full
CursorType=block
AllowBlinking=yes
BackgroundColour=13,25,38
@coderdiaz
coderdiaz / table.vue
Created October 26, 2016 19:55
VueTable
<template>
<div class="Vue__table">
<div class="VueTable panel panel-default">
<div class="panel-heading">
<div class="form-inline">
<div class="form-group pull-left">
<label class="control-label pr2">Mostrar</label>
<select class="form-control" v-model="perpage" number>
<option v-for="limit in limits" :value="limit">{{ limit }}</option>
</select>
@coderdiaz
coderdiaz / ui-datepicker.vue
Created June 22, 2016 04:35 — forked from Phunky/ui-datepicker.vue
VueJS DatePicker
<style>
.ui-datepicker .md-icon {
flex: 0 0 auto;
margin-right: 8px;
width: 18px;
height: 18px;
}
</style>
<style lang="sass" scoped>