Skip to content

Instantly share code, notes, and snippets.

View rafa2000's full-sized avatar

Rafael A. Salazar rafa2000

  • Mebane, NC
  • 20:59 (UTC -12:00)
View GitHub Profile
@rafa2000
rafa2000 / get_wotd.py
Last active June 1, 2020 16:55 — forked from schuhumi/get_wotd.py
Get Word of the Day from dictionary.com https://imgur.com/a/YicwTP6
#!/usr/bin/env python3
import urllib3
from bs4 import BeautifulSoup
from os import path
class bcolors:
HEADER = '\033[95m'
CYAN = '\033[36m'
# Migrations from script/console
>> irb ActiveRecord::Schema
>> remove_column :books, :longname
>> remove_index :books, :shortisbn