Skip to content

Commit 6c5a7a9

Browse files
committed
2025 layout update
1 parent 72632b3 commit 6c5a7a9

File tree

150 files changed

+977
-1548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+977
-1548
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ end
1313

1414
desc 'Serve static content; Usage: `rake start`'
1515
task :serve do
16-
sh 'bundle exec jekyll serve --incremental'
16+
sh 'bundle exec jekyll serve --incremental --livereload'
1717
end
1818

1919
desc 'Create new wiki; Usage: `rake "add_wiki[WIKI_NAME]"`'

_config.yml

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
title: Guilherme Carreiro
22
author: Guilherme Carreiro
33
4-
description: >
5-
Hi, I’m Guilherme Carreiro, aka karreiro :-)
4+
description: Guilherme Carreiro, Staff Engineer
65
baseurl: ""
7-
url: "http://karreiro.com"
8-
twitter_username: karreiro_
6+
url: "https://karreiro.com"
97
github_username: karreiro
108
markdown: kramdown
119
permalink: pretty
@@ -15,70 +13,73 @@ exclude:
1513
- Rakefile
1614
plugins:
1715
- jekyll-feed
18-
1916
talks:
20-
- title: "JavaScript<br />The Right Way"
17+
- title: "JavaScript The Right Way"
2118
conference: "FLISOL Campinas"
2219
year: 2013
23-
color: "#FBAA18"
24-
file_name: "2013-javascript-the-right-way.pdf"
25-
20+
file_name: "2013-javascript-the-right-way"
2621
- title: "High-quality JavaScript"
2722
conference: "DevCamp / TDC São Paulo"
2823
year: 2014
29-
color: "#387EA4"
30-
file_name: "2014-qualidade-js.pdf"
31-
32-
- title: "Metaprogramming in practice<br />with Ruby"
24+
file_name: "2014-qualidade-js"
25+
- title: "Metaprogramming in practice with Ruby"
3326
conference: "TDC Florianópolis"
3427
year: 2015
35-
color: "#626A8A"
36-
file_name: "2015-tdc-metaprogramacao.pdf"
37-
28+
file_name: "2015-tdc-metaprogramacao"
3829
- title: "DSLs with Ruby"
3930
conference: "TDC São Paulo"
4031
year: 2015
41-
color: "#CA6063"
42-
file_name: "2015-dsls-ruby.pdf"
43-
44-
- title: "Action Cable<br />in Action"
32+
file_name: "2015-dsls-ruby"
33+
- title: "Action Cable in Action"
4534
conference: "TDC São Paulo / Rupy"
4635
year: 2016
47-
color: "#5E327C"
48-
file_name: "2016-actioncable.pdf"
49-
36+
file_name: "2016-actioncable"
5037
- title: "5 pillars of a successful Java web application"
5138
conference: "Red Hat Forum / JUG Campinas"
5239
year: 2017
53-
color: "#A73636"
54-
file_name: "2017-5pilares.pdf"
55-
40+
file_name: "2017-5pilares"
5641
- title: "Design Patterns 101"
5742
conference: "Campus Party"
5843
year: 2018
59-
color: "#88304E"
60-
file_name: "2018-design-patterns.pdf"
61-
62-
- title: "Keeping your monolith alive in a high-availability environment"
44+
file_name: "2018-design-patterns"
45+
- title: "Keeping your monolith alive in a<br />high-availability environment"
6346
conference: "TDC Porto Alegre"
6447
year: 2019
65-
color: "#0f5855"
66-
file_name: "2019-mantendo-seu-monolito-vivo.pdf"
67-
48+
file_name: "2019-mantendo-seu-monolito-vivo"
6849
- title: "DMN for Developers"
6950
conference: "Kie community live"
7051
year: 2020
71-
color: "#af1d60"
72-
file_name: "2020-dmn-for-developers.pdf"
73-
74-
- title: "How to play<br />with DMN"
52+
file_name: "2020-dmn-for-developers"
53+
- title: "How to play with DMN"
7554
conference: "Kie community live"
7655
year: 2021
77-
color: "#231c33"
78-
file_name: "2021-how-to-play-with-dmn.pdf"
79-
80-
- title: "Building native Ruby<br />extensions in Rust"
56+
file_name: "2021-how-to-play-with-dmn"
57+
- title: "Building native Ruby extensions in Rust"
8158
conference: "EuRuKo / Baltic Ruby"
8259
year: 2024
83-
color: "#121c33"
84-
file_name: "2024-euruko-building-native-ruby-extensions-in-rust.pdf"
60+
file_name: "2024-euruko-building-native-ruby-extensions-in-rust"
61+
open_source:
62+
- project: "Liquid"
63+
repository: https://github.com/shopify/liquid
64+
duration: "2025 - Present"
65+
- project: "Liquid language server"
66+
repository: https://github.com/shopify/theme-tools
67+
duration: "2023 - Present"
68+
- project: "Ruby (RubyGems, error highlight)"
69+
repository: https://github.com/ruby/ruby
70+
duration: "2024"
71+
- project: "Shopify CLI"
72+
repository: https://github.com/shopify/cli
73+
duration: "2021 - 2024"
74+
- project: "DMN (tooling)"
75+
repository: https://github.com/kiegroup/kie-wb-common
76+
duration: "2018 - 2021"
77+
- project: "Drools (tooling)"
78+
repository: https://github.com/kiegroup/drools-wb
79+
duration: "2016 - 2018"
80+
- project: "RuboCop (auto-correct fix)"
81+
repository: https://github.com/rubocop/rubocop
82+
duration: "2015"
83+
- project: "Discourse (onebox)"
84+
repository: https://github.com/discourse/onebox
85+
duration: "2014"

