Skip to content

Instantly share code, notes, and snippets.

Avatar
🤦‍♂️
Hard at work

Roderik van der Veer roderik

🤦‍♂️
Hard at work
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am roderik on github.
  • I am roderik (https://keybase.io/roderik) on keybase.
  • I have a public key whose fingerprint is 6F1C 1158 93DE B2B0 959F 59F7 4438 A59D 92FF DA38

To claim this, I am signing this object:

View comment.md

Hey Dan,

glad you like the Kunstmaan Bundles CMS! We put a lot of hard work in it and are always glad if people discover and use it. If your website goes online, please submit it for the showcase gallery.

Now in regards to the translations on page level you mentioned, this was actually an explicit design decision. We've been building loads of sites in a multilingual environment (NL/FR/DE/EN are the most common but recently we also launced a chinese translation for a site) and more often than not does the content of a page (apart from the literal translation) differs between languages. The message is often targetted differently to different languages.

It's a lot easier to do this with page level translations than pagepart level translations. It also makes it possible to do user-understandable versioning, what page with what content was online at that point in time.

As you mentioned you can indeed solve a lot by just creating custom pageparts. Apart from this we al

View gist:3024
<?php
class Loveno_AdminRest_ProductController extends Mage_Adminhtml_Controller_Action {
public function preDispatch() {
parent::preDispatch();
$session = Mage::getSingleton('admin/session');
$request = $this->getRequest();
$user = $session->getUser();
if (!$user) {
//var_dump('no login');
View Crash Log Echofon
Process: Echofon [20379]
Path: /Applications/Echofon.app/Contents/MacOS/Echofon
Identifier: com.echofon.Echofon
Version: 0.99.2 (0.99.2)
Code Type: X86 (Native)
Parent Process: launchd [205]
Date/Time: 2010-03-10 12:11:35.335 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
View bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi
#export GIT_PS1_SHOWDIRTYSTATE=true
View pg_hba.conf
# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the "Client Authentication" section in the
# PostgreSQL documentation for a complete description
# of this file. A short synopsis follows.
#
# This file controls: which hosts are allowed to connect, how clients
# are authenticated, which PostgreSQL user names they can use, which
# databases they can access. Records take one of these forms:
View git-completion.bash
#!bash
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
View git-authorize
#!/bin/bash
SERVER="gitadmin@git.kunstmaan.be"
while getopts "s:" OPTION
do
case $OPTION in
s)
SERVER=$OPTARG
;;
View git-share
#!/bin/bash
ADMINUSER="gitadmin"
GITUSER="gitrepo"
SERVER="git.kunstmaan.be"
PROJECT=
while getopts "s:p:a:g:" OPTION
do
View update-project
#!/bin/bash
if [ "$1" == "" ]; then
echo "no project given. usage: update-project [projectname] [hostname]"
exit 1
fi
if [ "$2" == "" ]; then
echo "no hostname given. usage: update-project [projectname] [hostname]"
exit 1