Skip to content

Instantly share code, notes, and snippets.

View kubos777's full-sized avatar
:shipit:
Hacking life

Jorge Chávez kubos777

:shipit:
Hacking life
View GitHub Profile
@kubos777
kubos777 / django-media-permissions.md
Created July 3, 2019 18:07 — forked from douglasmiranda/django-media-permissions.md
Fix Django Media Folder Permissions

Check your current file/directory permission with:

stat -c "%a" /path/to/dir_or_file

To recursively give directories read&execute privileges:

find /path/to/base/dir -type d -exec chmod 755 {} +
@douglasmiranda
douglasmiranda / django-media-permissions.md
Last active May 16, 2023 10:33
Fix Django Media Folder Permissions

Check your current file/directory permission with:

stat -c "%a" /path/to/dir_or_file

To recursively give directories read&execute privileges:

find /path/to/base/dir -type d -exec chmod 755 {} +
@tshirtman
tshirtman / key_down.py
Created June 7, 2015 11:15
simplest key binding demo with kivy
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.core.window import Window
class KeyDown(App):
def build(self):
Window.bind(on_key_down=self.key_action)
return Widget()
@rxaviers
rxaviers / gist:7360908
Last active June 29, 2024 18:36
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: