Skip to content

Instantly share code, notes, and snippets.

Sándor Czettner czettnersandor

Block or report user

Report or block czettnersandor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Magento 2 gitignore
czettnersandor /
Last active May 4, 2017 — forked from JeffPaine/
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (Super - Win)


  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open rofi (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
View zoneminder log error
Unable to decode JSON string 'array (
'result' => 'Ok',
'updated' => 'Fri 25th Mar, 2:13pm',
'total' => '36639',
'available' => '36639',
'logs' =>
array (
0 =>
array (
'TimeKey' => '1458915186.171727',
czettnersandor / vimbingo
Last active Dec 29, 2015 — forked from matason/vimbingo
Adding myself in
View vimbingo
your name
Sandor Czettner
czettnersandor / getErrorMessages.php
Last active Dec 10, 2015 — forked from umpirsky/getErrorMessages.php
Symfony 2: Retrieves every error message for the form to a simple array. Including the field error messages.
View getErrorMessages.php
private function getErrorMessages(\Symfony\Component\Form\Form $form) {
$errors = array();
foreach ($form->getErrors() as $key => $error) {
$errors[] = $error->getMessage();
if ($form->hasChildren()) {
foreach ($form->getChildren() as $child) {
if (!$child->isValid()) {
czettnersandor / Rakefile
Created Mar 14, 2012
Simple git deployment over ssh with sudo with rake
View Rakefile
require 'net/ssh'
namespace :deploy do
@host = ''
@username = 'user'
@port = 2222
@password = ''
@destination = ''
View .vimrc
if has("gui_running")
set background=dark
colorscheme solarized
set guioptions+=b
set lines=53 " height = 50 lines
set columns=130 " width = 100 columns
set ls=2 " always show status
set scrolloff=3 " keep 3 lines when scrolling
set ignorecase " when searching
set nobackup " disable backup file (.filename.swp)
czettnersandor /
Created Nov 26, 2010
Hungarian translation for Devise
# Additional translations at
expired: "lejárt, igényelj egy újat"
not_found: "nem található"
already_confirmed: "már meg van erősítve"
not_locked: "nincs zárolva"
You can’t perform that action at this time.