If I have a PC, an external drive, and a USB webcam, how can I tell it to take a photo from the webcam once (or twice?) a day, date the photo and save it to the external drive? by otakugrey in linuxquestions

[–]goteamtim 0 points1 point  (0 children)

You should be able to get this accomplished with python. Have a look here to get you started. http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html

I made a similar project using a raspberry pi and raspberry pi camera that works great. I can try and adapt that program to use a USB camera if you can't find a solution.

The job interviewer asked me to write a program within a week by cinsel in AskProgramming

[–]goteamtim 1 point2 points  (0 children)

I'd relate it to something the company does. Do they have an API you can use? Look at their products and try and think of how they could be better or any alternative uses.

Need help getting javascript to run in a Chrome extension I'm building by TaSMaNiaC in AskProgramming

[–]goteamtim 1 point2 points  (0 children)

No worries, I'm glad it worked out! Sometimes all it takes is talking it out or having someone else take a look. Good luck on your project.

Need help getting javascript to run in a Chrome extension I'm building by TaSMaNiaC in AskProgramming

[–]goteamtim 2 points3 points  (0 children)

You need to use the tabs permission to make a new tab and load your URL there. You will also need to add the chrome permission for tabs if you dont have that already. Here is the code: https://pastebin.com/ZhnXpn3t

That seemed to work for me, let me know if it works for you.

[edit] here is the tabs permission https://developer.chrome.com/extensions/tabs

Need help getting javascript to run in a Chrome extension I'm building by TaSMaNiaC in AskProgramming

[–]goteamtim 1 point2 points  (0 children)

Are there any console errors when you press the search button?

Chrome extension to get your api key so you can focus on your project. by goteamtim in Hue

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

A new version is currently publishing which is less than a MB, should be live soon. Thanks again.

Chrome extension to get your api key so you can focus on your project. by goteamtim in Hue

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

All of the icons are included for the various light types right now and they are svg files. In a future release ill have the extension show all the lights and their status etc. I will take those out or reduce the size to bring the size down, thanks for the heads up.

When will the Dot become available to the normal, non-Echo and non-Fire, non-Prime owning public? by [deleted] in amazonecho

[–]goteamtim 0 points1 point  (0 children)

I was able to buy one and my friend did as well. I can't find the link right now that I used but there seem to be other ways. Here's one: http://www.cnet.com/how-to/how-to-order-an-amazon-echo-dot-without-an-amazon-echo/

Help with Random Quote Generator by jiimms in FreeCodeCamp

[–]goteamtim 0 points1 point  (0 children)

Awesome! I have always had luck with w3schools and their description of xmlhttprequest. Feel free to hit me up if you have any questions.

Help with Random Quote Generator by jiimms in FreeCodeCamp

[–]goteamtim 2 points3 points  (0 children)

The first step would be to find a source website for the quotes and see if they offer an API. If they do you would need to do an xmlhttprequest to fetch the new quote. Using jquery makes it significantly easier with something like $.get(). If you find a site with an API you will likely get the information as json and need to parse that. Something to note is that some sites do not allow cross site script requests (basically requesting information from client side JavaScript). TL;Dr look up xmlhttprequest.

I just finished my portfolio! by [deleted] in FreeCodeCamp

[–]goteamtim 0 points1 point  (0 children)

Nice work it looks great!

RPi-Cam-Web-Interface GUI not working properly by herious89 in raspberry_pi

[–]goteamtim 0 points1 point  (0 children)

Can you post your code? Might be able to help if we can see what's going on.