Author: heridev

Codigo del Controller
[ruby]

class SessionsController < ApplicationController
  respond_to :json, only: :create

  def create
    sign_in_service = service :sign_in, params
    @result = sign_in_service.call

    if @result.valid?
      Services::SessionHandlerService.new(self).create @result.object
      render status: :ok, json: []
    else
      render status: :unprocessable_entity, json: @result.errors
    end
   end
end
end

[/ruby]

En mi caso yo tengo la fuente CWBTRIAL.ttf, entonces quiero utilizarla en algunos titulos de mi Website, para lo cual voy primero que nada a generar mis font-face desde la pagina de fontsquirrel http://www.fontsquirrel.com/fontface/generator para lo cual voy a subir mi archivo .ttf y en el sistema me van a genera un archivo zip con los archivos que necesito para usarla en mis estilos css, despues de subir el archivo .ttf le damos en descargar Kit y en nuestro archivo zip vamos a encontrar 4 archivos que nos interesan en mi caso son lo siguiente:

Hello everybody, After to install the janus for vim i see all the themes included but any of them like me, only that like me is the solarized theme the steps to install it are are the next: We need to clone the files with the next code using git command: First of all we need to download and we need only one file, now in the terminal we run the next command but before we can download in the directory that we want.

Para poner a tope nuestro vim (mvim or gvim), yo siempre instalo janus para que instale muchos de los plugins muy funcionales como nerdtree (navegador de archivos en la parte lateral izquierda), autocompletador de archivos, entre otros para instalar janus podemos visitar la siguiente liga https://github.com/carlhuda/janus, despues de eso continuamos con nuestros sortcuts. Nota importante: En este caso no se deben de presionar todas las teclas al mismo tiempo si no que primero presionas la primer tecla sueltas y despues las teclas que siguen y sueltas y no deben de presionarse todas al mismo tiempo como el de cortar o pegar (ctrl + c or ctrl + v).

Now before to start i'll show you a little introduction about git and the benefits to use it

How to install Git in you Mac or Linux
To obtain more infor about certain command in git we can use
[shell]$ git help command e.g. git help diff[/shell] To use a certain name of user in the commit we can declare that [shell]$  git config --global  user.name “heriberto perez” [/shell] [shell]$ git config --global user.email heriberto.perez@crowdint.com[/shell]