Skip to main content

Notes on LAMP/LAPP Sept 19

https://en.wikipedia.org/wiki/B%C3%A9zier_curve

https://www.quora.com/Can-virus-and-bacteria-survive-in-salt-water

https://blog.goodaudience.com/bitcoin-vs-banks-78b7410fbe9

borrow metaphor from progmng language => are there some "reserve words" (keyword) in some language ?
So master these will maximum (or at least optimum) to usage

Sometime the different between prod and dev env reveal some interesting case study. ie. situation when prod sold table only have few records vs dev (not cleaned ?) have about half millions records.
So query that designed to overcome bottleneck on join/not in ... on DEV env become not necessary and vice verse. On the other hand, we should keep DEV env implementation in case Live data not cleaned or sometime/somehow become larger, so the already logic could handled situation.
Implement that prevent future table size is cool. We often ignore this when first work proposal.In the often used App/FW like WP we can easily grab best practice or recommend because of we have many system to get lesson, like wp_posts or wp_post_meta ...table often very big.

https://baa.nwafu.edu.cn/docs/20180603134540248660.pdf


http://asciiflow.com/

https://buildingvts.com/launch-multiple-ios-simulators-on-a-single-compile-985fd2ad5eb1
https://smallbusiness.chron.com/difference-between-construction-manufacturing-20748.html

pictograms or ideograms

https://www.quora.com/Why-didnt-the-Japanese-use-the-Latin-alphabet-instead-of-kanji-They-used-kanji-to-avoid-confusion-of-homonyms-but-now-that-the-kanji-kana-can-be-mixed-to-write-why-not-use-the-Latin-alphabet-Why-did-the-Japanese-even-pursue-the-pictograph

Flight control prank on learning eng (and vnes 'dialect' meme). Deep rooted mother language and 'the word' by JK involved to make clear out what is true learning.

https://researcher.watson.ibm.com/researcher/view_group.php?id=5608

Bash, automate program testing.
How to automated test with for example crontask ?

https://stackoverflow.com/questions/1315624/bash-and-test-driven-development

https://www.softwaretestinghelp.com/tips-to-design-test-data-before-executing-your-test-cases/

https://www.php.net/manual/en/function.fopen.php
"This may become critical in a caching situation, if you intend to keep your hair."

https://stackoverflow.com/questions/13210880/replace-one-substring-for-another-string-in-shell-script

https://stackoverflow.com/questions/6465699/git-push-to-wrong-branch

GIT: can I push branch Feature-xx to origin (remote) when I am in develop branch ?
I mean, I am currently in develop branch. No change in develop.
But I have some update in Feature-xx comited locally. Can I push it to remote (ie. Github) without checkout to it first ?
The reality situation usage is when I have middleman Git.
Git inside Centos 5.11 too old (ssl/tls...) to use directly to for example Github. So I have to push it to middleman Git (in shared folder) within Windows (host machine). And then can push to Github from windows's git.
It look like this:
[remote "origin"]
        # url = https://github.com/project-x.git
        url = /root/proj/project-x.git
...

=> Tested: we can push update to branch feature-xyz while in develop branch for example.
$ (develop)
$ git push origin feature-xyz
$git br
* develop

https://www.php.net/manual/en/function.file-put-contents.php
Please note that when saving using an FTP host, an additional stream context must be passed through telling PHP to overwrite the file.
...
/* and finally, put the contents */
file_put_contents($hostname, $content, 0, $stream);

 EUC-JP encoding make Linux font error. Should be UTF-8.

