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 / Article.php
Last active November 3, 2017 09:50
Training
<?php
/**
* This is a generic Article renderer
*
* @author Christian Blanquera <cblanquera@openovate.com>
* @standard PSR-2
*/
class Article extends Post {
/**
@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 / 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 / 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
/*
* 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 / 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:
http://www.cosstores.com/gb/Women/Sale/Pleated_back_cotton_top/239674-33989711.1#c-22755
http://www.cosstores.com/gb/Women/Sale/Dot_sequin_top/239674-34050565.1#c-24479
http://www.cosstores.com/gb/Women/Sale/Tucked_front_pleat_dress/239674-35824942.1#c-22755
http://www.cosstores.com/gb/Women/Sale/Drawstring_silk_panel_dress/239674-34441710.1#c-24479
http://www.cosstores.com/gb/Women/Sale/V-neck_shirt_dress/239674-26463955.1#c-24481
https://zady.com/products/nanushka-powder-tandem-top
https://zady.com/products/marisa-mason-idylwild-earrings
https://zady.com/products/mercado-global-turquoise-matea-weekender
Philippines
http://www.lazada.com.ph/canon-eos-1200d-18mp-with-18-55mm-is-ii-lens-2364824.html
http://www.zalora.com.ph/Elvinia-Front-Slit-Skirt-334673.html
https://www.olx.ph/item/defective-asus-n550jk-cn002h-ID74mCO.html?p=3&h=360fcb1fa3#360fcb1fa3
http://www.titan22.com/product_info.php?products_id=2204
http://www.teekals.com/asa-pa-u
http://www.itruemart.ph/products/sandisk-cruzer-switch-8gb-2797454624813.html
http://tipidcp.com/viewitem.php?iid=148882208
http://mall.hallohallo.com/electronics/cloudpad-800tv-clone/
@cblanquera
cblanquera / HADOOP-CENTOS.md
Last active January 4, 2016 14:20
The Deep End Setup
  • yum install java-1.8.0-openjdk-devel.x86_64
  • mkdir -p /server/deep/data
  • mkdir -p /server/deep/tmp
  • cd /server/deep
  • wget http://apache.claz.org/hadoop/common/hadoop-2.6.3/hadoop-2.6.3.tar.gz
  • tar xzf hadoop-2.6.3.tar.gz
  • mv hadoop-2.6.3 hadoop
  • Add to ~/.bashrc
Install Scala
brew install scala
Set SCALA_HOME
export SCALA_HOME=/usr/local/bin/scala