start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| * Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
| */ | |
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ | |
| } |
| http_path = "/" | |
| css_dir = "css" | |
| sass_dir = "lib" | |
| images_dir = "img" | |
| javascripts_dir = "js" | |
| output_style = :expanded #or :nested or :compact or :compressed |
| # Autor: Victor Aguilar - @jvacx | |
| #-------------------------------------------------------------------------------- | |
| #These targets are not files | |
| .PHONY: requirements | |
| requirements: | |
| git clone https://github.com/h5bp/html5-boilerplate.git | |
| mv -f html5-boilerplate/* . | |
| mkdir -p js css font img lib js/vendor |
| [user] | |
| email = [email protected] | |
| name = Victor Aguilar Cusicanqui | |
| [core] | |
| editor = nano | |
| autocrlf = input | |
| [alias] | |
| ci = commit |
| # Make sure the system settings for input are used to | |
| $include /etc/inputrc | |
| # Autocomplete on the first hit of the tab key | |
| set show-all-if-ambiguous on | |
| # Do not alert when autocomplete | |
| set bell-style none | |
| # Readline will display completions with matches sorted horizontally in alphabetical order |
| # -*- encoding: utf-8 -*- | |
| from crispy_forms.layout import Field | |
| from crispy_forms.utils import TEMPLATE_PACK | |
| class PrependedIconText(Field): | |
| template = "fields/prepend_text_with_icon.html" | |
| icon_class = "fa fa-user" | |
| def __init__(self, *args, **kwargs): |
| { | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "rulers": [80], | |
| "translate_tabs_to_spaces": true, | |
| "word_wrap": true, | |
| "highlight_line": true, | |
| "save_on_focus_lost": true |
| server { | |
| listen 80; | |
| server_name www.jvacx.com jvacx.com; | |
| charset utf-8; | |
| access_log /home/victor/Proyectos/jvacx.com/var/log/access.log; | |
| error_log /home/victor/Proyectos/jvacx.com/var/log/error.log; | |
| # pass root to django | |
| location / { | |
| include uwsgi_params; |
| server { | |
| index index.php; | |
| set $basepath "/var/www"; | |
| set $domain $host; | |
| # check one name domain for simple application | |
| if ($domain ~ "^(.[^.]*)\.dev$") { | |
| set $domain $1; | |
| set $rootpath "${domain}"; |