Skip to content

Instantly share code, notes, and snippets.

View t0ster's full-sized avatar
🏠
Working from home 🇺🇦

Roman Dolgiy t0ster

🏠
Working from home 🇺🇦
View GitHub Profile
@AllenDang
AllenDang / gccemacs.md
Last active July 7, 2024 09:42
Build gccemacs on MacOS catalina with gcc 10 installed by homebrew.
@maraujop
maraujop / forms.py
Created February 15, 2012 19:04
django-crispy-forms bootstrap form example
# -*- coding: utf-8 -*-
from django import forms
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field
from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions
class MessageForm(forms.Form):
text_input = forms.CharField()
@pilt
pilt / Gemfile
Created July 30, 2011 12:46
Incorporating Jammit with Django
source "http://rubygems.org"
gem "jammit"
gem "closure-compiler"
@trey
trey / Capfile
Created July 24, 2008 03:58
Capistrano, Ubuntu, Django
set :application, "yoursite_com"
set :user, "you"
set :scm_username, user
set :repository, "git@github.com:#{scm_username}/#{application}.git"
set :deploy_to, "/home/#{user}/public_html/#{application}"
set :scm, :git
set :django_location, "/home/#{user}/sources/django/trunk"
set :django_admin_media, "/django/contrib/admin/media"
set :domain, "example.com"