Skip to content

Instantly share code, notes, and snippets.

View sebastian-code's full-sized avatar
🌴
On vacation mood, but working cause poor.

Sebastian Reyes Espinosa sebastian-code

🌴
On vacation mood, but working cause poor.
View GitHub Profile
@sebastian-code
sebastian-code / articulo_form.html
Created August 9, 2016 00:57
Una vista que registra el valor de un campo de manera automatica, tomando la informacion a partir de uno de los objetos disponibles en la sesion.
{% extends 'base.html' %}
{% load staticfiles %}
{% load crispy_forms_tags %}
{% block title %} Crear Articulo {% endblock %}
{% block content %}
<div class="container" style="padding-top:30px; padding-bottom: 30px;">
<div class="8u skel-cell-important">
"""
This code will require to install BeatifulSoup4 and Requests library, for that
use:
pip install BeatifulSoup requests
"""
import sys
import time
import shutil
import urllib2
import requests
@sebastian-code
sebastian-code / project.sublime-project
Last active December 19, 2018 18:52
Sublime Project File Structure
{
"folders":
[
{
"path": "."
}
],
"settings":
{
"SublimeLinter.linters.eslint.env": {"PATH":"/path/to/.nvm/versions/node/v8.12.0/bin/"},