Skip to content

Instantly share code, notes, and snippets.

View reicolina's full-sized avatar

Rei Colina reicolina

View GitHub Profile
@reicolina
reicolina / angular-two-dots.md
Last active May 10, 2017 21:53
AngularJS and why you need one or more “dots”

In Angular, it is recommended to add objects to a scope instead of primitive values (always having one or more “dots” when accessing your models)

The reason is: prototypical inheritance. As you know, Javascript is different from classical OOP; inheritance is done in a prototypical matter. Angular follows this pattern in a way that scopes inherit prototypically from their parent scopes.

When implemented incorrectly, two-way data binding breaks if you have two or more nested elements that use separate controllers that point to the same model. Here is why:

Imagine you have two nested elements:

@reicolina
reicolina / amplify4selling-contact-import.py
Last active October 13, 2017 21:58
Hootsuite Amplify for Selling Contact Import Script
# ___ ,_, ___
# (o,o) (o,o) ,,,(o,o),,,
# {`"'} {`"'} ';:`-':;'
# -"-"- -"-"- -"-"-
#
# AMPLIFY FOR SELLING: CONTACT IMPORT SCRIPT
# ==========================================
# 1.- Obtain CSV file(s) from your data source.
# 2.- Save the CSV file in the same folder as this script.
# 3.- Replace the HOOTSUITE_MEMBER_ID, AMPLIFY_API_KEY, CRM_MAPPING_URL
@reicolina
reicolina / ml-learning-material.md
Last active January 19, 2018 06:31
A Machine Learning Reference Material Guide

Machine Learning Reference Material Guide

Math Theory

Linear Argebra:

In ML, Linear Algebra comes up everywhere. Topics such as Principal Component Analysis (PCA), Singular Value Decomposition (SVD), Eigendecomposition of a matrix, LU Decomposition, QR Decomposition/Factorization, Symmetric Matrices, Orthogonalization & Orthonormalization, Matrix Operations, Projections, Eigenvalues & Eigenvectors, Vector Spaces and Norms are needed for understanding the optimization methods used for machine learning.

  • Deep Learning Book, Chapter 2: Linear Algebra. A quick review of the linear algebra concepts relevant to machine learning. https://goo.gl/O5vgpm
  • A First Course in Linear Model Theory by Nalini Ravishanker and Dipak Dey. Textbook introducing linear algebra in a statistical context. https://goo.gl/2A4Wi5

Probability Theory and Statistics:

@reicolina
reicolina / cla-assistant.md
Last active November 8, 2021 08:52
GIthub Inegration with CLA Assistant

Integrating your Github repo with CLA Assistant (https://cla-assistant.io/) to handle Contributor License Agreements (CLA) signing.

Visual Demo:

Setup Instructions:

  • Go to https://cla-assistant.io/ and sign in with Github. Make sure that you also Grant access to your organization (if applicable)