Skip to content

Instantly share code, notes, and snippets.

@etasi
etasi / vim-great-cheatsheet.md
Created February 17, 2015 23:05
VIM: A Great Vim Cheat Sheet
layout title
default
A Great Vim Cheat Sheet

#A Great Vim Cheat Sheet

Note: If you’re decent at vim and want your mind blown, check out Advanced Vim.

@etasi
etasi / functions.php
Last active August 29, 2015 14:15 — forked from srikat/functions.php
Genesis: Add Search Form and Simple Social Icons to Primary Navigation
genesis_register_sidebar( array(
'id' => 'nav-social-menu',
'name' => __( 'Nav Social Menu', 'your-theme-slug' ),
'description' => __( 'This is the nav social menu section.', 'your-theme-slug' ),
) );
add_filter( 'genesis_nav_items', 'sws_social_icons', 10, 2 );
add_filter( 'wp_nav_menu_items', 'sws_social_icons', 10, 2 );
function sws_social_icons($menu, $args) {
@etasi
etasi / genesis-add-search.php
Created February 18, 2015 18:18
Genesis: Add Search Form and Date to Primary Navigation
<?php
//* Do NOT include the opening php tag
add_filter( 'wp_nav_menu_items', 'theme_menu_extras', 10, 2 );
/**
* Filter menu items, appending either a search form or today's date.
*
* @param string $menu HTML string of list items.
* @param stdClass $args Menu arguments.
*
@etasi
etasi / recipes-kokosrollen.md
Last active March 5, 2017 12:00
Recipes: Kokosrollen

Kokosrollen

für Keksbasis:

  • 0,5 kg Keks (am Besten aus Türkische laden)
  • 20 g Puderzucker
  • 4 dkg Kakao
  • 30 g Butter
  • Rum aroma nach geschmack (ich habe es nicht reingetan)
@etasi
etasi / maven-commands.md
Created September 21, 2017 09:25
MAVEN: Often used commmands

Load Maven Artifakt on the command line

mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:get -DartifactId=[artifactId] -DgroupId=[groupId] -Dversion=[version]