How to search on project hosting sites - project-hosting

Say I want to look for open source iphone/Android tower defense game on sourceforge/google code/git hub. Directly searching by these keywords seems not easily getting desired result. Is there any way to search project on these sites? Thanks.

Use Google. Type the following into the search box "site:github.com android tower defense" to see what is in github.

Related

Is there any free way to search github that isn't severely limited and simple (aka: searching for special characters or using regex)?

So it seems like google console is paid for github (I can't find a free way to search the contents in repos, only their names and metadata) and also the github search doesn't even allow me to search for "=" let alone more complex regex like ^.*[$]var[=]foo or so. Are we limited to simple search only? thanx
Probably you want to have a look at Hound:
Github: https://github.com/hound-search/hound
Docker Hub: https://hub.docker.com/r/etsy/hound
Hound is an extremely fast source code search engine. The core is based on this article (and code) from Russ Cox: Regular Expression Matching with a Trigram Index. Hound itself is a static React frontend that talks to a Go backend. The backend keeps an up-to-date index for each repository and answers searches through a minimal API.
We use it for searching through several projects in our codebase.

Creating Custom QR Code (Snapchat, Messenger)

A Chinese social app "Wechat" created a custom qr Code and that idea brought to west by "snapchat" and now Facebook is also utilizing it. I Know there are guidelines to create a QR Code and these guys customized it based on there needs. I was looking for help in the same path to create my own Customized QR Codes.
Solution Required: Snapchat, Messenger style barcode/qrcode reader and writer.
Please share your thoughts or if there is any opensource script.
I build Facebook like QR code scaner, but works 10-20 times faster. In repo iOS demo project and MacOS development project.
https://github.com/AlexandrGraschenkov/QRCodes
To start with you could look at the specifications of a QR code:
https://en.wikipedia.org/wiki/QR_code
https://archive.codeplex.com/?p=qrcodenet
There is an implementation by Google in both PHP and Java: https://github.com/zxing/zxing/
This is all I can do for you now, if you do not provide a specific question. I can not do the implementation for you. There are several libraries out there that you could purchase a license for and then use that as your generator, but I am guessing that is not what you want.
For more information on how to use ZXing, you can just search for the tag zxing on this website and browse through the questions.
Hope that helps!

Integrating Google maps with C++ Program

I am making an artificial intelligence based shortest distance finder between two points in c++ language. My coding for that is complete and working fine. Now I want to integrate it with Google Maps Api. I want to show the shortest distance graphically on google maps exactly same as google maps show directions. I am stuck and can't find any help. I know I have to do socket programming for this. Please guide me with proper steps and coding snippets. Thanks in advance!
Check out the official api :
https://cloud.google.com/maps-platform/
For interaction with the http api you could use a client such as curl (http://curl.haxx.se/) or maybe boost asio if your are using boost. see this question at SO: Boost.ASIO-based HTTP client library (like libcurl)
There is a c++ client/ helper available. Disclosure I have not tried it yet.
https://google.github.io/google-api-cpp-client/latest/
Many links seem to be broken (The samples directory link). So I'm not sure how well supported it is but it looks like it might be helpful.
The description page is at :
https://google.github.io/google-api-cpp-client/latest/start/installation.html
IF that fails there are samples in other languages that you may have to translate by hand. (better than nothing)
https://developers.google.com/api-client-library/

Trying to create a search engine using Ember.JS

Hello I am new to developing with Ember.JS and I am having trouble understanding how to develop a query driven search engine with the library.
Could anyone either point me to an example of how to do this or provide some code I could use in my open source project I am developing with the Ember platform?
I would like the user to be able to type in a query in a textbox and then have the results display.
Thank You,
Eric
For text-searching your own site, or a full blown search engine?
If the former, Ember Sherpa has code for an example app here: http://embersherpa.com/articles/search-example/.
There's also an answer with a JSFiddle you can play around with for someone asking a similar question here: Build search box searching with Ember.js

What is the best way to integrate Google Analytics into a C++ OpenFrameworks desktop project?

I'm currently building an OpenFrameworks project and need to use Google Analytics to track user interactions. I have yet to find any existing C++ libraries for doing so, and am considering writing my own. Is the API open enough to allow a custom library to be created? If one doesn't exist, any ideas on where to begin coding my own?
Yes it is possible and easy to extend openframeworks!
You can look here if there is an addon which fits your need. Maybe ofxCurl or ofxHttpUtils are the right ones to create an request like the one mentioned in the comment by yahelc.
If you don't find a solution there, you can look here to find first informations about creating addons for openFrameworks. If you have any further questions, please ask in the official openframeworks forums which you can find here.
Looks like you'll have to build your own solution... I'd use ofxHttpUtils to ping Google's Analytics API. You should also consider wrapping your work as an OF addon and sharing in openframewors.cc
I've built an OpenFrameworks add-on to do just that:
http://github.com/armadillu/ofxGoogleAnalytics