Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am dkhgh on github.
  • I am dkhgh (https://keybase.io/dkhgh) on keybase.
  • I have a public key ASCA7mCUHZ5p50RQiULA5S9Z7q3DIsJDbG1VEf2IENtYAAo

To claim this, I am signing this object:

@dkhgh
dkhgh / Ember list all routes
Created Mar 14, 2016
List all routes in ember
View Ember list all routes
Object.keys(App.__container__.lookup('router:main').router.recognizer.names)
@dkhgh
dkhgh / about-us.html.erb
Created Aug 21, 2015
I18n titles with frontmatter in Middleman
View about-us.html.erb
---
title:
en: About Us
nl: Over ons
de: Ueber Uns
---
<div>HTML STUFF</div>
<%= partial "about-us/team" %>
@dkhgh
dkhgh / CSS refactor
Last active Aug 29, 2015
CSS for developers
View CSS refactor
.trophy-inner {
- padding-top: 22px;
- padding-right: 15px;
+ @include animation(pop-in 0.5s);
+ background-color: #fff;
+ border-radius: 50%;
+ height: 30px;
+ margin: 1em;
+ text-align: center;
@dkhgh
dkhgh / gist:7464649
Last active Dec 28, 2015
Learning Spaces overview temporary CSS
View gist:7464649
#main {
background-color: rgba(80, 150, 150, 0.44);
background-image: url(images/bg.png);
}
.thumbnail {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
border-radius: 1px 1px 1px 0px !important;
border: 1px solid rgba(0,0,0,.7) !important;
}