apps/foo/templates/foo/index.html
{% load staticfiles %}
...
{# jQuery is global for third party modules #}
# Префиксы именования картинок | |
bgr- Фон | |
shadow- Тень | |
icon- Иконка | |
btn- Кнопка | |
img- Картинка | |
pattern- Текстура | |
sep- Разделитель | |
sprite- Спрайт |
[name^="anchor-"] { | |
display: block; | |
} |
const KEY_CODES = { | |
BACKSPACE: 8, | |
DELETE: 46, | |
}; | |
export default KEY_CODES; |
#!/bin/bash | |
# jade2html, version 0.1 | |
# | |
# Convert .jade to .html | |
# | |
# Example (convert foo.jade to foo.html): | |
# jade2html foo | |
# | |
# github.com/VovanR | |
# Author: VovanR (Vladimir Rodkin) |
#!/usr/bin/env bash | |
gitclosepullrequest () { | |
local status branch | |
status="$(git status 2>/dev/null)" | |
[[ $? != 0 ]] && return; | |
branch="$(git branch | perl -ne '/^\* (.*)/ && print $1')" | |
git fetch origin master:master && git checkout master && git branch -d ${branch} | |
} |
// -------------------------------------- | |
// i2c_scanner | |
// | |
// Version 1 | |
// This program (or code that looks like it) | |
// can be found in many places. | |
// For example on the Arduino.cc forum. | |
// The original author is not know. | |
// Version 2, Juni 2012, Using Arduino 1.0.1 | |
// Adapted to be as simple as possible by Arduino.cc user Krodal |