Skip to main content

React, ng (Angular), Ionic etc catch up

What is the right action ?
You act immediately
To act instantly is to see actually 'what is'
Intelligence is to see something very clearly and act instantly

1. Critical environment, health, food issues.
2. Psychological, mental, social issues.
3. Technical, economy, traffic safety issues and advancement.
4. Others, unknown like gaming, dictionary app ...

https://www.martinfowler.com/bliki/ThreePillars.html

https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository


https://www.simicart.com/blog/progressive-web-apps-examples/


https://nationswell.com/easy-ways-help-environment/
Not all of these apps above have excellence software and / or ratting but at least it gave our awareness about what going on.

https://aqicn.org/map/world/


Symfony vs Laravel 9:12
So I have to figure out when sf fit, otherwise pick lv.
https://www.merixstudio.com/blog/laravel-vs-symfony-clash-frameworks/



Redis
https://stackoverflow.com/questions/7638542/redis-show-database-size-size-for-keys




DEBUG OBJECT <key>

Consider using nginx for example in Laravel.
public data (ie. photo), upload api may be affected ?
sub folder ie. admin/ manager => is it ok or have to make different VirtualHost ?

Anyway, in some case it quite risky to migrate without fully understand problem, especially critical like photo access.

Try switch when have time, measure or experience speed change, caching etc.

https://laravel-tricks.com/tricks/fetch-latest-posts-for-each-category

https://stackoverflow.com/questions/10053358/measuring-the-distance-between-two-coordinates-in-php


https://en.wikipedia.org/wiki/Great-circle_distance#Formulas
Yeah I love mathematics. Remembering numerical algorithms.


To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php@7.2/lib/httpd/modules/libphp7.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.2/

php@7.2 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have php@7.2 first in your PATH run:
  echo 'export PATH="/usr/local/opt/php@7.2/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/php@7.2/sbin:$PATH"' >> ~/.bash_profile

For compilers to find php@7.2 you may need to set:
  export LDFLAGS="-L/usr/local/opt/php@7.2/lib"
  export CPPFLAGS="-I/usr/local/opt/php@7.2/include"

SQlite3
OSX example:
$sqlite3 data/database.sqlite  # Symfony demo project

.help
.tables
select * from symfony_demo...;



Comments

Popular posts from this blog

Rand mm 10

https://stackoverflow.com/questions/2447791/define-vs-const Oh const vs define, many time I got unexpected interview question. As this one, I do not know much or try to study this. My work flow, and I believe of many programmer is that search topic only when we have task or job to tackle. We ignore many 'basic', 'fundamental' documents, RTFM is boring. So I think it is a trade off between the two way of study language. And I think there are a bridge or balanced way to extract both advantage of two method. There are some huge issue with programmer like me that prevent we master some technique that take only little time if doing properly. For example, some Red Hat certificate program, lesson, course that I have learned during Collage gave our exceptional useful when it cover almost all topic while working with Linux. I remember it called something like RHEL (RedHat Enterprise Linux) Certificate... I think there are many tons of documents, guide n books about Linux bu

Martin Fowler - Software Architecture - Making Architecture matter

  https://martinfowler.com/architecture/ One can appreciate the point of this presentation when one's sense of code smell is trained, functional and utilized. Those controlling the budget as well as developer leads should understand the design stamina hypothesis, so that the appropriate focus and priority is given to internal quality - otherwise pay a high price soon. Andrew Farrell 8 months ago I love that he was able to give an important lesson on the “How?” of software architecture at the very end: delegate decisions to those with the time to focus on them. Very nice and straight-forward talk about the value of software architecture For me, architecture is the distribution of complexity in a system. And also, how subsystems communicate with each other. A battle between craftmanship and the economics and economics always win... https://hackernoon.com/applying-clean-architecture-on-web-application-with-modular-pattern-7b11f1b89011 1. Independent of Frameworks 2. Testable 3. Indepe