If you call repeatedly relationship model attributes, it will affects to response speed. Because laravel will connect database and tables whenever you call relationship model attributes. So, in this case, you must build one SQL for getting all available attributes from all relationship models. For example: @foreach ($posts as $post) {{ $post->author->fullName }}@endforeach This is …
Web3.js 1.0 Transaction Receive Issue
After deploying a new contract I never receive a receipt object. Expected behavior Receiving a contract object containing the address of the new contract in .on (‘receipt’, …. Actual behavior Nothing happens (also no error). On my node I can look up the contract address manually.The contract gets created. Versions web3.js: 1.0.0-beta.51 (latest) metamask: 6.3.0 (latest) browser: Chromium ethereum node: instance: Geth/v1.8.23-stable-c9427004/linux-amd64/go1.11. Solution …
Highlight specific words in textarea
I had a chance that I need to highlight some invalid characters that users input in <textarea/> tag. At first glance, I thought I could wrap all individual letters inside of <span> tag but I realized that textarea tag cannot contain any other child tags. I researched some solution and found this nice plugin. https://github.com/lonekorean/highlight-within-textarea …
Weird scrolling issue related to autofocus
When an input element has autofocus attribute, page scrolls down to the element when the page is loaded. If you want to prevent it, the only way is to catch focus event and scroll to top of page using javascript. Or you can remove autofocus attribute. 😉
Do you know why this happens?
I can not access to https://dev-local.mylogobot.com Do you know why? This is my vhost file. <VirtualHost *:443> DocumentRoot “/Volumes/Data/Amchara/main-front/public” SSLEngine on SSLCertificateFile /etc/apache2/ssl/amchara-front/server.crt SSLCertificateKeyFile /etc/apache2/ssl/amchara-front/server.key ServerName www.dev-local.amchara-front.net ServerAlias dev-local.amchara-front.net <Directory “/Volumes/Data/Amchara/main-front/public”> AllowOverride All …
uncss – unnecessary css
https://uncss-online.com/ This is really useful link especially for AMP, we can reduce style size by removing unused styles. Really great service!
ARK Blockchain
ARK provides users, developers, and startups with innovative blockchain technologies. We aim to create an entire ecosystem of linked chains and a virtual spiderweb of endless use-cases that make ARK highly flexible, adaptable, and scalable. ARK is a secure platform designed for mass adoption and will deliver the services that consumers want and developers need. …
Lerna
Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm. Lerna can also reduce the time and space requirements for numerous copies of packages in development and build environments – normally a downside of dividing a project into many separate NPM package. See the hoist documentationfor details.
Hackolade
Hackolade is pioneering the field of data modeling for NoSQL and multi-model databases with its unique ability to represent deeply nested JSON objects in Entity Relationship diagrams. A well-designed, dynamic database schema is like a solid foundation for a house: if you want an application that will scale, perform well, and be able to support …