Skip to content

Instantly share code, notes, and snippets.

View timglabisch's full-sized avatar

Tim Glabisch timglabisch

View GitHub Profile
""# ""#
mmmmm m m mmm mmmm # m mm mmm mmmm #
# # # "m m" # " #" "# # #" " #" # #" "# #
# # # #m# """m # # # # #"""" # # #
# # # "# "mmm" "#m## "mm # "#mm" ##m#" "mm FTW!
m" # #
"" " "
==@timglabisch=============================================================
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias .='grepls'
alias ..='up'
alias s='sudo'
alias fu='pkill'
alias cr="composer require"
alias p="pstorm . &"
alias v="vim"
alias sv="sudo vim"
fswatch -r ../frontend | sed -l -E '/(\.git|\.idea|\_\_\_|DS\_Store)/d' | xargs -n1 bash -c "vagrant rsync"
GET /tests/_search
{
"query": {
"match_all": {}
},
"aggs": {
"all": {
"global": {},
"aggs": {
@timglabisch
timglabisch / todo.md
Last active August 29, 2015 14:13
Todo Stack
BEST WESTERN Hotel City Ost
http://www.bestwestern.de/cgi-bin/WebObjects/BestWestern.woa/8/wa/SD3CBWHotelSearchDirectAction/hotelSearch?hotel2=Best+Western+Hotel+Berlin+Mitte&arrival2=31.05.2015&departure2=03.06.2015&nights2=3&adults2=1&children2=0&double2=0&single2=1&ratePlanCode=&ratePlanType=&showPrice=true&ratenreiter=&showNotAvailableHotels=true&hideSorting=&hideStandardTab=&hideGalleryTab=&hideListTab=&hideNotePadTab=&showTab=default&showCityFilter=&showPackagePriceFilter=&showPackageDaysFilter=&showPackageDateFilter=&suppressDC=false&vmpid=&searchQualifier=&cityregion=Berlin&country=DE&hotel=Name+des+Hotels+%28optional%29&arrival=31.05.2015&departure=03.06.2015&nights=3&adults=1&children=0&showTab=default&sort=DISTANCE&single=1&double=0&WOSubmitAction=SD3CBWHotelSearchDirectAction%2FhotelSearch&0.13.1.2.1.5.29.123=&stadt=Stadt&adresse=Adresse%2C+Bahnhof%2C+POI%2C+o.%C3%A4.&x=0&y=0&rid=93709846&wosid=qfpTzEMlBbUVlPaYUvOpw0
PUT /material
{
"mappings": {
"material": {
"properties": {
"grapevariety": {
"type": "string",
"analyzer": "keyword"
},
"color": {
@timglabisch
timglabisch / website-var-cli-download-revisions.php
Created April 16, 2012 15:58
pimcore download all revisions
<?php
// now you can use $args ...
include_once(__DIR__."/../../pimcore/cli/startup.php");
Pimcore_Version::$revision = 10;
$updates = Pimcore_Update::getAvailableUpdates();
$buffer = array();
@timglabisch
timglabisch / area.xml
Created April 18, 2012 21:10
PIMCORE-1481
<?xml version="1.0"?>
<zend-config xmlns:zf="http://framework.zend.com/xml/zend-config-xml/1.0/">
<id>sample</id>
<name>sample</name>
<description>Embed contents from other URL (websites) via iframe</description>
<!-- the icon is optional, see above for details (this node is normally used to refer to an icon in the pimcore core icon-set) -->
<icon>/pimcore/static/img/icon/html.png</icon>
<version>1.0</version>
<myCustomConfig>MyValue</myCustomConfig>
</zend-config>