Skip to content

Instantly share code, notes, and snippets.

View rafaelss's full-sized avatar

Rafael Souza rafaelss

View GitHub Profile
require "bundler/inline"
gemfile do
source "https://rubygems.org"
ruby "2.7.3"
gem "liquid", "5.0.1", require: false
gem 'liquid-c', github: 'Shopify/liquid-c', ref: 'fb25228', require: false
end
on:
pull_request:
types: [closed]
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:

Keybase proof

I hereby claim:

  • I am rafaelss on github.
  • I am rafaelss (https://keybase.io/rafaelss) on keybase.
  • I have a public key ASCd2EJ1XfWuHMOjtefN-c8M2Gq-iPERLwP7-dhpxwRRiQo

To claim this, I am signing this object:

https://hooks.slack.com/services/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

Keybase proof

I hereby claim:

  • I am rafaelss on github.
  • I am rafaelss (https://keybase.io/rafaelss) on keybase.
  • I have a public key ASBtr1KmexLFPodJsn8w_y5yiGGL7EsfBiyYO9JBqIFC0wo

To claim this, I am signing this object:

class A
B = ["c"].freeze
def d
B.include?("c")
end
end
// node promise.js
function Promise() {
this.callbacks = [];
this.resolved = false;
this.resolve = function(value) {
if(this.resolved) {
throw "Promise already resolved";
}
else {

I've been working with web development since 2001, the last 4 years using Ruby full-time. Before that I've worked with PHP, Java and .NET.

Currently I work as Ruby developer at Vnda (vnda.com.br), using Ruby, Rails, Sinatra and PostgreSQL. Also Javascript, CSS, Redis, Memcached and Solr. Vnda is a SaaS E-commerce Platform, focused on brazilian market, that runs on Amazon AWS.

I'm looking for an oportunity that allows me keep working with Ruby and also learn new stuff and experiment new ways of work.

My GitHub is http://github.com/rafaelss and my LinkedIn is http://linkedin.com/in/rafaelss

@rafaelss
rafaelss / gist:7217245
Last active December 26, 2015 21:39
Desenvolvedor Front-end remoto na Vnda

Estamos a procura de desenvolvedor remoto com foco em front-end para implementar e manter as lojas dos nossos clientes. Precisa saber HTML, CSS e Javascript. Já ter trabalhado com alguma linguagem de template é um plus, ainda mais se essa linguagem for Liquid.

Aqui na Vnda utilizamos Ruby, Rails/Sinatra e PostgreSQL, mas o conhecimento dessas tecnologias não é obrigatório.

Se estiver afim de trocar uma ideia, mande um e-mail para reis@vnda.com.br.

{% assign available_variants = "|" %}
{% for variant in product.variants %}
{% if variant.available %}
{% assign available_variants = available_variants | append: "|" | append: variant.attributes.size %}
{% endif %}
{% endfor %}
{{ available_variants | remove_first: "|" | split: "|" }}