This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I will explain very clearly what I can't get . | |
Let's say I have a laravel application. | |
Let's say folders have permissions like this: drwxr-xr-x www-data www-data which means 755; | |
Then,I go to website and type url and click enter. As you say, I become user named www-data. code gets executed,for example: | |
$allCities = City::orderBy('id','desc')->paginate(10); | |
return view('admin_side.cities.allCities',compact('allCities')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I will explain very clearly what I can't get . | |
Let's say I have a laravel application. | |
Let's say folders have permissions like this: drwxr-xr-x www-data www-data which means 755; | |
Then,I go to website and type url and click enter. As you say, I become user named www-data. code gets executed,for example: | |
$allCities = City::orderBy('id','desc')->paginate(10); | |
return view('admin_side.cities.allCities',compact('allCities')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I will explain very clearly what I can't get . | |
Let's say I have a laravel application. | |
Let's say folders have permissions like this: drwxr-xr-x www-data www-data which means 755; | |
Then,I go to website and type url and click enter. As you say, I become user named www-data. code gets executed,for example: | |
$allCities = City::orderBy('id','desc')->paginate(10); | |
return view('admin_side.cities.allCities',compact('allCities')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have questions and just give me yes or no answers . please | |
1) as we all know redis, When there's a query, it gets saved in memory and then , | |
it gets saved in disk. If power gets shut down, and the information that was in memory(if server or redis | |
was not fast enough to make it to the disk) gets lost. so that's the data loss.Is what I said right? | |
2) let's talk about aof. I think it does the following thing. when there's a query and info gets saved in memory, | |
it's also saved in file. If power gets shut down, we know if information couldn't be moved to disk, it's already lost. | |
so what aof does is it saved info in file. when power comes back, it synchronizes this file to the disk. and all is good. | |
Am I right? | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1)JVM and Compilation | |
Compilation and execution of a Java program is two step process. During compilation phase Java compiler | |
compiles the source code and generates bytecode. This intermediate bytecode is saved in form of a .class file. | |
In second phase, Java virtual machine (JVM) also called Java interpreter takes the .class as input and generates output | |
by executing the bytecode. | |
2)JRE: Java Runtime Environment. It is basically the Java Virtual Machine where your Java programs run on. | |
It also includes browser plugins for Applet execution. | |
JDK: It's the full featured Software Development Kit for Java, including JRE, and the compilers and tools | |
(like JavaDoc, and Java Debugger) to create and compile programs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qtuam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/novaknole/38c91099077117c9cf56d6ed020e9d64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/novaknole/50ca0e963560a7dd081e83393d3a3260 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
დაბანდლავ ნიკოლოზ ოღონდ რეაქტს მარტო? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Organizations: | |
- &OrdererOrg | |
Name: OrdererOrg | |
ID: OrdererMSP | |
MSPDir: ../crypto-config/ordererOrganizations/orderer-org/msp | |
- &ShopOrg | |
Name: ShopOrgMSP | |
ID: ShopOrgMSP |
OlderNewer