-
Recent Posts
Recent Comments
Archives
- December 2021
- July 2021
- June 2021
- April 2021
- March 2021
- February 2021
- December 2020
- November 2020
- October 2020
- June 2020
- August 2019
- July 2018
- February 2018
- December 2017
- July 2017
- March 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- May 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- April 2015
- December 2014
- November 2014
- October 2014
Categories
Meta
Monthly Archives: November 2015
javascript click touchstart iphone 5 6, tap tap tap
Lets say you got a site with big slider containing dynamically generated buttons. These buttons work just fine everywhere except on our new friends iphone 5 and 6… even on the iphone 4 it works fine. You are most probably … Continue reading
Posted in Uncategorized
Leave a comment
Find recursively the files modified after specific date
find . -newermt “yyyy-mm-dd”
Posted in Uncategorized
Leave a comment
find and delete – Linux
Classic. Lets say you like to delete all the “.DS_Store” files recursively….: find . -name ‘.DS_Store’ -exec rm -rf {} \;
Posted in Uncategorized
Leave a comment
Drupal 7 sessions
https://api.drupal.org/api/drupal/includes!session.inc/7 yeah, do not forget to define the base url, something like: $base_url = ‘http://’.$_SERVER[‘HTTP_HOST’]; I’d start php script like: <?php define(‘DRUPAL_ROOT’, ‘../’); $base_url = ‘http://’.$_SERVER[‘HTTP_HOST’]; require_once DRUPAL_ROOT . ‘/includes/bootstrap.inc’; drupal_bootstrap(DRUPAL_BOOTSTRAP_SESSION); drupal_add_http_header(‘Content-Type’, ‘text/html; charset=UTF-8’); drupal_session_initialize(); drupal_session_regenerate(); //print_r($_SESSION);
Posted in Uncategorized
Leave a comment