I hereby claim:
- I am apeacox on github.
- I am andreapavoni (https://keybase.io/andreapavoni) on keybase.
- I have a public key whose fingerprint is 15C2 22EB 70D4 9D43 590F DFF6 F380 C6BA 450C B260
To claim this, I am signing this object:
gulp = require('gulp') | |
gutil = require('gulp-util') | |
browserify = require('gulp-browserify') | |
coffeelint = require('gulp-coffeelint') | |
rename = require('gulp-rename') | |
uglify = require('gulp-uglify') | |
size = require('gulp-size') | |
clean = require('gulp-rimraf') | |
# LOAD ENVs to use with envify |
#!/bin/bash | |
# GentooCloner 0.5.1_alpha - clone your gentoo on identical/similar machines or just do a stage4 :) | |
AUTHOR="Copyright (c) 2006 Andrea Pavoni (http://andreapavoni.com)" | |
LICENSE=" | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions | |
are met: | |
1. Redistributions of source code must retain the above copyright |
I hereby claim:
To claim this, I am signing this object:
class CreateEmailTest | |
include Lotus::Interactor | |
def initialize(params) | |
@params = params | |
@email_test = EmailTest.new(@params[:email_test]) | |
end | |
def call | |
Operation.new(self, email_test: @email_test). |
require "virtus" | |
module Commands | |
module Base | |
def self.included(base) | |
base.extend ClassMethods | |
base.include Virtus.model | |
base.include ActiveModel::Validations | |
base.prepend InstanceMethods |
package main | |
import ( | |
"bytes" | |
"exec" | |
"log" | |
"os" | |
) | |
// Pipeline strings together the given exec.Cmd commands in a similar fashion |
This: | |
<p>Please <%= link_to "sign in", :controller => 'account', :action => 'login' %> to comment.</p> | |
Could be: | |
<p> | |
<%= I18n.t('views.formulas.please') %> | |
<%= link_to I18n.t('views.actions.sign_in'), :controller => 'account', :action => 'login' %> | |
<%= I18n.t('views.actions.to_comment') %>. | |
</p> |
defmodule SecureRandom do | |
@moduledoc """ | |
Ruby-like SecureRandom module. | |
## Examples | |
iex> SecureRandom.base64 | |
"xhTcitKZI8YiLGzUNLD+HQ==" | |
iex> SecureRandom.urlsafe_base64(4) |
module RolePlay | |
module PluginMethods | |
def has_roleplay(roles = {}) | |
@@roles = roles | |
@@roles_ids = roles.invert | |
def roles | |
@@roles | |
end |
<div id="searchform"> | |
<%= form_tag search_people_path, :method => 'get' do |f| %> | |
<div class="field"> | |
<%= label :search, :firstname, 'Firstname' %><br/> | |
<%= text_field :search, :firstname %> | |
</div> | |
<div class="field"> | |
<%= label :search, :lastname, 'Lastname' %><br/> | |
<%= text_field :search, :lastname %> | |
</div> |