Skip to content

Instantly share code, notes, and snippets.

View groenewege's full-sized avatar

Gunther Groenewege groenewege

View GitHub Profile
@groenewege
groenewege / nl.php
Last active August 29, 2015 14:20 — forked from wietseneven/nl.php
<?php
l::set('your_username', 'Je gebruikersnaam');
l::set('your_password', 'Je wachtwoord');
l::set('log_in', 'Log in');
l::set('log_in_error', 'Ongeldige gebruikersnaam of wachtwoord');
l::set('log_out', 'Log uit');
l::set('contact_us', 'Contact opnemen');
l::set('view', 'Bekijk');
l::set('download', 'Download');
<?php if(!defined('KIRBY')) exit ?>
title:
en: Timeline item
fr: Élément du flux d'activité
de: Neues Element in der Timeline
pages: false
files: true
preview: parent
fields:
@groenewege
groenewege / gist:920317
Created April 14, 2011 19:45
bash - profile
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
export EDITOR='subl -w'
export SVN_REP="/Users/gunther/Documents/SVN"
export CLICOLOR=1
# use yellow for directories
export LSCOLORS=dxfxcxdxbxegedabagacad
@groenewege
groenewege / .vimrc
Created April 14, 2011 22:03
vim - status line
if has('statusline')
set statusline=%<%f\ " Filename
set statusline+=%w%h%m%r " Options
set statusline+=%{fugitive#statusline()} " Git Hotness
set statusline+=\ [%{&ff}/%Y] " filetype
set statusline+=\ [%{getcwd()}] " current dir
set statusline+=%=%-14.(Line:\ %l\ of\ %L\ [%p%%]\ -\ Col:\ %c%V%) " Right aligned file nav info
endif
@groenewege
groenewege / insert_image.vim
Created April 26, 2011 12:52
vim - insert image
call NERDTreeAddKeyMap({
\ 'key': 'b',
\ 'callback': 'NERDTreeInsertImage',
\ 'quickhelpText': 'Insert XHTML tag of image' })
function! NERDTreeInsertImage()
let n=g:NERDTreeFileNode.GetSelected()
if n!={}
let path=escape(n.path.str(),' ')
let theWH=substitute(system('identify -format %wx%h "'.path.'"'),'\n','','')
@groenewege
groenewege / gist:3957624
Created October 26, 2012 08:30
css - embossed
div[class*="embossed"] {
background: #8ec12d;
color: #333;
text-shadow: 0 1px 1px rgba(255,255,255,0.9);
}
.embossed-light {
border: 1px solid rgba(0,0,0,0.05);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
@groenewege
groenewege / gist:3957635
Created October 26, 2012 08:32
css - inline link (dashed)
.inline-link-2 {
display: inline-block;
border-bottom: 2px dashed rgba(0,0,0,0.9);
/* Font styles */
text-decoration: none;
color: #777;
}
.inline-link-2:hover {
border-bottom-style: dotted;
@groenewege
groenewege / gist:3957636
Created October 26, 2012 08:33
css - inline link 3 (arrow)
.inline-link-3 {
display: inline-block;
position: relative;
padding-left: 6px;
/* Font styles */
text-decoration: none;
color: #6AB3EC;
text-shadow: 0 1px 1px rgba(255,255,255,0.9);
}
@groenewege
groenewege / gist:3957645
Created October 26, 2012 08:34
css - rounded input
.mac {
display: block;
border: none;
border-radius: 20px;
padding: 5px 8px;
color: #333;
box-shadow:
inset 0 2px 0 rgba(0,0,0,.2),
0 0 4px rgba(0,0,0,0.1);
}
@groenewege
groenewege / gist:3957646
Created October 26, 2012 08:34
css - depth input
.depth {
display: block;
border: 1px solid rgba(255,255,255,0.6);
background: linear-gradient(#eee, #fff);
transition: all 0.3s ease-out;
box-shadow:
inset 0 1px 4px rgba(0,0,0,0.4);
padding: 5px;
color: #555;
}