Skip to content

Instantly share code, notes, and snippets.

View dkhgh's full-sized avatar

dkhgh

  • Defacto
View GitHub Profile
@dkhgh
dkhgh / gist:7464649
Last active December 28, 2015 07:29
Learning Spaces overview temporary CSS
#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;
}
@dkhgh
dkhgh / CSS refactor
Last active August 29, 2015 14:10
CSS for developers
.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 / about-us.html.erb
Created August 21, 2015 14:57
I18n titles with frontmatter in Middleman
---
title:
en: About Us
nl: Over ons
de: Ueber Uns
---
<div>HTML STUFF</div>
<%= partial "about-us/team" %>
@dkhgh
dkhgh / Ember list all routes
Created March 14, 2016 09:40
List all routes in ember
Object.keys(App.__container__.lookup('router:main').router.recognizer.names)

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: