Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View hmans's full-sized avatar
🚀
Let's go!

Hendrik Mans hmans

🚀
Let's go!
View GitHub Profile
@hmans
hmans / gist:1497767
Created December 19, 2011 15:58
New rbfu invocation style
# So here's the new rbfu invocation style I'm tinkering with.
# If you want to play around with it, you can get it from the
# 'rbfu-exec' branch in rbfu:
#
# https://github.com/hmans/rbfu/tree/rbfu-exec
#
# The overall syntax is:
#
# rbfu [@<version>] <command>
#
$listenerOptions = new Zend\Module\Listener\ListenerOptions($appConfig['module_listener_options']);
$defaultListeners = new Zend\Module\Listener\DefaultListenerAggregate($listenerOptions);
$defaultListeners->getConfigListener()->addConfigGlobPath('config/autoload/*.config.php');
@hmans
hmans / gist:1605208
Created January 13, 2012 09:05
"New matches for your profiles and projects on projektwerk IT"
Profile "Ruby on Rails seit 2005"
New matches: 6
- "#13003 Solution Designer (m/w)", Dortmund, Deutschland
Matching skills: php, html, sql, css
- "PHP Fehlerbehebung! function.session-start"
Matching skills: php, html
- "#13058 Portal Administrator (m/w) Java/Linux/MySQL"
canvas = null
context = null
x = 0
y = 250
r = 0.0
img = new Image()
img.src = '/images/serve-logo.png'
$ ->
@hmans
hmans / Preferences.sublime-settings
Created February 22, 2012 17:20
My Preferences.sublime-settings
{
// visuals
"theme": "Soda Light.sublime-theme",
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"font_face": "Menlo",
"font_size": 13,
"line_padding_bottom": 1,
"line_padding_top": 1,
"highlight_line": true,
"rulers": [80],
@hmans
hmans / blog.scss
Created February 25, 2012 20:52
Customizing your SchnitzelPress blog
@import url(http://fonts.googleapis.com/css?family=Inder|PT+Serif:400,700,400italic,700italic);
// Use custom fonts, yeah
$font-default: 16px "PT Serif";
$font-header: 15px "Inder";
// How about a different color scheme?
$color-background: #333;
$color-text: #ccc;
$color-extra: #f93;
@hmans
hmans / gist:2044729
Created March 15, 2012 15:13
Am I the only one using this pattern?
*:first-child { margin-top: 0 !important }
*:last-child { margin-bottom: 0 !important }
@mixin when-sized-medium { @include when-narrower-than(1000px) { @content }}
@mixin when-sized-small { @include when-narrower-than(700px) { @content }}
.container {
width: 1000px;
margin: 0 auto;
padding-bottom: 40px;
@include when-sized-medium { width: 700px; }
@include when-sized-small {
@hmans
hmans / gist:2360309
Created April 11, 2012 16:17
Schnitzelpress default template
<!DOCTYPE html>
<html>
<head>
<title>
{% if single_post %}{{ single_post.title }} |{% endif %}
{{ blog.title }}
</title>
<meta content='text/html; charset=UTF-8' http-equiv='content-type' />
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<link href='/assets/schnitzelpress.1332747656.css' media='screen' rel='stylesheet' type='text/css' />
@hmans
hmans / theme.scss
Created April 12, 2012 18:52
Schnitzelpress 0.3.0 Theme SCSS Preview
@import 'schnitzelstyle';
@include grid;
@include buttons;
/* variables! */
$font: 15px "Helvetica Neue",Arial,Helvetica,sans-serif;
$font-title: 15px Verdana,Arial,Helvetica,sans-serif;
$font-monospaced: 13px Menlo,Monaco,"Lucida Console",monospace;
$color-background: #fff;