Skip to content

Instantly share code, notes, and snippets.

View jdanyow's full-sized avatar
💭
Confirming my whereabouts

Jeremy Danyow jdanyow

💭
Confirming my whereabouts
View GitHub Profile
@jdanyow
jdanyow / index.css
Created July 3, 2020 03:09 — forked from LeaVerou/dabblet.css
Playing with background-attachment
/**
* Playing with background-attachment
*/
pre {
max-height: 150px;
border: 1px solid silver;
overflow: auto;
background: url('http://placekitten.com/200/200');
color: white;
@jdanyow
jdanyow / index.html
Created April 16, 2020 22:26 — forked from maschad96/index.html
another poc
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
<style>
* {
outline-color: inherit;
}
@jdanyow
jdanyow / app.html
Last active December 19, 2017 04:47 — forked from RomkeVdMeulen/app.html
Aurelia Validation Issue 423 Demo
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@jdanyow
jdanyow / app.html
Last active December 10, 2017 22:59 — forked from AquilaSands/app.html
Aurelia Gist
<template>
<require from="./outer"></require>
<require from="./inner"></require>
<h1>${message}</h1>
<outer><inner></inner></outer>
</template>
<template>
<form submit.delegate="submit()">
<div class="form-group">
<label class="control-label" for="email">Email</label>
<input type="text" class="form-control" id="email" placeholder="Email"
value.bind="model[field] & validate:rules">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>

5 minutes PgAdmin4 Desktop install guide

Done on Linux (Ubuntu tested)

Virtualenv & install of Python package & its deps

cd $HOME
virtualenv --python=/usr/bin/python2.7 pgadmin4
source pgadmin4/bin/activate
@jdanyow
jdanyow / app.html
Created April 15, 2017 15:41 — forked from Einarsson/app.html
Aurelia Validation Demo
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
<template>
<style>
.active {
font-weight: bold;
}
</style>
<ul>
<li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}">
<a href.bind="row.href">${row.title}</a>
</li>
@jdanyow
jdanyow / app.html
Last active March 22, 2017 09:02 — forked from charlespockert/app.html
Aurelia + i18n plugin issue with binding behaviour
<template>
<require from="tbind.js"></require>
<h1>${message}</h1>
<h2>${prop}</h2>
<div>${'val1' & t}</div>
<div>${'val1' & t}</div>
<div>${'val1' & t}</div>
<hr/>
<div>
<compose containerless view.bind="'custom-view.html'"></compose>
<template>
<div if.bind="showApp" ref="theelement">
This is the element.
</div>
<button click.delegate="showApp = !showApp">Toggle</button>
${theelement}
</template>