Skip to content

Instantly share code, notes, and snippets.

View johnhamelink's full-sized avatar
🔨
Building

John Hamelink johnhamelink

🔨
Building
View GitHub Profile
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: "js/app.js"
// To use a separate vendor.js bundle, specify two files path
// https://github.com/brunch/brunch/blob/stable/docs/config.md#files
// joinTo: {
// "js/app.js": /^(web\/static\/js)/,
{
"repository": {},
"dependencies": {
"babel-brunch": "^6.0.0",
"brunch": ">= 2.3.2",
"clean-css-brunch": ">= 1.8.0",
"css-brunch": ">= 1.0 < 1.8",
"javascript-brunch": ">= 1.8.0",
"uglify-js-brunch": ">= 1.0 < 1.8"
}
defmodule Api.Slack.Gnuplot do
alias Porcelain.Process, as: Proc
alias Porcelain.Result
require Logger
@type line :: %{title: String.t, dataset: [List.t]}
@doc """
Produces a line-graph PNG. The result is in binary.
defmodule Api.Slack.Gnuplot do
alias Porcelain.Process, as: Proc
alias Porcelain.Result
require Logger
def line do
proc = %Proc{pid: pid} = setup
plot(proc,
"""
table_infos = for t <- :mnesia.system_info(:tables) do
{t, :mnesia.table_info(t, :where_to_commit)}
end
for {tb, [{node_to_connect, type}]} <- table_infos do
{tb, :mnesia.add_table_copy(tb, node(), type)}
end
" Elixir {{{
Plug 'awetzel/vim-elixir', { 'branch': 'nvim-rplugin' }
"Plug 'elixir-lang/vim-elixir', { 'for': 'elixir' }
Plug 'Thinca/vim-ref', { 'for': 'elixir' } " For documentation
Plug 'powerman/vim-plugin-AnsiEsc', { 'for': 'elixir' } " For handling coloured escape sequences in Elixir docs
Plug 'sanmiguel/helpex.vim', { 'for': 'elixir' } " For documentation & Autocomplete
" }}}
defmodule XmppChecker do
use Application
require Logger
use Yodel.Handler
# See http://elixir-lang.org/docs/stable/elixir/Application.html
# for more information on OTP Applications
def check do

Code of Conduct

The Glasgow Elixir Group is an event intended for education, networking, and community. To ensure it is a welcoming and friendly environment for all, attendees, speakers, organisers, and volunteers at any Glasgow Elixir meetup are required to conform to the following Code of Conduct. Organizers will enforce this code throughout the meetup and meetup-related social events.

Welcoming Environment

Glasgow Elixir is dedicated to providing a harassment-free community for everyone, regardless of sex, gender identity or expression, sexual orientation, disability, physical appearance, age, body size, race, nationality, or religious beliefs. We do not tolerate harassment of community members in any form. Participants violating these rules may be sanctioned or expelled from the community at the discretion of the Glasgow Elixir organisers. Harassment includes offensive verbal or written comments related to sex, gender identity or expression, sexual orientation, disability, physical appearance, age

<div id="content">
<div class="container">
<div class="row">
<h2 class="text-center">New app from Scotland aims to be <br/> ‘Facebook for sports’</h2>
<br/>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<p>Find a Player is designed to connect the 15 million people in the UK who play sports on a weekly basis. The free app, developed in Scotland, enables people to organise games and find players in their local area.</p>
<p>“During development, we found the main reasons games stop happening is the constant problem finding enough players and the stress of organising,” says Find a Player founder Jim Law. “Find a Player addresses these problems — the app totally automates the organisation process and makes it incredibly simple to find available players and games in your area - it could revolutionise how people organise sports games.”</p>
<p>With the UK’s interest in sports at an all-time high, following London 2012 and Glasgow
<div id="video">
<div class="overlay"></div>
<iframe id="videoClip" style="transform: scale(1.07);" src="https://www.youtube.com/embed/dAm5y3rZAvQ?autoplay=1&amp;controls=0&amp;loop=1&amp;modestbranding=1&amp;showinfo=0&amp;playlist=dAm5y3rZAvQ&amp;enablejsapi=1" allowfullscreen="" frameborder="0" height="100%" width="100%"></iframe>
<div class="content text-center">
<h2>Download The App</h2>
<?php include 'partials/downloads.php'; ?>
</div>
<div class="slice"></div>
</div><!-- /video -->