_includes/activity.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

_includes/bottom-button.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

_includes/footer.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<footer>
2-
&copy; {{ 'now' | date: "%Y" }} · {{ site.author }}
3-
</footer>
2+
{% assign l_text = site.author | prepend: "&copy; " %}
3+
{% assign r_text = site.time | date: "%Y-%m-%d %H:%M" %}
4+
{% include text-row.html left_text=l_text right_text=r_text no_line=true %}
5+
</footer>

_includes/head.html

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
<head>
2-
<meta charset="utf-8">
3-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta name="viewport" content="width=device-width, initial-scale=1">
5-
<meta name="author" content="{{ site.author }}">
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta name="author" content="{{ site.author }}">
66

7-
<title>
8-
{{ site.title | escape }}
9-
|
10-
{% if page.title %}
11-
{{ page.title | escape }}
12-
{% else %}
13-
Posts
14-
{% endif %}
15-
</title>
16-
<meta name="description"
17-
content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
7+
{% assign title = site.title | escape %}
8+
{% assign timestamp = 'now' | date: "%Y%m%dT%H%M%S" %}
189

19-
<link rel="preconnect" href="https://fonts.googleapis.com">
20-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21-
<link href="https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700&display=swap" rel="stylesheet">
10+
<title>
11+
{{ title }}
12+
//
13+
{{ title | default: 'Posts' | escape }}
14+
</title>
15+
<meta name="description" content="{{
16+
page.excerpt
17+
| default: site.description
18+
| strip_html
19+
| normalize_whitespace
20+
| truncate: 160
21+
| escape
22+
}}">
23+
<meta name="format-detection" content="telephone=no">
24+
<link rel="icon" href="/assets/profile-drawing.png?v={{ timestamp }}">
25+
<link rel="stylesheet" href="/assets/main.css?v={{ timestamp }}">
2226

