Skip to content

Instantly share code, notes, and snippets.

@tomaj
tomaj / localconf.php
Created June 25, 2011 14:13
Zapnutie caching frameworku
<?php
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations'] = array(
'cache_hash' => array(
'frontend' => 't3lib_cache_frontend_VariableFrontend',
'backend' => 't3lib_cache_backend_MemcachedBackend',
'options' => array(
'servers' => array('server:11211'),
)
),
'cache_pages' => array(
@tomaj
tomaj / monoga_config_simple.config
Last active December 15, 2015 08:49
Konguracia tx_monoga
config.tx_monoga_pi1 {
ga_type = 1
ga_code = UA-XXXXXXX-X
}
@tomaj
tomaj / monoga_config_advanced.config
Created March 24, 2013 21:04
Konfiguracia tx_monoga - advanced
config.tx_monoga_pi1 {
ga_type = 2 # we can use new GA (ga.js)
ga_code = UA-XXXXXXX-X # GA code
ga_domain = typo3page.com # pages main domain
ga_organic { # few search engines from slovakia and czech
seznam = w
atlas.sk = phrase
centrum.sk = q
morfeo.sk = q
zoohoo.sk = q
@tomaj
tomaj / find_used_composer_php_extensions.sh
Last active April 11, 2016 17:01
Find all php extensions used in composer project(s)
# Be carefull - find also optional extensions
find . -name "composer.json" -exec grep -H '"ext-' {} \; | awk -F '"' '{print $2}' | sort | uniq

Keybase proof

I hereby claim:

  • I am tomaj on github.
  • I am tomaj (https://keybase.io/tomaj) on keybase.
  • I have a public key ASBJxSWqb9q2wrhkby_BQIz0ZoNNYZV7iFVb-s7TWISA8Ao

To claim this, I am signing this object: