Skip to content

Instantly share code, notes, and snippets.

View vijoin's full-sized avatar
🏠
Working from home

Victor Inojosa vijoin

🏠
Working from home
View GitHub Profile
@vijoin
vijoin / method-override-precaution.md
Last active June 25, 2020 11:07
[Odoo] Be carefull when overriding a method wich return a wizard or any other view

Be carefull when override a method wich return a wizard or any other view

In example,

class A(models.Model):
    _name = 'module.modelA'

    def method(self)
 ....
@vijoin
vijoin / tedscraper.md
Last active March 15, 2020 14:01
TED Scraper

Introduction

In this tutorial we'll learn step by step how to create a simple web scrapper with Python 3. At the end of this tutorial you'll be able to get list of Ted Talks with a Python script with parameters. You'll be executing something like:

$ python tedscraper.py -s "Artificial Inteligence" --page 1 --results-per-page 5

1 - Playlist: Artificial intelligence (10 talks)
2 - Gil Weinberg: Can robots be creative?
3 - Peter Norvig | TED Speaker
4 - Dan Finkel: Can you solve the rogue AI riddle?
@vijoin
vijoin / gist:56a44b8d9aff2c4578886a5e1cc99ea5
Created March 19, 2020 02:25
Notes about Linux Terminal course at Platzi (Spanish Course)
Notes from https://platzi.com/clases/terminal/ (Spanish Course)
## Why:
Efficiency... Speed up your tasks
##Prompt and Cursor
## Command
Program + Parameters + Modifiers