Posts by Rafael G Firmino • 169 points
8 posts
-
-1
votes4
answers254
viewsA: Set Golang Standard Timezone
It is necessary to use the function time. Now(). In() loc, _ := time.LoadLocation("America/Sao_Paulo") // handle err currentTime := time.Now().In(loc) // outra forma de fazer o exemplo acima loc, _…
-
1
votes1
answer30
viewsA: Create two Reactjs apps in the same project by sharing node_modules
Let me talk about my experience in a similar project. Here we needed to create several modules using a similar extrusion, we had (5 modules), but I will simplify here for your example. Core(is who…
reactanswered Rafael G Firmino 169 -
1
votes2
answers70
viewsA: How Symfony 2 manages route conflicts with the same name
You should not have the same name to indicate different routes!(just as there is no same Cpf to identify different people) I say different because if they were equal it would not make sense to have…
symfony-2answered Rafael G Firmino 169 -
1
votes1
answer36
viewsA: Symfony-2 - Location of Assets
Both are valid, but as you will not distribute the application is more convenient for you to leave in /web directly. If you leave it in the folder AppBundle/Resources/Public/... will need to rotate…
-
2
votes1
answer81
viewsA: How to create a list of locked programs in C#?
You can start solving your problem in parts. This link shows how to list the programs installed in windows ->…
-
0
votes2
answers409
viewsA: Unable to create the cache directory (/cache/)
Guy has several things that can generate this error. Here are some possible solutions. 1- It can be the permission of the cache and log folder inside the symfony app folder 2- You can try updating…
-
3
votes1
answer767
viewsA: findBy() all records with two conditions
Here are some examples of the Doctrine documentation itself. Doctrine’s website session 7.8.2. By Simple Conditions site <?php // $em instanceof EntityManager // All users that are 20 years old…
-
3
votes1
answer388
viewsA: How to save scrollbar position?
Come on, man, so you can get the scroll position int currentPositionScroll = datagridView.FirstDisplayedScrollingRowIndex; and here is for you to set the value you want for the scroll…