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 |
|---|---|---|---|---|---|---|---|---|---|
b95730a6aefdf38f89ae4717148af45a1161a8ae | app/subapps/browser/templates/browser_qa.handlebars | app/subapps/browser/templates/browser_qa.handlebars | <h3>Quality Rating: {{totalScore}}/{{totalAvailable}}</h3>
<p>This charm has scored {{totalScore}} out of a maximum of {{totalAvailable}} points on the criteria below.</p>
<div class="qa_data">
{{#each questions}}
<h3>{{this.description}} <span class="heading_notes">{{this.score}}/{{this.questions.length}... | <h3>Quality Rating: {{totalScore}}/{{totalAvailable}}</h3>
<p>This charm has scored {{totalScore}} out of a maximum of {{totalAvailable}} points on the criteria below.</p>
<div class="qa_data">
{{#each questions}}
<h3>{{description}} <span class="heading_notes">{{score}}/{{questions.length}} points</span>... | Remove the this explicit reference in the templates | Remove the this explicit reference in the templates | Handlebars | agpl-3.0 | mitechie/juju-gui,jrwren/juju-gui,CanonicalJS/juju-gui,CanonicalJS/juju-gui,mitechie/juju-gui,CanonicalJS/juju-gui,bac/juju-gui,jrwren/juju-gui,jrwren/juju-gui,bac/juju-gui,bac/juju-gui,mitechie/juju-gui,mitechie/juju-gui,bac/juju-gui,jrwren/juju-gui |
804856f83cf541dfd2f51d371fbedd36b81a4725 | src/emails/organizationInviteNewAdminEmail.hbs | src/emails/organizationInviteNewAdminEmail.hbs | ---
description: Sent to a non-licensed user with no GitKraken account after being invited to use GitKraken
layout: default.hbs
subject: You've been invited to manage a %PLAN_NAME% account!
header: You've been invited to manage %ORG_NAME%'s %PLAN_NAME% account.
---
<p class='align-center'>
<a href='%LINK_URL%'>Regis... | Add template for non-licensed admin users | Add template for non-licensed admin users
| Handlebars | mit | johndavidsparrow/grunt-email-workflow,johndavidsparrow/grunt-email-workflow | |
54a5794da8ff29b6f7cb7f65bd5cf1e49f070f22 | SingularityUI/app/views/templates/tasksActive.hbs | SingularityUI/app/views/templates/tasksActive.hbs | <header class="jumbotron subhead" id="overview">
<h1>Active Tasks</h1>
</header>
<section>
<input type="search" placeholder="Search tasks..." required />
<div class="row-fluid">
<div class="span12">
<table class="table">
<thead>
<tr>
... | <header class="jumbotron subhead" id="overview">
<h1>Active Tasks</h1>
</header>
<section>
<input type="search" placeholder="Search tasks..." required />
<div class="row-fluid">
<div class="span12">
<table class="table">
<thead>
<tr>
... | Remove ellipsis classname here as it was added by accident | Remove ellipsis classname here as it was added by accident | Handlebars | apache-2.0 | HubSpot/Singularity,mjball/Singularity,calebTomlinson/Singularity,nvoron23/Singularity,HubSpot/Singularity,acbellini/Singularity,mjball/Singularity,tejasmanohar/Singularity,andrhamm/Singularity,andrhamm/Singularity,mjball/Singularity,hs-jenkins-bot/Singularity,tejasmanohar/Singularity,hs-jenkins-bot/Singularity,tejasma... |
e4c24a940ba4485663cac3248b5a7ae35b8bf17a | website/partners/technology/parsely/index.hbs | website/partners/technology/parsely/index.hbs | ---
layout: partners.hbs
title: "Parse.ly"
integrations: true
priority: 56
summary: "Run article headline tests that are powered by Optimizely in Parse.ly's content analytics platform."
logo: "//optimizely-marketer-assets.s3.amazonaws.com/partners/logos/ptengine.png"
website_link: "http://www.parsely.com/"
website_disp... | Create Parse.ly listing in Partner Directory | Create Parse.ly listing in Partner Directory | Handlebars | mit | CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg | |
ab1633803a7e17b94547ca3ab6e24b3a65a8b7e1 | src/main/web/templates/handlebars/partials/pullout-box.handlebars | src/main/web/templates/handlebars/partials/pullout-box.handlebars | <div class="background--gallery margin-bottom--1 padding-top--2 padding-right--1 padding-left--1 padding-bottom--2
{{#if_eq alignment "left"}}float-left margin-right--1 {{/if_eq}}
{{#if_eq alignment "right"}}float-right margin-left--1 {{/if_eq}}
{{#if_any (eq alignment "left") (eq alignment "right")}}col--md-12 col--lg... | Add template for rendering pullout boxes | Add template for rendering pullout boxes
| Handlebars | mit | ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage | |
953087e7e80f0c67b2ce38d55a98fa1ebf5fb82e | core/client/templates/-publish-bar.hbs | core/client/templates/-publish-bar.hbs | <footer id="publish-bar">
<nav>
{{view "editor-tags" tagName="section" id="entry-tags" class="left"}}
<div class="right">
<section id="entry-controls">
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" href="#" classNames="post-settings" title="Post Sett... | <footer id="publish-bar">
<nav>
{{view "editor-tags" tagName="section" id="entry-tags" class="left"}}
<div class="right">
<section id="entry-controls" {{bind-attr class="isNew:unsaved"}}>
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" href="#" classNa... | Remove "Delete This Post" option from New Post publish bar menu items | Remove "Delete This Post" option from New Post publish bar menu items
closes #3025
- adds 'unsaved' class to entry-controls when the post model/controller isNew evaluates to true
| Handlebars | mit | SachaG/bjjbot-blog,nneko/Ghost,bbmepic/Ghost,hyokosdeveloper/Ghost,NovaDevelopGroup/Academy,francisco-filho/Ghost,cobbspur/Ghost,jorgegilmoreira/ghost,Kikobeats/Ghost,hoxoa/Ghost,exsodus3249/Ghost,JohnONolan/Ghost,jaswilli/Ghost,kaiqigong/Ghost,Japh/Ghost,GroupxDev/javaPress,gcamana/Ghost,bbmepic/Ghost,benstoltz/Ghost,... |
1f0167016ed731b9a437e71b67fca8250524ef56 | app/templates/idobata-hooks/esa/help.hbs | app/templates/idobata-hooks/esa/help.hbs | <dl>
<dt>Usage</dt>
<dd>You can add webhook URL to your team in esa.io.
<br/>See <a href='https://docs.esa.io/posts/10' target='_blank'><i class='fa fa-external-link'></i>the help documentation by the esa team</a> for more details(only available in Japanese).</dd></dl> | Add artifacts generated by `npm run-script prepublish` | Add artifacts generated by `npm run-script prepublish`
| Handlebars | mit | asonas/idobata-hooks,kirikiriyamama/idobata-hooks,1syo/idobata-hooks,1syo/idobata-hooks,kirikiriyamama/idobata-hooks,asonas/idobata-hooks,idobata/idobata-hooks,asonas/idobata-hooks,idobata/idobata-hooks,1syo/idobata-hooks,kirikiriyamama/idobata-hooks,idobata/idobata-hooks | |
91977ded061b0b6d7314b0de7afe5b9e656c22c0 | views/forums/communityForums.handlebars | views/forums/communityForums.handlebars | {{#each forums}}
<li class="list-group-item">
<p>
{{ this.createdOn }}
</p>
<a href="forums/{{this._id}}">
{{ this.title }}
</a>
</li>
{{/if}}
{{/each}}
| Add render HTML for the search from server side render | Add render HTML for the search from server side render
| Handlebars | mit | tsangjustin/CS546-Product_Forum,tsangjustin/CS546-Product_Forum | |
8fb8bf641c640d1334cdef4f4939aff15cbf56ca | evesrp/static/js/templates/payout_rows.hbs | evesrp/static/js/templates/payout_rows.hbs | {{#each this}}
<tr class="{{status_color status}}">
<td data-attribute="pilot"><button class="btn btn-default btn-sm copy-btn" data-clipboard-text="{{pilot}}" data-toggle="tooltip" title="Copy '{{pilot}}' to clipboard">{{pilot}}</button></td>
<td data-attribute="id"><button class="btn btn-default btn-sm copy-btn" d... | {{#each this}}
<tr class="{{status_color status}}">
<td data-attribute="pilot"><button class="btn btn-default btn-sm copy-btn" data-clipboard-text="{{pilot}}" data-toggle="tooltip" title="Copy '{{pilot}}' to clipboard">{{pilot}}</button></td>
<td data-attribute="id"><button class="btn btn-default btn-sm copy-btn" d... | Update JS payout row template to match new reasoning text | Update JS payout row template to match new reasoning text | Handlebars | bsd-2-clause | eskwire/evesrp,paxswill/evesrp,paxswill/evesrp,eskwire/evesrp,eskwire/evesrp,eskwire/evesrp,paxswill/evesrp |
48044f7611ba9aafe15058f160a021aa75cc0377 | public/templates/results_console.handlebars | public/templates/results_console.handlebars | <div class="execution">
<h1>{{t "results_console_view.title"}}</h1>
<a>{{t "results_console_view.new_window"}}</a>
<a href="#" class="minimize hidden">{{t "results_console_view.minimize"}}</a>
<a href="#" class="maximize hidden">{{t "results_console_view.maximize"}}</a>
<div class="right">
<... | <div class="execution">
<h1>{{t "results_console_view.title"}}</h1>
<a href="#" class="minimize hidden">{{t "results_console_view.minimize"}}</a>
<a href="#" class="maximize hidden">{{t "results_console_view.maximize"}}</a>
<div class="right">
<span class="message">
{{#if result}}
... | Remove 'open in new window' link from result console | Remove 'open in new window' link from result console
| Handlebars | apache-2.0 | hewtest/chorus,hewtest/chorus,hewtest/chorus,hewtest/chorus,lukepolo/chorus,jamesblunt/chorus,hewtest/chorus,atul-alpine/chorus,prakash-alpine/chorus,jamesblunt/chorus,prakash-alpine/chorus,atul-alpine/chorus,mpushpav/chorus,lukepolo/chorus,mpushpav/chorus,atul-alpine/chorus,hewtest/chorus,prakash-alpine/chorus,mpushpa... |
575c6a8b33874a55facc44d096fc82f4277b58e7 | apps/members/templates/bb_accounts/user_modal.hbs | apps/members/templates/bb_accounts/user_modal.hbs | {% load bb_ember i18n static %}
{% tplhandlebars "user_modal" %}
<div id="profile-preview">
<a class="close" rel="close">×</a>
<div class="modal-header">
<figure class="profile-avatar">
<img {{bindAttr src="getAvatar"}} />
</figure>
<header class="profile-header">
<h3 class... | Replace (missing) stats with wimple info in user popup box | Replace (missing) stats with wimple info in user popup box
| Handlebars | bsd-3-clause | onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site | |
f00020ab3792468150764852f9498d3411f336ce | app/views/create-post.handlebars | app/views/create-post.handlebars | <!DOCTYPE html>
<html>
<head>
<title>Create a new post</title>
{{> head}}
</head>
<body>
{{!--
include the site header partial
--}}
{{> header}}
<main class="main blog">
<div class="container">
<h1 class="heading">
<a href="/blog">Blog</a>
<strong>C... | Add commented create blog post form template | Add commented create blog post form template
| Handlebars | mit | Code-At-Uni/js-course-starter-pack,Code-At-Uni/js-course-starter-pack | |
123f552d7e5c5c3593efad17788bd66ae4dab57e | addon/templates/components/smart-banner.hbs | addon/templates/components/smart-banner.hbs | {{#if showBanner}}
<div class="ember-smart-banner--inner">
<a href="#" class='ember-smart-banner--close-button' onclick={{action 'closeBanner'}}>×</a>
<div class="ember-smart-banner--icon">
<img src="{{iconUrl}}" alt="App Icon" />
</div>
<div class="ember-smart-banner--info">
<strong... | {{#if showBanner}}
<div class="ember-smart-banner--inner">
<a href="#" class='ember-smart-banner--close-button' onclick={{action 'closeBanner'}}>×</a>
{{#if iconUrl}}
<div class="ember-smart-banner--icon">
<img src="{{iconUrl}}" alt="App Icon" />
</div>
{{/if}}
<div class="em... | Use conditional to include img tag | Use conditional to include img tag
| Handlebars | mit | runtrizapps/ember-smart-banner,runtrizapps/ember-smart-banner |
ba0773ccf234ba669d40e9a7eb4182953dfa151b | index.hbs | index.hbs | {{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{!-- The big featured header --}}
<header class="main-header {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
<nav class="main-nav overlay clearfix"... | {{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{!-- The big featured header --}}
<header class="main-header {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
<nav class="main-nav overlay clearfix"... | Test change {{@blog.description}} on {{meta_description}} | Test change {{@blog.description}} on {{meta_description}}
| Handlebars | mit | Arasthel/Ghostly,vertigra/Ghostly,sealake/Ghostly,Arasthel/Ghostly,vertigra/Ghostly,sealake/Ghostly |
8a84e480c9c896c6910a53bc9ca2c33d7f391e5a | public/templates/user_show.handlebars | public/templates/user_show.handlebars | <div class="user_info">
{{#ifAny title department}}
<div class="titleAndDepartment">
<div class="title">{{title}}</div>
<div class="department">{{department}}</div>
</div>
{{/ifAny}}
{{#if emailAddress}}
<div class="emailAddress">{{emailAddress}}</div>
{{/if}}
{{#... | <div class="user_info">
{{#ifAny title department}}
<div class="titleAndDepartment">
<div class="title">{{title}}</div>
<div class="department">{{department}}</div>
</div>
{{/ifAny}}
{{#if emailAddress}}
<div class="emailAddress">{{emailAddress}}</div>
{{/if}}
{{#... | Add cache buster to user show image | Add cache buster to user show image
| Handlebars | apache-2.0 | mpushpav/chorus,mpushpav/chorus,hewtest/chorus,mpushpav/chorus,mpushpav/chorus,atul-alpine/chorus,hewtest/chorus,atul-alpine/chorus,jamesblunt/chorus,lukepolo/chorus,jamesblunt/chorus,atul-alpine/chorus,lukepolo/chorus,mpushpav/chorus,jamesblunt/chorus,hewtest/chorus,atul-alpine/chorus,prakash-alpine/chorus,atul-alpine... |
523761298d66bf3bc4f3f4fc88590273cb994bf3 | templates/admin/index.hbs | templates/admin/index.hbs | <div class="row">
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-body">
<div class="timeline">
{{#each activities}}
<article {{bind-attr class=":timeline-item admin:alt"}}>
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
... | <div class="row">
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-body">
<div class="timeline">
{{#each activities}}
<article {{bind-attr class=":timeline-item admin:alt"}}>
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
... | Fix arrow display in dashboard | Fix arrow display in dashboard | Handlebars | agpl-3.0 | simful/saaspanel,vik0803/saaspanel,simful/saaspanel,vik0803/saaspanel,saivarunk/saaspanel,saivarunk/saaspanel,saivarunk/saaspanel,simful/saaspanel |
265d366c6aa21e77375ae22ee29e87397615be19 | views/fedora/email/papers/talk-accepted.hbs | views/fedora/email/papers/talk-accepted.hbs | Your Flock submission "{{paper.title}}" has been accepted!
Hello,
We have accepted your submission, "{{paper.title}}" for Flock this year.
We are excited to have you participate in Flock! Below are some details
you will need to know.
=Presentations=
If you are giving a Talk, you will have 50 minutes per session. Yo... | Add talk acceptance email template for Flock | Add talk acceptance email template for Flock
| Handlebars | mit | benzea/regcfp,thanostx/regcfp,benzea/regcfp,thanostx/regcfp,benzea/regcfp,thanostx/regcfp | |
7571ab094e96f1a3906652dff6cd4a55a6dda437 | app/templates/components/nypr-svg/download-arrow.hbs | app/templates/components/nypr-svg/download-arrow.hbs | <svg class={{className}} viewBox="0 0 13 19" xmlns="http://www.w3.org/2000/svg">
<g>
<path d="M6.5 14.689l-5.435-5.6 1.042-1.077L6.5 12.54l4.393-4.526 1.042 1.076z"/>
<path d="M5.761 1.106h1.475v12.506H5.761zM1.588 16.374h9.828v1.519H1.588z"/>
</g>
</svg>
| Add SVG for download arrow | Add SVG for download arrow
| Handlebars | mit | nypublicradio/nypr-ui,nypublicradio/nypr-ui | |
8c7cbf78195d121d9e8711d98c792799b28808b4 | app/templates/worker/index.hbs | app/templates/worker/index.hbs | <p>I am a worker.</p>
<ul>
<li>{{#link-to 'worker.math-test'}}Take Math Test{{/link-to}}</li>
<li>{{#link-to 'worker.hand-eye'}}Take Hand/Eye Coordination Test{{/link-to}}</li>
<li>{{#link-to 'worker.resume'}}View Résumé{{/link-to}}</li>
</ul> | Add in basic worker templates | Add in basic worker templates
| Handlebars | mit | councilforeconed/wage-rates | |
6548ebc0a8314727e841c398e0d847da18981f5c | src/node_modules/bn-schema-isbd/templates/marc21_auth.handlebars | src/node_modules/bn-schema-isbd/templates/marc21_auth.handlebars | <article><header>
{{#marc record}}
{{#field '1..'}}<div><span class="isbd_heading">{{subfstring this 'abcdefghijklmnopqrstuvwxyz'}}</span></div>{{/field}}
</header>
<section>
{{#field '6..'}}<div><span class="isbd_note">{{subfstring this 'abcdefghijklmnopqrstuvwxyz'}}</span></div>{{/field}}
{{#iffield '856'}}<span>{{#t... | Add template for MARC21 authorities | Add template for MARC21 authorities
| Handlebars | agpl-3.0 | jcamins/biblionarrator,jcamins/biblionarrator | |
c50ff7016fe66fbf49f33cab8340389f79fed638 | share/goodie/js_minify/content.handlebars | share/goodie/js_minify/content.handlebars | <h5>Minify JavaScript Code on the go!</h5>
<div class="js_minify__io_box">
<textarea name="js_minify__input" id="js_minify__input" rows="20" cols="60"></textarea>
<textarea name="js_minify__output" id="js_minify__output" rows="20" cols="60"></textarea><br>
</div>
<div class="js_minify__action_box">
<button ... | <h5>Minify JavaScript Code on the go!</h5>
<div class="js_minify__io_box">
<textarea name="js_minify__input" id="js_minify__input" rows="20" cols="60"></textarea>
<textarea name="js_minify__output" id="js_minify__output" rows="20" cols="60" readonly="readonly" onclick="this.focus();this.select()"></textarea><br... | Make output textarea readonly and facilitate copying | JsMinify: Make output textarea readonly and facilitate copying
| Handlebars | apache-2.0 | samskeller/zeroclickinfo-goodies,ankushg07/zeroclickinfo-goodies,abinabrahamanchery/zeroclickinfo-goodies,urohit011/zeroclickinfo-goodies,RomainLG/zeroclickinfo-goodies,tagawa/zeroclickinfo-goodies,gautamkrishnar/zeroclickinfo-goodies,marianosimone/zeroclickinfo-goodies,MrChrisW/zeroclickinfo-goodies,shubhamrajput/zero... |
79359c6d0b8e11360484db081d5f0fa8e077328c | lib/cmds/templates/help.handlebars | lib/cmds/templates/help.handlebars | {{prefix}} Syntax: {{{magentaBright "gh"}}} [{{{cyanBright "command"}}}] [{{{greenBright "--flags"}}}]
{{prefix}} List of available commands:
{{#each commands}}
{{prefix}} {{{cyanBright name}}} ➜ {{{description}}}
{{#each flags}}
{{prefix}} {{{greenBright "--" option ", -" shorthand}} {{{redBright type}}}
{{/each... | {{prefix}} Syntax: {{{magentaBright "gh"}}} [{{{cyanBright "command"}}}] [{{{greenBright "--flags"}}}]
{{prefix}} List of available commands:
{{#each commands}}
{{prefix}} {{{cyanBright name}}} ➜ {{{description}}}
{{#each flags}}
{{prefix}} {{{greenBright "--" option ", -" shorthand}} {{{type}}}
{{/each}}
{{/each... | Remove red color on option type | Remove red color on option type
| Handlebars | bsd-3-clause | TomzxForks/gh,tomzx/gh,oouyang/gh,oouyang/gh,tomzx/gh,dustinryerson/gh,henvic/gh,dustinryerson/gh,henvic/gh,TomzxForks/gh,modulexcite/gh,modulexcite/gh |
9e6211180eeb00d4c2d9adfd50f5c94af1c3f9b4 | views/gnome/email/papers/talk_accepted.hbs | views/gnome/email/papers/talk_accepted.hbs | Your GUADEC talk has been accepted!
Hello!
We have accepted your talk, "{{paper.title}}", as we think it will make a great addition to GUADEC 2016. Please confirm by 2016-05-10 whether you are still planning to and able to present it.
Your talk will be scheduled to take place on 12-14th August in Karlsruhe, Germany.... | Add acceptance email template for GUADEC talks | Add acceptance email template for GUADEC talks | Handlebars | mit | thanostx/regcfp,thanostx/regcfp,benzea/regcfp,benzea/regcfp,benzea/regcfp,thanostx/regcfp | |
d79ea40e19950daad1274685237ac87129049fc0 | public/templates/workspace_settings.handlebars | public/templates/workspace_settings.handlebars | <form>
<label class="required">{{t "workspace.settings.name"}}</label>
<input type="text" name="name" maxlength="256" value="{{name}}"/>
<label>{{t "workspace.settings.summary"}}</label>
<textarea name="summary" maxlength="4095" rows="6">{{summary}}</textarea>
<label>Workspace Image</label>
<d... | <form>
<label class="required">{{t "workspace.settings.name"}}</label>
<input type="text" name="name" maxlength="256" value="{{name}}" tabindex="1"/>
<label>{{t "workspace.settings.summary"}}</label>
<textarea name="summary" maxlength="4095" rows="6" tabindex="2">{{summary}}</textarea>
<label>Work... | Fix tab index order in workspace settings dialog | Fix tab index order in workspace settings dialog
| Handlebars | apache-2.0 | lukepolo/chorus,mpushpav/chorus,mpushpav/chorus,lukepolo/chorus,hewtest/chorus,lukepolo/chorus,mpushpav/chorus,atul-alpine/chorus,lukepolo/chorus,atul-alpine/chorus,prakash-alpine/chorus,lukepolo/chorus,jamesblunt/chorus,prakash-alpine/chorus,prakash-alpine/chorus,hewtest/chorus,jamesblunt/chorus,jamesblunt/chorus,prak... |
9255077ddab46df842e578c0c13e972cf44f37d0 | app/templates/components/x-select.hbs | app/templates/components/x-select.hbs | {{#if template}}
{{yield}}
{{else}}
{{#if placeholder}}
<option>{{placeholder}}</option>
{{/if}}
{{#each option in _optionValues}}
{{#x-option value=option.value}}{{option.label}}{{/x-option}}
{{/each}}
{{/if}}
| {{#if template}}
{{yield}}
{{else}}
{{#if placeholder}}
<option>{{placeholder}}</option>
{{/if}}
{{#each _optionValues as |option|}}
{{#x-option value=option.value}}{{option.label}}{{/x-option}}
{{/each}}
{{/if}}
| Use new each as rather in template syntax | Use new each as rather in template syntax
| Handlebars | mit | martypenner/emberx-select,tejasmanohar/emberx-select,arenoir/emberx-select,steveklabnik/emberx-select,gte451f/emberx-select,gte451f/emberx-select,martypenner/emberx-select,thefrontside/emberx-select,arenoir/emberx-select,knownasilya/emberx-select,knownasilya/emberx-select,tejasmanohar/emberx-select,jeffreybiles/emberx-... |
197f0383227790db4b988326a36e596181940901 | app/templates/variant/_variantDetail.hbs | app/templates/variant/_variantDetail.hbs | <!-- The Mobile Applications List Partial-->
<div id="mobile-application-variant-table">
<table class="rcue-table">
<thead>
<tr>
<th>Token</th>
<th>Device</th>
<th>Platform</th>
<th>Status</th>
</tr>
</thead>
... | <!-- The Mobile Applications List Partial-->
<div id="mobile-application-variant-table">
<h3>Installations</h3>
<table class="rcue-table">
<thead>
<tr>
<th>Token</th>
<th>Device</th>
<th>Platform</th>
<th>Status</th>
... | Add header for "Installations" table | templates: Add header for "Installations" table | Handlebars | apache-2.0 | gunnarmorling/aerogear-unifiedpush-server,danielpassos/aerogear-unifiedpush-server,julioa/aerogear-unifiedpush-server,edewit/aerogear-unifiedpush-server,julioa/aerogear-unifiedpush-server,matzew/aerogear-unifiedpush-server,edewit/aerogear-unifiedpush-server,sinarz/aerogear-unifiedpush-server,andresgalante/aerogear-unif... |
0eca41ffeceda01f4faf975460826d1035035533 | partials/pagination.hbs | partials/pagination.hbs | <div class="pagination">
{{#if prev}}
<a class="pagination-item older" href="{{pageUrl prev}}">Older</a>
{{else}}
<span class="pagination-item older">Older</span>
{{/if}}
{{#if next}}
<a class="pagination-item newer" href="{{pageUrl next}}">Newer</a>
{{else}}
<span class="pagination-item newer... | <div class="pagination">
{{#if prev}}
<a class="pagination-item older" href="{{pageUrl prev}}">Newer</a>
{{else}}
<span class="pagination-item older">Newer</span>
{{/if}}
{{#if next}}
<a class="pagination-item newer" href="{{pageUrl next}}">Older</a>
{{else}}
<span class="pagination-item newer... | Swap Older/Newer labels to make them more coherent | Swap Older/Newer labels to make them more coherent | Handlebars | mit | JoshM33k/ghost-theme-heidi,overlandandseas/Haerf,thaiphan/ghost-theme-heidi |
906cc9f0f024610311c727491ae0e4941545f4d9 | app/templates/stop-detail.hbs | app/templates/stop-detail.hbs | <div class="nav-banner">
<a href="#" title="back" class="button button--return">
<i class="icon icon--arrow-left"></i>
</a>
<div class="search-bar">
<input type="text" title="search_input" placeholder="Search" class="search-bar__text-field">
<button class="button">
<i class="icon icon--search">... | Stop detail page static markup | Stop detail page static markup
| Handlebars | mit | bus-detective/web-client,bus-detective/web-client | |
45bad80a54ccef3af2be19f61e74ac6adbb35d04 | app/views/delete-post.handlebars | app/views/delete-post.handlebars | <!DOCTYPE html>
<html>
<head>
<title>Delete a post</title>
{{> head}}
</head>
<body>
{{!--
include the site header partial
--}}
{{> header}}
<main class="main blog">
<div class="container">
<h1 class="heading">
<a class="button blue" href="/blog/{{postId}}">V... | Add commented delete blog post template | Add commented delete blog post template
| Handlebars | mit | Code-At-Uni/js-course-starter-pack,Code-At-Uni/js-course-starter-pack | |
986bb08b77340be2ac17a4517745feaccb34b6fd | evesrp/static/js/templates/filter_suggestion.hbs | evesrp/static/js/templates/filter_suggestion.hbs | <p>
{{#compare sign '='}}
{{else}} <small class="text-muted">
{{#compare sign '-'}}
not</small>
{{else}} {{#compare sign '<'}}
before</small>
{{else}} {{#compare sign '>'}}
after</small>
{{/compare}}
{{/compare}}
{{/compare}}
{{/compare}}
{{real_value}} <small class="text-muted text-right">{{attr}}</small></p>
| Add Handlebars template for filtering suggestions | Add Handlebars template for filtering suggestions
Should've been committed with the rich filtering branch. | Handlebars | bsd-2-clause | paxswill/evesrp,eskwire/evesrp,eskwire/evesrp,paxswill/evesrp,paxswill/evesrp,eskwire/evesrp,eskwire/evesrp | |
af301d7b76a67f938bf997d517beaed56d5aef6b | src/main/web/florence/templates/reportDetails.handlebars | src/main/web/florence/templates/reportDetails.handlebars | <div class="section-head">
<h2>{{date}}</h2>
<p>{{subtitle}}</p>
</div>
<div class="section-content section-content--fullwidth">
{{#each collectionDetails}}
<div class="collections-accordion">
<div class="collections-section">
<div class="collections-section__head">
<h3 class="collect... | Add reports details template page | Add reports details template page
Former-commit-id: f9a2274a05de9e6ed3a82ff89d6fc34e20de2481 | Handlebars | mit | ONSdigital/florence,ONSdigital/florence,ONSdigital/florence,ONSdigital/florence | |
859f74cc3a08e261df8025a3d248422842e14ba6 | src/partials/custom/navigation.hbs | src/partials/custom/navigation.hbs | {{! Templates
Link
==============
<li class="drawer-list-item">
<a href="#" title="Follow me on twitter!">
<i class="fa fa-twitter"></i> Follow me
</a>
</li>
Divider
==============
<li class="drawer-list-divider"></li>
Title
==============
<li class="drawer-list-item drawer-list-title">
Follow me
</li>
}}... | {{! Templates
Link
==============
<li class="drawer-list-item">
<a href="#" title="Follow me on twitter!">
<i class="fa fa-twitter"></i> Follow me
</a>
</li>
Divider
==============
<li class="drawer-list-divider"></li>
Title
==============
<li class="drawer-list-item drawer-list-title">
Follow me
</li>
Pr... | Add a tip with FontAwesome cheatsheet link | feat(templates): Add a tip with FontAwesome cheatsheet link
| Handlebars | mit | qianyanseu/ghostium,fcarrega/rewrex,printesoi/ghostium,nagaame/ghostium,TGVarik/ghostium,peterfriese/ghostium,jonparrott/ghostium,oswaldoacauan/ghostium,Aaron1992/ghostium,TGVarik/ghostium,ProfFan/ghostium,zhiyishou/ghostium,bilxio/ghostium,printesoi/ghostium,airships/ghostium,johnstyle/ghostium,zhiyishou/ghostium,thec... |
07e4ccef10f4979b6eb9cbf07e2f5b3a33de03d4 | app/templates/ambiguousRelationList.handlebars | app/templates/ambiguousRelationList.handlebars | <ul>
<li class="cancel">None</li>
{{#relationslist endpoints}}
<li
data-startservice="{{start.service}}"
data-startname="{{start.name}}"
data-endservice="{{end.service}}"
data-endname="{{end.name}}">
{{start.service}}:{{start.name}} → {{end.service}}:{{end.name}}... | Implement ambiguous relation menu for adding relations | Implement ambiguous relation menu for adding relations | Handlebars | agpl-3.0 | mitechie/juju-gui,bac/juju-gui,jrwren/juju-gui,CanonicalJS/juju-gui,bac/juju-gui,jrwren/juju-gui,CanonicalJS/juju-gui,mitechie/juju-gui,bac/juju-gui,mitechie/juju-gui,jrwren/juju-gui,mitechie/juju-gui,CanonicalJS/juju-gui,jrwren/juju-gui,bac/juju-gui | |
b1d7e389708d76753e1e9b43b3c8971342760d0a | templates/components/gh-notification.hbs | templates/components/gh-notification.hbs | <section {{bind-attr class=":js-notification typeClass"}}>
<span class="notification-message">
{{{message.message}}}
</span>
<a class="close" {{action "closeNotification"}}><span class="hidden">Close</span></a>
</section> | <section {{bind-attr class=":js-notification typeClass"}}>
<span class="notification-message">
{{{message.message}}}
</span>
<button class="close" {{action "closeNotification"}}><span class="hidden">Close</span></button>
</section> | Swap notification close link for a button | Swap notification close link for a button
No issue
- Swap out notification <a> close link for <button> (gains a native hover state)
| Handlebars | mit | kevinansfield/Ghost-Admin,TryGhost/Ghost-Admin,acburdine/Ghost-Admin,airycanon/Ghost-Admin,JohnONolan/Ghost-Admin,kevinansfield/Ghost-Admin,dbalders/Ghost-Admin,acburdine/Ghost-Admin,dbalders/Ghost-Admin,JohnONolan/Ghost-Admin,TryGhost/Ghost-Admin,airycanon/Ghost-Admin |
24d762416b622e4bdb21c2cfd0d5f0e7eb4f8748 | views/gnome/email/papers/talk_accepted.hbs | views/gnome/email/papers/talk_accepted.hbs | Your GUADEC talk has been accepted!
Hello!
We have accepted your talk, "{{paper.title}}", as we think it will make a great addition to GUADEC 2016. Please confirm by 2016-05-10 whether you are still planning to and able to present it.
Your talk will be scheduled to take place on 12-14th August in Karlsruhe, Germany.... | Add acceptance email template for GUADEC talks | Add acceptance email template for GUADEC talks | Handlebars | mit | thanostx/regcfp,thanostx/regcfp,benzea/regcfp,benzea/regcfp,thanostx/regcfp,benzea/regcfp | |
b3d6e59b6f97dc554651b53a0d9fb0f5af50b004 | src/main/resources/assets/app/scripts/templates/job_item_view.hbs | src/main/resources/assets/app/scripts/templates/job_item_view.hbs | <li class="item" data-cid="{{cid}}">
<div class="span9 job-name">{{name}}</div>
<div class="span3 last-run">
<span class="count"
data-rv-class-count-success="job.lastRunSuccess"
data-rv-class-count-error="job.lastRunError"
data-rv-class-count-neutral="job.lastRunFresh"
da... | <li class="item" data-cid="{{cid}}">
<div class="span9 job-name">{{name}}</div>
<div class="span3 last-run">
<span class="count"
data-rv-class-count-success="job.lastRunSuccess"
data-rv-class-count-error="job.lastRunError"
data-rv-class-count-neutral="job.lastRunFresh"
da... | Set data-original-title to update Bootstrap tooltip | Set data-original-title to update Bootstrap tooltip
Bootstrap's tooltip caches the title in an attribute called
"data-original-title". If the tooltip is shown, and then its status
updates, the title remains the old one because Rivets only updates the
"title".
This updates both the "title" and the "data-original-title... | Handlebars | apache-2.0 | erSitzt/chronos,rapidoo/chronos,kapil-malik/chronos,flixster/chronos,cgvarela/chronos,solarkennedy/chronos,flixster/chronos,erSitzt/chronos,fengshao0907/chronos,mwasn/chronos,wndhydrnt/chronos,flyinprogrammer/chronos,pekermert/chronos,shahankhatch/chronos,vixns/chronos,bussiere/chronos,cgvarela/chronos,hermansc/chronos... |
903adf43e1498b370b219af022f22cdddb5c130d | opencollective-api/templates/emails/thankyou.kendraio.hbs | opencollective-api/templates/emails/thankyou.kendraio.hbs | {{#if interval }}
Subject: Thank you for your {{{currency donation.amount currency=donation.currency}}}/{{interval}} donation to {{group.name}}
{{else}}
Subject: Thank you for your {{{currency donation.amount currency=donation.currency}}} donation to {{group.name}}
{{/if}}
{{> header}}
{{> toplogo}}
{{#if user.name}... | Create thankyou email for Kendraio | Create thankyou email for Kendraio | Handlebars | mit | OpenCollective/opencollective-api,OpenCollective/opencollective-api,OpenCollective/opencollective-api | |
5041234c26a884dec9876a027e4b44c120d002e5 | views/fedora/email/papers/talk-rejected.hbs | views/fedora/email/papers/talk-rejected.hbs | Update on your Flock submission
Hello,
Thank you for your submission to the Fedora Flock conference. We had a
great call for papers with strong competition across a variety of topics.
Unfortunately, we were not able to accept your submission, "{{paper.title}}".
However we hope to still see you at Flock.
If you subm... | Add talk rejection email template for Flock | Add talk rejection email template for Flock
| Handlebars | mit | benzea/regcfp,thanostx/regcfp,benzea/regcfp,thanostx/regcfp,benzea/regcfp,thanostx/regcfp | |
289686c69e39d61b99e6ca7e36d5d26b3ca2cfff | views/errors.hbs | views/errors.hbs | <!doctype html>
<!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" c... | Add server-side error view template | Add server-side error view template
| Handlebars | mit | darvelo/wishlist,darvelo/wishlist | |
a5a39ed5424096e33d09325abff53894c7640cfc | website/partners/technology/inspectlet/index.hbs | website/partners/technology/inspectlet/index.hbs | ---
layout: partners.hbs
title: "Inspectlet"
integrations: true
priority: 53
summary: "Use Inspectlet heatmaps and sessions playbacks to help you learn why visitors convert and develop ideas for future experiments"
logo: ""
website_link: "http://www.inspectlet.com"
website_display: "www.inspectlet.com"
kb_article: ""
s... | Create Inspectlet Listing in Partner Directory | Create Inspectlet Listing in Partner Directory | Handlebars | mit | CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg | |
790a9fd0b933126d52d6b5d3a33de246f9dc99c5 | static/templates/settings/settings_checkbox.handlebars | static/templates/settings/settings_checkbox.handlebars | <div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="{{setting_name}}"
id="{{prefix}}{{setting_name}}"
{{#if is_checked}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="{{prefix}}{{settin... | <div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="{{setting_name}}"
id="{{prefix}}{{setting_name}}"
{{#if is_checked}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="{{prefix}}{{settin... | Fix escaping of HTML in checkbox labels. | settings: Fix escaping of HTML in checkbox labels.
Some labels like one for `translate_emoticons` which contains HTML
get escaped because of use of `{{ label }}` syntax, which escapes
the string for XSS security purpose but since labels aren't any
threat to any such security cases, we can use triple curly brackets
`{{... | Handlebars | apache-2.0 | zulip/zulip,kou/zulip,timabbott/zulip,kou/zulip,shubhamdhama/zulip,zulip/zulip,zulip/zulip,dhcrzf/zulip,synicalsyntax/zulip,hackerkid/zulip,tommyip/zulip,kou/zulip,dhcrzf/zulip,andersk/zulip,andersk/zulip,rishig/zulip,rht/zulip,punchagan/zulip,kou/zulip,shubhamdhama/zulip,showell/zulip,rht/zulip,synicalsyntax/zulip,sho... |
4491aaceace061cd464cbbf5e25bd168d34a2124 | website/partners/technology/krux/index.hbs | website/partners/technology/krux/index.hbs | ---
layout: partners.hbs
title: "Krux"
integrations: true
priority: 51
summary: "Use first-party or third-party data from Krux in Optimizely to deliver personalized experiences to your visitors."
logo: ""
website_link: "https://www.krux.com/"
website_display: "www.krux.com"
kb_article: ""
stars: 0
industry:
locations:
... | Create Krux Listing in Partner Directory | Create Krux Listing in Partner Directory | Handlebars | mit | CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg,CilantroOrg/CilantroVegOrg | |
45cc4f982e1bb1fef897978f236541766b998aa8 | page-attributions.hbs | page-attributions.hbs | {{!< default}}
{{> header}}
<div class="wrapper_magnum">
<main class="main_magnum" role="main">
{{#post}}
<article class="article_magnum" role="article" itemscope itemtype="http://schema.org/Article">
<header class="postheader_magnum">
<h1 class="posttitle_magnum" itemprop="headline" id="h... | Add attribution page, because it's going to be needed for images. | Add attribution page, because it's going to be needed for images.
| Handlebars | isc | jvtrigueros/barley,jvtrigueros/barley | |
7115593289bbfc4f6fa1bef8940773e4cab37256 | src/main/resources/templates/album_show.hbs | src/main/resources/templates/album_show.hbs | {{#partial "body"}}
<h2>{{album.name}}</h2>
<ul class="thumbnail-list">
{{#each images}}
<li>
<img src="{{urlForImage this}}" alt=""/>
</li>
{{/each}}
</ul>
{{/partial}}
{{> layouts/main.hbs }}
| Create partial for album show pages | Create partial for album show pages
| Handlebars | mit | allen-garvey/photog-spark,allen-garvey/photog-spark,allen-garvey/photog-spark | |
f55ab684ff58f7291cd86cb3cb2baa4fce50fe9c | app/templates/application.hbs | app/templates/application.hbs | <div class='container'>
<div class='header'>
</div>
<div class='links'>
{{#link-to 'our-story'}}
Our Story
{{/link-to}}
{{#link-to 'registry'}}
Registry
{{/link-to}}
{{#link-to 'travel-info'}}
Travel Information
{{/... | Create common template for header and navigational links | Create common template for header and navigational links
| Handlebars | mit | dayton-bobbitt/wedding,dayton-bobbitt/wedding | |
fa350acb77e1be4a4017ad6d7bfd05ef992f3cb5 | book/theme/head.hbs | book/theme/head.hbs | <script async src="https://www.googletagmanager.com/gtag/js?id=G-DG41MK6DDN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DG41MK6DDN');
</script>
| Set a google analytics 4 global site tag | Set a google analytics 4 global site tag
| Handlebars | apache-2.0 | dtolnay/cxx,dtolnay/cxx,dtolnay/cxx,dtolnay/cxx | |
041a6ac726daaf4b44b4b872e5f9831405b7df49 | public/templates/dashboard_instance_list.handlebars | public/templates/dashboard_instance_list.handlebars | {{#each models}}
<li data-id="{{id}}">
<span class="spacer left"/>
<img src="{{imageUrl}}"/>
<div class="text">
<div class="main">
<span class="name" title="{{name}}">{{name}}</span>
</div>
<div class="browse">
<a href="#" c... | {{#each models}}
<li data-id="{{id}}">
<span class="spacer left"/>
<a class="image">
<img src="{{imageUrl}}"/>
</a>
<div class="text">
<div class="main">
<span class="name" title="{{name}}">{{name}}</span>
</div>
<div cl... | Fix styling on dashboard instance list. | Fix styling on dashboard instance list.
| Handlebars | apache-2.0 | hewtest/chorus,atul-alpine/chorus,prakash-alpine/chorus,lukepolo/chorus,atul-alpine/chorus,prakash-alpine/chorus,lukepolo/chorus,jamesblunt/chorus,jamesblunt/chorus,hewtest/chorus,hewtest/chorus,lukepolo/chorus,hewtest/chorus,prakash-alpine/chorus,lukepolo/chorus,jamesblunt/chorus,atul-alpine/chorus,atul-alpine/chorus,... |
6ecf881041a4c92b14a542afad3d542413975929 | page-about.hbs | page-about.hbs | {{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
<section id="post-container" role="main">
{{#post}}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<div ... | Create custom about me page style | Create custom about me page style
| Handlebars | mit | joehanchoi/Mutiny,joehanchoi/Mutiny | |
7c13a4ee2c9aa485ebdf57333796918020534abb | server/views/layouts/default.hbs | server/views/layouts/default.hbs | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<meta name="description" content="" />
<meta name="author" content="" />
<link rel="author" href="/humans.txt" />
<meta name="viewport" content="width=device-width, in... | Add layouts and partials directory to views folder. | Add layouts and partials directory to views folder.
Views folder exists to hold views for each page besides just layouts and partials.
| Handlebars | mit | billpatrianakos/coverage-web,billpatrianakos/coverage-web,billpatrianakos/coverage-web | |
e8a5c2826c1041f8415950620c3835b0c42a48c2 | src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/hybrid/opennebula.hbs | src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/hybrid/opennebula.hbs | <div class="row">
<div class="medium-6 columns">
<label>
{{tr "Remote VM Template ID"}}
<input required wizard_field="TEMPLATE_ID" type="number">
</label>
</div>
</div> | Add missing file from commit c8386c4 | Add missing file from commit c8386c4
| Handlebars | apache-2.0 | unistra/one,unistra/one,OpenNebula/one,atodorov-storpool/one,alvarosimon/one,ohamada/one,abelCoronado93/one,goberle/one,ohamada/one,unistra/one,atodorov-storpool/one,atodorov-storpool/one,OpenNebula/one,abelCoronado93/one,atodorov-storpool/one,abelCoronado93/one,juanmont/one,juanmont/one,OpenNebula/one,atodorov-storpoo... | |
6f9f6bc8721faa0cd661ba6429c53293a9ee9ceb | app/templates/users/new.hbs | app/templates/users/new.hbs | <div class="panel panel-primary">
{{partial "users/form"}}
<div class="panel-footer clearfix">
<button {{action "save" }} class="btn btn-primary pull-right">Save</button>
<button {{action "cancel"}} class="btn btn-default">Cancel</button>
</div>
</div> | Create New User template and test | Create New User template and test
| Handlebars | mit | elrickvm/ember-trackr,elrickvm/ember-trackr | |
cb037241be69336f2c9dce558efa836685fdf4ca | core/client/templates/components/gh-modal-dialog.hbs | core/client/templates/components/gh-modal-dialog.hbs | <div class="modal-container js-modal-container" {{action "closeModal"}}>
<article {{bind-attr class="klass :js-modal"}}>
<section class="modal-content" {{action bubbles=false preventDefault=false}}>
{{#if title}}<header class="modal-header"><h1>{{title}}</h1></header>{{/if}}
{{#if sh... | <div class="modal-container js-modal-container" {{action "closeModal"}}>
<article {{bind-attr class="klass :js-modal"}}>
<section class="modal-content" {{action bubbles=false preventDefault=false}}>
{{#if title}}<header class="modal-header"><h1>{{title}}</h1></header>{{/if}}
{{#if sh... | Swap button-order on modal dialogs | Swap button-order on modal dialogs
Issue #4583
- Delete button should be on the right, cancel on the left, for all modal dialogs.
| Handlebars | mit | mohanambati/Ghost,bisoe/Ghost,telco2011/Ghost,PDXIII/Ghost-FormMailer,chris-yoon90/Ghost,dymx101/Ghost,claudiordgz/Ghost,omaracrystal/Ghost,Rovak/Ghost,johngeorgewright/blog.j-g-w.info,jparyani/GhostSS,allanjsx/Ghost,andrewconnell/Ghost,duyetdev/islab,veyo-care/Ghost,benstoltz/Ghost,pollbox/ghostblog,mhhf/ghost-latex,m... |
f73c4dfb52fffdc8f3522e66d5dd0e801b15ba6b | app/frontend/app/templates/header/avatar.hbs | app/frontend/app/templates/header/avatar.hbs | <li class="dropdown user-area">
<a class="dropdown-toggle navbar-avatar" data-toggle="dropdown">
{{avatar currentUser "thumb_small"}}
</a>
<ul class="dropdown-menu right-nav-section">
<li>{{#link-to 'user' currentUser.id}}<i class="fa fa-paper-plane"></i> View Profile{{/link-to}}</li>
<li>{{#link-to '... | <li class="dropdown user-area">
<a class="dropdown-toggle navbar-avatar" data-toggle="dropdown">
{{avatar currentUser "thumb_small"}}
</a>
<ul class="dropdown-menu right-nav-section">
<li>{{#link-to 'user' currentUser.id}}<i class="fa fa-paper-plane"></i> View Profile{{/link-to}}</li>
<li>{{#link-to '... | Change messaging in header if user is already PRO | Change messaging in header if user is already PRO
| Handlebars | apache-2.0 | xhocquet/hummingbird,Snitzle/hummingbird,saintsantos/hummingbird,paladique/hummingbird,astraldragon/hummingbird,qgustavor/hummingbird,vevix/hummingbird,vevix/hummingbird,hummingbird-me/hummingbird,cybrox/hummingbird,jcoady9/hummingbird,jcoady9/hummingbird,xhocquet/hummingbird,xhocquet/hummingbird,qgustavor/hummingbird,... |
e9c22ea580243f8664f36281360d8a5d32726860 | core/client/templates/modals/delete-post.hbs | core/client/templates/modals/delete-post.hbs | {{#gh-modal-dialog action="closeModal" showClose=true type="action" style="wide,centered" animation="fade"
title="Are you sure you want to delete this post?" confirm=confirm}}
<p>This is permanent! No backups, no restores, no magic undo button. <br /> We warned you, ok?</p>
{{/gh-modal-dialog}}
| {{#gh-modal-dialog action="closeModal" showClose=true type="action" style="wide,centered" animation="fade"
title="Are you sure you want to delete this post?" confirm=confirm}}
<p>You're about to delete "<strong>{{model.title}}</strong>".<br />This is permanent! No backups, no restores, no magic undo button. <b... | Include post title in 'delete post' modal | Include post title in 'delete post' modal
Closes #2971
| Handlebars | mit | adam-paterson/blog,zumobi/Ghost,edsadr/Ghost,ineitzke/Ghost,liftup/ghost,bosung90/Ghost,morficus/Ghost,sebgie/Ghost,lukaszklis/Ghost,akveo/akveo-blog,daimaqiao/Ghost-Bridge,claudiordgz/Ghost,gleneivey/Ghost,thinq4yourself/Unmistakable-Blog,hilerchyn/Ghost,Alxandr/Blog,Elektro1776/javaPress,ManRueda/Ghost,patrickdbakke/... |
873f7ced0bf0adea96bd5799a57a5c7d2cad87b1 | src/main/web/templates/handlebars/partials/related/timeseries-tool.handlebars | src/main/web/templates/handlebars/partials/related/timeseries-tool.handlebars | <div class="box__content background--iron-light padding-top-md--2 padding-right-md--1 padding-bottom-md--1 padding-left-md--1 margin-bottom-md--2 js-hover">
<h3>Looking to download time series data?</h3>
<p><a href="/timeseriestool">Try our time series explorer tool</a></p>
</div> | Add time series tool partial link | Add time series tool partial link
| Handlebars | mit | ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage | |
be7d2a9d457026e24fc8a2b8bba4cf67f58f40d5 | lib/Logic.hb | lib/Logic.hb | module Logic
inductive True : Type
| I : True
end
inductive False : Type
end
def not (P : Type) : Type :=
P -> False
end
inductive And (P : Type) (Q : Type) : Type
| Conj : P -> Q -> And P Q
end
inductive Or (P : Type) (Q : Type) : Type
| OrIntroL : P -> Or P Q
| OrIntroR : Q -> Or P Q
end
def main : Tr... | Add some simple logic inductive types for testing | Add some simple logic inductive types for testing
| Harbour | mit | jroesch/hubris,jroesch/hubris,hubris-lang/hubris,hubris-lang/hubris | |
d4605fea05a59a9000e267d40554f17fed18f54a | src/Types.hs | src/Types.hs | {-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE RecordWildCards #-}
module Types
( ShkoloUrl
, ArticleMetaData(..)
, parseTime'
) where
import Data.Time
import qualified Data.Text.Lazy as LT
import Data.Aeson
import GHC.Generics
import Data.Csv
import Control.Monad
ty... | {-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE RecordWildCards #-}
module Types
( ShkoloUrl
, ArticleMetaData(..)
, parseTime'
) where
import Data.Time
import qualified Data.Text.Lazy as LT
import Data.Aeson
import GHC.Generics
import Data.Csv
import Control.Monad
ty... | Switch from UTCTime to ZonedTime | Switch from UTCTime to ZonedTime
| Haskell | bsd-3-clause | DNNX/shkoliner,DNNX/shkoliner |
6f44fe84bc06a6142cc214cf10376e03fce3342e | app/Main.hs | app/Main.hs | module Main where
import Build (build)
import Options.Applicative (
ParserInfo, Parser, execParser,
subparser, command, info,
progDesc, header, metavar,
many, argument, str, auto)
data Command = Build [FilePath]
commandParserInfo :: ParserInfo Command
commandParserInfo =
info commandParser (header "fragn... | module Main where
import Build (build)
import Options.Applicative (
ParserInfo, Parser, execParser,
subparser, command, info,
progDesc, header, metavar, helper, (<**>),
many, argument, str, auto, fullDesc)
data Command = Build [FilePath]
commandParserInfo :: ParserInfo Command
commandParserInfo =
info (c... | Add help texts for subcommands | Add help texts for subcommands
| Haskell | bsd-3-clause | phischu/fragnix,phischu/fragnix,phischu/fragnix |
4ac27b87ae4d0c4fba2c0cb730c0354bba4a8790 | src/Main.hs | src/Main.hs | {-# LANGUAGE CPP #-}
module Main(main) where
import Control.Monad
import Data.Maybe
import System.Console.CmdArgs
import System.Environment
import System.IO
import Arguments
import Cabal
import Git
#ifndef SMALL
import Travis
#endif
import qualified Paper.Main as Paper
main :: IO ()
main = do
hSetBuffering std... | {-# LANGUAGE CPP #-}
module Main(main) where
import Text.JSON()
import Text.JSON.Generic()
import Text.JSON.Parsec()
import Text.JSON.Pretty()
import Text.JSON.ReadP()
import Text.JSON.String()
import Text.JSON.Types()
import Control.Monad
import Data.Maybe
import System.Console.CmdArgs
import System.Environment
imp... | Make sure all the JSON modules get compiled | Make sure all the JSON modules get compiled
| Haskell | bsd-3-clause | Daniel-Diaz/neil,saep/neil |
d16651c6186196ba8b51d8c713f279c32dcb8db2 | src/Main.hs | src/Main.hs | import System.IO
import Text.ParserCombinators.Parsec (eof)
import NGramCrackers.NGramCrackers
import NGramCrackers.TupleManipulation
import NGramCrackers.ParagraphParsers
import Data.Char (toUpper)
import Data.List (intersperse)
import Control.Monad (liftM)
import Data.Either.Unwrap (fromRight)
main = do
inHandle... | import System.IO
import System.Environment (getArgs, getProgName)
import NGramCrackers.NGramCrackers
import NGramCrackers.TupleManipulation
import NGramCrackers.ParagraphParsers
import Data.Char (toUpper)
import Data.List (intersperse)
import Control.Monad (liftM)
import System.Console.GetOpt
-- removed some extraneou... | Add CLI arg parsing skeleton | Add CLI arg parsing skeleton
-- The arg parsing library used is GetOpts. The program compiles
and outputs that it has zero arguments. The code was borrowed
from http://leiffrenzel.de/papers/commandline-options-in-haskell.html
| Haskell | agpl-3.0 | R-Morgan/NGramCrackers |
fb9dd5ef8baebd338baef9876e587d1b20f1b08b | lib/Capnp/New/Basics.hs | lib/Capnp/New/Basics.hs | {-# LANGUAGE DataKinds #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
module Capnp.New.Basics
( Text
, Data
, AnyPointer
, AnyList
, AnyStruct
, Capability
) where
import qualified Capnp.New.Classes as C
i... | {-# LANGUAGE DataKinds #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
module Capnp.New.Basics
( Text
, Data
, AnyPointer
, AnyList
, AnyStruct
, Capability
) where
import qualified Capnp.New.Classes as C
i... | Implement Allocate, Marshal, and encode for Data. | Implement Allocate, Marshal, and encode for Data.
| Haskell | mit | zenhack/haskell-capnp |
4116eb6887e70e123e5ba59cce66c85b88a647e0 | test/JournalFileTests.hs | test/JournalFileTests.hs | module JournalFileTests where
import Test.Tasty
import Test.Tasty.Hspec
specTests :: IO TestTree
specTests = testGroup "journal file tests" <$> sequence [temp2]
temp2 :: IO TestTree
temp2 = testSpec "file creation" $
describe "Addition" $ do
it "2 + 2 is 4" $
(2 + 2) `shouldBe` 4
| module JournalFileTests where
import Test.Tasty
import Test.Tasty.Hspec
import System.Posix.Memory
specTests :: IO TestTree
specTests = testGroup "journal file tests" <$> sequence [temp2]
temp2 :: IO TestTree
temp2 = testSpec "OSX Specific - needs changing" $
describe "Page size" $ do
it "w... | Test for osx page size | Test for osx page size
| Haskell | bsd-3-clause | fatlazycat/eventjournal |
230cac2ec74c0dfe8ceb84150fe0c9b978cc5d7b | src/Haddock/Version.hs | src/Haddock/Version.hs | --
-- Haddock - A Haskell Documentation Tool
--
-- (c) Simon Marlow 2003
--
module Haddock.Version (
projectName, projectVersion, projectUrl
) where
import Paths_haddock ( version )
import Data.Version ( showVersion )
projectName, projectUrl :: String
projectName = "Haddock-GHC"
projectUrl = "http://www.haskel... | --
-- Haddock - A Haskell Documentation Tool
--
-- (c) Simon Marlow 2003
--
module Haddock.Version (
projectName, projectVersion, projectUrl
) where
import Paths_haddock ( version )
import Data.Version ( showVersion )
projectName, projectUrl :: String
projectName = "Haddock"
projectUrl = "http://www.haskell.o... | Change project name from Haddock-GHC to Haddock | Change project name from Haddock-GHC to Haddock
| Haskell | bsd-2-clause | ghcjs/haddock-internal,ghcjs/haddock-internal |
03e1d518f0bff8aefd65b0653b525b72b1e31605 | src/HaskellWorks/Data/Positioning.hs | src/HaskellWorks/Data/Positioning.hs | {-# LANGUAGE GeneralizedNewtypeDeriving #-}
module HaskellWorks.Data.Positioning
( Count(..)
, Position(..)
, lastPositionOf
, toCount
, toPosition
) where
import Control.DeepSeq
import Data.Int
import Data.Word
import System.Random
-- | A value representing a coun... | {-# LANGUAGE GeneralizedNewtypeDeriving #-}
module HaskellWorks.Data.Positioning
( Count(..)
, Position(..)
, lastPositionOf
, toCount
, toPosition
) where
import Control.DeepSeq
import Data.Int
import Data.Word
import System.Random
-- | A value representing a coun... | Introduce ToPosition and ToCount type classes | Introduce ToPosition and ToCount type classes
| Haskell | bsd-3-clause | haskell-works/hw-prim |
aaa561b78efd515d3950f3c4951ee73aa386eb6a | specs/Data/MediaBus/Conduit/FrameRingSpec.hs | specs/Data/MediaBus/Conduit/FrameRingSpec.hs | module Data.MediaBus.Conduit.FrameRingSpec (spec) where
import Conduit
import Control.Monad
import Data.Conduit.List
import Data.MediaBus
import Data.Proxy
import Data.Word
import Debug.Trace
import Test.Hspec
import Test.QuickCheck
spec :: Spec
spec =
describe "FrameRing" $ do
describe "basics"
$ do
... | module Data.MediaBus.Conduit.FrameRingSpec (spec) where
import Conduit
import Control.Monad
import Data.Conduit.List
import Data.MediaBus
import Data.Proxy
import Data.Word
import Debug.Trace
import Test.Hspec
import Test.QuickCheck
spec :: Spec
spec =
describe "FrameRing" $ do
describe "basics" $ do
it "... | Make 'cabal test' run in a nix-shell | Make 'cabal test' run in a nix-shell
| Haskell | bsd-3-clause | lindenbaum/mediabus |
74e06222035930bc484e6191f198b8b5b8b08308 | src/Main.hs | src/Main.hs | {-# LANGUAGE DeriveDataTypeable, RecordWildCards #-}
module Main where
import Data.Aeson
import System.Console.CmdArgs.Implicit
import qualified Data.ByteString.Lazy.Char8 as B
import StratumClient
data Args = Args { server :: String
, port :: Int
, command :: String
... | {-# LANGUAGE DeriveDataTypeable, RecordWildCards #-}
module Main where
import Control.Applicative
import Data.Aeson
import System.Console.CmdArgs.Implicit
import qualified Data.ByteString.Lazy.Char8 as B
import StratumClient
data Args = Args { server :: String
, port :: Int
, c... | Add mode for querying multiple times | Add mode for querying multiple times
| Haskell | agpl-3.0 | prasos/stratum-tool,zouppen/stratum-tool |
00f43d3629d830b70ebfeddb70d9c0b7fa086b9c | Main.hs | Main.hs | {-# LANGUAGE OverloadedStrings #-}
import Web.Scotty as S
import Network.Wai.Middleware.RequestLogger
import Network.Wai.Middleware.Static
import System.Environment
import System.Process
import Control.Monad
import Control.Monad.IO.Class
import Data.Monoid (mconcat)
import Data.Aeson
import qualified Data.Text.Lazy as... | {-# LANGUAGE OverloadedStrings #-}
import Web.Scotty as S
import Network.Wai.Middleware.RequestLogger
import Network.Wai.Middleware.Static
import System.Environment
import System.Process
import Control.Monad
import Control.Monad.IO.Class
import Data.Monoid (mconcat)
import Data.Aeson
import qualified Data.Text.Lazy a... | Move code to data type | Move code to data type
| Haskell | mit | keathley/pointfree.io,keathley/pointfree.io |
d0d264fe6083f39f181a0ddfdcb04df1a68900e7 | server/src/HTTPMethodInvalid.hs | server/src/HTTPMethodInvalid.hs | module HTTPMethodInvalid (canonicalizeHTTPMethods, limitHTTPMethods) where
import qualified Network.Wai as Wai
import qualified Network.HTTP.Types as HTTP
import qualified Network.HTTP.Types.Method as Method
import qualified Data.ByteString.Char8 as ByteString
import qualified Data.ByteString.Lazy.Char8 as LBS
-- | C... | module HTTPMethodInvalid (canonicalizeHTTPMethods, limitHTTPMethods) where
import qualified Network.Wai as Wai
import qualified Network.HTTP.Types as HTTP
import qualified Network.HTTP.Types.Method as Method
import qualified Data.ByteString.Char8 as ByteString
import qualified Data.ByteString.Lazy.Char8 as LBS
-- | C... | Set the post condition after canonicalization | Set the post condition after canonicalization
| Haskell | bsd-3-clause | channable/icepeak,channable/icepeak,channable/icepeak |
b71893e794113676475b1bd6a602be4635434bb3 | src/Data/Iteratee.hs | src/Data/Iteratee.hs | {-# LANGUAGE FlexibleContexts #-}
module Data.Iteratee (
module Data.Iteratee.Base,
module Data.Iteratee.Binary,
fileDriverRandom
)
where
import Data.Iteratee.Base
import Data.Iteratee.Binary
import Data.Iteratee.IO
| {- | Provide iteratee-based IO as described in Oleg Kiselyov's paper http://okmij.org/ftp/Haskell/Iteratee/.
Oleg's original code uses lists to store buffers of data for reading in the iteratee. This package allows the use of arbitrary types through use of the StreamChunk type class. See Data.Iteratee.WrappedByteStr... | Add header to Haddock docs. | Add header to Haddock docs.
| Haskell | bsd-3-clause | JohnLato/iteratee |
7d59815f8599e85b8c43495f9b0460aabaf4e736 | src/Main.hs | src/Main.hs | module Main where
import Client
import Control.Exception (bracket)
import Control.Monad (forever, unless)
import System.IO
import qualified Message as M
processNetworkLoop :: Handle -> IO ()
processNetworkLoop handle = do
eof <- hIsEOF handle
unless eof $ do
line <- hGetLine handle
unless (nul... | module Main where
import Client
import Control.Exception (bracket)
import Control.Monad (forever, unless)
import System.IO
import Message
preprocessLine :: Maybe Message -> Handle -> IO ()
preprocessLine (Just (Ping content)) h = hPutStrLn h $ "PONG " ++ content
preprocessLine _ _ = return ()
processNetworkLoop :: H... | Add preprocessing for PING message type | Add preprocessing for PING message type
| Haskell | mit | Acizza/twirc |
c91077cf5d86895a51b84a6e9250fddd9bff60af | src/Parser.hs | src/Parser.hs | module Parser where
import Text.Parsec as P
import Control.Applicative
type Key = String
type VarName = String
data PropAccessPath = PropAccessPath VarName [Key] deriving (Show)
propAccessParser :: Parsec String st PropAccessPath
propAccessParser = PropAccessPath <$> (varName <* char '.') <*> accesses
where
... | module Parser where
import Text.Parsec as P
import Control.Applicative
type PropName = String
type VarName = String
data PropAccessPath = PropAccessPath VarName [PropName] deriving (Show)
propAccessParser :: Parsec String st PropAccessPath
propAccessParser = PropAccessPath <$> (varName <* char '.') <*> accesses
... | Rename type alias for clarity. Use many1 for accesses. | Rename type alias for clarity. Use many1 for accesses.
| Haskell | mit | lambdatoast/fpac,lambdatoast/fpac |
305525c1cd067f41d54619708367bb34c3a2abd5 | src/Day1.hs | src/Day1.hs | module Day1 where
import Data.List (foldl')
move :: Char -> Integer -> Integer
move '(' = succ
move ')' = pred
floor :: String -> Integer
floor = foldl' (flip move) 0
basement :: String -> Integer
basement = fst . foldl' nextMove (-1, 0) . zip [1..]-- foldl' nextMove (-1, 0) pos
nextMove acc@(pos, level) (pos', ne... | module Day1 where
import Data.List (foldl')
move :: Char -> Integer -> Integer
move '(' = succ
move ')' = pred
move x = error $ "unknown move type" ++ [x]
floor :: String -> Integer
floor = foldl' (flip move) 0
basement :: String -> Integer
basement = fst . foldl' nextMove (-1, 0) . zip [1..]-- foldl' nextMove (-... | Correct errors in day 1 | Correct errors in day 1
| Haskell | bsd-2-clause | taylor1791/adventofcode |
a01868ec5d7b50da17a413f0c84d3d858da00bcc | src/Main.hs | src/Main.hs | import System.Environment
import Text.Parsec (parse)
import Uroboro.Parser (library, expression)
parseFromFile p fname = do
input <- readFile fname
return $ parse p fname input
main :: IO ()
main = do
args <- getArgs
lib <- parseFromFile library (args !! 0)
case lib of
Left e -> print e
... | import System.Environment
import Text.Parsec (parse)
import Uroboro.Parser (parseDef)
parseFromFile p fname = do
input <- readFile fname
return $ parse p fname input
main :: IO ()
main = do
args <- getArgs
lib <- parseFromFile parseDef (args !! 0)
case lib of
Left e -> print e
Ri... | Adjust main to new parser | Adjust main to new parser | Haskell | mit | Toxaris/uroboro,lordxist/uroboro,tewe/uroboro |
d84a19188bd49796a636e0805f9883043e337245 | src/Rand.hs | src/Rand.hs | module Rand
(
Dist(..),
Gaussian(..),
gaussianBySeed,
) where
import System.Random
class Dist d where
rand :: Double -> Double -> d -> (Double, d)
data Gaussian = Gaussian
{ rng :: StdGen
}
gaussianBySeed :: Int -> Gaussian
gaussianBySeed seed = Gaussian {rng = mkStdGen seed}
-- Polar Box-Mul... | module Rand
( Dist(..)
, Gaussian(..)
, gaussianBySeed
) where
import System.Random
class Dist d where
rand :: Double -> d -> (Double, d)
data Gaussian = Gaussian
{ dev :: Double
, rng :: StdGen
}
gaussianBySeed :: Int -> Double -> Gaussian
gaussianBySeed seed variance = Gaussian {dev = sqrt varianc... | Embed variance in the distribution. | Embed variance in the distribution.
| Haskell | mit | turnage/valora |
893a8b7faa4bed83de6fcf1ee96d1cfd00e73e18 | test/integration/tests/3863-purge-command/Main.hs | test/integration/tests/3863-purge-command/Main.hs | import StackTest
import System.Directory
main :: IO ()
main = do
stack ["build"]
stack ["purge"]
| import StackTest
import Data.Maybe (listToMaybe, fromMaybe)
import System.Directory
import System.FilePath
main :: IO ()
main =
-- For these commands, we'll need to know the `dist` directory.
-- This is usually `.stack-work/dist/$compiler-variant/Cabal-xxxx`
stackCheckStdout [defaultResolverArg, "path", "--dist-... | Check correct directory deletion behaviour for simple project | Check correct directory deletion behaviour for simple project
- The integration test ensures the correct directories are present,
then deleted, for a project with only one package, not in a
subdirectory.
| Haskell | bsd-3-clause | juhp/stack,juhp/stack |
12e22ebb67534742e1b4cb6bbd30f6596126ea1a | Betty/Pid.hs | Betty/Pid.hs | module Betty.Pid ( writePidFile ) where
------------------------------------------------------------------------
import ClassyPrelude.Yesod
import System.Directory (createDirectoryIfMissing)
import System.IO (IOMode (WriteMode), hPrint, withFile)
import System.Posix.Process (getProcessID)
-----------... | module Betty.Pid ( writePidFile ) where
------------------------------------------------------------------------
--
-- Write process ID somewhere in the filesystem so that monitoring
-- apps can monitor. If "/opt/keter/var" is writable or can be
-- created, write betty.pid there; do not write anything otherwise.
--
-... | Handle exceptions from IO; add comment. | Handle exceptions from IO; add comment.
`createDirectoryIfMissing` and `hPrint` can throw IO exception; ignore
and continue if any of that happens.
Silently failing here may not be a good idea (monit the monitoring app
may go haywire), but what this is function does is not that critical
for general use.
| Haskell | agpl-3.0 | sajith/betty-web |
4db24a88bd2bf7ee5ae7b6b97293e3fc2e4d7727 | src/Main.hs | src/Main.hs | import System.Environment
import Parser
import Eval
import Expr
main :: IO ()
main = getArgs >>= handleArgs . getFirst
where getFirst args = if null args then "" else head args
handleArgs args = case args of
"--ast" -> putAst
_ -> putExpr
-- Pars... | import System.Environment
import Parser
import Eval
import Expr
main :: IO ()
main = getArgs >>= handleArgs . getFirst
where getFirst args = if null args then "" else head args
handleArgs args = case args of
"--ast" -> putAst
_ -> putExpr
-- Pars... | Modify `printList` to be more readable | Modify `printList` to be more readable
| Haskell | mit | apollo-lang/apollo |
649a62bec3f6af6505f3c2c0bc6bc99c18657738 | src/Main.hs | src/Main.hs | import System.Environment (getArgs)
import System.Random
import Data.List
type Count a = (Int, a)
type FrequencyCount a = [Count a]
main :: IO ()
main = do
[fileName] <- getArgs
seed <- newStdGen
let numbers = take 1000000 $ randomIntStream seed
putStrLn $ summary $ frequency numbers
fileContents ... | import System.Environment (getArgs)
import System.Random
import Data.List
type Count a = (Int, a)
type FrequencyCount a = [Count a]
main :: IO ()
main = do
[fileName] <- getArgs
seed <- newStdGen
fileContents <- readFile fileName
putStrLn $ "Top 10 characters in " ++ fileName ++ ":"
putStrLn $ summ... | Move summary description out of summary function | Move summary description out of summary function
| Haskell | mit | apauley/parallel-frequency |
51cace37a4bd48cf8cef35899583e19e54d35f5f | src/Main.hs | src/Main.hs | -- Main.hs
-- by Alexandre Medeiros <alexandre.n.medeiros _at_ gmail.com>
--
-- Main file for ECS713 Functional Programming Project
-- Main function
main :: IO ()
main = putStrLn "Hello, World"
| -- Main.hs
-- by alemedeiros <alexandre.n.medeiros _at_ gmail.com>
--
-- Main file for musicdb -- ECS713 Functional Programming Project
import System.Environment
import System.IO
-- |The main function provides TODO different functionalities:
--
-- [@init@] will initialize the database musisbrainz.db
--
-- [@add ar... | Create initial main function structure | Create initial main function structure
| Haskell | bsd-3-clause | alemedeiros/musicdb |
1ab794ba04529a04af60db2775808e2116ccf5b0 | Examples/Test/OrderOnly.hs | Examples/Test/OrderOnly.hs |
module Examples.Test.OrderOnly(main) where
import Development.Shake
import Examples.Util
main = shaken test $ \args obj -> do
want $ map obj args
obj "bar.txt" *> \out -> do
alwaysRerun
writeFile' out =<< liftIO (readFile $ obj "bar.in")
obj "foo.txt" *> \out -> do
let src = ob... |
module Examples.Test.OrderOnly(main) where
import Development.Shake
import Examples.Util
main = shaken test $ \args obj -> do
want $ map obj args
obj "bar.txt" *> \out -> do
alwaysRerun
writeFile' out =<< liftIO (readFile $ obj "bar.in")
obj "foo.txt" *> \out -> do
let src = ob... | Make the orderOnly test robust to 1s filetime delay | Make the orderOnly test robust to 1s filetime delay
| Haskell | bsd-3-clause | ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake |
fbd0a913a414865dcfa49609c8a5e74e1c556407 | wallet-new/src/Cardano/Wallet/API/V1/Parameters.hs | wallet-new/src/Cardano/Wallet/API/V1/Parameters.hs | {-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
module Cardano.Wallet.API.V1.Parameters where
import Universum
import Servant
import Cardano.Wallet.API.Types (AlternativeApiArg, DQueryParam, WithDefaultApiArg,
... | {-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -fno-warn-missing-methods #-}
module Cardano.Wallet.API.V1.Parameters where
import Universum
import Servant
import Cardano.Wallet.API.Types (AlternativeApiArg, DQueryParam, WithDefaultApiArg,
... | Add `hoistServerWithContext` implementation for `WalletRequestParams` | Add `hoistServerWithContext` implementation for `WalletRequestParams`
| Haskell | apache-2.0 | input-output-hk/pos-haskell-prototype,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/cardano-sl,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl |
ba7df25f5ebbac625f3f6871b3ef38f719ea50e8 | Data/CapNProto/Untyped.hs | Data/CapNProto/Untyped.hs | module Data.CapNProto.Untyped where
import qualified Data.ByteString as B
import Data.Word
import Data.Int
import Data.Vector ((!))
import qualified Data.Vector as BV
import qualified Data.Vector.Unboxed as UV
import Control.Monad.Catch (MonadThrow, throwM)
import Control.Exception (ArrayException(IndexOutOfBounds))
... | module Data.CapNProto.Untyped where
import qualified Data.ByteString as B
import Data.Word
import Data.Int
import Data.Vector ((!))
import qualified Data.Vector as V
import Control.Monad.Catch (MonadThrow, throwM)
import Control.Exception (ArrayException(IndexOutOfBounds))
type Segment = B.ByteString
type Message = ... | Remove unused import of unboxed vectors. | Remove unused import of unboxed vectors.
and change the BV qualified import to just V; more clear esp. since we
now have B for ByteString.
| Haskell | mit | zenhack/haskell-capnp |
f80dd4cc253afd4178f794e20aac9b0379b8d036 | src/Oracles/ArgsHash.hs | src/Oracles/ArgsHash.hs | {-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
module Oracles.ArgsHash (checkArgsHash, argsHashOracle) where
import Expression
import Settings
import Settings.Args
import Target
newtype ArgsHashKey = ArgsHashKey Target
deriving (Show, Eq, Typeable, Binary, Hashable, NFData)
-- This is an action ... | {-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
module Oracles.ArgsHash (checkArgsHash, argsHashOracle) where
import Expression
import Settings
import Settings.Args
import Target
newtype ArgsHashKey = ArgsHashKey Target
deriving (Show, Eq, Typeable, Binary, Hashable, NFData)
-- This is an action ... | Use existing target input instead of made up 'src' | Use existing target input instead of made up 'src'
| Haskell | bsd-3-clause | snowleopard/shaking-up-ghc,quchen/shaking-up-ghc,bgamari/shaking-up-ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,izgzhen/hadrian,snowleopard/hadrian,sdiehl/ghc |
60e12f8bd65fdf74c5e1e14743e8b4bf1c0cdbff | src/Utils.hs | src/Utils.hs | module Utils
(
listOfAtoms
) where
import Logic
listOfAtoms :: (Formula a)-> [a]
listOfAtoms formula = overAtoms (\x y -> x:y) formula []
| module Utils
( atoms
, atomUnion
) where
import Data.List
import Logic
-- Get list of atoms
atoms formula = atomUnion (\atom -> [atom]) formula
-- Collect atoms by some attribute set by function
atomUnion function formula = overAtoms (\p q -> function p `union` q) formula []
| Implement functions to work with atoms | utils: Implement functions to work with atoms
| Haskell | bsd-3-clause | etu-fkti5301-bgu/alt-exam_automated_theorem_proving |
22bd74e450e65c1c8a9ecbb57d13d6debc8bed9e | test/foo/src/Dir/Everything.hs | test/foo/src/Dir/Everything.hs |
module Dir.Everything(module Data.List.Extra, module Dir.Everything) where
import Data.List.Extra
usedFunction1 = 12 :: Int
usedFunction2 = Other
unusedFunction = 12 :: Int
(=~=) a b = a == b -- used
(==~==) a b = a == b
class ClassWithFunc a where
classWithFunc :: a
data D1 = D1 {d1 :: Int}
data D2 = D2 {d2 :... |
module Dir.Everything(module Data.List.Extra, module Dir.Everything) where
import Data.List.Extra
usedFunction1 = undefined :: (T1 -> T1) -> ()
usedFunction2 = Other
unusedFunction = 12 :: Int
(=~=) a b = a == b -- used
(==~==) a b = a == b
class ClassWithFunc a where
classWithFunc :: a
data D1 = D1 {d1 :: Int... | Add a test for the signature parser | Add a test for the signature parser
| Haskell | bsd-3-clause | ndmitchell/weeder |
587d9df685c94eda7169817020454660a6d6a8d1 | env/src/Spotify.hs | env/src/Spotify.hs | module Spotify where
import Imports
spotifyTogglePlay :: XX ()
spotifyTogglePlay = spotify "PlayPause"
spotifyNext :: XX ()
spotifyNext = spotify "Next"
spotifyPrevious :: XX ()
spotifyPrevious = spotify "Previous"
spotify :: String -> XX ()
spotify cmd =
spawn
"dbus-send"
[ "--print-reply"
, "--dest... | module Spotify where
import Imports
spotifyTogglePlay :: (MonadIO m, MonadReader Env m) => m ()
spotifyTogglePlay = spotify "PlayPause"
spotifyNext :: (MonadIO m, MonadReader Env m) => m ()
spotifyNext = spotify "Next"
spotifyPrevious :: (MonadIO m, MonadReader Env m) => m ()
spotifyPrevious = spotify "Previous"
s... | Generalize spotify actions and add spotifyStop | Generalize spotify actions and add spotifyStop
| Haskell | mit | mgsloan/compconfig |
e7a27b42e9002a48d1477f9ed5df4f4f11de4550 | ihaskell-display/ihaskell-diagrams/IHaskell/Display/Diagrams.hs | ihaskell-display/ihaskell-diagrams/IHaskell/Display/Diagrams.hs | {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
module IHaskell.Display.Diagrams (diagram, animation) where
import System.Directory
import qualified Data.ByteString.Char8 as Char
import System.IO.Unsafe
import Diagrams.Prelude
import Diagrams.Backend.Cairo
import ... | {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
module IHaskell.Display.Diagrams (diagram, animation) where
import System.Directory
import qualified Data.ByteString.Char8 as Char
import System.IO.Unsafe
import Diagrams.Prelude
import Diagrams.Backend.Cairo
import ... | Use readFile from ByteString to read binary files | Use readFile from ByteString to read binary files
Reading a file that might contain PNG data using `System.IO.readFile`
causes `hGetContents: invalid argument (invalid byte sequence)` due to
file contents not being valid text under the current system locale.
This fixes loading diagrams into Jupyter notebooks.
| Haskell | mit | thomasjm/IHaskell,artuuge/IHaskell,artuuge/IHaskell,gibiansky/IHaskell,kfiz/IHaskell,artuuge/IHaskell,sumitsahrawat/IHaskell,FranklinChen/IHaskell,gibiansky/IHaskell,wyager/IHaskell,FranklinChen/IHaskell,wyager/IHaskell,thomasjm/IHaskell,thomasjm/IHaskell,artuuge/IHaskell,beni55/IHaskell,sumitsahrawat/IHaskell,franklx/... |
68d924ff503d2ed43c78bb97065babc9bccdcf1a | Data/Html/Download.hs | Data/Html/Download.hs | -- Original version by Alistair Bayley
-- Taken from Haskell-Cafe mailing list
-- "Simple HTTP lib for Windows?", 18 Jan 2007
-- Does not seem very reliable, does not work for various websites (including Google)
module Data.Html.Download(openURL) where
import System.IO
import Network
import Data.List
-- | http:// p... | -- Original version by Alistair Bayley
-- Taken from Haskell-Cafe mailing list
-- "Simple HTTP lib for Windows?", 18 Jan 2007
-- Does not seem very reliable, does not work for various websites (including Google)
module Data.Html.Download(openURL) where
import System.IO
import Network
import Data.List
-- | http:// p... | Add more details to the downloading, upon mailing list suggestions | Add more details to the downloading, upon mailing list suggestions | Haskell | bsd-3-clause | silkapp/tagsoup |
f038f78a729e4b224cc79d938cb82a5806895fac | src/lib/CUDA.hs | src/lib/CUDA.hs |
module CUDA (hasCUDA, loadCUDAArray, synchronizeCUDA, getCudaArchitecture) where
import Data.Int
import Foreign.Ptr
#ifdef DEX_CUDA
import Foreign.C
#else
#endif
hasCUDA :: Bool
#ifdef DEX_CUDA
hasCUDA = True
foreign import ccall "dex_cuMemcpyDtoH" cuMemcpyDToH :: Int64 -> Ptr () -> Ptr () -> IO ()
foreign i... |
module CUDA (hasCUDA, loadCUDAArray, synchronizeCUDA, getCudaArchitecture) where
import Data.Int
import Foreign.Ptr
#ifdef DEX_CUDA
import Foreign.C
#else
#endif
hasCUDA :: Bool
#ifdef DEX_CUDA
hasCUDA = True
foreign import ccall "dex_cuMemcpyDtoH" cuMemcpyDToH :: Int64 -> Ptr () -> Ptr () -> IO ()
foreign i... | Move SCC pragmas next to their declarations | Move SCC pragmas next to their declarations
| Haskell | bsd-3-clause | google-research/dex-lang,google-research/dex-lang,google-research/dex-lang,google-research/dex-lang,google-research/dex-lang,google-research/dex-lang |
7e5f2720e3e4f88cc2d71ec32eff0d4305f9bde1 | src/Text/Karver.hs | src/Text/Karver.hs | module Text.Karver where
import Text.Karver.Types
import Text.Karver.Parse
import Control.Applicative
import Data.Attoparsec.Text
import Data.HashMap.Strict (HashMap)
import qualified Data.HashMap.Strict as H
import Data.Text (Text)
import qualified Data.Text as T
renderTemplate :: HashMap Text Value -> Text -> Text... | module Text.Karver where
import Text.Karver.Types
import Text.Karver.Parse
import Control.Applicative
import Data.Attoparsec.Text
import Data.HashMap.Strict (HashMap)
import qualified Data.HashMap.Strict as H
import Data.Text (Text)
import qualified Data.Text as T
renderTemplate :: HashMap Text Value -> Text -> Text... | Add objectParse to the option of parsers | Add objectParse to the option of parsers
| Haskell | bsd-3-clause | sourrust/karver,ibotty/stencil |
5367f5078202903372e6a5b6f021d3fb6a89c63e | file-service/app/Main.hs | file-service/app/Main.hs | module Main where
import Control.Monad.Logger (runStdoutLoggingT)
import Database.Persist.Postgresql (createPostgresqlPool)
import Network.Wai.Handler.Warp (run)
import Network.Wai.Middleware.RequestLogger (logStdoutDev)
import System.Directory (createDirectoryIfMissing)
import App (app)
import Config (Config(..))
im... | module Main where
import Control.Monad.Logger (runStdoutLoggingT)
import Database.Persist.Postgresql (createPostgresqlPool)
import Network.Wai.Handler.Warp (run)
import Network.Wai.Middleware.RequestLogger (logStdoutDev)
import System.Directory (createDirectoryIfMissing)
import App (app)
import Models (connStr)
main... | Fix stray import breaking build | Fix stray import breaking build
| Haskell | mit | houli/distributed-file-system |
e9ba38f0b211342c9f75f8b15845513d7152b61e | eventful-sql-common/src/Eventful/Store/Sql/JSONString.hs | eventful-sql-common/src/Eventful/Store/Sql/JSONString.hs | module Eventful.Store.Sql.JSONString
( JSONString
) where
import Data.Aeson
import Data.Text.Lazy (Text)
import qualified Data.Text.Lazy.Encoding as TLE
import Database.Persist
import Database.Persist.Sql
import Eventful.Serializable
-- | A more specific type than just ByteString for JSON data.
newtype JSONStrin... | module Eventful.Store.Sql.JSONString
( JSONString
) where
import Data.Aeson
import Data.Text.Lazy (Text)
import qualified Data.Text.Lazy.Encoding as TLE
import Database.Persist
import Database.Persist.Sql
import Eventful.Serializable
-- | A more specific type than just ByteString for JSON data.
newtype JSONStrin... | Use jsonb for postgres, not json | Use jsonb for postgres, not json
| Haskell | mit | jdreaver/eventful |
a3b340393a53185a459ebb9199e8d9550a271b61 | statsd-client.hsproj/Statsd.hs | statsd-client.hsproj/Statsd.hs | module Statsd (
StatsdClient,
client,
increment,
decrement,
count,
gauge,
timing,
histogram,
) where
type Stat = String
data StatsdClient = StatsdClient { host :: String
, port :: Int
, namespace :: Stat
... | module Statsd (
StatsdClient,
client,
increment,
decrement,
count,
gauge,
timing,
histogram,
) where
type Stat = String
data StatsdClient = StatsdClient { host :: String
, port :: Int
, namespace :: Stat
... | Make Type an instance of Show | Make Type an instance of Show
| Haskell | mit | keithduncan/statsd-client,keithduncan/statsd-client |
5a318fec7b04bcecffab7523ecf66d4eaf9feb10 | tests/Main.hs | tests/Main.hs | {-# LANGUAGE
OverloadedStrings
#-}
module Main (main) where
-- Testing
import Test.Tasty
import Test.Tasty.HUnit
-- Text
import Text.Printf
import qualified Data.Text as T
-- Bob-specific
import Bob
main :: IO ()
main = do
(rules, mbErrors) <- readRules
let finds = findsIn rules
defaultMain $ testGroup "Te... | {-# LANGUAGE
OverloadedStrings
#-}
module Main (main) where
-- Testing
import Test.Tasty
import Test.Tasty.HUnit
-- Text
import Text.Printf
import qualified Data.Text as T
-- Bob-specific
import Bob
main :: IO ()
main = do
(rules, mbErrors) <- readRules
let finds = findsIn rules
doesNotFind = doesNotFi... | Add more tests (including some that fail) | Add more tests (including some that fail)
| Haskell | bsd-3-clause | DNNX/bob |
b8cbda879a618ad48afec8dca2840262a2f1221f | travis.hs | travis.hs |
import System.Time.Extra
import System.Process.Extra
main :: IO ()
main = do
system_ "hlint --test +RTS -K512K"
(time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
putStrLn $ "Running HLint on self took " ++ showDuration time
|
import System.Time.Extra
import System.Process.Extra
main :: IO ()
main = do
system_ "cabal install apply-refact"
system_ "hlint --test +RTS -K512K"
(time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
putStrLn $ "Running HLint... | Make sure Travis runs the refactor tests | Make sure Travis runs the refactor tests
| Haskell | bsd-3-clause | ndmitchell/hlint,ndmitchell/hlint |
248eeffb55ff5e5d26b5e3923f566f398796ae1d | interp/Main.hs | interp/Main.hs | module Main where
import Control.Monad.Except (runExceptT)
import Data.Functor.Identity (runIdentity)
import Language.Sexp
import Parse (parseExp)
import qualified Semant
import System.Environment (getArgs)
import Test.Hspec
import Text.Printf (printf)
main = do
args <- getArgs
result <- case args of
... | module Main where
import Control.Monad.Except (runExceptT)
import Data.Functor.Identity (runIdentity)
import Language.Sexp
import Parse (parseExp)
import qualified Semant
import System.Environment (getArgs)
import Test.Hspec
import Text.Printf (printf)
data Command =
Evaluate
| DumpParseTree
| DumpTypecheckRe... | Add -p option to dump parse tree | Add -p option to dump parse tree
| Haskell | mit | Zoetermeer/latro |
0566e9dac1ed7a61be8f87c774eb457ac0f57fb2 | src/Cabal2Nix/Flags.hs | src/Cabal2Nix/Flags.hs | module Cabal2Nix.Flags ( configureCabalFlags ) where
import Distribution.Package
import Distribution.PackageDescription
configureCabalFlags :: PackageIdentifier -> FlagAssignment
configureCabalFlags (PackageIdentifier (PackageName name) _)
| name == "accelerate-examples"= [disable "opencl"]
| name == "git-annex" ... | module Cabal2Nix.Flags ( configureCabalFlags ) where
import Distribution.Package
import Distribution.PackageDescription
configureCabalFlags :: PackageIdentifier -> FlagAssignment
configureCabalFlags (PackageIdentifier (PackageName name) _)
| name == "accelerate-examples"= [disable "opencl"]
| name == "git-annex" ... | Enable Cabal flags llvm, gmp, and libffi in Idris. | Enable Cabal flags llvm, gmp, and libffi in Idris.
Cc: da39a3ee5e6b4b0d3255bfef95601890afd80709@shlevy
| Haskell | bsd-3-clause | jb55/cabal2nix,spencerjanssen/cabal2nix,psibi/cabal2nix,gridaphobe/cabal2nix,Fuuzetsu/cabal2nix,dmalikov/cabal2nix,bennofs/cabal2nix |
7c7e15adad6067977a4a2e1d3431953ffa691b50 | executable/ParallelMain.hs | executable/ParallelMain.hs | {-# LANGUAGE ForeignFunctionInterface #-}
import System.IO
import Control.Concurrent.Async hiding (link)
import System.Posix
import System.Environment
import qualified SequentialMain
import Control.Monad
foreign import ccall "link_to_parent" link :: CPid -> IO ()
raceMany :: [IO a] -> IO a
raceMany [x] = x
raceMany (... | {-# LANGUAGE ForeignFunctionInterface #-}
import System.IO
import Control.Concurrent.Async hiding (link)
import System.Posix
import System.Environment
import qualified SequentialMain
import Control.Monad
foreign import ccall "link_to_parent" link :: CPid -> IO ()
raceMany :: [IO a] -> IO a
raceMany [x] = x
raceMany (... | Fix race in parallel twee. | Fix race in parallel twee.
| Haskell | bsd-3-clause | nick8325/kbc,nick8325/twee,nick8325/twee,nick8325/twee |
1d02392ab30de7aa62c59f00fdca2b3e6d3fba94 | src/Configuration.hs | src/Configuration.hs | {-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Configuration (
Environment(..),
getEnvironment,
Config(..),
getConfig,
ConfigM(..),
getPort,
) where
import qualified System.Environment as Env
import Control.Monad.Reader (MonadReader, ReaderT, asks, runReaderT)
import Control.Monad.IO.Class (MonadIO... | {-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Configuration (
Environment(..),
getEnvironment,
Config(..),
getConfig,
ConfigM(..),
getPort,
) where
import qualified System.Environment as Env
import Control.Monad.Reader (MonadReader, ReaderT, asks, runReaderT)
import Control.Monad.IO.Class (MonadIO... | Make the read instance expect lowercase | Make the read instance expect lowercase
| Haskell | mit | keithduncan/logplex-statsd,keithduncan/logplex-statsd |
91953b62b865bbb1ccdfad0e6f5597e66e620ccb | src/Parse/Literal.hs | src/Parse/Literal.hs | module Parse.Literal (literal) where
import Control.Applicative ((<$>))
import Text.Parsec hiding (newline,spaces)
import Parse.Helpers (IParser, chr, str)
import qualified AST.Literal as L
literal :: IParser L.Literal
literal = num <|> (L.Str <$> str) <|> (L.Chr <$> chr) <?> "literal"
num :: IParser L.Literal
num =... | module Parse.Literal (literal) where
import Control.Applicative ((<$>))
import Text.Parsec hiding (newline,spaces)
import Parse.Helpers (IParser, chr, str)
import qualified AST.Literal as L
literal :: IParser L.Literal
literal = num <|> (L.Str <$> str) <|> (L.Chr <$> chr) <?> "literal"
num :: IParser L.Literal
num =... | Add support for hexadecimal integer literals | Add support for hexadecimal integer literals | Haskell | bsd-3-clause | JoeyEremondi/elm-pattern-effects,5outh/Elm,laszlopandy/elm-compiler,Axure/elm-compiler,mgold/Elm,pairyo/elm-compiler |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.