Skip to content

Instantly share code, notes, and snippets.

View 64lines's full-sized avatar

Julian Alexander Murillo 64lines

  • Huge Inc.
  • Medellin - Colombia
View GitHub Profile
@64lines
64lines / get_data.php
Last active June 3, 2017 00:47
Obtener Datos de los Tweets a través de un Servicio PHP
<?php
$servername = "localhost";
$username = "root";
$password = "liferay";
$dbname = "lportal";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
@64lines
64lines / spanish_negative_reviews
Created June 2, 2017 19:30
spanish_negative_reviews
No entiendo como todos elogian esta pelicula! Parecia el capitulo de Pedro Picapiedras con Supersonico!Si por lo menos fuera super atrapante! dialogos aburridos, trama incoherente.
Bacalá de las grandes.
Por dios la película no es mala, lo que pasa es el detalle histórico. Ejemplo: mamut y piramides, que locura es esa?, un blanco camina hacia la estrella polar y llega al egipto....un blanco atraviesa un desierto durante 2 o 3 semanas y no tiene quemaduras de 1er grado?, en el año 10000, no existia las armas metálicas, los caballos no tenian estribos para montar, y que hace una semilla de maiz al final de la pelicula... la llevo Colón... por Dios que baje alguien y los vea...a y las piramides esas son del 3000 antes de Cristro aprox. bueno un bodrio de peli. para gente que no ha ido a la escula... como los americanos. y otros no tan americanos.
Aparte de la inverosimilitud del argumento, no muestra unas escenas espectaculares. Peli de domingo por la tarde.
Una vez más se demuestra el patético estado actual del
@64lines
64lines / spanish_postive_reviews
Last active June 2, 2017 19:30
spanish_postive_reviews
Excelente película para los seguidores de la saga ...3 La historia es muy interesante durante toda la película *-* Muchos momentos divertidos y emocionantes ;) ~Larga vida a los piratas!!!
buena
Excelente , buena historia , me encanto!
Excelente
Me parece una pelicula muy interesante
Es de las mejores películas todo el mundo debería ir a verla . Se necesita otra entrega de piratas del caribe porque está te deja con ganas d le más
Todas las sagas de piratas del caribe son muy buenas. Aunq la 4 parte le faltaba algo un poco mas de emoción. Vi el trailer de la quinta parte esta muy interesante , padrisima ya quiero q llegue el día q se estrene
Me encanta la pelicula piratas del caribe por q el capitan jack parrow lo actua genial y todos los personajes
Me encantan las películas de los piratas del caribe espero q esta sea tan buena como las demas
Espero que los actores si hacen una secuela que la hagan por amor a la película y no por dinero, pero por otra parte me gustaría que fuera un éxito en taquilla para que
@64lines
64lines / Algorithm_Get_Words_Metadata.MD
Last active June 2, 2017 05:03
Algorithm to get the data related to words and their relationship with other words

Calculate Negativity and positivity through word relationships

significative relationships = word weight > 500

if word "que" has "significative relationships" with word la" then is negative

Example of Negative Texts

  • NO QUIERO QUE SEA LA ULTIMA PELICULA DE JOHNNY DEEP EN PIRATAS DEL CARIBE
@64lines
64lines / Polarity Calculation Algorithm.py
Last active May 31, 2017 16:16
Polarity Calculation Algorithm
"""
contains(P, W) > contains(N, W) -> Positive
contains(P, W) < contains(N, W) -> Negative
contains(P, W) = contains(N, W) -> Neutral
Where:
W is the set of words of the tweet_post
P is the set of positive words
N is the set of negative words
"""
(+) OpportunityViewDTOGetResponder
(-) Add notes
@64lines
64lines / readyJquery.js
Created October 7, 2016 03:03
[JAVASCRIPT][JQUERY] - Ready function, different ways to use it. onReady
$( document ).ready(function() {
// Handler for .ready() called.
});
// Which is equivalent to the recommended way of calling:
$(function() {
// Handler for .ready() called.
});
@64lines
64lines / example_reduce.js
Created October 6, 2016 22:17
[JAVASCRIPT] - Functional Reduce
var numbers = [1, 2, 3, 4];
var totalNumber = numbers.map(function(number){
return number * 2;
}).reduce(function(total, number){
return total + number;
}, 0);
console.log("The total number is", totalNumber); // 20
@64lines
64lines / example_filter.js
Created October 6, 2016 22:16
[JAVASCRIPT] - Functional Filter
var numbers = [1, 2, 3, 4];
var newNumbers = numbers.filter(function(number){
return (number % 2 !== 0);
}).map(function(number){
return number * 2;
});
console.log("The doubled numbers are", newNumbers); // [2, 6]
@64lines
64lines / example_map.js
Created October 6, 2016 22:15
[JAVASCRIPT] - Functional Map
var numbers = [1, 2, 3, 4];
var newNumbers = numbers.map(function(number){
return number * 2;
});
console.log("The doubled numbers are", newNumbers); // [2, 4, 6, 8]