Skip to content

Instantly share code, notes, and snippets.

View AdrianRibao's full-sized avatar

Adrián Ribao AdrianRibao

View GitHub Profile
@AdrianRibao
AdrianRibao / gist:605855
Created October 1, 2010 06:58
desarrollador_web.rst
Se buscan programadores en Django con las siguientes características:
  • Experiencia con Linux
  • Sistemas VCS de control de versiones, especialmente git
  • Entornos virtuales en Python
  • Unit testing
Se valorarán los conocimientos en las siguientes áreas:
  • Experiencia con PostgreSQL
  • Moodle
  • Servidores web y mod_wsgi

Se buscan maquetadores con las siguientes características:

Se requieren conocimientos en:
  • Desarrollo web: XHMTL, CSS y Javascript
  • Estándares del W3C
Se valorarán los conocimientos en las siguientes áreas:
  • jQuery
  • Accesibilidad y usabilidad web
  • Maquetación semántica
@AdrianRibao
AdrianRibao / local_settings.py
Created February 11, 2011 12:06
Yo tengo el settings generado por Django y luego el localsettings que sobreescribe algunos parámetros
# -*- coding: utf-8 -*-
# Django local settings for unicyl project.
import os
from settings import PROJECT_ROOT
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'dev.db', # Or path to database file if using sqlite3.
@AdrianRibao
AdrianRibao / job offer berlin 2013
Last active December 28, 2015 00:49
Job Offer Berlin 2013
A Berlin Web Startup company is looking for a Junior Frontend Web Developer (m,w) for flexible remote contribution to the project.
Required skills: HTML,CSS, SASS, responsive design, Mercurial, IRC, Linux. Nice to have: Django, Javascript, Android development.
As Junior Frontend Web Developer you participate in the development of bleeding edge web solutions and applications.
Your tasks compromise the implementation of design proposals in SASS and the refactoring of existing SCSS. You are able to work
independently in close coordination with the colleagues from the frontend team, our design team, and the project lead. Our project management embraces agile SCRUM methodology.
You are committed to delivering results and are dedicated to deliver high quality stylesheet code applicable to various devices.
A.T. MEDTRA, S.L.
ACHE INFORMÁTICA
ADRIMA
AMBAR TELECOMUNICACIONES
ARCA TELECOM
ARCANOS
Artisca
ATOS WORLDGRID
CANON
CIC Consulting Informático
@AdrianRibao
AdrianRibao / elm_javascript.js
Last active January 23, 2016 09:05
Sending url from javascript and perform an http request
let Elm = require('../../elm/cvs/cvs.elm');
$(document).ready(function(){
$("#cvs-search-form").submit(function(event){
let params = $(this).serializeArray();
let querystring = $.param(params);
let composed_url = `${this.baseURI}?${querystring}`;
cvs.ports.getURL.send(composed_url);
event.preventDefault();
type Tabs
= Step1
| Step2
| Step3
type alias Model =
{ currentTab : Tabs }
-- Don't forget to setup the initial values for the model. In our case we wan't the app load the first step.
initialModel : Model
initialModel =
{ currentTab = Step1 }
view : Model -> Html Msg
view model =
div []
[ renderHeaders model.currentTab
, renderTabContent model.currentTab
]
renderHeaders : Tabs -> Html Msg
renderHeaders currentTab =
ul [ class "nav nav-tabs" ]
[ li [ class "nav-item" ]
[ a
[ class "nav-link"
]
[ text "Step 1" ]
]
, li [ class "nav-item" ]