Skip to content

Instantly share code, notes, and snippets.

View Devalo's full-sized avatar
💭
:D

Stephan Bakkelund Valois Devalo

💭
:D
  • Tønsberg, Norway
View GitHub Profile
%{"34425" => %{"extract" => "Z (named zed /ˈzɛd/' or zee /ˈziː/) is the 26th and final letter of the modern English alphabet and the ISO basic Latin alphabet.\n\n",
"ns" => 0, "pageid" => 34425, "title" => "Z"}}
# http://imgur.com/a/Bp59w <- Images are stacked on top of each other in the first image.
# Images are properly positioned in the last image.
# Template
<div class="portfolio-wrapper" >
<div class="col-md-12">
<h3 class="text-center">Sjekk ut noen av nettsidene vi tidligere har levert</h3>
</div>
def handle_info(:after_join, socket) do
user = Repo.get(User, socket.assigns.user_id)
{:ok, _} = Presence.track(socket, user.email, %{
online_at: inspect(System.system_time(:seconds))
})
push socket, "presence_state", Presence.list(socket)
{:noreply, socket}
end
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
// http://brunch.io/docs/config#-files-
// joinTo: {
// "js/app.js": /^js/,