Skip to content

Instantly share code, notes, and snippets.

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

Víctor Villalobos viktorvillalobos

🏠
Working from home
View GitHub Profile
@AshishPandagre
AshishPandagre / app_admin.py
Last active March 7, 2024 05:40
Add tinymce editor in django (along with drag and drop image upload)
from django.contrib import admin
from .models import Post
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
class Media:
js = ('tinyInject.js',)
@johnjeffers
johnjeffers / ubuntu-20.04-macbook-pro.md
Created May 31, 2020 00:21
Ubuntu 20.04 on a 15" Retina MacBook Pro (Mid-2014)

Ubuntu 20.04 on a 15" Retina MacBook Pro (Mid-2014)

These are notes from my efforts to get Ubuntu 20.04 installed on my older MacBook Pro. I'm making this gist public in the hopes that it's helpful to others.

I did a Minimal install, but selected the option to install additional 3rd-party drivers.

Wifi doesn't work during the install (because it requires a 3rd-party driver), so you won't be able to choose to download updates while installing. No big deal, run a software update after the install.

The installer takes about 25 minutes to complete. Post-install, most things work. The only driver I had to manually install was for the FaceTime camera. More on that below.