Last active
June 5, 2025 11:14
-
-
Save db0sch/57d2d8c8e3f478b183c68e8051fe3a01 to your computer and use it in GitHub Desktop.
Revisions
-
db0sch revised this gist
Jun 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ print ERB tags | __pe__ | `<%= %>` `elsif` tag | __elsif__ | `<% elsif %>` `unless` block | __unless__ | `<% unless %>...<% end %>` `end` block | __end__ | `<% end %>` `each` helper | __each__ | `<% @things.each do ...` -
db0sch revised this gist
Jun 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ print ERB tags | __pe__ | `<%= %>` `elsif` tag | __elsif__ | `<% elsif %>` `unless` block | __unless__ | `<% unless %>...<% end %>` `end` block | __end__ | `<% end %>` `each` helper | __each__ | ```<% @things.each do |thing| %> ... <% end %>``` -
db0sch revised this gist
Jun 28, 2021 . No changes.There are no files selected for viewing
-
db0sch revised this gist
Jun 28, 2021 . No changes.There are no files selected for viewing
-
db0sch revised this gist
Jun 14, 2021 . 1 changed file with 1 addition and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,19 +4,10 @@ Snippet | Tab Trigger | Output --- | --- | --- ERB tags | __er__ | `<% %>` print ERB tags | __pe__ | `<%= %>` `if` block | __if__ | `<% if %>...<% end %>` `if` / `else` block | __ife__ | `<% if %>...<% else %>...<% end %>` `else` tag | __else__ | `<% else %>` `elsif` tag | __elsif__ | `<% elsif %>` `unless` block | __unless__ | `<% unless %>...<% end %>` `end` block | __end__ | `<% end %>` `each` helper | __each__ | `<% @things.each do |thing| %> ... <% end %>` -
db0sch revised this gist
Jun 14, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Text Editor ERB Snippets and Bindings Snippet | Tab Trigger | Output --- | --- | --- -
db0sch created this gist
Jun 14, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ # Snippets and Bindings Snippet | Tab Trigger | Output --- | --- | --- ERB tags | __er__ | `<% %>` print ERB tags | __pe__ | `<%= %>` print ERB comment | __pc__ | `<%# %>` `if` block | __if__ | `<% if %>...<% end %>` `if` / `else` block | __ife__ | `<% if %>...<% else %>...<% end %>` `else` tag | __else__ | `<% else %>` `elsif` tag | __elsif__ | `<% elsif %>` `unless` block | __unless__ | `<% unless %>...<% end %>` `end` block | __end__ | `<% end %>` `image_tag` helper | __it__ | `<%= image_tag ..., ... %>` `submit_tag` helper | __st__ | `<%= submit_tag ..., ... %>` `text_field_tag` helper | __tft__ | `<%= text_field_tag ..., ... %>` `password_field_tag` helper | __pft__ | `<%= password_field_tag ..., ... %>` `label_tag` helper | __lblt__ | `<%= label_tag ..., ... %>` `link_to` helper | __lt__ | `<%= link_to ..., ... %>` `each` helper | __each__ | `<% @things.each do |thing| %> ... <% end %>` `form_for` helper | __ff__ | `<%= form_for(@ ) do |f| %> ... <% end %>` `t()` helper | __t__ | `<%= t('@') %>`