23-
<link rel="icon" href="/assets/profile-drawing.png">
24-
25-
{% assign latest_build_time = 'now' | date: "%Y%m%dT%H%M%S" %}
26-
<link rel="stylesheet" href="/assets/normalize.css?v={{ latest_build_time }}">
27-
<link rel="stylesheet" href="/assets/main.css?v={{ latest_build_time }}">
28-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
29-
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}"
30-
href="{{ '/feed.xml' | relative_url }}">
31-
</head>
27+
<link rel="canonical" href="{{ page.url | replace: 'index.html', '' | absolute_url }}">
28+
<link rel="alternate" href="/feed.xml" type="application/rss+xml" title="{{ title }}">
29+
</head>

_includes/header.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
<header>
2-
<nav>
3-
<a href="/">
4-
Home
5-
</a>
6-
{% for page in site.pages %}
7-
{% if page.name == 'posts.md' or page.name == 'talks.md' or page.name == 'wiki.md' %}
8-
<a href="{{ page.url | relative_url }}">
9-
{{ page.title | escape }}
10-
</a>
11-
{% endif %}
12-
{% endfor %}
13-
<a href="{{ '/feed.xml' | relative_url }}">
14-
RSS
15-
</a>
16-
</nav>
17-
</header>
2+
<nav>
3+
<a href="/">Home</a>
4+
{% for page in site.pages %}
5+
{% if page.name == 'posts.md' or page.name == 'talks.md' %}
6+
·
7+
<a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a>
8+
{% endif %}
9+
{% endfor %}
10+
·
11+
<a href="/feed.xml">RSS</a>
12+
</nav>
13+
</header>

_includes/highlights.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<h3>Highlights</h3>
22
<div class="row">
3-
{% assign highlights = site.posts | where: 'highlight', true %}
4-
{% for post in highlights | limit: 2 %}
5-
<div class="column box">
6-
<a href="{{ post.url | relative_url }}">
7-
<h4>{{ post.title | escape | truncate: 42 }}</h4>
8-
<div class="box-image-frame">
9-
<img alt="{{ post.title | escape }} - post image" src="{{ post.image }}">
10-
</div>
11-
</a>
12-
<p>
13-
{{ post.abstract }}
14-
<a href="{{ post.url | relative_url }}">Read more →</a>
15-
</p>
16-
</div>
17-
{% endfor %}
18-
</div>
3+
{% assign highlights = site.posts | where: 'highlight', true %}
4+
{% for post in highlights | limit: 2 %}
5+
<div class="column box">
6+
<a href="{{ post.url | relative_url }}">
7+
<h4>{{ post.title | escape | truncate: 42 }}</h4>
8+
<div class="box-image-frame">
9+
<img alt="{{ post.title | escape }} - post image" src="{{ post.image }}">
10+
</div>
11+
</a>
12+
<p>
13+
{{ post.abstract }}
14+
<a href="{{ post.url | relative_url }}">Read more →</a>
15+
</p>
16+
</div>
17+
{% endfor %}
18+
</div>

_includes/open-source.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<section class="open-source">
2+
<h3>Open Source</h3>
3+
<ul>
4+
{% for contribution in site.open_source %}
5+
6+
{% assign link = contribution.repository | append: '/commits?author=' | append: site.github_username %}
7+
8+
<li>
9+
{%
10+
include text-row.html
11+
left_text=contribution.project
12+
left_link=link
13+
right_text=contribution.duration
14+
%}
15+
</li>
16+
17+
{% endfor %}
18+
</ul>
19+
</section>

_includes/recent-posts.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<section class="recent-posts">
2+
<h3>Recent posts</h3>
3+
<ul>
4+
{% assign posts = site.posts | where: "archived", include.archived %}
5+
{% for post in posts | limit: 3 %}
6+
7+
<li>
8+
<a href="{{ post.url | relative_url }}">
9+
{{ post.title | replace: "[URLOTW]", "" | escape }}
10+
</a>
11+
</li>
12+
13+
{% endfor %}
14+
</ul>
15+
</section>

0 commit comments

Comments
 (0)