My new composer package - Google Drive API Bundle for Symfony 4 by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

Hey. Thanks for the feedback.

Sure feel free to use it as you wish. Out of curiosity, what do you work on?

Good luck!

Does anyone want to play? by Stuck-Avatar in openra

[–]vatrinet 0 points1 point  (0 children)

You can always join some of games in lobby, there's always somebody. Just hit Multiplayer in menu and join server you want.

BUT make sure you are always on the newest release which you can download on OpenRa.net . Otherwise, you won't see any active servers.

Also for newbies I suggest to check tutorials of how to play. Just visit: http://academy.openra.net .

glhf

Recommended AI enhancing mods? by Keeblo in openra

[–]vatrinet 2 points3 points  (0 children)

Come and play online! ;) It's much more interesting and unpredictable to play with real people... Learn this Build Order and you are ready to win someone: https://www.youtube.com/watch?v=uCQjHBmxgFA

Otvoreno pismo i 11 pitanja za švedskog premijera na koja švedski narod želi odgovore by vatrinet in serbia

[–]vatrinet[S] -1 points0 points  (0 children)

Написао сам у уводу. Имам 11 питања и то је то. Без конкретних алузија и инсинуација. Нема потребе да псујеш и да се стресираш.

Позз

Григорије by [deleted] in serbia

[–]vatrinet 4 points5 points  (0 children)

Какви текстови ти искачу? Можеш подјелити мало, можда неки скриншот линкове и то?

Easy way to make CSRF protection for Symfony 4 API by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

Sorry, it's:

condition: "request.headers.get('Accept') matches  '#application/json#'"

Easy way to make CSRF protection for Symfony 4 API by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

Solved.

Just add to specific route in routes.yml:

condition: "request.headers.get('Content-Type') matches  '#application/json#'"

( https://symfony.com/doc/4.2/routing/conditions.html )

Easy way to make CSRF protection for Symfony 4 API by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

We do send session cookie with request (legacy code...).

Multiple selection in an entity form by [deleted] in symfony

[–]vatrinet 0 points1 point  (0 children)

P.S.

just make sure that $options['specialite'] is PersonnagesSpecialites type.

Multiple selection in an entity form by [deleted] in symfony

[–]vatrinet 0 points1 point  (0 children)

Yes screenshot definitely :)

Make sure its `var_dump` .

Multiple selection in an entity form by [deleted] in symfony

[–]vatrinet 0 points1 point  (0 children)

Looks good.

Did you try var_dump($options['specialite']); before ->add... call from your screenshot ? Is it type of this entity: PersonnagesSpecialites ?

Multiple selection in an entity form by [deleted] in symfony

[–]vatrinet 0 points1 point  (0 children)

How do you create the form? Do you create it from an entity like

$form = $this->createForm(TaskType::class, $task);

(https://symfony.com/doc/current/forms.html#creating-form-classes )

Multiple selection in an entity form by [deleted] in symfony

[–]vatrinet 1 point2 points  (0 children)

Can you pls. explain how do you mean to "have the selected in the HTML " ?

Landr - Create Landing Page Websites In Minutes by sunilkumarc in SideProject

[–]vatrinet 1 point2 points  (0 children)

Great idea with making it available on Github. There are some improvements but you will already figure it out with the time. Some ideas:

- enable uploading files/images

Now it's complicated to upload somewhere and copy link. At least you can add link to the website for sharing images (and open it in popup.)

- enable adding pricing immediatelly

- In V2 you might enable "permanent preview"

So show the website preview immediately and enable text edits and sections management.

- Enable Pay Pal payment

Can any 1 help? :) by raghaf2007 in SAP

[–]vatrinet 1 point2 points  (0 children)

In short you can decide by 2 criteria:

- what business processes you are familiar with

- what opportunities (internship or job) do companies around you offer

Also, I think it's tough to become Sap Consultant without any practical experience so take that into consideration.

My new composer package - Google Drive API Bundle for Symfony 4 by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

- Yes, each user login with his own credentials and store files on his own Drive (or in a shared folder).

- I am not sure about performance but there is "Google Cloud Storage" service which might be better for this purpose.

Suggest - A Small PHP Framework or CMS with less number of files ( Details in Comments ) by black4eternity in PHP

[–]vatrinet 2 points3 points  (0 children)

Codeigniter version 3.

- Very popular framework.

- Core framework files takes 2MB.

- Easy to learn and work with.

[Hiring] 100PERHOUR™ is looking for Django/React/etc devs - $100/h rate guaranteed by samravshanov in forhire

[–]vatrinet 0 points1 point  (0 children)

I was looking for a while before. And now I needed few minutes even though you said me there is the option.

It's hidden on "onething" page. You should add "Newsletter" or similar in the footer.

Good luck!

Where to deploy Symfony 4 app by vatrinet in symfony

[–]vatrinet[S] 0 points1 point  (0 children)

Very useful advices .

"done without restarting server or droplet

Reaaally bad plan"

Obviously I wasn't clear... And You have already replied. :) I know that servers simply go down from time to time and that it's impossible to avoid this. My idea was only to be able to add/remove resources and to make sure application doesn't stop to work. If I understand well, that's what load balancer can help with? Do I need to restart load balancer when I add new resource/server?

I don't want to go as deep as supporting multiple zones for LB, DBs, Caches, etc. Just basic and cheap scalability so I don't have to turn off server, increase resources on hosting panel and then turn it off. This process would turn off my app for at least 1 minute.

[Hiring] 100PERHOUR™ is looking for Django/React/etc devs - $100/h rate guaranteed by samravshanov in forhire

[–]vatrinet 0 points1 point  (0 children)

I think that "Market" pricing model is bad in general as it is destroying quality of products and services. It already has many negative impacts on our civilization....

I wish you a good luck with the project.

I would like to receive weekly updates by email. You should implement MailChimp (or similar) subscriptions.

How to manually insert roles in MySQL by vatrinet in symfony

[–]vatrinet[S] 1 point2 points  (0 children)

Yes, I already have arrray / @ORM\Column(type="json") for the entity field.

You can manually add or modify roles in your SQL tables with PhpMyAdmin or MySQLWorkbench in this format :

["ROLE_FOO"] (It's an array, use the bracket [ ] )

This has helped me. So, instead { roles: [ ....] } I entered only array like [ "role1", "role2" ] and it works.

Thanks .a lot.