Skip to content

Instantly share code, notes, and snippets.

View cblanquera's full-sized avatar
🌪️
Breaking Things.

Christian Blanquera cblanquera

🌪️
Breaking Things.
View GitHub Profile
@cblanquera
cblanquera / OSX checklist
Last active November 25, 2017 12:38
Had to do the install again, this is so i won't forget
Languages:
PHP x brew
Python 2.7.10 x built in
Python 3.6.3 x brew
Node x brew
Ruby x built in
ErLang x brew
Java x brew
Services:
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@cblanquera
cblanquera / instructions.md
Last active April 9, 2018 00:03
RSA server access

For Owner

On your local - ssh-keygen -b 4096 -C "Openovate Labs"

For Devs

  1. SSH into each remote server
  2. cd ~
  3. mkdir .ssh
  4. cd .ssh
  5. vi authorized_keys
  6. Paste the pub file on your local
@cblanquera
cblanquera / elastic51.md
Last active December 11, 2017 04:56
PHP 7 MySQL 5.7 Redis 2.8.3 Elastic 5.1 RabitMQ 3.6.6 CentOS 6

ElasticSearch 5.1

sudo yum install java-1.8.0-openjdk.x86_64
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
@cblanquera
cblanquera / jsonette.json
Last active February 6, 2017 05:35
Testing JSONETTE
{
"$jason": {
"head": {
"title": "{ ˃̵̑ᴥ˂̵̑}",
"actions": {
"$foreground": {
"type": "$reload"
},
"$pull": {
"type": "$reload"
@cblanquera
cblanquera / Article.php
Last active November 3, 2017 09:50
Training
<?php
/**
* This is a generic Article renderer
*
* @author Christian Blanquera <[email protected]>
* @standard PSR-2
*/
class Article extends Post {
/**
@cblanquera
cblanquera / kmeans.md
Last active November 30, 2017 10:24
AI Math

K-Means

  • Unsupervised
  • Determines the center of clusters
  • Given how many clusters you want to find

When To Use

  • Your data is numeric. It doesn't work with categorical features. We're computing the distance between real numbers!
  • If you don't have labels for your data
@cblanquera
cblanquera / 01.HTML-Style-Guide.md
Last active December 5, 2017 05:53
Front End Style Guide Recommendations

1. HTML Style Guide

The purpose of this style guide is to improve code quality by documenting a set of expected rules that can consistently apply across all projects. The main benefits are the following.

  • Easier for new developers to on board on a project
  • Easier to troubleshoot code across different projects
  • Easier to contribute additional code
  • Easier to adjust for SEO across all projects
@cblanquera
cblanquera / css-properties.json
Last active December 1, 2025 12:45
CSS properties via JSON
{
"align-content": {
"moz": false,
"webkit": true,
"syntax": "(stretch)|(center)|(flex-start)|(flex-end)|(space-between)|(space-around)|(initial)|(inherit)",
"initial": "stretch",
"values": [
"stretch",
"center",
"flex-start",
@cblanquera
cblanquera / bar.mjs
Created September 10, 2019 07:55
ES6 + Node import always ran first
console.log('bar')