profile
viewpoint
Ian Tearle iantearle @Little-Polar-Apps Ipswich, UK https://iantearle.com

iantearle/darksky.net-javascript-api 66

Darksky.net Javascript API

iantearle/Facelist 26

Facelist is an input field capable of accepting multiple items from an autocomplete list similar to Facebook mail recipient field.

iantearle/iSkip 22

iSkip creates a container of images with a configurable key image. The effect is seen on Apple Mac computers when using iPhoto.

iantearle/Expanse-CMS-Public 4

Expanse - Content Management For Web Designers, By A Web Designer Extended by Ian Tearle, @iantearle Started by Nate Cavanaugh and Jason Morrison

iantearle/Humanise-PHP 1

Humanisation of common tasks for PHP

iantearle/mit-license 1

Hosted MIT License with details controlled through this repo

issue commentuNmAnNeR/imaskjs

Time (HH:MM) mask

@plindelauf Apologies, spotted it.

var momentMask = IMask(element[i], {
        overwrite: true,
        autofix: true,
        mask: 'h{:}mm A',
        lazy:false, 
        blocks: {
            HH: {
            mask: function (value) {
              if (isNaN(value)) { return false; }
              const int_value = parseInt(value);
              return value.length < 3 && 0 <= int_value && int_value <= 24;
            },
            maxLength: 2
            },
            h: {
            mask: function (value) {
              if (isNaN(value)) { return false; }
              const int_value = parseInt(value);
              return value.length < 3 && 0 <= int_value && int_value <= 12;
            },
            maxLength: 2
            },
            mm: {
            mask: IMask.MaskedRange,
            placeholderChar: '0',
            from: 0,
            to: 59,
            maxLength: 2
            },
            A: {
        mask: IMask.MaskedEnum,
        enum: ['AM', 'am', 'PM', 'pm', 'aM', 'Am', 'pM', 'Pm']
        }
        },
        onAccept(e) {
            e.detail.value = e.detail.value.toUpperCase(); // Always cast characters to upcase
            // The default placeholder is '_'; make sure we fill this with a relevant value     
            e.detail.value = e.detail.value.
            replace('__', 'AM').
            replace('A_', 'AM').
            replace('P_', 'PM').
            replace('_M', 'AM').
            replace('M_', 'AM'); 
        },
        onComplete(e) {
            const maskRef = e.detail;
            console.log('complete', maskRef.unmaskedValue);
        }
    });
nerone

comment created time in a month

issue commentuNmAnNeR/imaskjs

Time (HH:MM) mask

@plindelauf how do you apply this to var momentMask = IMask(element, {}); ? I am getting mask property must be defined.

nerone

comment created time in a month

issue commentbeyondcode/expose

Protocol error on images

https://aa.sharedwithexpose.com

PHP 7.2

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

iantearle

comment created time in 2 months

issue openedbeyondcode/expose

Protocol error on images

Ok, so this may be an edge case with SLIR image caching, but I am getting at random with images generated by SLIR Image protocol errors:

The operation couldn’t be completed. Protocol error

https://github.com/lencioni/SLIR

Summary of the image looks like this in console:

URL: https://**.sharedwithexpose.com/expanse/images/h150/a150_060.JPG
Status: —
Source: —
Initiator: 
**.sharedwithexpose.com:58

If I visit the image directly, it renders correctly without any errors, this seems to be only when multiple images are generated/fetched at a time - on the home page only 12. If I visit the site on the local domain without using expose I do not see this error.

created time in 2 months

startedClanCats/Hydrahon

started time in 2 months

issue openeddeployphp/deployer

New install

Install bug... Fatal error: Declaration of Symfony\Component\Console\Input\Input::getArgument($name) must be compatible with Symfony\Component\Console\Input\InputInterface::getArgument(string $name) in phar:///usr/local/bin/dep/vendor/symfony/console/Input/Input.php on line 28

To reproduce curl -LO https://deployer.org/deployer.phar mv deployer.phar /usr/local/bin/dep chmod +x /usr/local/bin/dep

dep init

Expected behavior init happens

Environment

  • Deployer version: latest
  • PHP version: 7.4
  • Deployment target(s) OS: macOS High Sierra

created time in 2 months

issue closedlencioni/SLIR

Cant use relative path

Cant seem to get this to use a relative path/to/image works great if I use the full url, but I dont really want the path to be a url including all the http in it.

If I dont put the absolute url in for the /path/to/image.png then I get the error message showing me the path. Which is /var/www/c1x1/uploads.... etc this would work I am assuming if the path didn't have c1x1 in it? How can I get this library to not include the functions in the path to the image?

closed time in 2 months

iantearle

issue commentlencioni/SLIR

Cant use relative path

Hi, yes, I was, but had to change the document root - which was some mighty digging around and experimenting with.

iantearle

comment created time in 2 months

issue openedlencioni/SLIR

Cant use relative path

Cant seem to get this to use a relative path/to/image works great if I use the full url, but I dont really want the path to be a url including all the http in it.

If I dont put the absolute url in for the /path/to/image.png then I get the error message showing me the path. Which is /var/www/c1x1/uploads.... etc this would work I am assuming if the path didn't have c1x1 in it? How can I get this library to not include the functions in the path to the image?

created time in 2 months

issue openedrocketeers/rocketeer

Dead Project?

Is this project dead? The list of issues is growing and they don’t seem to be getting closed. Is there a road map? Can anyone be of assistance?

created time in 3 months

more