Skip to content

Instantly share code, notes, and snippets.

View ivapie's full-sized avatar

Iván Piedra Rodríguez ivapie

View GitHub Profile
@ivapie
ivapie / comandos.md
Created November 21, 2011 18:18 — forked from trico/comandos.md
Comandos git

####Crear una rama y directamente hacer checkout en ella git checkout -b myfeature develop

####Merge especial git merge --no-ff myfeature

####Eliminar una rama git branch -d myfeature

####Crear tag

@ivapie
ivapie / .eslintrc
Created May 10, 2016 11:36 — forked from hendrikswan/.eslintrc
Packages and build config for Build Cross Platform React Native Apps with Exponent and Redux
{
"extends": "airbnb/base",
"plugins": [
"react"
],
"env": {
"node": true,
"jasmine": true,
},
"rules": {
@ivapie
ivapie / weeklies.md
Created June 3, 2016 17:34 — forked from cayasso/weeklies.md
List of Weeklies
@font-face {
font-family: 'AvenirNextRegular';
src: url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.eot");
/* IE9 Compat Modes */
src: url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.eot?#iefix") format("embedded-opentype"), url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.woff2") format("woff2"), url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.woff") format("woff"), url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.ttf") format("truetype"), url("https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.svg#svgFontName") format("svg");
/* Legacy iOS */
}
@font-face {
font-family: 'AvenirNextMedium';
src: url("https://usquickstart.qbcontent.com/content/themes/qs2/resources
$pathURL: 'https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/';
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css";
@font-face {
font-family: 'AvenirNextRegular';
src: url('https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.eot');
/* IE9 Compat Modes */
src: url('https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('https://usquickstart.qbcontent.com/content/themes/qs2/resources/assets/fonts/AvenirNextLTW04-Regular.woff2') format('woff2'), /* Super Modern Browsers */
@ivapie
ivapie / multiple_ssh_setting.md
Created October 11, 2016 16:31 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
let FloatingBox = (function() {
let elements = {
leftColumn: null,
popularBox: null,
floatingBox: null,
newPosition: null,
defaultPosition: "0px",
porcent: null,
gutter: null
/**
* Function to initiate the cronjob for all customers
* @params void
* @return void
*/
import * as functions from 'firebase-functions';
import * as req from "request";
import * as admin from 'firebase-admin';
const CronDaemon = functions.https.onRequest((request, response) => {
@ivapie
ivapie / iris-tensorflow-js.js
Created February 7, 2019 19:18 — forked from learncodeacademy/iris-tensorflow-js.js
Solving Iris with Tensorflow.js and Iris JSON dataset
import * as tf from "@tensorflow/tfjs"
import "@tensorflow/tfjs-node"
import iris from "./iris.json"
import irisTesting from "./iris-testing.json"
// convert/setup our data
const trainingData = tf.tensor2d(iris.map(item => [
item.sepal_length, item.sepal_width, item.petal_length, item.petal_width,
]))
const outputData = tf.tensor2d(iris.map(item => [
{
"period": {
"start": "2019-04-30",
"end": "2019-06-29"
},
"diagnosis": [
"232323"
],
"activity": [
{