We use cookies to ensure that we give you the best experience. If you continue using this website, we'll assume that you are happy about that.
Larry's Avatar
Larry (Jenolan) Lewis

Coding is what defines me, especially when it doesn't… also.

Jenolan Caves

This is not Jenolan Caves, we use the Jenolan name because we love the Jenolan, Abercrombie, Wombeyan, & Yarrangobilly caves.

Who's Active

Copyright © Larry Lewis 1973-2017 Jenolan's CESS. All Rights Reserved.

All Trademarks and Registered Names are held by their respective owners.

HTML5 Powered with Connectivity / Realtime, CSS3 / Styling, Graphics, 3D & Effects, Performance & Integration, and Semantics

CESS Code v0.3

About  ·  Terms  ·  Privacy  ·  Cookies
  • CSS reset to clear all those pesky settings

    /* START RESET CSS */
    html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code,
    del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, figure, footer, header, hgroup, menu, nav, section, menu,
    time, mark, audio, video 
    {
      margin:0;
      padding:0;
      border:0;
      outline:0;
      font-size:100%;
      vertical-align:baseline;
      background:transparent;
    }
    
    article, aside, figure, footer, header, hgroup, nav, section { display:block; }
    nav ul { list-style:none; }
    blockquote, q { quotes:none; }
    blockquote:before, blockquote:after,
    q:before, q:after { content:''; content:none; }
    a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
    ins { background-color:#ff9; color:#000; text-decoration:none; }
    mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
    del { text-decoration: line-through; }
    abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
    
    /* tables still need cellspacing="0" in the markup */
    table { border-collapse:collapse; border-spacing:0; }
    
    hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
    input, select { vertical-align:middle; }
    /* END RESET CSS */
  • 2016-10-20
    Find & Delete

    Example of how to recursively delete files

    find / -name .DS_Store -delete
    find . -name error-log -delete
  • 2016-10-20
    Drop table like

    Drop table from a database using a pattern, see the 'like' statement

    SET FOREIGN_KEY_CHECKS = 0;
    SET GROUP_CONCAT_MAX_LEN=32768;
    SET @tables = NULL;
    SELECT GROUP_CONCAT('`', table_name, '`') INTO @tables
      FROM information_schema.tables
      WHERE table_schema = (SELECT DATABASE()) and table_name like 'wp\_%';
    SELECT IFNULL(@tables,'dummy') INTO @tables;
    SET @tables = CONCAT('DROP TABLE IF EXISTS ', @tables);
    PREPARE stmt FROM @tables;
    EXECUTE stmt;
    DEALLOCATE PREPARE stmt;
    SET FOREIGN_KEY_CHECKS = 1; 
  • Remove the css from the generated code template, install into site.php

    Am_Di::getInstance()->hook->add( Am_Event::AFTER_RENDER,  function ( Am_Event_AfterRender $event ) 
    {
        $event->replace('|<link.+?public/css/amember.css".*?>|','');
    });

Latest JATZ Activity

JS01 :: Highland Valley Sampler

A simple Highland Valley Activity sampler for testing T:ANE and planning for the new JATZ Activity System


Jenolan

Latest RBR Scenario

LOC57 :: Pickup Goods

Your job today is to drive the Pick-up goods from Lewisham to Altona.

Shunting wagons off and on as required. All signals and junctions will be set for you.

Have a good day.

LocoOne