Fuking cococ stupid. As vni search machine, it should have vni typing by default ? or at least a button or settings for it. Like informatik dictionary, If you chose Vi-En dict then the input changed to vni (Telex, unicode...) automatically. This is a must-have (should have) functionality.
Default page cococ (i'm comming from Google search) did not come to search page but download page. => Should it be changed ?  If you focus on search machine then it should be in top priority not the chromium based browser.
And in the search result you could add browser download link to it as Google did.

I'm not count on Unikey typing software that almost all PC in VN installed.  Because of with developer like me not like it since almost time we use / typing english. Chatting vni is exist but not offten, it depend on project, team, company ...
But at least foreigner and heavy second language usage (Eng, Jap, Chn, Kor) ... it is annoying mistake with Unikey keyboard shortcut (Ctrl-Shift...)
MacOS / Linux (Ubuntu) have build in Typing, so not have to open Unikey and it switch keyboard short key + statistic guest seem ok.
Linux typing suck litle bit vs other, for example Dvorak keyboard not work when typing Vietnamese, it fall back to default Qwerty

https://archive.org/details/asiangodfathers00joes

Comments

Popular posts from this blog

AWS Elasticache Memcached connection

https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/accessing-elasticache.html#access-from-outside-aws http://hourlyapps.blogspot.com/2010/06/examples-of-memcached-commands.html Access memcached https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/GettingStarted.AuthorizeAccess.html Zip include hidden file https://stackoverflow.com/questions/12493206/zip-including-hidden-files phpmemcachedadmin ~ phpMyAdmin or phpPgAdmin ... telnet mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com 11211 stats items stats cachedump 27 100 https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/VPCs.EC.html https://lzone.de/cheat-sheet/memcached VPC ID Security Group ID (sg-...) Cluster: The identifier for the cluster memcached1 Creation Time: The time (UTC) when the cluster was created January 9, 2019 at 11:47:16 AM UTC+7 Configuration Endpoint: The configuration endpoint of the cluster memcached1.ahgofe.cfg.usw1.cache.amazonaws.com:11211 St...

Notes Windows 10 Virtualbox config, PHP Storm Japanese, custom PHP, Apache build, Postgresql

 cmd => Ctrl + Shift + Enter mklink "C:\Users\HauNT\Videos\host3" "C:\Windows\System32\drivers\etc\hosts" https://www.quora.com/How-to-create-a-router-in-php https://serverfault.com/questions/225155/virtualbox-how-to-set-up-networking-so-both-host-and-guest-can-access-internet 1 NAT + 1 host only config https://unix.stackexchange.com/questions/115464/how-to-properly-set-up-2-network-interfaces-in-centos-running-in-virtualbox DEVICE=eth0 TYPE=Ethernet #BOOTPROTO=dhcp BOOTPROTO=none #IPADDR=10.9.11.246 #PREFIX=24 #GATEWAY=10.9.11.1 #IPV4_FAILURE_FATAL=yes #HWADDR=08:00:27:CC:AC:AC ONBOOT=yes NAME="System eth0" [root@localhost www]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 # Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth1 IPADDR=192.168.56.28 <= no eff => auto like DHCP #GATEWAY=192.168.56.1 #BOOTPROTO=dhcp BOOTPROTO=static <= no eff ONBOOT=yes HWADDR=08:00:27:b4:20:10 [root@localhost www]# ...

Rocket.Chat DB schema

_raix_push_notifications avatars.chunks avatars.files instances meteor_accounts_loginServiceConfiguration meteor_oauth_pendingCredentials meteor_oauth_pendingRequestTokens migrations rocketchat__trash rocketchat_cron_history rocketchat_custom_emoji rocketchat_custom_sounds rocketchat_import rocketchat_integration_history rocketchat_integrations rocketchat_livechat_custom_field rocketchat_livechat_department rocketchat_livechat_department_agents rocketchat_livechat_external_message rocketchat_livechat_inquiry rocketchat_livechat_office_hour rocketchat_livechat_page_visited rocketchat_livechat_trigger rocketchat_message rocketchat_oauth_apps rocketchat_oembed_cache rocketchat_permissions rocketchat_raw_imports rocketchat_reports rocketchat_roles rocketchat_room rocketchat_settings rocketchat_smarsh_history rocketchat_statistics rocketchat_subscription rocketchat_uploads system.indexes users usersSessions https://rocket.chat/docs/developer-guides/sc...