Skip to content

Instantly share code, notes, and snippets.

@lucianoratamero
lucianoratamero / README.md
Last active June 20, 2025 13:54
Using Vite with Django, the simple way

Using Vite with Django, the simple way

Warning

I'm surely not maintaining this as well as I could. There are also other possible, better integrated solutions, like django-vite, so keep in mind this was supposed to be more of a note to myself than anything :]

This gist has most of the things I've used to develop the frontend using vite inside a monolithic django app.

Here's a boilerplate that uses this approach: https://github.com/labcodes/django-react-boilerplate

A couple of things to note:

@pkfrom
pkfrom / iCloud_Windows.md
Last active May 31, 2025 17:00
How to change your Windows iCloud Drive Folder

How to change your Windows iCloud Drive Folder

I'll assume this is about iCloudDrive for Windows (you don't mention that explicitly in your question). If that's the case,

follow these steps:

  • Disable iCloud Drive from the Control Panel (please really do this, otherwise it will mess things up)
  • Move (not copy) your iCloudDrive directory C:\Users\<username>\iCloudDrive to the new location.
  • Open a command prompt and type: mklink /J "C:\Users\<username>\iCloudDrive" "<new destination>" This creates a junction (sort of a shortcut, but more powerfull) from the old location to the new location.
  • Reboot your computer and everything should be fine