Skip to content

Instantly share code, notes, and snippets.

View dehamzah's full-sized avatar
🦉
Morning Owl

Dede Hamzah dehamzah

🦉
Morning Owl
  • Indonesia
View GitHub Profile
@dehamzah
dehamzah / update-assets-open-edx.sh
Created July 2, 2016 00:12
Bash script i use to update assets static files when developing custom theming open edx using stanford theming method.
#!/bin/bash
#move to folder themes
cd /edx/app/edxapp/themes/<change-to-your-theme>/
echo "inside /edx/app/edxapp/themes/<change-to-your-theme>/"
#switch to user edxapp
sudo -H -u edxapp bash << EOF
echo "Now as: "
whoami
@dehamzah
dehamzah / mako.html
Last active April 17, 2016 14:06 — forked from ariestiyansyah/mako.html
Navigation Responsive
## mako
<%namespace name='static' file='static_content.html'/>
<%namespace file='main.html' import="login_query, stanford_theme_enabled"/>
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from microsite_configuration import microsite
from microsite_configuration.templatetags.microsite import platform_name
from ccx.overrides import get_current_ccx