commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
021f2a46abd06c00a7dd176d10730761312cf86e | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <div class="md:hidden fixed pin-t pin-x bg-primary p-3 mb-10 flex items-center justify-center">
<i id="sidebar-menu" class="fixed pin-l ml-3 material-icons">menu</i>
<%= link_to root_url do %>
<%= image_tag 'icon.png', class: 'h-10' %>
<% end %>
</div>
| <div class="md:hidden fixed pin-t pin-x bg-primary p-3 mb-10 flex items-center justify-center shadow-md">
<i id="sidebar-menu" class="fixed pin-l ml-3 material-icons">menu</i>
<%= link_to root_url do %>
<%= image_tag 'icon.png', class: 'h-10' %>
<% end %>
</div>
| Add shadow to mobile header | Add shadow to mobile header
| HTML+ERB | mit | robyparr/adjourn,robyparr/adjourn,robyparr/adjourn |
fa570a7a8cc18bd0248f5fd95edb773d972969aa | cookbooks/backup/templates/default/expire.cron.erb | cookbooks/backup/templates/default/expire.cron.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
for prefix in chef-server chef-repository git lists osm-blog osmf-crm osmf-ledgersmb osmf-wiki osqa otrs sotm svn switch2osm thinkup trac wiki
do
/usr/local/bin/expire-backups --days=3 --weeks=3 --months=3 /store/backup $prefix
done
/usr/local/bin/exp... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
for prefix in chef-server chef-repository git lists osm-blog osmf-crm osmf-ledgersmb osmf-wiki osqa otrs sotm svn switch2osm thinkup trac wiki
do
/usr/local/bin/expire-backups --days=3 --weeks=3 --months=3 /store/backup $prefix
done
/usr/local/bin/exp... | Add nominatim to backup expiry script | Add nominatim to backup expiry script
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm... |
1b27f5b43b7a1503b1c1fd3635b9dbd18231440c | cookbooks/blogs/templates/default/blogs-update.erb | cookbooks/blogs/templates/default/blogs-update.erb | #!/bin/sh
cd /srv/blogs.openstreetmap.org
/usr/local/bin/bundle<%= @ruby_version %> exec pluto \
--quieter \
--config=/srv/blogs.openstreetmap.org build \
--dbpath=/srv/blogs.openstreetmap.org \
--template=osm \
--output=/srv/blogs.openstreetmap.org/build \
/srv/blogs.openstr... | #!/bin/sh
cd /srv/blogs.openstreetmap.org
/usr/bin/bundle<%= @ruby_version %> exec pluto \
--quieter \
--config=/srv/blogs.openstreetmap.org build \
--dbpath=/srv/blogs.openstreetmap.org \
--template=osm \
--output=/srv/blogs.openstreetmap.org/build \
/srv/blogs.openstreetmap... | Fix path to bundler for blog aggregator | Fix path to bundler for blog aggregator
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef... |
55ddc5ad47a565d50f805272a60f238fae51aaf4 | cookbooks/tile/templates/default/cleanup-tiles.erb | cookbooks/tile/templates/default/cleanup-tiles.erb | #!/usr/bin/perl
# DO NOT EDIT - This file is being maintained by Chef
use strict;
use warnings;
use File::Temp qw(tmpnam);
use Filesys::Df;
my $tiledir = shift @ARGV;
my $tempfile = tmpnam();
if (df($tiledir)->{per} > 90)
{
system("find", $tiledir, "-xdev", "-type", "f", "-name", "*.meta", "-atime", "+60", "-f... | #!/usr/bin/perl
# DO NOT EDIT - This file is being maintained by Chef
use strict;
use warnings;
use File::Temp qw(tmpnam);
use Filesys::Df;
my $tiledir = shift @ARGV;
my $tempfile = tmpnam();
if (df($tiledir)->{per} > 90)
{
system("find", $tiledir, "-xdev", "-type", "f", "-name", "*.meta", "-atime", "+45", "-f... | Reduce the cutoff time when looking for tiles to expire | Reduce the cutoff time when looking for tiles to expire
| HTML+ERB | apache-2.0 | gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef... |
2d02b2cd7a3d59646befc377d831bd8c03fcf7df | templates/_header.erb | templates/_header.erb | ### File managed with puppet ###
## Served by: '<%= scope.lookupvar('::servername') %>'
## Module: '<%= scope.to_hash['module_name'] %>'
<%
module_paths = Puppet::Node::Environment.current[:modulepath].split(':').map{|i| File.expand_path(i) }.join('|')
%>## Template source: 'MODULES<%= template_sour... | Add header to all templates. | Add header to all templates.
| HTML+ERB | mit | gizmoguy/puppetlabs-apt | |
6bb2d44773e576310386971a879cfee3b7c5df7f | app/views/ads/_no_results.html.erb | app/views/ads/_no_results.html.erb | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<h3><%= t('nlt.no_results.subtitle') %></h3>
<ul>
<li>
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</li>
<li>
<%= t('nlt.no_results.switch_to... | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<h3><%= t('nlt.no_results.subtitle') %></h3>
<ul class="list-group">
<li class="list-group-item">
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</li>
... | Use default bootstrap styles for lists | Use default bootstrap styles for lists
We have no styles at all, so this is better than nothing.
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
482e1f69f7c6b2a8ea532c5fb4a0b9d0fc0b5dd8 | app/views/materials/index.html.erb | app/views/materials/index.html.erb | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
</div>
<% if @folder.description %>
<div>
<h2 class="materials-description-title">Folder Description</h2>
<p><%= @folder.description %></p>
<% if can? :manage, Material %>
<%= render :partial => 'folder_cont... | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
<% if @folder.description %>
<div>
<h2 class="materials-description-title">Folder Description</h2>
<p><%= @folder.description %></p>
</div>
<% end %>
<% if can? :manage, Material %>
<%= render :partial => 'fol... | Fix folder controls being missing if folder has no description. | Fix folder controls being missing if folder has no description.
| HTML+ERB | mit | nnamon/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,allenwq/co... |
d48fb8a507608a5055987fa8317d7054dbfe1be4 | source/_header.erb | source/_header.erb | <h1><a href="http://fmrchallenge.org">The First Challenge on Formal Methods for Robotics</a></h1>
<div id="toc">
<a href="index.html#summary" class="button">about</a>
<a href="index.html#problems" class="button">domains</a>
<a href="index.html#events" class="button">events</a>
</div>
| <h1><a href="http://fmrchallenge.org">The First Challenge on Formal Methods for Robotics</a></h1>
<div id="toc">
<a href="/index.html#summary" class="button">about</a>
<a href="/index.html#problems" class="button">domains</a>
<a href="http://docs.fmrchallenge.org" class="button">documentation</a>
<a href="/index.html#... | Make header paths absolute; add "documentation" button | Make header paths absolute; add "documentation" button
| HTML+ERB | mit | fmrchallenge/fmrbenchmark-website,fmrchallenge/fmrbenchmark-website,fmrchallenge/fmrbenchmark-website |
8f48c333a496271b0eb0fd4f250c99bb86d889a1 | app/views/blogit/posts/_disqus_comments.html.erb | app/views/blogit/posts/_disqus_comments.html.erb | <div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '<%= Blogit.configuration.disqus_shortname %>'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
... | <div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '<%= Blogit.configuration.disqus_shortname %>'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
... | Add ?https option to disqus embeded thread url | Add ?https option to disqus embeded thread url
| HTML+ERB | mit | jasonbuehler/blogit,Bodacious/blogit,sadaf2605/blogit,t-zubyak/blogit,KatanaCode/blogit,t-zubyak/blogit,KatanaCode/blogit,foraker/blogit,kassi/blogit,sadaf2605/blogit,jasonbuehler/blogit,foraker/blogit,Bodacious/blogit-admin,foraker/blogit,tfe/blogit,kassi/blogit,tfe/blogit,t-zubyak/blogit,kassi/blogit,jasonbuehler/blo... |
7f34e9d3f25f9c44713ab8abc2fe68aa5a2f9231 | source/enroll.html.erb | source/enroll.html.erb | ---
title: Enroll
---
<!-- Copyright (c) 2013, 2014 ICRL
See the file license.txt for copying permission. -->
<h2>Enroll in the Web Development Primer Course</h2>
<p>Hit the road running with our Web Development Primer course. Learn how to use several important tools used by professional developers, and get a grasp ... | ---
title: Enroll
---
<!-- Copyright (c) 2013, 2014 ICRL
See the file license.txt for copying permission. -->
<h2>Enroll in the Web Development Primer Course</h2>
<p>Hit the road running with our <%= link_to "Web Development Primer", "webdevelopmentprimer.html" %> course. Learn how to use several important tools use... | Add link to Primer page | Add link to Primer page
| HTML+ERB | mit | portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool |
43ee67257ab1daac0075a4b26119cf2f20cd8e8b | templates/web/web/index.html.erb | templates/web/web/index.html.erb | <html>
<head>
<meta charset="utf-8">
<title><%= @app_name %></title>
</head>
<body>
<script src="application.js" type="text/javascript"></script>
</body>
</html>
| <html>
<head>
<meta charset="utf-8">
<title><%= @app_name %></title>
</head>
<body>
<script src="jquery-2.1.3.js" type="text/javascript"></script>
<script src="cocoabean-0.0.1.js" type="text/javascript"></script>
<script src="application.js" type="text/javascript"></script>
</body>
</html>
| Update web template to include jQuery and CocoaBean | Update web template to include jQuery and CocoaBean | HTML+ERB | mit | cheunghy/CocoaBean,cheunghy/CocoaBean |
eb0cde08c9cea80ee29236d6a9fda187d26e9558 | templates/xylem.config.queue.erb | templates/xylem.config.queue.erb | - name: <%= @name %>
plugin: <%= @plugin %>
<%- @plugin_config.each_line do |line| -%>
<%= line %>
<%- end -%>
|
- name: <%= @name %>
plugin: <%= @plugin %>
<%- @plugin_config.each_line do |line| -%>
<%= line -%>
<%- end -%>
| Fix whitespace in generated xylem config. | Fix whitespace in generated xylem config.
| HTML+ERB | bsd-3-clause | praekeltfoundation/puppet-xylem,praekeltfoundation/puppet-xylem |
c9cbfc44ab68aa5b8449e79ba08249a327cdfd6d | pages/integrations/github.md.erb | pages/integrations/github.md.erb | # GitHub
Buildkite can connect to your GitHub repository and use the Commit Status API to update the status of commits in Pull Requests.
<%= toc %>
## Connecting Buildkite and GitHub
## Set up a pipeline
## Running builds on Pull Requests
## Noreply email handling | Add outline for github integration page | Add outline for github integration page
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
8c8cb09078b3eb6dab53114a59c1bab2c42a9ff0 | release/jobs/redis/templates/redis.conf.erb | release/jobs/redis/templates/redis.conf.erb | daemonize no
pidfile /var/vcap/sys/run/redis/redis.pid
port <%= p("redis.port") %>
<% if_p("redis.listen_address") do |listen_address| %>
bind <%= listen_address %>
<% end %>
timeout 300
loglevel notice
logfile stdout
databases 16
dir /var/vcap/store/redis
requirepass <%= p("redis.password") %>
maxmemory-policy noevict... | daemonize no
pidfile /var/vcap/sys/run/redis/redis.pid
port <%= p("redis.port") %>
<% if_p("redis.listen_address") do |listen_address| %>
bind <%= listen_address %>
<% end %>
timeout 300
loglevel notice
logfile ""
databases 16
dir /var/vcap/store/redis
requirepass <%= p("redis.password") %>
maxmemory-policy noeviction
... | Fix redis logs to go to stdout | Fix redis logs to go to stdout
Signed-off-by: Scott Weiss <d7ffd8c82880297e34f0c7604aca8f108ed9c851@cornell.edu>
| HTML+ERB | apache-2.0 | barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh |
8c1fb0f27b7df399542b28e4d124805573747827 | lib/views/general/_footer.html.erb | lib/views/general/_footer.html.erb | <div id="footer">
<div class="footer-holder">
<ul class="footer-nav">
<li><%= link_to _("Contact {{site_name}}", :site_name => site_name), help_contact_path %></li>
<li><a href="/help/conditions">Conditions d'utilisation</a></li>
<!--
<li class="twitter"><a href="https://twitter.com/<%= Alavetel... | <div id="footer">
<div class="footer-holder">
<ul class="footer-nav">
<li><%= link_to _("Contact {{site_name}}", :site_name => site_name), help_contact_path %></li>
<li><a href="/help/conditions">Conditions d'utilisation</a></li>
<!--
<li class="twitter"><a href="https://twitter.com/<%= Alavetel... | Add link to Open North in the footer | Add link to Open North in the footer
| HTML+ERB | mit | opennorth-archive/alavetelitheme |
f0f31deccfe0bc1e631f0a0b026fbffc1d14a1d6 | app/views/superadmin/supported_permissions/_form.html.erb | app/views/superadmin/supported_permissions/_form.html.erb | <%- unless @supported_permission.errors.empty? -%>
<div class="alert alert-danger add-top-margin">
<ul class="errors">
<%- @supported_permission.errors.full_messages.each do |msg| -%>
<li><%= msg %></li>
<%- end -%>
</ul>
</div>
<%- end -%>
<div class="well">
<%= form_for [:superadmin, ... | <%- unless @supported_permission.errors.empty? -%>
<div class="alert alert-danger add-top-margin">
<ul class="errors">
<%- @supported_permission.errors.full_messages.each do |msg| -%>
<li><%= msg %></li>
<%- end -%>
</ul>
</div>
<%- end -%>
<div class="well">
<%= form_for [:superadmin, ... | Set autofocus on input field | Set autofocus on input field
As a superadmin
When I am adding a new permission
I would like the focus to be on the input field
So that I can start to type without tabbing or clicking | HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
752303eb40c8e5b1a6619dfaa4308853190054d4 | app/views/reports/index.html.erb | app/views/reports/index.html.erb | <h1>Listing reports</h1>
<table>
<thead>
<tr>
<th>New</th>
<th>Create</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @reports.each do |report| %>
<tr>
<td><%= report.school %></td>
<td><%= report.dbn %></td>
<td><%= link_to 'Show', report %></td>... | <h1>Listing reports</h1>
<table>
<thead>
<tr>
<th>New</th>
<th>Create</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @reports.each do |report| %>
<tr>
<td><%= report.school %></td>
<td><%= report.dbn %></td>
<td><%= link_to 'Show', user_report_pa... | Modify paths in show, edit and destroy to reflect new nested routes | Modify paths in show, edit and destroy to reflect new nested routes
| HTML+ERB | mit | fma2/school-visits-tool,fma2/school-visits-tool |
d53ce5fb272b40dcb144e7ad135a684efeef0fa0 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div id="banner_logo" class="small-8 small-centered columns">
<div id="banner_info">
<h1>You've got — <span>BIG</span> goals!</h1>
<p>Whether you’re ready to conquer Mt. Everest, find Nirvana, or finally swap fast foods for whole foods,
OnlyChai is your new secret weapon in the battle for better health.... | <div id="banner_logo" class="small-8 small-centered columns">
<div id="banner_info">
<h1>You've got — <span>BIG</span> goals!</h1>
<p>Whether you’re ready to conquer Mt. Everest, find Nirvana, or finally swap fast foods for whole foods,
OnlyChai is your new secret weapon in the battle for better health.... | Connect login button to signin route | Connect login button to signin route
| HTML+ERB | mit | jjparseghian/only_chai_proto,jjparseghian/only_chai_proto,jjparseghian/only_chai_proto |
abc13a53cb5b4ff4502bc952cf210b65703d5556 | app/views/declarables/_declarable.html.erb | app/views/declarables/_declarable.html.erb | <% content_for :title, "#{declarable.description_plain} | Trade Tariff | GOV.UK" %>
<article class="tariff commodity">
<div class="inner">
<nav class="trail">
<dl>
<dt class="section-number">Section <%= declarable.section_numeral %></dt>
<dd class="section-title tariff-fragments"><%= link_t... | <% content_for :title, "#{declarable.description_plain} - Trade Tariff - GOV.UK" %>
<article class="tariff commodity">
<div class="inner">
<nav class="trail">
<dl>
<dt class="section-number">Section <%= declarable.section_numeral %></dt>
<dd class="section-title tariff-fragments"><%= link_t... | Use dashes to separate heading words | Use dashes to separate heading words
Dashes are used everywhere else in this project and across GOV.UK this should follow that standard. | HTML+ERB | mit | bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend |
c5acee359196643ed7e72bf467ee4fde57387a74 | app/assets/json/manifest.json.erb | app/assets/json/manifest.json.erb | {
"name": "Package Tracker",
"shortname": "Tracker",
"start_url": "/",
"display": "standalone",
"theme_color": "#f7b551",
"background_color": "#ffffff",
"icons": [
{
"src": "<%= asset_path 'launcher-icon-2x.png' %>",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "<%... | {
"name": "Package Tracker",
"shortname": "Tracker",
"start_url": "/",
"display": "browser",
"theme_color": "#f7b551",
"background_color": "#ffffff",
"icons": [
{
"src": "<%= asset_path 'launcher-icon-2x.png' %>",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "<%= a... | Change manifest display to browser | Change manifest display to browser
| HTML+ERB | mit | coreyja/package-tracker,coreyja/package-tracker,coreyja/package-tracker |
397a3fae45af145cf953da5562b68dae58807f67 | app/views/topics/_topic_condensed.html.erb | app/views/topics/_topic_condensed.html.erb | <% topic = TopicDecorator.new(topic) %>
<article <%= topic.css_class %>>
<div class="post_count"><%= topic.posts_count %></div>
<h1>
<%= link_to topic.title,
messageboard_topic_posts_path(messageboard.name, topic.slug),
class: already_read(topic, @tracked_user_reads) %>
</h1>
<cite class="up... | <% topic = TopicDecorator.new(topic) %>
<article <%= topic.css_class %>>
<div class="post_count"><%= topic.posts_count %></div>
<h1>
<%= link_to topic.title, [messageboard, topic],
class: already_read(topic, @tracked_user_reads) %>
</h1>
<cite class="updated_by">
<%= topic.updated_at_timeago %... | Fix link_to in condensed topic partial | [JRO] Fix link_to in condensed topic partial
| HTML+ERB | mit | shanesveller/thredded,shanesveller/thredded |
1c3e4115ca5d440123d288dd2ac50d6d36e36aff | app/views/virtual_conference/sessions/show.html.erb | app/views/virtual_conference/sessions/show.html.erb | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1><%= @session.title %></h1>
<%= @session.description.html_safe %>
<% unless @session.slug == "morning-program-spotlights-and-q-a" || @session.slug == "afternoon-program-spotlights-and-q-a" %>
<h2>Meeting U... | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1><%= @session.title %></h1>
<%= @session.description.html_safe %>
<% unless @session.slug == "morning-program-spotlights-and-q-a" || @session.slug == "afternoon-program-spotlights-and-q-a" %>
<h2>Meeting U... | Move back link in session show view | Move back link in session show view
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
41860d1ba81daf6d15bd22e545dd57aa33002543 | app/views/products/index.html.erb | app/views/products/index.html.erb | <% if @logged_in_as %>
<%= link_to "Post new product", :new_product %>
<% end %>
<% if @products.present? %>
<% @products.each do |product| %>
<%= render "shared/product", product: product %>
<% end %>
<% else %>
<h3>No product found!</h3>
<% end %>
| <% if @logged_in_as %>
<%= link_to "Post new product", :new_product %>
<% end %>
<% if @products.present? %>
<% @products.each do |product| %>
<%= render "shared/product", product: product %>
<% end %>
<% else %>
<h1>No product found!</h1>
<% end %>
| Change header of message when no product is found | Change header of message when no product is found
This change is made so that the size is consistent throughout the website.
| HTML+ERB | apache-2.0 | NigoroJr/nigorojr.com,NigoroJr/nigorojr.com |
3673c03dc1c42697754f843baff851daeabe1227 | app/views/projects/_form.html.erb | app/views/projects/_form.html.erb | <% form_for @project do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<h3>Tasks</h3>
<% f.fields_for :tasks do |task_form| %>
<%= render :partial => 'task', :locals => { :f => task_form } %>
<% end %>
<p><%= add_child_link "New Task", f, :tasks... | <% form_for @project do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<h3>Tasks</h3>
<% f.fields_for :tasks do |task_form| %>
<%= render :partial => 'task', :locals => { :f => task_form } %>
<% end %>
<p><%= add_child_link "New Task", :tasks %>... | Update call to add_child_link in the view & include a call to the new_child_fields_template helper so that the new child form fields are available. | Update call to add_child_link in the view & include a call to the new_child_fields_template helper so that the new child form fields are available.
| HTML+ERB | mit | timriley/complex-form-examples,timriley/complex-form-examples |
475dd205356db1136a6045d60b32e88bfcbf1fc8 | app/views/shared/_header.html.erb | app/views/shared/_header.html.erb | <header class="page-header group">
<hgroup>
<h1>
<span>Service</span>
Trade Tariff
</h1>
<p class="tariff-date <%= @section_css %>">This tariff applies <b>7th August 2012</b> <a href="#date-filter">change date</a></p>
</hgroup>
</header>
<%= form_for @search, method: :get, url: perform_searc... | <header class="page-header group">
<hgroup>
<h1>
<span>Service</span>
Trade Tariff
</h1>
<p class="tariff-date <%= @section_css %>">This tariff applies <b>7th August 2012</b> <a href="#date-filter">change date</a></p>
</hgroup>
</header>
<%= form_for @search, method: :get, url: perform_searc... | Fix search. Params has no object name prefix. | Fix search. Params has no object name prefix.
| HTML+ERB | mit | alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend |
b57a3a4030aac79303dc7c535e0f01a8a5bf6095 | app/views/events/new.html.erb | app/views/events/new.html.erb | <h1> New Event </h1>
<%= form_for @event, role: 'form' do |f| %>
<div class="form-group">
<%= f.label :name %>
<%= f.text_field :name, class: 'form-control' %>
</div>
<div class="form-group">
<%= f.label :description %>
<%= f.text_area :description, class: 'form-control' %>
</div>
<% 5.tim... | <h1> New Event </h1>
<p>An event and it's outcomes need to be unambiguous. When the event is resolved will everyone agree which outcome won?</p>
<%= form_for @event, role: 'form' do |f| %>
<div class="form-group">
<%= f.label :name %>
<%= f.text_field :name, class: 'form-control' %>
</div>
<div clas... | Add explanation to new event page | Add explanation to new event page
| HTML+ERB | mit | curious-attempt-bunny/predictive-market,curious-attempt-bunny/predictive-market |
f85e2f2fa0d0f7656ceb2f8fea2098d3335c0260 | app/views/images/new.html.erb | app/views/images/new.html.erb | <h2>Upload image(s)</h2>
<%= form_for @image, :url => images_path, :html => { multipart: true } do |f| %>
<%= f.label 'file' %>
<%= f.file_field :file %>
<%= submit_tag 'Upload image' %>
<% end %>
<%= link_to 'Back', images_path %>
| <h2>Upload image(s)</h2>
<%= form_for @image, :url => images_path, :html => { multipart: true } do |f| %>
<%= f.label 'file' %>
<%= f.file_field :file %>
<%= submit_tag 'Upload image' %>
<% end %> | Remove back link in view | Remove back link in view
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
7348868cdc906c6c93ec612549b3a446178c21d1 | app/views/shift/show.html.erb | app/views/shift/show.html.erb | <div class="page_header">
<h1><%= @shift.date.strftime("%A, %B %d") %> </h1>
</div>
<%= react_component('AdjustIncome', {startMileage: @shift.start_mileage, endMileage: @shift.end_mileage, earnings: number_with_precision(@shift.earnings, :precision => 2)}, {prerender: true}) %>
<%=link_to "Edit Shift Details", edi... | <div class="page_header">
<h1><%= @shift.date.strftime("%A, %B %d") %> </h1>
</div>
<%= react_component('AdjustIncome', {startMileage: @shift.start_mileage, endMileage: @shift.end_mileage, earnings: number_with_precision(@shift.earnings, :precision => 2)}, {prerender: true}) %>
<%=link_to "Back", user_shift_index_p... | Add back button on shift show | Add back button on shift show
| HTML+ERB | mit | JupiterLikeThePlanet/TaxAlong,JupiterLikeThePlanet/TaxAlong,JupiterLikeThePlanet/TaxAlong |
0496f4565813f27d524b140ea3de90549f2bbfb9 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<br>
<% end %>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%=... | <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<% end %>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%= link... | Remove break tag on profile page | Remove break tag on profile page
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This |
264ff1bce259fd8267c6e76bbc7291b1cbeeca55 | alert_templates/shared/diego/crashed_LRPS_increasing_sharply.json.erb | alert_templates/shared/diego/crashed_LRPS_increasing_sharply.json.erb | {
"escalation_message": null,
"message": "## Description:\n Diego Crashed LRPs(long running processes) is increasing a lot during the last 5 minutes.\n\n## Escalation Path:\n Diego/Garden team\n\n## Causes:\n Usually the Crashed LRPs are quite stable in the platform, once it's increasing sharply, it probably ind... | Add an alert for the increasing of crashed LRP in a short period of time | Add an alert for the increasing of crashed LRP in a short period of time
[#135631811] Coordinate Alerts for failed app count with diego
Signed-off-by: Kai Xiang <987005552a526059a0c9b4b70d166beabef8374e@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss | |
cbbaf1cd58f04e7a29b868db64ca4719f34978f5 | cookbooks/apache/templates/default/ssl.erb | cookbooks/apache/templates/default/ssl.erb | # DO NOT EDIT - This file is being maintained by Chef
SSLHonorCipherOrder On
SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
SSLCertificateFile /etc/ssl/certs/<%= @certificate %>.pem
SSLCertificateKeyFile /etc/ssl/private/<%= @certificate %>.key
SSLCertificateChainFile /etc/ssl/... | # DO NOT EDIT - This file is being maintained by Chef
SSLHonorCipherOrder On
SSLCipherSuite EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS
SSLCertificateFile /etc/ssl/cer... | Update SSL cipher suites to latest recomendations | Update SSL cipher suites to latest recomendations
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-che... |
da5a701e1bdd1c8da0dd3a80afebed30110c7210 | app/views/newsitems/show.html.erb | app/views/newsitems/show.html.erb | <div class="panel panel-default widget widget-transparent feed">
<div class="panel-heading">
<h2><%= link_to @newsitem.title, @newsitem.permalink, target: '_blank' %>
<a href="javascript:void(0)" data-on-click="toggleRead" data-id="<%= @newsitem.id %>" data-feed-id="<%= @newsitem.feed.id %>"><span class="glyphico... | <div class="panel panel-default widget widget-transparent feed">
<div class="panel-heading">
<h2><%= link_to @newsitem.title, @newsitem.permalink, target: '_blank' %>
<a href="javascript:void(0)" data-on-click="toggleRead" data-id="<%= @newsitem.id %>" data-feed-id="<%= @feed.id %>"><span class="glyphicon glyphic... | Call id from feed, not to generate more queries. | Call id from feed, not to generate more queries.
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
efd063479e8258dda5c010a337aaeae04f98d5c0 | app/views/osc_jobs/_form.html.erb | app/views/osc_jobs/_form.html.erb | <%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
<%= f.alert_message "Please fix the errors below." %>
<%= f.text_field :name, required: true %>
<%= f.select :batch_host, Servers.map { |key, val| [ "#{key.titleize} (#{... | <%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
<%= f.alert_message "Please fix the errors below." %>
<%= f.text_field :name, required: true %>
<%= f.select :batch_host, Servers.map { |key, val| [ "#{key.titleize} (#{... | Add button to create new template on new job page | Add button to create new template on new job page
| HTML+ERB | mit | OSC/ood-myjobs,OSC/ood-myjobs,OSC/ood-myjobs,OSC/ood-myjobs |
3ceb5b4bebfc97ed39ccbd17671527d2b2a3a9d2 | app/views/dashboards/show.html.erb | app/views/dashboards/show.html.erb | <div class="row">
<div class="span8">
<h1>Urban Crossfitters</h1>
<h2>Dashboard</h2>
<% if flash[:notice] %>
<p class="notice"><%= flash[:notice] %></p>
<% end %>
Welcome <%= current_user.name %>!</br>
<% if current_user.profile %>
<%= link_to "View Profile", profile_path('me') %><... | <div class="row">
<div class="span8">
<h1>Urban Crossfitters</h1>
<h2>Dashboard</h2>
<% if flash[:notice] %>
<p class="notice"><%= flash[:notice] %></p>
<% end %>
Welcome <%= current_user.name %>!</br>
<% if current_user.profile %>
<%= link_to "View Profile", profile_path('me') %><... | Update Show to allow editing on the fronted. | Update Show to allow editing on the fronted.
| HTML+ERB | mit | jenrzzz/HERP-urban-crossfitters,jenrzzz/HERP-urban-crossfitters |
bdcafb8a07f2e90bb2ede1d1bc02db5f1b870c56 | app/views/watchers/index.html.erb | app/views/watchers/index.html.erb | <section class="watchers-list-container">
<h2>Currently watching</h2>
<ul class="watchers-list">
<% @watchers.each do |watcher| %>
<li class="watcher">
<h3><%= watcher.name %></h3>
<p><%= watcher.keywords %></p>
<div class="actions">
<%= link_to 'Edit', edit_watcher_path(... | <section class="watchers-list-container">
<h2>Currently watching</h2>
<ul class="watchers-list">
<% @watchers.each do |watcher| %>
<li class="watcher">
<h3><%= link_to watcher.name, watcher %></h3>
<p><%= watcher.keywords %></p>
<div class="actions">
<%= link_to 'Edit', edi... | Add link to watcher list view | Add link to watcher list view
| HTML+ERB | mit | steveclancy/legit,steveclancy/legit |
3a558de8d7f99ab43fa128cf913551e2bafa4636 | app/views/websites/_form.html.erb | app/views/websites/_form.html.erb | <div>
<%= form.label :subdomain %>:<br />
<%= form.text_field :subdomain, :class => "text" %>
</div>
<div>
<%= form.label :domain %>:<br />
<%= form.text_field :domain, :class => "text" %>
</div>
<div>
<%= form.label :google_analytics_code, 'Google Analytics code' %>:<br />
<%= form.text_field :google_analytics... | <div>
<%= form.label :subdomain %>:<br />
<%= form.text_field :subdomain, :class => "text" %>
</div>
<div>
<%= form.label :domain %>:<br />
<%= form.text_field :domain, :class => "text" %>
</div>
<div>
<%= form.label :google_analytics_code, 'Google Analytics code' %>:<br />
<%= form.text_field :google_analytics... | Make 'Use default CSS?:' text into a label (easier for some CSS) and fix label id reference to 'No' | Make 'Use default CSS?:' text into a label (easier for some CSS) and fix label id reference to 'No'
| HTML+ERB | mit | ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey |
7edcc9def70051d72d6503c26a771044004c2c18 | app/flows/marriage_abroad_flow/outcomes/countries/morocco/third_country/partner_british/_opposite_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/morocco/third_country/partner_british/_opposite_sex.erb |
Contact the relevant local authorities in Morocco to find out about local marriage laws, including what documents you’ll need.
You also need to contact the Marriage Officer (Laadoul) in the city where you are going to get married.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the ... | It's not possible for you to get married in Morocco. British nationals can only marry Moroccan nationals in Morocco.
| Update Morocco - other, British partner 1 | Update Morocco - other, British partner 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
f6a715a20c74d59186d78bfeb7a14968b3c7d2c8 | app/views/context/admin/pages/_form.html.erb | app/views/context/admin/pages/_form.html.erb | <%= f.error_messages %>
<p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :path %>
<%= f.text_field :path %>
</p>
<p>
<%= f.label :format %>
<%= f.select :format, [["HTML", "text/html"], ["Text", "text/plain"]] %>
</p>
<p>
<%= f.label :parent_id %>
<%= f.select :parent_id, @page... | <%= f.error_messages %>
<p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :path %>
<%= f.text_field :path %>
</p>
<p>
<%= f.label :format %>
<%= f.select :format, [["HTML", "text/html"], ["Text", "text/plain"]] %>
</p>
<p>
<%= f.label :parent_id %>
<%= f.select :parent_id, @page... | Include a blank option in the page parent select box | Include a blank option in the page parent select box
| HTML+ERB | mit | reinteractive/context,reinteractive/context |
dad97a6e4d1c57af279fe250d0360a541d2336f9 | app/views/dashboard/_dashboard_done.html.erb | app/views/dashboard/_dashboard_done.html.erb | <div class="dashboard-done-question">
<%= render :partial => 'issue_card', :locals => { :issue => @issue } %>
<div class="dashboard-done-question-content">
<h3>Select Status</h3>
<%= select_tag :status,
options_for_select([['Select...', '']] + @done_statuses, ''),
:onchange => 'if(value == null) re... | <div class="dashboard-done-question">
<%= render :partial => 'issue_card', :locals => { :issue => @issue } %>
<div class="dashboard-done-question-content">
<h3>Select Status</h3>
<%= select_tag :status,
options_for_select([['Select...', '']] + @done_statuses, ''),
:onchange => 'if(value == null) re... | Add Canel button to done question | Add Canel button to done question
| HTML+ERB | agpl-3.0 | intfrr/redmine_dashboard,jmfarina/redmine_dashboard,jgraichen/redmine_dashboard,jmfarina/redmine_dashboard,intfrr/redmine_dashboard,intfrr/redmine_dashboard,jgraichen/redmine_dashboard,jgraichen/redmine_dashboard,jmfarina/redmine_dashboard,XML-Travelgate/redmine_dashboard,XML-Travelgate/redmine_dashboard,intfrr/redmine... |
4ad5fc9439d7d0dc1d5023d27730862d26a1b51b | app/views/godmin/shared/_navigation.html.erb | app/views/godmin/shared/_navigation.html.erb | <ul class="nav navbar-nav">
<% Godmin.resources.each do |resource| %>
<% if controller.controller_name == resource.to_s %>
<li class="active">
<% else %>
<li>
<% end %>
<%= link_to resource.to_s.classify.constantize.model_name.human(count: 2), resource %>
</li>
<% end %>
</ul>
<ul ... | <ul class="nav navbar-nav">
<% Godmin.resources.each do |resource| %>
<% if controller.controller_name == resource.to_s %>
<li class="active">
<% else %>
<li>
<% end %>
<%= link_to resource.to_s.classify.constantize.model_name.human(count: 2), resource %>
</li>
<% end %>
</ul>
<ul ... | Check if admin user method defined in nav template | Check if admin user method defined in nav template
| HTML+ERB | mit | inserve/godmin-material,inserve/godmin-material,varvet/godmin,inserve/godmin-material,varvet/godmin,varvet/godmin |
ffea10980426ed1373e5e001a6963f9c1e0e8ac5 | app/views/static_pages/contributing.html.erb | app/views/static_pages/contributing.html.erb | <%= title('Contributing') %>
<div class="container">
<div class="page-intro">
<h1 class="page-intro__title page-heading-title">How to Contribute</h1>
<p class="page-intro__text">
The Odin Project is an Open Source project, built and maintained by volunteers who dedicate their time and skills to making ... | <%= title('Contributing') %>
<div class="container">
<div class="page-intro">
<h1 class="page-intro__title page-heading-title mx-auto">How to Contribute</h1>
<p class="page-intro__text">
The Odin Project is an Open Source project, built and maintained by volunteers who dedicate their time and skills to... | Add mx-auto class to contributing page's heading | Add mx-auto class to contributing page's heading
| HTML+ERB | mit | TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject |
5c9340eaeeb84837f1e19fbdd50a266c626efc27 | app/views/static_pages/home.html.erb | app/views/static_pages/home.html.erb |
<div class="center jumbotron">
<h2 class>CII Best Practices Badge Program</h2>
<p>
The Core Infrastructure Initiative (CII)
Best Practices badge is a way for Free/Libre and
Open Source Software (FLOSS) projects to
show that they follow best practices. Projects can voluntarily self-certify,
at... |
<div class="center jumbotron">
<h2 class>CII Best Practices Badge Program</h2>
<p>
The Core Infrastructure Initiative (CII)
Best Practices badge is a way for Free/Libre and
Open Source Software (FLOSS) projects to
show that they follow best practices. Projects can voluntarily self-certify,
at... | Add more links to home page (including to sample project 1) | Add more links to home page (including to sample project 1)
Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
| HTML+ERB | mit | wanganyv/cii-best-practices-badge,wanganyv/cii-best-practices-badge,dwvisser/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,wanganyv/cii-best-practices-badge,coreinfrastructure/best-practices-badge,linuxfoundation/cii-best-pra... |
d777917b2f0c1a98a61fb79b7d76bfa692da4ef4 | templates/packages.erb | templates/packages.erb | asciidoc
bash
bzip2
cmake3
cowsay
emacs-common
fail2ban
figlet
fortune-mod
git
gcc
httpd
httpd-itk
ipset
iptables
kernel
mariadb
mariadb-server
memcached
mg
nano
net-tools
nginx
ntp
ntpdate
openssh
openssh-server
openssl
php
php-mysql
postgresql
postgresql-server
python-devel
python2-pip
ruby
rubygems
screen
socat
syss... | asciidoc
bash
bzip2
cmake3
cowsay
emacs-common
fail2ban
figlet
fortune-mod
git
gcc
httpd
httpd-itk
ipset
iptables
jq
kernel
mariadb
mariadb-server
memcached
mg
nano
net-tools
nginx
ntp
ntpdate
oniguruma
openssh
openssh-server
openssl
php
php-mysql
postgresql
postgresql-server
python-devel
python2-pip
ruby
rubygems
scre... | Add jq and a regex library dependency | Add jq and a regex library dependency
Package size is about 280K
COURSES-3393 #time 10m | HTML+ERB | apache-2.0 | puppetlabs/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,puppetlabs/pltraining-bootstrap |
3e3f78faebfde707e555b5847bf178cbd005bd65 | app/views/action_plans/show.html.erb | app/views/action_plans/show.html.erb | <% set_meta_tags(description: action_plan.description,
canonical: action_plan.canonical_url,
alternate: action_plan.alternate_options) %>
<div class="l-article editorial">
<h1><%= title action_plan.title %></h1>
<div id="action-plan-content">
<%= action_plan.content %>
... | <% set_meta_tags(description: action_plan.description,
canonical: action_plan.canonical_url,
alternate: action_plan.alternate_options) %>
<div class="l-action-plan editorial">
<h1><%= title action_plan.title %></h1>
<div id="action-plan-content">
<%= action_plan.content %... | Add new layout element to show view | Add new layout element to show view
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
6bf48cf28e5d49473f2cbf6645483109bba4bd15 | lib/app/views/submissions/feedback_guide.erb | lib/app/views/submissions/feedback_guide.erb | <div class="alert alert-info hidden" id="feedback_guide_alert" data-dismiss="alert">
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4><i class="fa fa-comments-o fa-lg"></i> Feedback Guide</h4>
<% if current... | <div class="alert alert-info hidden" id="feedback_guide_alert">
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4><i class="fa fa-comments-o fa-lg"></i> Feedback Guide</h4>
<% if current_user.owns?(submissio... | Fix read more link in Feedback Guide alert | Fix read more link in Feedback Guide alert
Because the entire alert had a data-dismiss tag it didn't receive the
link click for the Read more link.
| HTML+ERB | agpl-3.0 | RaptorRCX/exercism.io,tejasbubane/exercism.io,nathanbwright/exercism.io,emilyforst/exercism.io,exercistas/exercism.io,jtigger/exercism.io,colinrubbert/exercism.io,bmulvihill/exercism.io,IanDCarroll/exercism.io,k4rtik/exercism.io,treiff/exercism.io,kangkyu/exercism.io,treiff/exercism.io,Tonkpils/exercism.io,jtigger/exer... |
741ee4cd69af405bd095a1241ac99ce86a4e0a55 | lib/octopolo/templates/pull_request_body.erb | lib/octopolo/templates/pull_request_body.erb | <%= description %>
Deploy Plan
-----------
Does Infrastructure need to know anything special about this deploy? If so, keep this section and fill it in. **Otherwise, delete it.**
Rollback Plan
-------------
**If this pull request requires anything more complex (e.g., rolling back a migration), you MUST update this se... | <%= description %>
Deploy Plan
-----------
Does Infrastructure need to know anything special about this deploy? If so, keep this section and fill it in. **Otherwise, delete it.**
Rollback Plan
-------------
**If this pull request requires anything more complex (e.g., rolling back a migration), you MUST update this se... | Fix template to just use the jira url as a base url, the user can decide the protocol | Fix template to just use the jira url as a base url, the user can decide the protocol
| HTML+ERB | mit | sportngin/octopolo,sportngin/octopolo,sportngin/octopolo |
c2db2497da84b785867db300a91db88140debd5e | lib/views/request/_view_html_prefix.html.erb | lib/views/request/_view_html_prefix.html.erb | <div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/asktheeu-theme/images/logo.png" width="180" height="82" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original attachment"), @attachment_url %>
<br>(<... | <div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/asktheeu-theme/images/logo.png" width="109" height="50" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original attachment"), @attachment_url %>
<br>(<... | Tweak logo size in HTML view page | Tweak logo size in HTML view page
| HTML+ERB | mit | crowbot/asktheeu-theme,mysociety/asktheeu-theme,access-info/asktheeu-theme,mysociety/asktheeu-theme |
e9def636c6461e836532378a20dec1189e90b6d9 | modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb | modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb | ---
- job:
name: Trade_Tariff_Reindex_ElsaticSearch
display-name: Trade_Tariff_Reindex_ElsaticSearch
project-type: freestyle
description: '<p>Drops and rebuilds the search index</p>'
builders:
- shell: |
"ssh deploy@backend-1.backend 'cd /var/apps/tariff-api && govuk_setenv tariff... | ---
- job:
name: Trade_Tariff_Reindex_ElasticSearch
display-name: Trade_Tariff_Reindex_ElasticSearch
project-type: freestyle
description: '<p>Drops and rebuilds the search index</p>'
builders:
- shell: |
ssh deploy@backend-1.backend 'cd /var/apps/tariff-api && govuk_setenv tariff-... | Fix JJB template for trade_tariff shell command. | Fix JJB template for trade_tariff shell command.
This does not need double quotes.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
399894f6df296eed4d5e85a17349d5314ac3eb5b | app/views/organizations/_pull_request.html.erb | app/views/organizations/_pull_request.html.erb | <%= link_to pr[:html_url], class: "list-group-item" do %>
<div class="row">
<div class="col-xs-10">
<%= "##{pr[:number]} - #{pr[:title]}" %>
</div>
<div class="col-xs-2">
<%= image_tag pr[:user][:avatar_url], class: "pr-avatar pull-right" %>
</div>
</div>
<% end %>
| <%= link_to pr[:html_url], class: "list-group-item", target: '_blank' do %>
<div class="row">
<div class="col-xs-10">
<%= "##{pr[:number]} - #{pr[:title]}" %>
</div>
<div class="col-xs-2">
<%= image_tag pr[:user][:avatar_url], class: "pr-avatar pull-right" %>
</div>
</div>
<% end %>
| Add target blank to PR links | Add target blank to PR links
| HTML+ERB | mit | IgorMarques/BigBrother,IgorMarques/BigBrother,IgorMarques/BigBrother |
7c8015a20d936996a9914ea3b4d0569c9bedfa43 | app/views/graphs/stacked.html.erb | app/views/graphs/stacked.html.erb | <%= javascript_include_tag "rickshaw" %>
<%= javascript_include_tag "underscore.min" %>
<%= stylesheet_link_tag "graphs_stacked" %>
<script src="/assets/graphs/stacked.js"></script>
<div class="col-md-10" style="padding-bottom: 10px; padding-top: 40px">
<div id="chart_container">
<div class="axis0" id="ax... | <%= javascript_include_tag "rickshaw" %>
<%= javascript_include_tag "underscore.min" %>
<%= stylesheet_link_tag "graphs_stacked" %>
<script src="/assets/graphs/stacked.js"></script>
<script src="/assets/graphs/util.js"></script>
<div class="col-md-10" style="padding-bottom: 10px; padding-top: 40px">
<div i... | Add waiting spinner for stacked graphs | Add waiting spinner for stacked graphs
| HTML+ERB | bsd-3-clause | glasnt/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli |
5ea43920d2e985ad15564d5080c7495e0123fd2e | app/views/groups/_map_scripts.erb | app/views/groups/_map_scripts.erb | <script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.4&appid=<%= Setting.get(:services, :yahoo) %>"></script>
<script type="text/javascript">
var address = <%= @group.location.inspect %>;
map_loaded = false;
function load_map() {
if(map_loaded) return;
map_loaded = true;
var ... | <script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.4&appid=<%= Setting.get(:services, :yahoo) %>"></script>
<script type="text/javascript">
var address = <%= @group.location.inspect %>;
map_loaded = false;
function load_map() {
if(map_loaded) return;
map_loaded = true;
var ... | Use jQuery to show map on group page. | Use jQuery to show map on group page.
| HTML+ERB | agpl-3.0 | cessien/onebody,moss-zc/sns_shop,hschin/onebody,hooray4me/onebody2,ebennaga/onebody,fadiwissa/onebody,nerdnorth/remote-workers-app,powerchurch/onebody,hooray4me/onebody2,kevinjqiu/onebody,mattraykowski/onebody,cessien/onebody,0612800232/sns_shop,tochman/onebody,tmecklem/onebody,ebennaga/onebody,powerchurch/onebody,AVee... |
3bcb8f0843b7798bb02f7cf5652ec200293f0264 | cookbooks/planet/templates/default/users-deleted.erb | cookbooks/planet/templates/default/users-deleted.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp users.XXXXXXXXXX)
# use the same as for the users-agreed template
export PGPASSFILE=/etc/replication/users-agreed.conf
echo "# user IDs of deleted users. " > $T/users_deleted
psql -h <%= node[:web][:readonly_database_host] ... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp users.XXXXXXXXXX)
# use the same as for the users-agreed template
export PGPASSFILE=/etc/replication/users-agreed.conf
echo "# user IDs of deleted users. " > $T/users_deleted
psql -h <%= node[:web][:readonly_database_host] ... | Move output down a level | Move output down a level
| HTML+ERB | apache-2.0 | Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,... |
3bf9471833ee5f7713a9cd2378afda6413a18443 | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | ---
- scm:
name: smokey_Smokey_Deploy
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- main
- job:
name: Smokey_Deploy
display-name: Smokey_Deploy
project-type: freestyle
properties:
- build-discarder:
days-to-keep... | ---
- scm:
name: smokey_Smokey_Deploy
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- main
- job:
name: Smokey_Deploy
display-name: Smokey_Deploy
project-type: freestyle
properties:
- build-discarder:
days-to-keep... | Add downstream deploy steps to Smokey_Deploy job | Add downstream deploy steps to Smokey_Deploy job
This is inspired by the Deploy_App_Downstream job and uses the same
credentials when deploying smokey downstream.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
e1873422ed15d366ba4ddb2b903f105d9c296849 | templates/default/hosts.erb | templates/default/hosts.erb | 127.0.0.1 localhost <%= node['hosts']['localhost_aliases'].join(" ") unless node['hosts']['localhost_aliases'].empty? %>
<%= node['ipaddress'] %> <%= node['fqdn'] %> <%= node['hostname'] %>
<% node['hosts']['entries'].each do |ip, name| -%>
<%= ip %> <%= name %>
<% end -%>
# The following lines are desirable for IPv6... | 127.0.0.1 localhost
<%= node['ipaddress'] %> <%= node['fqdn'] %> <%= node['hostname'] %> <%= node['hosts']['localhost_aliases'].join(' ') unless node['hosts']['localhost_aliases'].empty? %>
<% node['hosts']['entries'].each do |ip, name| -%>
<%= ip %> <%= name %>
<% end -%>
# The following lines are desirable for IPv6... | Make the aliases use the external ip address | Make the aliases use the external ip address
| HTML+ERB | apache-2.0 | realityforge/chef-hosts,realityforge/chef-hosts |
4ade946f4d21e32ed8fc25394758c3bc22148cc1 | app/views/udl_modules/edit.html.erb | app/views/udl_modules/edit.html.erb | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1><%= @udl_module.title %></h1>
<%= render 'edit_module_form' %>
<%= link_to 'Show', @udl_module %> |
<%= link_to 'Back', udl_modules_path %>
</div>
</div>
</div>
| <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1><%= @udl_module.title %></h1>
<%= render 'edit_module_form' %>
<%= link_to(
fa_icon( 'arrow-left', text: 'Back to module' ),
@udl_module
) %>
</div>
</div>
<... | Add navigation button to module edit view. | Add navigation button to module edit view.
Adds a "back to module" navigation button to the
app/views/udl_modules/edit.html.erb file.
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
96f89adced6196a82639b4945596230f6efb830a | modules/gnex/templates/bashrc.erb | modules/gnex/templates/bashrc.erb | #!/bin/bash
#Create a colourful prompt
color_prompt=yes
#Put the path in the title, put the bash history number in yellow and the current path in green
PS1='\[\033]0;\w\a\]\[\033[32m\]\u@\h \[\033[33m\]\w\[\033[0m\]\$ '
#Make directories pink so they are easier to see
LS_COLORS='di=0;35';
export LS_COLORS
#Add colo... | #!/bin/bash
#Create a colourful prompt
color_prompt=yes
#Put the path in the title, put the bash history number in yellow and the current path in green
PS1='\[\033]0;\w\a\]\[\033[32m\]\u@\h \[\033[33m\]\w\[\033[0m\]\$ '
#Make directories pink so they are easier to see
LS_COLORS='di=0;35';
export LS_COLORS
#Add colo... | Add the --time option to all repo commands via an alias | Add the --time option to all repo commands via an alias
| HTML+ERB | mit | opticyclic/cyanogenmod-vagrant |
4f8a84acfcc0e4967eec844dc916ff6dc7ee879d | puppet/modules/crm/templates/civicrm-install.php.erb | puppet/modules/crm/templates/civicrm-install.php.erb | <?php
$config = array(
'site_dir' => 'default',
'base_url' => "http://<%= @site_name %>/",
'mysql' => array(
'username' => "<%= scope['::crm::db_user'] %>",
'password' => "<%= scope['::crm::db_pass'] %>",
'server' => '127.0.0.1',
'database' => "<%= scope['::crm::civicrm_db']... | <?php
$config = array(
'site_dir' => 'default',
'base_url' => "http://<%= @site_name %><%= scope['::port_fragment'] %>/",
'mysql' => array(
'username' => "<%= scope['::crm::db_user'] %>",
'password' => "<%= scope['::crm::db_pass'] %>",
'server' => '127.0.0.1',
'database' => ... | Include port in CiviCRM base URL | Fundraising: Include port in CiviCRM base URL
Change-Id: I0453102e0e7c232fcffac093edf57ef8e0edba55
| HTML+ERB | mit | HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-v... |
3324dbd881cbd7d9a6f62f8cec051a103684dc55 | test/dummy/app/views/layouts/application.html.erb | test/dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= javascript_include_tag "/angular.min.js" %>
<%= javascript_include_tag "application" %>
<script>
function DemoController($scope,$templateCache){
$scope.info = $templateCache.info();
$scope.version = angular.version;
}
</script>
</head>
<body ng-app="templates" ... | Add AngularJS 1.2.16 and a trivial app to the Dummy App | Add AngularJS 1.2.16 and a trivial app to the Dummy App
- angular is not in the manifest, but in dummy/public
- trivial angular app shows how many templates are in the cache, angular version number
- `rackup` in test/dummy to see the demo app
| HTML+ERB | mit | alexandr2110pro/angular-rails-templates,xronos-i-am/angular-rails-templates,stitchfix/angular-rails-templates,pitr/angular-rails-templates,Eventshare/angular-rails-templates,mozillo/angular-rails-templates,stitchfix/angular-rails-templates,telekomatrix/angular-rails-templates,xuwupeng2000/angular-rails-templates,redter... |
aa0bfe7ac32e3749d9c69f08daaee2bdf91f214c | app/flows/check_benefits_support_flow/questions/over_state_pension_age.erb | app/flows/check_benefits_support_flow/questions/over_state_pension_age.erb | <% text_for :title do %>
Are you State Pension age or over?
<% end %>
<% text_for :hint do %>
You can <a href="https://www.gov.uk/state-pension-age" class="govuk-link" rel="noreferrer noopener" target="_blank">check your state pension age</a> if you're not sure (opens in a new tab).
<% end %>
<% options(
"yes... | <% text_for :title do %>
Are you State Pension age or over?
<% end %>
<% text_for :hint do %>
You can <a href="https://www.gov.uk/state-pension-age" class="govuk-link" rel="noreferrer noopener" target="_blank">check your state pension age (opens in new tab)</a> if you're not sure.
<% end %>
<% options(
"yes":... | Move (opens in new tab) to be part of the link | Move (opens in new tab) to be part of the link
Better for accessibility and inkeeping with design system recommendations: https://design-system.service.gov.uk/styles/typography/#links.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
f590d7e36075347d6e6318002b51026eb52bd5bb | templates/default/graylog2-server.init.erb | templates/default/graylog2-server.init.erb | #! /bin/sh
# Installed by Chef => graylog2::default.rb
### BEGIN INIT INFO
# Provides: graylog2-server
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the graylog2 server
# Description: starts the graylog2 java serv... | #! /bin/sh
# Installed by Chef => graylog2::default.rb
### BEGIN INIT INFO
# Provides: graylog2-server
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the graylog2 server
# Description: starts the graylog2 java serv... | Allow graylog2-server to be started under specified user | Allow graylog2-server to be started under specified user | HTML+ERB | apache-2.0 | soudmaijer/graylog2 |
2316a2549b49918cff837b3fdaf0b0cb3ac9a655 | app/views/pages/usergroups.html.erb | app/views/pages/usergroups.html.erb | <div class="details">
<h1>Visiting Usergroups</h1>
<p>We're collecting a list of all the user groups attending RailsConf: </p>
<table>
<th>Name</th>
<th>Twitter</th>
<th>URL</th>
<td>Austin on Rails</td>
<td><a href="http://twitter.com/austinonrails">@austinonrails</a></td>
<td><a href="ht... | <div class="details">
<h1>Visiting Usergroups</h1>
<p>We're collecting a list of all the user groups attending RailsConf: </p>
<table>
<th>Name</th>
<th>Twitter</th>
<th>URL</th>
<td>Austin on Rails</td>
<td><a href="http://twitter.com/austinonrails">@austinonrails</a></td>
<td><a href="ht... | Add ATLRUG to Usergroups page | Add ATLRUG to Usergroups page
| HTML+ERB | mit | jasnow/railsconf,jasnow/railsconf,atlrug/railsconf,atlrug/railsconf,jasnow/railsconf,atlrug/railsconf |
aa8877c21cc894e535bb98d221acd67360be8534 | app/views/requests/_request.html.erb | app/views/requests/_request.html.erb | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | <li class="request" data-id="<%= request.id %>">
<p class="content">
<%= request.requester.first_name %> said: <%= request.content %>
At <%= request.created_at %>
</p>
<% if request.requester == current_user %>
<%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
<% elsif ... | Refactor layout in the request partial, using the assumption that 1) the request is active and 2) if the request has two parties, only those belong to that party can see the request. | Refactor layout in the request partial, using the assumption that 1) the
request is active and 2) if the request has two parties, only those
belong to that party can see the request.
| HTML+ERB | mit | kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
95e74206d569ca889c5f847dd2dcf9f7af03c4d6 | app/views/shared/_country_picker.erb | app/views/shared/_country_picker.erb | <%= form_for controller, method: :post, url: url do |f| %>
<fieldset class="country-picker js-country-picker box font-xsmall">
<div class="country-picker-container">
<%= f.label :country, 'Trade between the UK and' %>
<%= f.hidden_field :anchor, value: anchor %>
<%= f.select :country, f.object.c... | <%= form_for controller, method: :post, url: url, namespace: anchor do |f| %>
<fieldset class="country-picker js-country-picker box font-xsmall">
<div class="country-picker-container">
<%= f.hidden_field :anchor, value: anchor %>
<%= f.label :country, 'Trade between the UK and' %>
<%= f.select :... | Add namespace to avoid id collisions | Add namespace to avoid id collisions
| HTML+ERB | mit | alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend |
19d1dcfdd79f08fe4dfd7f7690f8c8bc11587434 | app/views/static_pages/home.html.erb | app/views/static_pages/home.html.erb | <h1>Home page</h1>
<p>This is a default home page.</p>
| <h1>Home page</h1>
<%= link_to "Sign in", new_user_session_path %>
<p>This is a default home page.</p>
| Add a link to sign up in home page | Add a link to sign up in home page
| HTML+ERB | mit | eqot/rails-base,dartsduino/dartsduino,dartsduino/dartsduino,eqot/rails-base,eqot/dartsduino.v2,eqot/dartsduino.v2 |
bad039017dd3f672eafc0e2bdb1b13582d99ccca | app/views/students/_student.html.erb | app/views/students/_student.html.erb | <tr>
<td class="for-hire">
<% if student.for_hire? %>
<i class="icon-ok icon-large"></i>
<% end %>
</td>
<td class="name"><%= student.name %></td>
<td class="skills"><%= student.skills %></td>
<% unless current_user.admin? %>
<td><% if current_user.has_contacted? student %>
<button ... | <tr>
<td class="for-hire">
<% if student.for_hire? %>
<i class="icon-ok icon-large"></i>
<% end %>
</td>
<td class="name"><%= link_to student.name, student_path(student) %></td>
<td class="skills"><%= student.skills %></td>
<% unless current_user.admin? %>
<td><% if current_user.has_contact... | Make student name a link in students index view | Make student name a link in students index view
| HTML+ERB | mit | natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard |
6664fbbf7d5f69aee926368e7613cd256f64eff8 | core/lib/generators/refinery/engine/templates/db/seeds.rb.erb | core/lib/generators/refinery/engine/templates/db/seeds.rb.erb | Refinery::I18n.frontend_locales.each do |lang|
I18n.locale = lang
Refinery::User.find_each do |user|
user.plugins.where(name: 'refinerycms-<%= namespacing.underscore %>').first_or_create!(
position: (user.plugins.maximum(:position) || -1) +1
)
end if defined?(Refinery::User)
<% unless skip_fronten... | Refinery::I18n.frontend_locales.each do |lang|
I18n.locale = lang
Refinery::User.find_each do |user|
user.plugins.where(name: 'refinerycms-<%= namespacing.underscore %>').first_or_create!(
position: (user.plugins.maximum(:position) || -1) +1
)
end if defined?(Refinery::User)
<% unless skip_fronten... | Add slug in generated seeds | Add slug in generated seeds
| HTML+ERB | mit | stefanspicer/refinerycms,stefanspicer/refinerycms,stefanspicer/refinerycms,Eric-Guo/refinerycms,anitagraham/refinerycms,refinery/refinerycms,refinery/refinerycms,anitagraham/refinerycms,anitagraham/refinerycms,refinery/refinerycms,Eric-Guo/refinerycms,Eric-Guo/refinerycms |
8197141028521a31a1efc1026777802f647f525e | source/blag/posts/2016-09-20_condition-variables.html.md.erb | source/blag/posts/2016-09-20_condition-variables.html.md.erb | ---
title: Condition Variables
category:
topic: Concurrency
date: 2016-09-20 06:15:06 UTC
---
## Condition Variables
| ---
title: Condition Variables
category:
topic: Concurrency
date: 2016-09-20 06:15:06 UTC
published: false
---
## Condition Variables
| Unpublish empty post on condition variables | Unpublish empty post on condition variables
| HTML+ERB | mit | ambirdsall/ambirdsall.github.io |
4b24ceb9ba18d4ef2a8b2cb1cbf0e9cc311914ff | puppet/modules/role/templates/flow/conf.php.erb | puppet/modules/role/templates/flow/conf.php.erb | // see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowForceTemplateRecompile = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency
$wgFlowOccupyPages = array (
'Talk:Flow QA', // used by Flow extension's browser tests
'Talk:Sandbox',
);
$wgFlowOccupyNamespaces = array( NS_... | // see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowServerCompileTemplates = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency
$wgFlowOccupyPages = array (
'Talk:Flow QA', // used by Flow extension's browser tests
'Talk:Sandbox',
);
$wgFlowOccupyNamespaces = array( NS_... | Fix Flow config variable for template compilation | Fix Flow config variable for template compilation
Change-Id: If950a2d5bac6234d021a50b7242dc182d7d7d610
| HTML+ERB | mit | wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,s... |
17d62ba9158bf909d4c23919447aa5df40de7f9f | cookbooks/openssh/templates/default/ssh_config.erb | cookbooks/openssh/templates/default/ssh_config.erb | # DO NOT EDIT - This file is being maintained by Chef
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
Host *.oob
HostKeyAlgorithms ssh-rsa,ssh-dss
Host *.oob.openstreetmap.org
HostKeyAlgorithms ssh-rsa,ssh-dss
|
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specifi... | Revert to default ssh client configuration | Revert to default ssh client configuration
The HP ILO cards that needed custom configuration are long gone.
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef... |
01ec8eb14b92c189f5bad89fde8ee0fb771c2b3b | app/views/games/index.html.erb | app/views/games/index.html.erb | <div class="page-header">
<h1>Available Games</h1>
</div>
<div align="center">
<%= form_tag(games_mooch_path, :method => "get") do %>
<%= select_tag "selectImage", options_for_select(@games.map { |game| [{ data: { 'img-src': game.url } }, if game.user.username? then "#{game.title} <hr> #{game.user.username}" else "... | <%= form_tag(games_path, :method => "get", id: "search-form") do %>
<div class="row">
<div class="col-lg-12">
<div class="input-group">
<%= text_field_tag :query, params[:search], placeholder: "Search Games", class: "form-control" %>
<span class="input-group-btn">... | Add search form at games index page | Add search form at games index page
| HTML+ERB | mit | ppanagiotis/gamemooch,ppanagiotis/gamemooch,ppanagiotis/gamemooch,ppanagiotis/gamemooch |
68e44de4f0e34b45546b9f38ec9480fb3bd54e71 | app/views/frontend/flexible_content/_picture.html.erb | app/views/frontend/flexible_content/_picture.html.erb | <% if object.present? && object.asset.present? %>
<% max_img_size = object.max_image_size %>
<% if object.url.present? %>
<%= link_to object.url do %>
<% if object.disallow_resize? %>
<%= image_tag object.asset.image.url, alt: '', class: 'img-fluid' %>
<% else %>
<%= image_tag objec... | <% if object.present? && object.asset.present? %>
<% max_img_size = object.max_image_size %>
<% if object.url.present? %>
<%= link_to object.url, target: object.target do %>
<% if object.disallow_resize? %>
<%= image_tag object.asset.image.url, alt: '', class: 'img-fluid' %>
<% else %>
... | Use the content picture target when there's a link set. | Use the content picture target when there's a link set.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
7ef19e8459f5ebf0767dd090a6b4afb122af7ac4 | lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb | lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.keycloak.qualified_gwt_token_service_impl_name) %>;
@javax.annotation.Generated( "Domgen" )
public class <%= repository.keycloak.gwt_token_service_impl_name %>
implements <%= repository.keycloak.qualified_gwt_token_service_name %>
{
@javax... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.keycloak.qualified_gwt_token_service_impl_name) %>;
@javax.annotation.Generated( "Domgen" )
public class <%= repository.keycloak.gwt_token_service_impl_name %>
implements <%= repository.keycloak.qualified_gwt_token_service_name %>
{
@javax... | Remove unnecessary public qualifier from constructor | Remove unnecessary public qualifier from constructor
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
f423143b478a80682aa204223cfd3b3d03ef84a2 | lib/generators/graphiti/templates/application_resource.rb.erb | lib/generators/graphiti/templates/application_resource.rb.erb | <%- unless omit_comments? -%>
# ApplicationResource is similar to ApplicationRecord - a base class that
# holds configuration/methods for subclasses.
# All Resources should inherit from ApplicationResource.
<%- end -%>
class ApplicationResource < Graphiti::Resource
<%- unless omit_comments? -%>
# Use the ActiveReco... | <%- unless omit_comments? -%>
# ApplicationResource is similar to ApplicationRecord - a base class that
# holds configuration/methods for subclasses.
# All Resources should inherit from ApplicationResource.
<%- end -%>
class ApplicationResource < Graphiti::Resource
<%- unless omit_comments? -%>
# Use the ActiveReco... | Make sure that the option :from is a Class before comparing | Make sure that the option :from is a Class before comparing
| HTML+ERB | mit | jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite |
36e3a9da2628ccede80b48ade77aadaf0a727490 | app/views/requests/_single_request.html.erb | app/views/requests/_single_request.html.erb | <%= render 'requests/user_actions/menu' %>
<div class="row">
<div class="col-md-12">
<h2><%= @rid.request_type %> <small><%= @rid.url %></small></h2>
<h4>Request Headers</h4>
<ul>
<% @request_data['headers'].each do |header_name, header_value| %>
<li>
<strong><%= header_name %>: ... | <%= render 'requests/user_actions/menu' %>
<div class="row">
<div class="col-md-12">
<h2><%= @rid.request_type %> <small><%= @rid.url %></small></h2>
<h4>Request Headers</h4>
<ul>
<% @request_data['headers'].each do |header_name, header_value| %>
<li>
<strong><%= header_name %>: ... | Add some parentheses around custom method calls | Add some parentheses around custom method calls
| HTML+ERB | mit | rehttp/rehttp,rehttp/rehttp,rehttp/rehttp |
c9612c581dc799768187adc93857b1da28b845c6 | backend/app/assets/javascripts/admin/taxon_autocomplete.js.erb | backend/app/assets/javascripts/admin/taxon_autocomplete.js.erb | $(document).ready(function() {
if ($("#product_taxon_ids").length > 0) {
$("#product_taxon_ids").select2({
placeholder: Spree.translations.taxon_placeholder,
multiple: true,
initSelection: function(element, callback) {
return $.getJSON(Spree.routes.taxons_search + "?ids=" + (element.val(... | $(document).ready(function() {
if ($("#product_taxon_ids").length > 0) {
$("#product_taxon_ids").select2({
placeholder: Spree.translations.taxon_placeholder,
multiple: true,
initSelection: function(element, callback) {
return $.getJSON(Spree.routes.taxons_search + "?ids=" + (element.val(... | Correct parameter parsing for taxon_autocomplete | Correct parameter parsing for taxon_autocomplete
| HTML+ERB | bsd-3-clause | jspizziri/spree,APohio/spree,sideci-sample/sideci-sample-spree,CJMrozek/spree,vcavallo/spree,vmatekole/spree,radarseesradar/spree,berkes/spree,pulkit21/spree,StemboltHQ/spree,tailic/spree,Senjai/solidus,Ropeney/spree,grzlus/solidus,DarkoP/spree,Kagetsuki/spree,welitonfreitas/spree,KMikhaylovCTG/spree,madetech/spree,Rop... |
991fb9ddf54fd8253cb0fe26148cd534c6dc4f5d | app/assets/javascripts/controllers/mixer.js.erb | app/assets/javascripts/controllers/mixer.js.erb | // ***************** Basic Mixer Settings ***********************
function startMixer(){
var activeMix = new Wad.Poly({
})
return activeMix
}
function loadSound(mix, trackId, divId) {
//var tracktoAdd = eventually this will look up track from server based on id
var trackSource = _.find(sounds, function(sou... | Fix file additions that were lost in commit | Fix file additions that were lost in commit
| HTML+ERB | mit | chi-bobolinks-2015/TheGoldenRecord,chi-bobolinks-2015/TheGoldenRecord,chi-bobolinks-2015/TheGoldenRecord | |
719c5973ee2413be15397a3d1620b7220910650e | app/views/efforts/_efforts_list_person.html.erb | app/views/efforts/_efforts_list_person.html.erb | <%# Requires parameter efforts %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th><%= "#{@presenter.full_name}'s efforts:" %></th>
<th>From</th>
<th class="text-right">Finish Time</th>
<% if current_user&.admin? %>
<th class="text-right">Actions</th>
<% end %>
</t... | <%# Requires parameter efforts %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th><%= "#{@presenter.full_name}'s efforts:" %></th>
<th>From</th>
<th class="text-right">Finish Time</th>
<% if current_user&.admin? %>
<th class="text-right">Actions</th>
<% end %>
</t... | Remove status color in favor of indicator in efforts list person partial | Remove status color in favor of indicator in efforts list person partial
| HTML+ERB | mit | SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime |
655f9fb5e195d2010462092cedc58bf1e0ac11b8 | app/views/instruments/_question_fields.html.erb | app/views/instruments/_question_fields.html.erb | <div class="well">
<fieldset>
<div>
<%= f.label :question_type %><br />
<%= f.select(:question_type, options_for_select(Settings.question_types)) %>
</div>
<div class="top-buffer">
<%= f.label :question_identifier %><br />
<%= f.text_field :question_identifier %>
</div>
<... | <div class="well">
<fieldset>
<div>
<%= f.label :question_type %><br />
<%= f.select(:question_type, options_for_select(Settings.question_types, f.object.question_type)) %>
</div>
<div class="top-buffer">
<%= f.label :question_identifier %><br />
<%= f.text_field :question_identif... | Fix question type bug in instrument form | Fix question type bug in instrument form
| HTML+ERB | mit | DukeMobileTech/rails_survey,mnipper/rails_survey,mnipper/rails_survey,mnipper/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey |
fe46720c24c491003c636d822f73d0a02f99b7f3 | app/views/challenges/index.html.erb | app/views/challenges/index.html.erb | <header class="page-id">
<h1>
Challenges
</h1>
</header>
<% if @challenges.empty? %>
<h3> There aren't any publicly visible challenges at this time. </h3>
<% else %>
<table class="all-cities" cellpadding="4" id="sortable">
<thead>
<tr>
<th>Challenge</th>
<th>Status</th>
</t... | Create view for publicly visible challenges | Create view for publicly visible challenges
| HTML+ERB | bsd-3-clause | milafrerichs/brigade,milafrerichs/brigade,milafrerichs/brigade | |
5e08537a4b38a2d87ce4a52dee4446edcb97a1a2 | app/views/explore/_sidebar.html.erb | app/views/explore/_sidebar.html.erb | <h4>
<%= fa_icon 'archive' %>
<%= link_to 'Package Managers', platforms_path %>
</h4>
<div class='pictogram-list'>
<% @platforms.each do |platform| %>
<% next if platform.term.downcase == 'go' %>
<a class="pictogram tip pictogram-<%= platform.term.downcase %>" href='<%= platform.term %>' title='<%= platfo... | <h4>
<%= fa_icon 'archive' %>
<%= link_to 'Package Managers', platforms_path %>
</h4>
<div class='pictogram-list'>
<% @platforms.each do |platform| %>
<% next if platform.term.downcase == 'go' %>
<a class="pictogram tip pictogram-<%= platform.term.downcase %>" href='<%= platform.term %>' title='<%= platfo... | Fix copy-pasta in explore sidebar | Fix copy-pasta in explore sidebar
| HTML+ERB | agpl-3.0 | librariesio/libraries.io,abrophy/libraries.io,librariesio/libraries.io,abrophy/libraries.io,abrophy/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,tomnatt/libraries.io,tomnatt/libraries.io |
378440d62c197673aa9482b949d28129f20b1e89 | source/layouts/bloglayout.erb | source/layouts/bloglayout.erb | <!DOCTYPE html>
<html lang="en-gb">
<%= partial "head" %>
<body>
<%= partial "navbar" %>
<div class="container body-content">
<h1><%= current_page.data.title %></h1>
<p><%= current_page.data.date.strftime('%e %B %Y') %> by <a href="/about-me/" alt="<%= blog_author %>" title="<%= blog_... | <!DOCTYPE html>
<html lang="en-gb">
<%= partial "head" %>
<body>
<%= partial "navbar" %>
<div class="container body-content">
<div class="jumbotron">
<h1><%= current_page.data.title %></h1>
<p class="lead"><%= current_page.data.description %></p>
</div>
... | Use Jumbotron for blog post titles and use description as lead text. | Use Jumbotron for blog post titles and use description as lead text.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
d2452d43fbca4e6f18099a361427f5ff60d8f6c6 | app/views/admin/topical_events/_logo.html.erb | app/views/admin/topical_events/_logo.html.erb | <fieldset class="named logo form-horizontal">
<legend>Logo</legend>
<div class="control-group">
<%= classification_form.text_field :logo_alt_text %>
<%= classification_form.file_field :logo %>
<% if classification_form.object.logo_cache.present? %>
<span class="already_uploaded"><%= File... | <fieldset class="named logo form-horizontal">
<legend>Logo</legend>
<div class="control-group">
<%= image_tag classification_form.object.logo_url if classification_form.object.logo_url %>
<%= classification_form.text_field :logo_alt_text, label_text: 'Alt text' %>
<%= classification_form.label :image, '... | Add user feedback for logos to topical events form | Add user feedback for logos to topical events form
We use the same feedback as the people form. This may exhibit some
weirdness on live / preview because of the virus checker - but I suspect
it's something we just have to live with for now as it's a problem across
the board, not just localized to this form.
| HTML+ERB | mit | alphagov/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,... |
e28745c3ea260b75e6f253722141996553925741 | templates/default/hostgroups.cfg.erb | templates/default/hostgroups.cfg.erb | # Hostgroup definitions
#
# Autogenerated by Chef.
define hostgroup {
hostgroup_name all
alias all
members *
}
<% @roles.each do |r| -%>
define hostgroup {
hostgroup_name <%= r %>
alias <%= r %>
}
<% end -%>
| # Hostgroup definitions
#
# Autogenerated by Chef.
define hostgroup {
hostgroup_name all
alias all
members *
}
<% @roles.each do |r| -%>
define hostgroup {
hostgroup_name <%= r %>
alias <%= r %>
}
<% end -%>
<% @os.each do |o| -%>
define hostgroup {
hostgroup_name <%= o %>
alias <%= o %>
}
<% end -%>
| Add host groups for each platform in the chef environment to the host groups file | Add host groups for each platform in the chef environment to the host groups file
| HTML+ERB | apache-2.0 | JulianNL/nagios,polamjag/nagios,mconf-cookbooks/nagios,mconf-cookbooks/nagios,earzur/nagios,aaronkvanmeerten/nagios,Tealium/nagios,Tealium/nagios,polamjag/nagios,spudnic/nagios,spudnic/nagios,ovaistariq/nagios,cookbooks/oc-nagios,OpenGov/nagios,OpenGov/nagios,schubergphilis/nagios,mrlamroger/nagios,cookbooks/oc-nagios,... |
25d7192c7e3f96e07002831b74b14fc2579c07a7 | spec/dummy/app/themes/default/views/thredded/shared/_currently_online.html.erb | spec/dummy/app/themes/default/views/thredded/shared/_currently_online.html.erb | <aside class="currently-online">
<header>
<h3 class="currently-online--title open">Currently Online</h3>
</header>
<ul class="currently-online--users">
<% active_users.each do |user| %>
<li class="currently-online--user">
<img src="" alt="" class="currently-online--avatar" />
<%= us... | <aside class="currently-online">
<header>
<h3 class="currently-online--title open">Currently Online</h3>
</header>
<ul class="currently-online--users">
<% active_users.each_with_index do |user, index| %>
<li class="currently-online--user">
<img src="http://api.adorable.io/avatars/40/noreply... | Add placeholder avatars for online users | [JRO] Add placeholder avatars for online users
Empty image src tags look a little off so might as well put some fake
stuff in there to flesh it out a little more.
| HTML+ERB | mit | thredded/thredded,jvoss/thredded,prohippocoder/thredded,jvoss/thredded,prohippocoder/thredded,jayroh/thredded,jvoss/thredded,jvoss/thredded,jayroh/thredded,prohippocoder/thredded,jayroh/thredded,thredded/thredded,thredded/thredded,jayroh/thredded,thredded/thredded,prohippocoder/thredded |
ae702b28ba05c5b5a0fac7897a0ef8bb273b02f7 | modules/router/templates/default-vhost.conf.erb | modules/router/templates/default-vhost.conf.erb | server {
listen 80 default_server;
location /__varnish_check__ {
# This is the varnish upstream defined in the www.gov.uk vhost
proxy_pass http://varnish;
}
location /_healthcheck_www {
proxy_pass http://varnish/__varnish_check__;
}
location /_healthcheck_www-origin {
proxy_pass http://va... | server {
listen 80 default_server;
location /__varnish_check__ {
# This is the varnish upstream defined in the www.gov.uk vhost
proxy_pass http://varnish;
}
location /_healthcheck_www {
proxy_pass http://varnish/__varnish_check__;
}
location /_healthcheck-live_www {
proxy_pass http://varn... | Add healthcheck-live and healthcheck-ready to router default vhost | Add healthcheck-live and healthcheck-ready to router default vhost
I don't know if these healthchecks are used anywhere, as there don't
seem to be any alerts in integration that these targets are down (and
www-origin works), but there are AWS LBs configured for them, so let's
add the healthchecks just in case.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
860101cdb8c46f0382fd525919ea8a6e80e5c613 | modules/grafana/templates/dashboards/deployment_panels/_links.json.erb | modules/grafana/templates/dashboards/deployment_panels/_links.json.erb | {
"content": "<ul style=\"font-size: 20px;\">\n<li><a target=\"_blank\" href=\"https://sentry.io/govuk/app-<%= @app_name %>/?query=is%3Aunresolved+environment%3A<%= @sentry_environment %>\">Errors for <%= @app_name %> (Sentry)</a></li>\n<li><a target=\"_blank\" href=\"https://kibana.logit.io\">Kibana (Logit)</a></li>... | {
"content": "<ul style=\"font-size: 20px;\">\n<li><a target=\"_blank\" href=\"https://sentry.io/govuk/app-<%= @app_name %>/?query=is%3Aunresolved+environment%3A<%= @sentry_environment %>\">Errors for <%= @app_name %> (Sentry)</a></li>\n<li><a target=\"_blank\" href=\"https://kibana.logit.io\">Kibana (Logit)</a></li>... | Remove feedback link to deployment dashboards | Remove feedback link to deployment dashboards
It doesn't seem to link anywhere and I doubt it's being monitored.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
3ee3f78dbb5e9fa261da8d413ef7edef9547d316 | app/flows/check_travel_during_coronavirus_flow/questions/vaccination_status.erb | app/flows/check_travel_during_coronavirus_flow/questions/vaccination_status.erb | <% text_for :title do %>
Vaccination status
<% end %>
<% govspeak_for :body do %>
<a href="https://www.gov.uk/guidance/countries-with-approved-covid-19-vaccination-programmes-and-proof-of-vaccination">Approved COVID-19 vaccine programmes</a>
<% end %>
<% text_for :hint do %>
Select one of the following options:... | <% text_for :title do %>
What is your vaccination status?
<% end %>
<% text_for :hint do %>
Select one of the following options:
<% end %>
<% options(
"3371ccf8123dfadf": "I will be fully vaccinated using an approved COVID-19 vaccine 14 or more days before I travel",
"e9e286f8822bc330": "I'm taking part in an... | Update the vaccination status question | Update the vaccination status question
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
edf607673ac7d7d7d1d7290232602ee48652c8e0 | source/_footer.html.erb | source/_footer.html.erb | <div class="footer-sm">
<div class="container">
<p>
partial :: <%= link_to 'Conf', '/' %>
→ <%= link_to 'Legal', '/legal' %>
→ <%= link_to 'Conduct', 'http://berlincodeofconduct.org' %>
→ <%= link_to 'Contact', 'mailto:partialconf@gmail.com' %>
</p>
</div>
</div>
| <div class="footer-sm">
<div class="container">
<p>
partial :: <%= link_to 'Conf', '/' %>
→ <%= link_to 'Legal', '/legal' %>
→ <%= link_to 'Conduct', 'http://berlincodeofconduct.org' %>
→ <%= link_to 'Contact', 'mailto:hi@partialconf.com' %>
</p>
</div>
</div>
| Bring back the fancy mails | Bring back the fancy mails
| HTML+ERB | mit | partialconf/2017.partialconf.com,partialconf/2017.partialconf.com,partialconf/2017.partialconf.com |
0c31d3319d10df7b353439b6c4610bbc4edc48e1 | templates/xfce4-terminal/dark.16.terminalrc.erb | templates/xfce4-terminal/dark.16.terminalrc.erb | <%
# XFCE 4 Terminal Template
# Chris Kempson (http://chriskempson.com)
%>[Configuration]
ColorCursor=#<%= @base["05"]["hex"] %>
ColorForeground=#<%= @base["05"]["hex"] %>
ColorBackground=#<%= @base["00"]["hex"] %>
ColorPalette=#<%= @base["00"]["hex"] %>;#<%= @base["08"]["hex"] %>;#<%= @base["0B"]["hex"] %>;#<%= @base... | Add 16-color theme generation for xfce4-terminal. | Add 16-color theme generation for xfce4-terminal.
| HTML+ERB | mit | jilen/base16-builder,sbomer/base16-builder,pickfire/base16-builder,gabrielflorit/base16-builder,ohspite/base16-builder,Maximus5/base16-builder,andybarilla/base16-builder,jilen/base16-builder,tadeboro/base16-builder,ohspite/base16-builder,idleberg/base16-builder,VoltiSubito/base16-builder,chriskempson/base16-builder,sbo... | |
b2b2275477ab4180628fcac17b95a40900465112 | frontend/app/views/spree/shared/_copyright.html.erb | frontend/app/views/spree/shared/_copyright.html.erb | <div class="border-top footer-spree-copyright">
<div class="container">
<div class="d-flex flex-column flex-lg-row align-items-center justify-content-center py-3 footer-spree-copyright-content">
<div>Designed and developed by</div>
<div class="mb-1 mb-lg-0">
<%= link_to 'https://sparksolutions... | <div class="border-top footer-spree-copyright">
<div class="container">
<div class="d-flex flex-column flex-lg-row align-items-center justify-content-center py-3 footer-spree-copyright-content">
<div>Designed and developed by</div>
<div class="mb-1 mb-lg-0">
<%= link_to 'https://sparksolutions... | Fix copyright link target attribute | Fix copyright link target attribute
Using just `:blank` doesn't work, it must be `:_blank`. | HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
aa1978c6477ee7ded0e25641a6538062e3d2d1f4 | app/views/answers/_answer.html.erb | app/views/answers/_answer.html.erb | <div class="row">
<hr>
<%= user_can_vote answer %>
<div class="large-11 columns answer-body">
<%= raw answer.body %>
</div>
<div class="large-11 columns">
<div class="small-9 columns answer-links">
<%= link_to t(:edit, scope: :answers), edit_question_answer_path(answer.question, answer) %>
</... | <div class="row">
<hr>
<%= user_can_vote answer %>
<div class="large-11 columns answer-body">
<%= auto_link(simple_format(answer.body)) %>
</div>
<div class="large-11 columns">
<div class="small-9 columns answer-links">
<%= link_to t(:edit, scope: :answers), edit_question_answer_path(answer.quest... | Fix links not working in answers body | Fix links not working in answers body
| HTML+ERB | mit | satanin/matematicus,satanin/matematicus,satanin/matematicus |
b14e77fbe85caa9b04ff1517f365695b8842222f | app/views/layouts/_navbar.html.erb | app/views/layouts/_navbar.html.erb | <nav class="navbar navbar-expand-sm navbar-light navstyle">
<a class="navbar-brand" href="#">Write It</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span c... | <nav class="navbar navbar-expand-sm navbar-light navstyle">
<a class="navbar-brand" href="/">Write It</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span c... | Make site title link to index | Make site title link to index
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
679e2c5d5ff626e1888ce847dbc4e4784747eab0 | waitless/app/views/restaurants/_result.html.erb | waitless/app/views/restaurants/_result.html.erb | <div class="result-block">
<div class="result-wrapper">
<div class="result-img"><img src="<%=result[:image]%>"></div>
<div class="result-info">
<div><label>Restaurant Name</label></div>
<div><%=result[:name]%></div>
<div><label>Category</label></div>
<div>
<%=result[:categories... | <div class="result-block">
<div class="result-wrapper">
<div class="result-img"><img src="<%=result[:image]%>"></div>
<div class="result-info">
<div><label>Restaurant Name</label></div>
<div><%=result[:name]%></div>
<div><label>Category</label></div>
<div>
<%=result[:categories... | Switch button href to proper route | Switch button href to proper route
| HTML+ERB | mit | jchang2014/waitless,erictflores/waitless,jengjao515/WaitLess,jchang2014/waitless,erictflores/waitless,erictflores/waitless,jengjao515/WaitLess,jchang2014/waitless,jengjao515/WaitLess |
0936f1b741b1b8cb18415a6e68131392e4644032 | templates/default/sv-consul-run.erb | templates/default/sv-consul-run.erb | #!/bin/sh
GOMAXPROCS=<%= node['cpu']['total'] %>
exec 2>&1
exec <%= node['runit']['chpst_bin'] %> \
-u <%= node['consul']['service_user'] %>:<%= node['consul']['service_group'] %> \
<%= Chef::Consul.active_binary(node) %> agent -config-dir <%= node['consul']['config_dir'] %>
| #!/bin/sh
export GOMAXPROCS=<%= node['cpu']['total'] %>
exec 2>&1
exec <%= node['runit']['chpst_bin'] %> \
-u <%= node['consul']['service_user'] %>:<%= node['consul']['service_group'] %> \
<%= Chef::Consul.active_binary(node) %> agent -config-dir <%= node['consul']['config_dir'] %>
| Add missing export for GOMAXPROCS | Add missing export for GOMAXPROCS | HTML+ERB | apache-2.0 | johnbellone/consul-cookbook,johnbellone/consul-cookbook,johnbellone/consul-cookbook |
1248de03152b0f6077b65bfd15306e9bdb277bd7 | app/views/errors/not_found.html.erb | app/views/errors/not_found.html.erb | <h2>We can't find whatever it was you were looking for.</h2>
<p>In truth, we may never have had what you are looking for, but you should try our search below!</p>
| <h2>We can't find whatever it was you were looking for.</h2>
<p>In truth, we may never have had what you are looking for, but you should try our search below!</p>
<%= form_tag search_path, method: :get, class: 'search-form', enforce_utf8: false do |f| %>
<%= text_field_tag 'q', request.original_fullpath.gsub('/', ' ... | Add search box to 404 page | Add search box to 404 page | HTML+ERB | agpl-3.0 | librariesio/libraries.io,abrophy/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,librariesio/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io |
e651417a8f50a5cef49a1126fb33f7cc2919e953 | app/views/users/_user_card.html.erb | app/views/users/_user_card.html.erb | <div class='span3 usercard'>
<div class='userimage'>
<%= image_tag gravatar_for(user), class: "user-image imagecard #{user.role}" %>
</div>
<div class='userinfo'>
<%= content_tag(:h1, user.full_name, title: user.full_name) %>
<%= content_tag(:h3, user.role.titlecase) %>
<%= content_tag(:p, "Availa... | <div class='span3 usercard'>
<div class='userimage'>
<%= image_tag gravatar_for(user), class: "user-image imagecard #{user.role}" %>
</div>
<div class='userinfo'>
<%= content_tag(:h1, user.full_name, title: user.full_name) %>
<%= content_tag(:h3, user.role.titlecase) %>
<%= content_tag(:p, ('Hire ... | Update hire availability msg in user_card partial | Update hire availability msg in user_card partial
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
c8907d3399fe4210f00e0f9856fdba873690d9d7 | engines/blog/app/views/blog/articles/_article.html.erb | engines/blog/app/views/blog/articles/_article.html.erb | <% summary = local_assigns.fetch :summary, false %>
<article class="article">
<div class="page-header">
<h1 class="article-title">
<%= link_to article.title, article %>
</h1>
<p class="article-byline"><%= article_byline article %></p>
</div>
<div class="article-body">
... | <% summary = local_assigns.fetch :summary, false %>
<article class="article">
<div class="page-header">
<h1 class="article-title">
<%= link_to article.title, article %>
</h1>
<p class="article-byline"><%= article_byline article %></p>
</div>
<div class="article-body">
... | Fix the link to the comments. | Fix the link to the comments.
| HTML+ERB | bsd-2-clause | upliftinglemma/upliftinglemma-net,upliftinglemma/upliftinglemma-net,upliftinglemma/upliftinglemma-net,upliftinglemma/upliftinglemma-net |
7dbd05969e96f4a5200e3415dc1298d770627bbb | _pendings.html.erb | _pendings.html.erb | <% if current_subject.pending_contacts? %>
<div class="block">
<div class="header">
<%= image_tag('btn/btn_notifications.png', :class => "header_icon") %>
<div class="header_text">
<%= t 'contact.pending.other' %>
</div>
</div>
<div class="content">
<%= render :partial => 'contacts/contact',... | Add pending partial removing troublesome line | Add pending partial removing troublesome line
| HTML+ERB | agpl-3.0 | ging/vish_orange,ging/vish,agordillo/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish_orange,rogervaas/vish,ging/vish,agordillo/vish,agordillo/vish,ging/vish,suec78/vish_storyrobin,agordillo/vish,ging/vish_orange,nathanV38/vishTst,ging/vish,rogervaas/vish,ging/vish,nathanV38/vishTst,rogervaas/vish,suec78/vish_story... | |
b520ff7b7030843c608669e38722de88c2c265bc | app/views/appointments/index.html.erb | app/views/appointments/index.html.erb |
Appointment Index Page
<div id="right-sidebar">
<ul>
<li>Show by mentor phase:</li>
<% 5.times do |i| %>
<li><%=link_to i, appointments_path(phase: i)%></li>
<% end %>
</ul>
</div>
<div id="appointment_roll">
<ol>
<%@appointments.each do |appt|%>
<li><h1><%= appt.start_time%></h1></l... |
Appointment Index Page
<div id="right-sidebar">
<ul>
<li>Show by mentor phase:</li>
<% 5.times do |i| %>
<li><%=link_to i, appointments_path(phase: i)%></li>
<% end %>
</ul>
</div>
<div id="appointment_roll">
<ol>
<%@appointments.each do |appt|%>
<li><h1><%= appt.start_time%></h1></l... | Update view for appointment index | Update view for appointment index
| HTML+ERB | mit | nyc-rock-doves-2016/Theres-A-Board,nyc-rock-doves-2016/Theres-A-Board,nyc-rock-doves-2016/Theres-A-Board |
15433c4d5bdfab73e734616ccc09c5f9692785cb | app/views/trades/_trade_list.html.erb | app/views/trades/_trade_list.html.erb | <% unless trades.empty? %>
<h2><%= type %> trades</h2>
<ul class="trades-list">
<% trades.each do |trade| %>
<li>
<%= link_to trade.participants.first.user, user_path(trade.participants.first.user) %>
and
<%= link_to trade.participants.second.user, user_path(trade.participants.se... | <% unless trades.empty? %>
<h2><%= type %> trades</h2>
<ul class="trades-list">
<% trades.each do |trade| %>
<li>
<%= link_to trade.participants.first.user, user_path(trade.participants.first.user) %>
and
<%= link_to trade.participants.second.user, user_path(trade.participants.se... | Fix formatting for blank agreements | Fix formatting for blank agreements
| HTML+ERB | mit | patrickomatic/beertrade,patrickomatic/beertrade,patrickomatic/beertrade |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.