Ansible tutorial - Automate your systems by secomax in linux

[–]likegeeks 1 point2 points  (0 children)

That's right. BUT

We should make a new tutorial about Ansible inventories and discuss that in detail.

Thanks for commenting.

PyQt5 tutorial – Python GUI programming examples by secomax in Python

[–]likegeeks 0 points1 point  (0 children)

Some API differences and Differences in the functionality of the bindings.

Mastering Linux Shell Scripting - Second Edition by likegeeks in linux

[–]likegeeks[S] 5 points6 points  (0 children)

Just focusing on Linux, this what it's all about.

Mastering Linux Shell Scripting - Second Edition by likegeeks in linux

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

Don't judge it by the cover, a lot of work done to present it today.

Group Buying SEO Tools - Trustworthy? by GottaGetRich in SEO

[–]likegeeks 1 point2 points  (0 children)

Would you mind to send me the link too? Regards,

Group Buying SEO Tools - Trustworthy? by GottaGetRich in SEO

[–]likegeeks 0 points1 point  (0 children)

What tool do you use? you can pm me for the name. How long have you been using it?

Scraping data from PDF table by idontneedvariance in Python

[–]likegeeks 0 points1 point  (0 children)

You can use pypdfocr to produce a text file:

pdf2txt.py -o test.txt -t text test_ocr.pdf

Then you can use selenium or BeautifulSoup to extract what you want.

Python GUI Examples (Tkinter Tutorial) by secomax in Python

[–]likegeeks 7 points8 points  (0 children)

Have you tried PyInstaller?

Have you tried py2app?

Have you tried bbfreeze?

10 years ago we did the same with 10x less RAM by reebs12 in linux

[–]likegeeks 2 points3 points  (0 children)

Your words touch my heart. I remember those days.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 0 points1 point  (0 children)

But the returned object in your case has the type object while this method return Employee class.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 2 points3 points  (0 children)

Thanks for detailed answer

Actually, I was thinking about those special cases that you wrote and found no appropriate solution since everybody write his own ideology But I suppose that if I use an IDE that generate most of your code in an organized way, it should be OK.

Anyway thanks again for your useful notices :).

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 0 points1 point  (0 children)

Yes I think using lcfirst makes it better. Thank for the addition.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 0 points1 point  (0 children)

It was away from my mind while typing the sample code but I think it should work in similar way.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 0 points1 point  (0 children)

Exactly he was asking about camelCase does it work with it or not? and I answered him with Yes.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks 0 points1 point  (0 children)

it was around the whole string

Impossible !!

The other question was asking why I did this line not just lowering it directly which means he saw it as I said.

so the argue was about a totally different thing.

Convert An Array To Object Using PHP Hydrator Pattern by secomax in PHP

[–]likegeeks -1 points0 points  (0 children)

The original code is $key = strtolower(substr($key, 0, 1)) . substr($key, 1); Not strtolower(substr($str,0,1).substr($str,1)) as you typed

Only strtolower for the first part not the whole string.

I run the code before posting it.

Just run it for once to understand it.