Skip to content

Instantly share code, notes, and snippets.

View marti1125's full-sized avatar
🐍

Willy Aguirre marti1125

🐍
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Title</title>
<style>
.wrapper {
width: 100%; }
@marti1125
marti1125 / gist:5609661
Created May 20, 2013 00:10
Backbone 05 codeschool collection
var AppointmentList = Backbone.Collection.extend({
model: Appointment
});
////////////////////////////
var Appointment = Backbone.Model.extend({});
var AppointmentList = Backbone.Collection.extend({
model: Appointment
});
@marti1125
marti1125 / gist:5608681
Created May 19, 2013 19:27
Backbone 04 codeschool model and view
var AppointmentView = Backbone.View.extend({
template: _.template('<span><%= title %></span><a href="#">x</a>'),
events: {"click a": "cancel"},
cancel: function() {
this.model.set({cancelled:true});
},
render: function(){
this.$el.html(this.template(this.model.toJSON()));
git log --pretty=oneline
git rebase -i <hash_commit>
git rebase --continue
git push <remote_repo> <remote_branch> -f
First Try
mv Dockerfile-dev Dockerfile
docker build -t landoui:latest .
docker images
python 3.5-alpine 4a9a1b06fdf7 4 weeks ago 88.7MB
http://neuroph.sourceforge.net/
https://censorcosmico.blogspot.pe/2014/02/neurona-artificial-i.html
https://www.xataka.com/robotica-e-ia/las-redes-neuronales-que-son-y-por-que-estan-volviendo
http://www.cs.us.es/~fsancho/?e=104
const http = require('http');
var options = {
host: 'www.thestartv.com',
port: 80,
path: '/'
};
http.get(options, function(res) {
console.log("Got response: " + res.statusCode);
@marti1125
marti1125 / cplusplus_resources.txt
Last active August 3, 2017 22:11
c++ resources
C++ Books
https://tfetimes.com/free-c-books/
http://bookboon.com/en/c-cpp-csharp-ebooks
http://www.linuxlinks.com/article/20130208155256300/9oftheBestFreeC++-Part1.html
http://freecomputerbooks.com/langCppBooks.html
http://www.onlineprogrammingbooks.com/cplusplus/
http://www.freetechbooks.com/c-c-f3.html
https://www.ossblog.org/master-c-programming-with-open-source-books/
@marti1125
marti1125 / listoflist.py
Created July 24, 2017 02:35
python dataquest
b = open("US_births_1994-2003_CDC_NCHS.csv")
data = b.read()
data.split("\n")
def read_csv(filename):
b = open(filename)
data = b.read()
string_list = data.split("\n")
final_list = []
data_no_header = string_list[1:len(string_list)]