diff --git a/.stat.php.swp b/.stat.php.swp
new file mode 100644
index 0000000..4225ec5
Binary files /dev/null and b/.stat.php.swp differ
diff --git a/CNAME b/CNAME
new file mode 100644
index 0000000..93ee2d3
--- /dev/null
+++ b/CNAME
@@ -0,0 +1 @@
+rushg.me
\ No newline at end of file
diff --git a/CV.pdf b/CV.pdf
new file mode 100644
index 0000000..8ccc166
Binary files /dev/null and b/CV.pdf differ
diff --git a/LICENSE b/LICENSE
index fdddb29..610cecd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,24 +1,202 @@
-This is free and unencumbered software released into the public domain.
+Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
-Anyone is free to copy, modify, publish, use, compile, sell, or
-distribute this software, either in source code form or as a compiled
-binary, for any purpose, commercial or non-commercial, and by any
-means.
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-In jurisdictions that recognize copyright laws, the author or authors
-of this software dedicate any and all copyright interest in the
-software to the public domain. We make this dedication for the benefit
-of the public at large and to the detriment of our heirs and
-successors. We intend this dedication to be an overt act of
-relinquishment in perpetuity of all present and future rights to this
-software under copyright law.
+ 1. Definitions.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2013-2015 Iron Summit Media Strategies, LLC
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
-For more information, please refer to
diff --git a/R3D.php b/R3D.php
new file mode 100644
index 0000000..147cebc
--- /dev/null
+++ b/R3D.php
@@ -0,0 +1 @@
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1d2b71b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# Portfolio
+My personal portfolio. Bootstrap theme
diff --git a/ResumeGSoC.pdf b/ResumeGSoC.pdf
new file mode 100644
index 0000000..ac6abc2
Binary files /dev/null and b/ResumeGSoC.pdf differ
diff --git a/Test.php b/Test.php
new file mode 100644
index 0000000..d387313
--- /dev/null
+++ b/Test.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/TreasureHunt/.ftpquota b/TreasureHunt/.ftpquota
new file mode 100644
index 0000000..bb0978d
--- /dev/null
+++ b/TreasureHunt/.ftpquota
@@ -0,0 +1 @@
+8 54300
diff --git a/TreasureHunt/Error.php b/TreasureHunt/Error.php
new file mode 100644
index 0000000..cd3a5b9
--- /dev/null
+++ b/TreasureHunt/Error.php
@@ -0,0 +1,13 @@
+
+
diff --git a/TreasureHunt/PHPConnector.php b/TreasureHunt/PHPConnector.php
new file mode 100644
index 0000000..362fe66
--- /dev/null
+++ b/TreasureHunt/PHPConnector.php
@@ -0,0 +1,27 @@
+dbName, $link);
+
+ $result = mysql_query($query, $link);
+ // $this->clConnection = new mysqli(HOSTNAME, USERNAME, PASSWORD, $this->dbName);
+
+ // $result = $this->clConnection->query($query);
+ return $result;
+ }
+
+
+}
+?>
diff --git a/TreasureHunt/User.php b/TreasureHunt/User.php
new file mode 100644
index 0000000..746f997
--- /dev/null
+++ b/TreasureHunt/User.php
@@ -0,0 +1,53 @@
+runQuery($query, $connector->dbName);
+ if ( $res ) {
+ return "Success";
+ }
+ return "Fail";
+}
+
+function edit_loc_id($id, $location){
+ $connector = new Connector();
+ if (!$connector) die ("");
+ $query = "UPDATE Users SET location=".$location." WHERE id =".$id;
+ $res = $connector->runQuery($query, $connector->dbName);
+ if ( $res ) {
+ return "Success";
+ }
+ return "Fail";
+}
+function edit_loc_name($name, $location){
+$connector = new Connector();
+ if (!$connector) die ("");
+ $query = "UPDATE Users SET location='".$location."' WHERE username ='".$name."'";
+ echo $query;
+ $res = $connector->runQuery($query, $connector->dbName);
+ if ( $res ) {
+ return "Success";
+ }
+ return "Fail";
+}
+
+if (isset ( $_GET['q'] )) {
+ if ($_GET['q'] == 'addUser') {
+ $res = array ( 'status' => addUser($_GET['username'], $_GET['password'], $_GET['email'], $_GET['location']) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ } else if($_GET['q'] == 'editUser') {
+ if(isset($_GET['id']))
+ {
+ $res = array ( 'status' => edit_loc_id($_GET['id'], $_GET['location']) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ } else if(isset($_GET['username']))
+ {
+ $res = array ( 'status' => edit_loc_name($_GET['username'], $_GET['location']) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ }
+ }
+
+}
+?>
diff --git a/TreasureHunt/dashboard.php b/TreasureHunt/dashboard.php
new file mode 100644
index 0000000..4fdccb7
--- /dev/null
+++ b/TreasureHunt/dashboard.php
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+ Active hunts :
+
+
+ User Name :
+
+
+
diff --git a/TreasureHunt/error_log b/TreasureHunt/error_log
new file mode 100644
index 0000000..54a8450
--- /dev/null
+++ b/TreasureHunt/error_log
@@ -0,0 +1,219 @@
+[05-Feb-2015 19:08:02 America/New_York] PHP Fatal error: Class 'Connector' not found in /home/rushjzvr/public_html/TreasureHunt/User.php on line 4
+[05-Feb-2015 19:10:56 America/New_York] PHP Warning: require_once(/PHPConnector.php): failed to open stream: No such file or directory in /home/rushjzvr/public_html/TreasureHunt/User.php on line 2
+[05-Feb-2015 19:10:56 America/New_York] PHP Fatal error: require_once(): Failed opening required '/PHPConnector.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rushjzvr/public_html/TreasureHunt/User.php on line 2
+[05-Feb-2015 19:12:54 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:12:54 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:14:32 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:14:32 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:14:35 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:14:35 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:16:47 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:16:47 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:16:49 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:16:49 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:27:01 America/New_York] PHP Warning: mysql_connect(): Unknown MySQL server host 'rushjzvr_TreasureHunt' (2) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:27:01 America/New_York] PHP Fatal error: Call to undefined function json_ecode() in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 12
+[05-Feb-2015 19:27:46 America/New_York] PHP Warning: mysql_connect(): Can't connect to MySQL server on '129.21.23.152' (110) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 10
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '129.21.23.152' (110) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Property access is not allowed yet in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Property access is not allowed yet in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Property access is not allowed yet in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Property access is not allowed yet in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: var_dump(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:30:48 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[05-Feb-2015 19:32:16 America/New_York] PHP Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '129.21.23.152' (110) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[05-Feb-2015 19:32:16 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[05-Feb-2015 19:38:37 America/New_York] PHP Warning: mysql_connect(): Can't connect to MySQL server on '129.21.23.152' (110) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[05-Feb-2015 19:38:37 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:38:37 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[05-Feb-2015 19:38:44 America/New_York] PHP Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '129.21.23.152' (110) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[05-Feb-2015 19:38:44 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[05-Feb-2015 19:39:47 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[05-Feb-2015 19:39:47 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:39:47 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[05-Feb-2015 19:39:47 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[05-Feb-2015 19:39:47 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[05-Feb-2015 19:44:11 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[05-Feb-2015 19:44:11 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[05-Feb-2015 19:44:11 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[05-Feb-2015 19:44:11 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[05-Feb-2015 19:44:11 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 11:48:24 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 11:48:24 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 11:48:24 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 11:48:24 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 11:48:24 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:22:40 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:22:40 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:22:40 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:22:40 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:22:40 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:30:02 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:30:02 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:30:02 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:30:02 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:30:02 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:30:05 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:30:05 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:30:05 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:30:05 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:30:05 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:30:11 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:30:11 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:30:11 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:30:11 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:30:11 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:40:27 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:40:27 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:40:27 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:40:27 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:40:27 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:40:30 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:40:30 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:40:30 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 12:40:30 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 17
+[06-Feb-2015 12:40:30 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 12:43:45 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:43:45 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 12:43:53 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 12:43:53 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 15
+[06-Feb-2015 13:05:53 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:05:53 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:05:59 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:23:48 America/New_York] PHP Parse error: syntax error, unexpected '”' (T_STRING) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 4
+[06-Feb-2015 13:23:53 America/New_York] PHP Parse error: syntax error, unexpected '”' (T_STRING) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 4
+[06-Feb-2015 13:24:50 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:40:37 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:40:39 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:40:41 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:41:06 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:41:06 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 13:41:06 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 18
+[06-Feb-2015 13:41:06 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 13:41:06 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 21
+[06-Feb-2015 13:47:43 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:47:43 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 13:47:43 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 18
+[06-Feb-2015 13:47:43 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 13:47:43 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 21
+[06-Feb-2015 13:51:55 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:51:55 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 13:51:55 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 18
+[06-Feb-2015 13:51:55 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 13:51:55 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 21
+[06-Feb-2015 13:55:12 America/New_York] PHP Warning: mysql_connect(): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 14
+[06-Feb-2015 13:55:12 America/New_York] PHP Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 16
+[06-Feb-2015 13:55:12 America/New_York] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 18
+[06-Feb-2015 13:55:12 America/New_York] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'rushjzvr_rushabh'@'s143.web-hosting.com' (using password: YES) in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 19
+[06-Feb-2015 13:55:12 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/rushjzvr/public_html/TreasureHunt/PHPConnector.php on line 21
+[07-Feb-2015 16:00:50 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 28
+[07-Feb-2015 16:03:29 America/New_York] PHP Warning: Missing argument 1 for getNearestHunts(), called in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 53 and defined in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 37
+[07-Feb-2015 16:10:10 America/New_York] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:10:32 America/New_York] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:10:33 America/New_York] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:10:34 America/New_York] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:10:35 America/New_York] PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:12:15 America/New_York] PHP Fatal error: Call to undefined method Connector::mysql_fetch_object() in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:16:53 America/New_York] PHP Warning: mysql_fetch_row() expects parameter 1 to be resource, object given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:16:54 America/New_York] PHP Warning: mysql_fetch_row() expects parameter 1 to be resource, object given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 16:16:55 America/New_York] PHP Warning: mysql_fetch_row() expects parameter 1 to be resource, object given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 44
+[07-Feb-2015 17:35:10 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:35:21 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:35:31 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:35:32 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:35:33 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:35:33 America/New_York] PHP Parse error: syntax error, unexpected 'var' (T_VAR) in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:36:09 America/New_York] PHP Parse error: syntax error, unexpected ',' in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 39
+[07-Feb-2015 17:41:11 America/New_York] PHP Parse error: syntax error, unexpected '}' in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 63
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 1 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 2 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 3 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 4 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 5 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:34 America/New_York] PHP Warning: Missing argument 6 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 1 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 2 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 3 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 4 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 5 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:55 America/New_York] PHP Warning: Missing argument 6 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 1 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 2 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 3 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 4 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 5 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:56 America/New_York] PHP Warning: Missing argument 6 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 1 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 2 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 3 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 4 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 5 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:12:57 America/New_York] PHP Warning: Missing argument 6 for img(), called in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 16 and defined in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 4
+[07-Feb-2015 21:20:40 America/New_York] PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource, object given in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 10
+[07-Feb-2015 21:20:40 America/New_York] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/rushjzvr/public_html/TreasureHunt/testimg.php:2) in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:21:32 America/New_York] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/rushjzvr/public_html/TreasureHunt/testimg.php:2) in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:21:55 America/New_York] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/rushjzvr/public_html/TreasureHunt/testimg.php:2) in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:25:12 America/New_York] PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 21
+[07-Feb-2015 21:25:59 America/New_York] PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 22
+[07-Feb-2015 21:26:30 America/New_York] PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:26:31 America/New_York] PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:26:32 America/New_York] PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 13
+[07-Feb-2015 21:26:57 America/New_York] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, object given in /home/rushjzvr/public_html/TreasureHunt/testimg.php on line 10
+[08-Feb-2015 13:16:05 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:06 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:07 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:08 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:09 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:10 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:11 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:12 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:13 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:14 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:15 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:16 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:17 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:18 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:19 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:20 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:21 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:22 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:23 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:24 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:16:25 America/New_York] PHP Parse error: syntax error, unexpected '{', expecting '(' in /home/rushjzvr/public_html/TreasureHunt/User.php on line 40
+[08-Feb-2015 13:25:09 America/New_York] PHP Warning: Missing argument 4 for addUser(), called in /home/rushjzvr/public_html/TreasureHunt/User.php on line 38 and defined in /home/rushjzvr/public_html/TreasureHunt/User.php on line 3
+[08-Feb-2015 14:18:29 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:10:14 America/New_York] PHP Parse error: syntax error, unexpected ';', expecting ')' in /home/rushjzvr/public_html/TreasureHunt/dashboard.php on line 3
+[08-Feb-2015 15:11:02 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:16:13 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:17:22 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:17:24 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:18:30 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:18:32 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:19:13 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:19:15 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:19:16 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:19:17 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:19:20 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:20:19 America/New_York] PHP Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 52
+[08-Feb-2015 15:28:46 America/New_York] PHP Parse error: syntax error, unexpected ';' in /home/rushjzvr/public_html/TreasureHunt/dashboard.php on line 3
+[08-Feb-2015 16:15:55 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:15:55 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:18:16 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:18:16 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:18:51 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:18:51 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:22:13 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:22:13 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:22:20 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
+[08-Feb-2015 16:22:20 America/New_York] PHP Warning: explode() expects parameter 2 to be string, resource given in /home/rushjzvr/public_html/TreasureHunt/hunt.php on line 30
diff --git a/TreasureHunt/hunt.php b/TreasureHunt/hunt.php
new file mode 100644
index 0000000..57d4980
--- /dev/null
+++ b/TreasureHunt/hunt.php
@@ -0,0 +1,108 @@
+runQuery($query, $connector->dbName);
+ if ( $res ) {
+ return "Success";
+ }
+ return "Fail";
+}
+
+function getHunt($id) {
+ $connector = new Connector();
+ if (!$connector) die ("");
+ $query = "SELECT * FROM `Hunt` WHERE `id` = $id";
+ $res = $connector->runQuery($query, $connector->dbName);
+ if ( $res ) {
+ return $res;
+ }
+ return null;
+}
+function rad($a) {
+ return $a * 3.14 / 180;
+}
+
+function getDistance($p1, $p2){
+ $p1 = explode(",", $p1);
+ $p2 = explode(",", $p2);
+
+ $R = 6378137;
+ $dLat = rad($p2[0] - $p1[0]);
+ $dLong = rad($p2[1] - $p1[1]);
+ $a = sin($dLat / 2) * sin($dLat / 2) +
+ cos(rad($p1[0])) * cos(rad($p2[0])) *
+ sin($dLong / 2) * sin($dLong / 2);
+ $c = 2 * atan2(sqrt($a), sqrt(1 - $a));
+ $d = $R * $c;
+ //echo $d." "; // returns the distance in meter
+ return $d;
+}
+
+function getNearestHunts($coord){
+ $connector = new Connector();
+ if (!$connector) die ("");
+ $query = "SELECT * FROM Hunt";
+ $hunts = $connector->runQuery($query, $connector->dbName);
+ $nearest_hunts[] = null;
+ while ($row = mysql_fetch_row($hunts)) {
+
+ $dist = getDistance($coord, $row[4]);
+
+ if($dist < 10*160000) {
+ $nearest_hunts[] = $row;
+ }
+ }
+ return $nearest_hunts;
+
+
+}
+function checkinHunt($username,$coord){
+
+ $nearest_hunts = getNearestHunts($coord);
+ foreach($nearest_hunts as $nh)
+ {
+ $dist = getDistance($coord, $nh[4]);
+
+ if($dist < 50) {
+ $hunts[] = $nh[1];
+ }
+
+ }
+ return $hunts;
+}
+
+function getCountNearestHunts($coord)
+{
+$nearest_hunts = getNearestHunts($coord);
+return (count( $nearest_hunts)-1);
+
+}
+ if (isset ( $_POST['q'] )) {
+ if ($_POST['q'] == 'addHunt') {
+ $res = array ( 'status' => addHunt($_POST['name'], $_POST['image'], $_POST['hint'], $_POST['coordinates'], $_POST['created_user'], $_POST['count_finished_users'], $_POST['image_type']) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ }
+
+
+ }
+
+ if($_GET['q'] == 'getNearestHunts'){
+ $coord = $_GET['coord'];
+
+ $res = array ( 'status' => getNearestHunts($coord) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ }
+ if($_GET['q'] == 'checkinHunt'){ //http://rushg.me/TreasureHunt/hunt.php?username=rushabh&coord=0,0&q=checkinHunt
+ $coord = $_GET['coord'];
+ $username = $GET['username'];
+ $res = array ( 'status' => checkinHunt($GET['username'],$coord) );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+ }
+
+
+
+?>
diff --git a/TreasureHunt/index_old.php b/TreasureHunt/index_old.php
new file mode 100644
index 0000000..ff0b1f3
--- /dev/null
+++ b/TreasureHunt/index_old.php
@@ -0,0 +1,154 @@
+
+File Insert
+
+
Please Choose a File and click Submit
+
+
+
+Please select a file
';
+}
+else
+{
+ try {
+ $msg= upload(); //this will upload your image
+ echo $msg; //Message showing success or failure.
+ }
+ catch(Exception $e) {
+ echo $e->getMessage();
+ echo 'Sorry, could not upload file';
+ }
+}
+
+// the upload function
+
+function upload12() {
+ include "file_constants.php";
+ $maxsize = 10000000; //set to approx 10 MB
+
+ //check associated error code
+ if($_FILES['userfile']['error']==UPLOAD_ERR_OK) {
+
+ //check whether file is uploaded with HTTP POST
+ if(is_uploaded_file($_FILES['userfile']['tmp_name'])) {
+
+ //checks size of uploaded image on server side
+ if( $_FILES['userfile']['size'] < $maxsize) {
+
+ //checks whether uploaded file is of image type
+ //if(strpos(mime_content_type($_FILES['userfile']['tmp_name']),"image")===0) {
+ $finfo = finfo_open(FILEINFO_MIME_TYPE);
+ if(strpos(finfo_file($finfo, $_FILES['userfile']['tmp_name']),"image")===0) {
+
+ // prepare the image for insertion
+ $imgData =addslashes (file_get_contents($_FILES['userfile']['tmp_name']));
+
+ // put the image in the db...
+ // database connection
+ mysql_connect($host, $user, $pass) OR DIE (mysql_error());
+
+ // select the db
+ mysql_select_db ($db) OR DIE ("Unable to select db".mysql_error());
+
+ // our sql query
+ $sql = "INSERT INTO imageStore2
+ (image, name)
+ VALUES
+ ('{$imgData}', '{$_FILES['userfile']['name']}');";
+
+ // insert the image
+ mysql_query($sql) or die("Error in Query: " . mysql_error());
+ $msg='
Image successfully saved in database with id ='. mysql_insert_id().'
';
+ }
+ else
+ $msg="
Uploaded file is not an image.
";
+ }
+ else {
+ // if the file is not less than the maximum allowed, print an error
+ $msg='
File exceeds the Maximum File limit
+
Maximum File limit is '.$maxsize.' bytes
+
File '.$_FILES['userfile']['name'].' is '.$_FILES['userfile']['size'].
+ ' bytes
';
+ }
+ }
+ else
+ $msg="File not uploaded successfully.";
+
+ }
+ else {
+ $msg= file_upload_error_message($_FILES['userfile']['error']);
+ }
+ return $msg;
+}
+
+
+function base64_to_image( $imageData ) {
+
+ //$imgData = addslashes (file_get_contents($_FILES['userfile']['tmp_name']));
+
+ // put the image in the db...
+ // database connection
+ $host="rus1311807231982.db.10917081.hostedresource.com";
+ $user="rus1311807231982";
+ $pass="Rushabh%1";
+ $db="rus1311807231982";
+ mysql_connect($host, $user, $pass) OR DIE (mysql_error());
+
+ // select the db
+ mysql_select_db ($db) OR DIE ("Unable to select db".mysql_error());
+
+ // our sql query
+ $sql = "INSERT INTO imageStore2
+ (image, name)
+ VALUES
+ ('{$imageData}', 'anyName1');";
+
+ // insert the image
+ mysql_query($sql) or die("Error in Query: " . mysql_error());
+ $msg='
Image successfully saved in database with id ='. mysql_insert_id().'
';
+ echo $msg;
+}
+
+if (isset($_POST['image'])) {
+ base64_to_image($_POST['image']);
+}
+else
+ die("no image data found");
+
+
+
+
+// Function to return error message based on error code
+
+function file_upload_error_message($error_code) {
+ switch ($error_code) {
+ case UPLOAD_ERR_INI_SIZE:
+ return 'The uploaded file exceeds the upload_max_filesize directive in php.ini';
+ case UPLOAD_ERR_FORM_SIZE:
+ return 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form';
+ case UPLOAD_ERR_PARTIAL:
+ return 'The uploaded file was only partially uploaded';
+ case UPLOAD_ERR_NO_FILE:
+ return 'No file was uploaded';
+ case UPLOAD_ERR_NO_TMP_DIR:
+ return 'Missing a temporary folder';
+ case UPLOAD_ERR_CANT_WRITE:
+ return 'Failed to write file to disk';
+ case UPLOAD_ERR_EXTENSION:
+ return 'File upload stopped by extension';
+ default:
+ return 'Unknown upload error';
+ }
+}
+?>
+
+
\ No newline at end of file
diff --git a/TreasureHunt/testimg.php b/TreasureHunt/testimg.php
new file mode 100644
index 0000000..8cc8482
--- /dev/null
+++ b/TreasureHunt/testimg.php
@@ -0,0 +1,26 @@
+
+runQuery($query, $connector->dbName);
+ $result=mysqli_fetch_array($res);
+// this is code to display
+echo '';
+}
+
+ //$image = mysqli_fetch_assoc($res);
+ //$image = $image['image'];
+//
+// header("Content-type: image/PNG");
+//
+// echo $image;
+
+
+
+$res = array ( 'status' => img() );
+ echo json_encode($res, JSON_PRETTY_PRINT);
+?>
diff --git a/UnityWebPlay.html b/UnityWebPlay.html
new file mode 100644
index 0000000..b8d8dd4
--- /dev/null
+++ b/UnityWebPlay.html
@@ -0,0 +1,316 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Rushabh Gosar's Portfolio
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Software Engineer 2 | March 2016 - Present | Bellevue, Washington
Mobile Software Engineer on Microsoft Teams for iOS.
Intuit
Intern [Software Engineer Co-op] | June 2015 - December 2015 | San Diego, California
Software Engineer on Turbo Tax for iOS. Worked on analytics, native features for the app, built custom UI controls, engineered debug menu for QA, developed the configuration for live help services, and fixed bugs.
1st Playable Productions
Intern [Gameplay Programmer] | June 2014 - August 2014 | Troy, New York
Worked as a gameplay programmer on 2 titles. Successfully implemented some character gameplay mechanics forWinx Club:Saving Alfeaon Nintendo DS & 3DS. For this title, I also worked on implementing character special skills, caching, User Interface flow and User Experience, cut scenes and some optimizations for the console. This title was released on November 2014. This project was written in C++ and was built using a in house proprietary engine. Also played the role of a gameplay programmer on another game on the Android Operating System. Worked on the UI, wrote some build scripts, and some Native Android APIs like camera, gallery, google play and alarm API that interacted with the application using JNI. Towards the end of my term, I also wrote a tool for the artists and designer to simplify their process. This tool was written in C# and was used to generate a text file which could then be parsed by one of our tool for its in-game purpose.
Rochester Institute of Technology
Graduate Assistant | August 2013 - May 2015 | Rochester, New York
Worked on a educational game for middle school students. Working on a MATLAB based simulink model on server side to provide data services for a educational client side game. The game is written in Unity3D, and I was incharge of making quick prototypes for the game implementation ideas. Also a part of a research project for developing a new console. This research project started just recently, and will involved extensive use of C++, OpenGL and OpenCV.
GUID Softwares
Developer | February 2012 - December 2012 | Virtual
Responsible for the development of the Windows 8 and Windows Phone based application named Zoik It! Was in charge for the timely development, maintenance, quality control and deployment of the client applications for the Windows Phone and Windows 8. Windows Phone version has already been beta released on the market. Also responsible for business development tasks like pitching to investors, developing business model and financial model and business management that included recruitment of the development team. Was involved in developing the cloud backend for this Application using the Cloud Data Services and Windows Communication Foundation on Windows Azure. The User Interface was built using .NET 4.5 and Windows Presentation Foundation.
Edu-Kinect
Freelancer | 2012 - 2013
A Trainer/Evangelist for technologies like Windows Phone, Windows 8, Azure and XNA. Have taken trainings at multiple places such as colleges, auditoriums and offices. College locations Salem, Tamil Nadu; Warangal, Hyderabad; VIT Chennai, Tamil Nadu; RK College Rajkot; and professional conference at Pondicherry TechDays. These week long trainings include hands on experience of the development environment and in-depth learning of the different APIs needed of the application development. Mentoring the students for publishing their applications on the Market was also a responsibility. This lead to increased fluency in application development on Integrated Development Environment, like Visual Studio along with strengthening of leadership, management & communication skills.
Education
Rochester Institute of Technology
August 2013 - January 2016
Masters in Game Design and Development [GPA : 3.85]
Coursework includes: Game Development Processes, Gameplay Prototyping, Game Engine Design, Mobile Games, Graphics, Artificial Intelligence, Sound Engineering and Design, Game Design and Colloquium courses. Also a Graduate Assistant at School of Interactive Games and Media, working on the above internal prototypes and projects.
University of Mumbai
August 2008 - August 2012
Bachelors in Computer Engineering [First class score]
A four year Bachelors in Engineering from Mumbai University with Final year subjects like Artificial Intelligence, Image Processing, Soft Computing, Human Computing Interaction, Data Minning, Software Architecture, Multimedia System Design, System Security and Distributed Computing. Completed Engineering with First Class(Grade A Equivalent). Also built W-Cloud a Final Year project for Data synchronization from Windows Phone to Dekstops using Windows Azure. The project was developed using .NET framework and WPF.
Ambiguous Utopia is a music-influenced action shooter in which players develop and protect their musical ideas with added strategic gameplay through tower defense elements. Implemented some of the gameplay components of this game, design ideas, created website, and worked on the prototype version of the game
Other Teammates:Brian Clanton, Ruiwei Bu, Leigh Rage
Zoik it!
The application that allows you to connect to others of your own interest!
This application was a large application that was built by our team. It had its backend deployed on Windows Azure. And the frontend on Windows Phone and Windows 8. I was the Lead Programmer for this application and also responsible for some gamification ideas that the application was using.
I wrote the cloud services in C# and they had endpoint communication using Windows Communication Foundation (WCF) Services. These endpoints provided indirect access to the relational data in the databases. I also implemented the frontend on the respective platforms. I used Windows Presentation Foundation (WPF) Framework along with some animation and User interface controls implemented by Telerik. Was responsible for designing the User Interface and User Experience, the backend and AppLogic, the communication with Cloud Services and was also managing the repository related tasks and build server. All the AppLogic was written in C#. The cloud relational data used SQLServer. OAuth integration were also programmed by me to access the user's facebook, and foursquare profile as that was essential to the application
Technologies:Windows Phone, Windows 8, Windows Presentation Foundation, Windows Communication Foundation, Windows Azure, SQLServer
Other Teammates:Nawaz Dhandala, Hatim Nagarwala, Anshal Anand, Ram Kumar, Abdul Janoo
Jetpack Jetpack Party!!
This is a 3D Multiplayer Racing game built in DirectX 11. Implemented the 3D pipeline of the game, worked on gameplay programming, and User Interface for the game. This game was an academic project, built in 4 months (Feb 14 - May 14). Repo for this project is open sourced athttps://github.com/setrapp/jetpack
Technologies:C++, DirectX 11, 3D, Multiplayer
Date:Feb 2014
Other Teammates:Arun Abraham, Sam Trapp, Nick Buonarota, Alex Herdzik
This game was built as a prototype on Unity3D where you play as R.A.L.P.H., a domestic helper bot, who is subjected to a series of illogical, yet incredibly strict cooking challenges. The game implements an experimental relativity engine developed at the M.I.T. Media Lab that simulates the slowing down of the speed of light so that it can be compared to the player’s speed.
Worked as gameplay programmer for this game. Was responsible for creating cooking tasks and mini games. Also worked on getting some game design ideas during the brainstorming sessions of the game.
This is a small Artificial Intelligence project where the Unity3D prototype allows the user to perform an A* search and Breadth First search on the complex Terrain. It shows the path that the user takes.
A 3D horror game based on the story of little red riding hood! You try to get something for your grandmother without running into warewolf.
Worked on enchancing the gameplay experience. Added the hints and clues for the items. Worked on the user interface for this rapid prototype.
Techologies:Unity 3D 4.1.3, C#
Duration:1 week [Rapid Prototype]
Other TeammatesSam Trapp, Matt Mundell, Arun Abraham, Alex Herdzik
W - Cloud
This is a project based on Windows Azure that provides a communication medium to access your desktop files on your Windows Phone. This application uses WCF services, BLOBs, Queues, WPF, and Silverlight. The application consists of 3 modules, the cloud application, the windows phone client and the desktop background client. Additionally a website was also made for user registration, access control, management and providing extra features.
Implemented the cloud services using Windows Communication Foundation(WCF). Used Windows Azure cloud backend. Was also responsible for creating the desktop and Windows Phone 7 applications for the application using Windows Presentation Foundation and Silverlight. Wrote XML based file transfer system using WCF SOAP messages. Experimented with Azure Blobs and Queues for data transfer.
Tecnologies:C#, C++, C, Windows Communication Foundation, Windows Presentation Foundation, Azure Queues and Blobs, TinyXML, Windows Phone.
My Aritificial Intelligence Project, 'Procedural Terrain Generation using Perlin & Vernoi Noise' This project involves procedurally generating an endless chain of terrains lined one after another in form of a 3x3 grid. The terrains regnerate their height maps and detail(trees & texturing). So keep exploring the endless terrain
An XNA 4.0 2D game, with a social message to spread awareness against AIDS. Imagine Cup 2012 Entry. Reached World Qualifying Finals in Imagine Cup.
Worked on the complete implementation of the game. Was the sole programmer. Worked on the gameplay implementation, created my own animation rendering engine, pseudo physics engine for the game, and basic rendering pipeline for 2D graphics.
Tecnologies:C#, XNA 4.0
Duration:2 Months[Jan 2012 - March 2012]
Other Teammates:Hatim Nagarwala, Shreyas Gune
Media Locker
The application allows users to encrypt and lock their images, along with taking camera photos without rendering the view of the camera. This was a personal project to probe into the Windows Phone APIs and platform. Certain Image Processing algorithms were applied. Also performed Facebook OAuto integration and image upload using Graph API. Used Isolated Storage for storing and encrypting files. The encryption algorithm used was AES.
Tecnologies:C#, Windows Phone, Image Processing Toolkit for Windows Phone.
Duration:3 Months [Sept 2011 - Nov 2011]
Other Teammates:None
Web APIs
Developed and integrated WebAPIs for game developers. The API allows users to store user's personal information along with score details on the server. Each developer using this API is distinguished with a unique APIKey. Had 8 users. Now the service is down.
Tecnologies:PHP, MySQL, HTTP REST, GET & POST Service protocols, JSON Parser
Duration:1 Month [Feb 2013 - March 2013]
Other Teammates:None
Metronome
This application was built during a Hackathon in Hyderabad. The application was built for Windows 8 using the new Windows Runtime APIs and .NET 4.5. The intended users of the application are musicians. The application was solely developed by me in a span of 2 hours. The application was built with responsive UI handelling all the Windows 8 form factors and dimensions
Tecnologies:C#, Windows Presentation Foundation, XML
Duration:1 Day [Hackathon]
Other Teammates:None
Eye of Sauron
This is a replication of the Eye Of Sauron scene from Lord of the Rings. The game scene shows the tower, the eye, lava, environment, fighting goblins, and also has a playable racing game where you can pick from multple characters and race around the Eye.
I implemented the lava texture and material on the terrain. I was also working on making the goblins and their attack animations.Link to the github repository.
Tecnologies:C, C++, Unreal Engine 4.5
Duration:2 months
Other Teammates:Arun Abraham, Praveen Nagrajan, Ankit Deliwala, Alex Herdzik, Nick Buonarota, Matt Mundell, Ruiwei Bu, John Dunham
Fluid Simulation
An experimental project to simulate fluid on GPU using Navier-Stokes equations. The simulation uses DirectX 11, and runs on Compute Shaders. The project consists on Particle System, with 64k particles rendering on the screen, guided by the navier-stokes equation. An experimentation was done to improve the performance by doing some processing on CPU instead and accelerating this process by the usage of SSE (Streaming SIMD Extensions). The project currently crashes for certain hardware, but works perfectly on a nVidia 750+ GPU series. I was responsible for the complete implementation.
This is a social game for people to discover new location and places near them. Just like FourSquare, the challenge is to discover new places and become the Mayor of the places. Here you leave a Hunt for other users , with a Hint about the place and a processed image. This makes the task more cahllenging. As you complete the Hunt, you get points. And you can track all other players and users (if they have apublic profile).
This application was built for iOS using the SWIFT language. The application uses backend services written in PHP wit MySQL. This was a rapid prototype for the RIT iOS APP challenge 2015. It was built in merely one week. The application is now under development, for its release on AppStore.
I constructed the backend appLogic. Created the UI and UI interactions and wrote event handelers. Also responsible for writing the code to send and receive the HTTP GET requests to the server, and parse the received JSON data from the server. I implemented the Image Processing algorithm for applying multiple filters on the image.
+ Achieved the successful implementation of some gameplay mechanics on a un-released game. This game was build for Nintendo DS & 3DS and it involved using C++ as the programming language using a in house proprietary engine. The game is already shipped and is waiting to be rated by the rating entities. Also played the role of a gameplay programmer / UI developer on another game on the Android Operating System. Towards the end of my term, I also wrote a tool for the artists and designer to simplify their process. This tool was written in C# and was used to generate a text file which could then be parsed by one of our tool for its in-game purpose.
+
+
+
+
+
+
+
+
+
Rochester Institute of Technology
+
Graduate Assistant | August 2013 - Present
+ Working on a SIMAD game for classroom students. Working on a MATLAB based simulink model on server side to provide data services for a educational client side game. The game is written in Unity3D, and I was incharge of making quick prototypes for the game implementation ideas. This educational game is going to be used by the company for imparting a better knowledge to middle school students. Also a part of a research project for developing a new console. This research project started just recently, and will involved extensive use of C++, OpenGL and OpenCV.
+
+
+
+
+
+
+
+
+
GUID Softwares
+
Developer | February 2012 - December 2012
+ Responsible for the development of the Windows Phone based application named Zoik It. Was in charge for the timely development, maintenance, quality control and deployment of the client applications for the Windows Phone and Windows 8. Windows Phone version has already been beta released on the market. Also responsible for business development tasks like pitching to investors, developing business model and financial model and business management that included recruitment of the development team. Was partly involved in developing the cloud backend for this Application using the APIs on Windows Azure.
+
+
+
+
+
+
+
+
+
Edu-Kinect
+
Freelancer | 2012 - 2013
+ A Trainer/Evangelist for technologies like Windows Phone, Windows 8, Azure and XNA. Have taken trainings at multiple places such as colleges, auditoriums and offices. College locations Salem, Tamil Nadu; Warangal, Hyderabad; VIT Chennai, Tamil Nadu; RK College Rajkot; and professional conference at Pondicherry TechDays. These week long trainings include hands on experience of the development environment and in-depth learning of the different APIs needed of the application development. Mentoring the students for publishing their applications on the Market was also a responsibility. This lead to increased fluency in application development on Integrated Development Environment, like Visual Studio along with strengthening of leadership, management & communication skills.
+
+
+
+
+
+
+
+
+
+
+
+
Education
+
+
+
+
+
+
+
Rochester Institute of Technology
+
August 2013 - August 2015(Expected Graduation)
+ School of Interactive Games and Media
+ Enrolled for the Game Development Processes, Gameplay and prototyping, Game Design and Colloquium courses. Also a Graduate Assistant at School of Interactive Games and Media, working on a Unity based project.
+
+
+
+
+
+
+
+
+
University of Mumbai
+
August 2008 - August 2012
+ Computer Engineering
+ A four year graduation from Mumbai University with Final year subjects like Artificial Intelligence, Image Processing, Soft Computing, Human Computing Interaction, Data Minning, Software Architecture, Multimedia System Design, System Security and Distributed Computing. Completed Engineering with First Class(Grade A Equivalent). Also built W-Cloud a Final Year project for Data synchronization from Windows Phone to Dekstops using Windows Azure. The project was developed using .NET framework and WPF.
+
Ambiguous Utopia is a music-influenced action shooter in which players develop and protect their musical ideas with added strategic gameplay through tower defense elements. Implemented some of the gameplay components of this game, design ideas, created website, and worked on the prototype version of the game
+ Other Teammates:
+
+ Brian Clanton, Ruiwei Bu, Leigh Rage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Zoik it!
+
+
+
The application that allows you to connect to others of your own interest!
This application was a large application that was built by our team. It had its backend deployed on Windows Azure. And the frontend on Windows Phone and Windows 8. I was the Lead Programmer for this application and also responsible for some gamification ideas that the application was using.
I wrote the cloud services in C# and they had endpoint communication using Windows Communication Foundation (WCF) Services. These endpoints provided indirect access to the relational data in the databases. I also implemented the frontend on the respective platforms. I used Windows Presentation Foundation (WPF) Framework along with some animation and User interface controls implemented by Telerik. Was responsible for designing the User Interface and User Experience, the backend and AppLogic, the communication with Cloud Services and was also managing the repository related tasks and build server. All the AppLogic was written in C#. The cloud relational data used SQLServer. OAuth integration were also programmed by me to access the user's facebook, and foursquare profile as that was essential to the application
+
+
+ Technologies:
+
+ Windows Phone, Windows 8, Windows Presentation Foundation, Windows Communication Foundation, Windows Azure, SQLServer
+
+
+ Other Teammates:
+
+ Nawaz Dhandala, Hatim Nagarwala, Anshal Anand, Ram Kumar, Abdul Janoo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Jetpack Jetpack Party!!
+
+
+
This is a 3D Multiplayer Racing game built in DirectX 11. Implemented the 3D pipeline of the game, worked on gameplay programming, and User Interface for the game. This game was an academic project, built in 4 months (Feb 14 - May 14). Repo for this project is open sourced at https://github.com/setrapp/jetpack
This is a game was built as a prototype on Unity3D where you play as R.A.L.P.H., a domestic helper bot, who is subjected to a series of illogical, yet incredibly strict cooking challenges. The game implements an experimental relativity engine developed at the M.I.T. Media Lab that simulates the slowing down of the speed of light so that it can be compared to the player’s speed.
+
Worked as gameplay programmer for this game. Was responsible for creating cooking tasks and mini games. Also worked on getting some game design ideas during the brainstorming sessions of the game.
This is a small Artificial Intelligence project where the Unity3D prototype allows the user to perform an A* search and Breadth First search on the complex Terrain. It shows the path that the user takes.
+
A Halloween themed game with Robin Hood. Your job is to ensure the balance of cadies between the rich kids and poor kids.
+
Implemented the gameplay mechanics for this rapid prototype. Create the level, and worked on the AI of the NPCs.
+
+
+ Techologies:
+
+ Unity 3D 4.1.3, C#
+
+
+
+ Duration:
+
+ 1 week [Rapid Prototype]
+
+
+
+ Other Teammates
+
+ Praveen Nagarajan, Ankit Deliwala, Nick Buonarota
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
W - Cloud
+
+
+
This is a project based on Windows Azure that provides a communication medium to access your desktop files on your Windows Phone. This application uses WCF services, BLOBs, Queues, WPF, and Silverlight. The application consists of 3 modules, the cloud application, the windows phone client and the desktop background client. Additionally a website was also made for user registration, access control, management and providing extra features.
Implemented the cloud services using Windows Communication Foundation(WCF). Used Windows Azure cloud backend. Was also responsible for creating the desktop and Windows Phone 7 applications for the application using Windows Presentation Foundation and Silverlight. Wrote XML based file transfer system using WCF SOAP messages. Experimented with Azure Blobs and Queues for data transfer.
+
+
+ Tecnologies:
+
+ C#, C++, C, Windows Communication Foundation, Windows Presentation Foundation, Azure Queues and Blobs, TinyXML, Windows Phone.
+
+
+ An XNA 4.0 2D game, with a social message to spread awareness against AIDS. Imagine Cup 2012 Entry. Reached World Qualifying Finals in Imagine Cup.
+
+
+ Worked on the complete implementation of the game. Was the sole programmer. Worked on the gameplay implementation, created my own animation rendering engine, pseudo physics engine for the game, and basic rendering pipeline for 2D graphics.
+
+ Other Teammates:
+
+ Hatim Nagarwala, Shreyas Gune
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Media Locker
+
+
+
+ The application allows users to encrypt and lock their images, along with taking camera photos without rendering the view of the camera. This was a personal project to probe into the Windows Phone APIs and platform. Certain Image Processing algorithms were applied. Also performed Facebook OAuto integration and image upload using Graph API. Used Isolated Storage for storing and encrypting files. The encryption algorithm used was AES.
+
+ Developed and integrated WebAPIs for game developers. The API allows users to store user's personal information along with score details on the server. Each developer using this API is distinguished with a unique APIKey. Had 8 users. Now the service is down.
+
This application was built during a Hackathon in Hyderabad. The application was built for Windows 8 using the new Windows Runtime APIs and .NET 4.5. The intended users of the application are musicians. The application was solely developed by me in a span of 2 hours. The application was built with responsive UI handelling all the Windows 8 form factors and dimensions
+ Tecnologies:
+
+ C#, Windows Presentation Foundation, XML
+
+
+
+ Duration:
+
+ 1 Day [Hackathon]
+
+
+
+ Other Teammates:
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Eye of Sauron
+
+
+
This is a replication of the Eye Of Sauron scene from Lord of the Rings. The game scene shows the tower, the eye, lava, environment, fighting goblins, and also has a playable racing game where you can pick from multple characters and race around the Eye.
+
I implemented the lava texture and material on the terrain. I was also working on making the goblins and their attack animations. Link to the github repository.
+
+
+ Tecnologies:
+
+ C, C++, Unreal Engine 4.5
+
+
+
+ Duration:
+
+ 2 months
+
+
+
+ Other Teammates:
+
+ Arun Abraham, Praveen Nagrajan, Ankit Deliwala, Alex Herdzik, Nick Buonarota, Matt Mundell, Ruiwei Bu, John Dunham
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Fluid Simulation
+
+
+
An experimental project to simulate fluid on GPU using Navier-Stokes equations. The simulation uses DirectX 11, and runs on Compute Shaders. The project consists on Particle System, with 64k particles rendering on the screen, guided by the navier-stokes equation. An experimentation was done to improve the performance by doing some processing on CPU instead and accelerating this process by the usage of SSE (Streaming SIMD Extensions). The project currently crashes for certain hardware, but works perfectly on a nVidia 750+ GPU series. I was responsible for the complete implementation.
This is a social game for people to discover new location and places near them. Just like FourSquare, the challenge is to discover new places and become the Mayor of the places. Here you leave a Hunt for other users , with a Hint about the place and a processed image. This makes the task more cahllenging. As you complete the Hunt, you get points. And you can track all other players and users (if they have apublic profile).
+
This application was built for iOS using the SWIFT language. The application uses backend services written in PHP wit MySQL. This was a rapid prototype for the RIT iOS APP challenge 2015. It was built in merely one week. The application is now under development, for its release on AppStore.
+
I constructed the backend appLogic. Created the UI and UI interactions and wrote event handelers. Also responsible for writing the code to send and receive the HTTP GET requests to the server, and parse the received JSON data from the server. I implemented the Image Processing algorithm for applying multiple filters on the image.
Intern [Software Engineer] | June 2015 - December 2015
+
Software Engineer on Turbo Tax for iOS. Worked on analytics, native features for the app, built custom UI controls, engineered debug menu for QA, developed the configuration for live help services, and fixed bugs.
+
+
+
+
+
+
+
+
1st Playable Productions
+
Intern [Gameplay Programmer] | June 2014 - August 2014
+
Worked as a gameplay programmer on 2 titles. Successfully implemented some character gameplay mechanics for Winx Club:Saving Alfea on Nintendo DS & 3DS. For this title, I also worked on implementing character special skills, caching, User Interface flow and User Experience, cut scenes and some optimizations for the console. This title was released on November 2014. This project was written in C++ and was built using a in house proprietary engine. Also played the role of a gameplay programmer on another game on the Android Operating System. Worked on the UI, wrote some build scripts, and some Native Android APIs like camera, gallery, google play and alarm API that interacted with the application using JNI. Towards the end of my term, I also wrote a tool for the artists and designer to simplify their process. This tool was written in C# and was used to generate a text file which could then be parsed by one of our tool for its in-game purpose.
+
+
+
+
+
+
+
+
+
Rochester Institute of Technology
+
Graduate Assistant | August 2013 - May 2015
+
Worked on a educational game for middle school students. Working on a MATLAB based simulink model on server side to provide data services for a educational client side game. The game is written in Unity3D, and I was incharge of making quick prototypes for the game implementation ideas. Also a part of a research project for developing a new console. This research project started just recently, and will involved extensive use of C++, OpenGL and OpenCV.
+
+
+
+
+
+
+
+
+
+
GUID Softwares
+
Developer | February 2012 - December 2012
+
Responsible for the development of the Windows 8 and Windows Phone based application named Zoik It! Was in charge for the timely development, maintenance, quality control and deployment of the client applications for the Windows Phone and Windows 8. Windows Phone version has already been beta released on the market. Also responsible for business development tasks like pitching to investors, developing business model and financial model and business management that included recruitment of the development team. Was involved in developing the cloud backend for this Application using the Cloud Data Services and Windows Communication Foundation on Windows Azure. The User Interface was built using .NET 4.5 and Windows Presentation Foundation.
+
+
+
+
+
+
+
+
+
+
Edu-Kinect
+
Freelancer | 2012 - 2013
+
A Trainer/Evangelist for technologies like Windows Phone, Windows 8, Azure and XNA. Have taken trainings at multiple places such as colleges, auditoriums and offices. College locations Salem, Tamil Nadu; Warangal, Hyderabad; VIT Chennai, Tamil Nadu; RK College Rajkot; and professional conference at Pondicherry TechDays. These week long trainings include hands on experience of the development environment and in-depth learning of the different APIs needed of the application development. Mentoring the students for publishing their applications on the Market was also a responsibility. This lead to increased fluency in application development on Integrated Development Environment, like Visual Studio along with strengthening of leadership, management & communication skills.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Education
+
+
+
+
+
+
+
Rochester Institute of Technology
+
August 2013 - January 2016
+
Masters in Game Design and Development [GPA : 3.85]
+
Coursework includes: Game Development Processes, Gameplay Prototyping, Game Engine Design, Mobile Games, Graphics, Artificial Intelligence, Sound Engineering and Design, Game Design and Colloquium courses. Also a Graduate Assistant at School of Interactive Games and Media, working on the above internal prototypes and projects.
+
+
+
+
+
+
+
+
University of Mumbai
+
August 2008 - August 2012
+
Bachelors in Computer Engineering [First class score]
+
A four year Bachelors in Engineering from Mumbai University with Final year subjects like Artificial Intelligence, Image Processing, Soft Computing, Human Computing Interaction, Data Minning, Software Architecture, Multimedia System Design, System Security and Distributed Computing. Completed Engineering with First Class(Grade A Equivalent). Also built W-Cloud a Final Year project for Data synchronization from Windows Phone to Dekstops using Windows Azure. The project was developed using .NET framework and WPF.
Ambiguous Utopia is a music-influenced action shooter in which players develop and protect their
+ musical ideas with added strategic gameplay through tower defense elements. Implemented some
+ of the gameplay components of this game, design ideas, created website, and worked on the
+ prototype version of the game
+ Other Teammates:
+
+ Brian Clanton, Ruiwei Bu, Leigh Rage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Zoik it!
+
+
+
The application that allows you to connect to others of your own interest!
+
This application was a large application that was built by our team. It had its backend deployed
+ on Windows Azure. And the frontend on Windows Phone and Windows 8. I was the Lead Programmer
+ for this application and also responsible for some gamification ideas that the application
+ was using.
+
I wrote the cloud services in C# and they had endpoint communication using Windows Communication
+ Foundation (WCF) Services. These endpoints provided indirect access to the relational
+ data in the databases. I also implemented the frontend on the respective platforms. I
+ used Windows Presentation Foundation (WPF) Framework along with some animation and User
+ interface controls implemented by Telerik. Was responsible for designing the User Interface
+ and User Experience, the backend and AppLogic, the communication with Cloud Services
+ and was also managing the repository related tasks and build server. All the AppLogic
+ was written in C#. The cloud relational data used SQLServer. OAuth integration were also
+ programmed by me to access the user's facebook, and foursquare profile as that was essential
+ to the application
+
+
+ Technologies:
+
+ Windows Phone, Windows 8, Windows Presentation Foundation, Windows Communication Foundation, Windows Azure, SQLServer
+
+
+ Other Teammates:
+
+ Nawaz Dhandala, Hatim Nagarwala, Anshal Anand, Ram Kumar, Abdul Janoo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Jetpack Jetpack Party!!
+
+
+
This is a 3D Multiplayer Racing game built in DirectX 11. Implemented the 3D pipeline of the
+ game, worked on gameplay programming, and User Interface for the game. This game was an academic
+ project, built in 4 months (Feb 14 - May 14). Repo for this project is open sourced at
+ https://github.com/setrapp/jetpack
+
This game was built as a prototype on Unity3D where you play as R.A.L.P.H., a domestic helper
+ bot, who is subjected to a series of illogical, yet incredibly strict cooking challenges.
+ The game implements an experimental relativity engine developed at the M.I.T. Media Lab
+ that simulates the slowing down of the speed of light so that it can be compared to the
+ player’s speed.
+
Worked as gameplay programmer for this game. Was responsible for creating cooking tasks and
+ mini games. Also worked on getting some game design ideas during the brainstorming sessions
+ of the game.
This is a small Artificial Intelligence project where the Unity3D prototype allows the user
+ to perform an A* search and Breadth First search on the complex Terrain. It shows the
+ path that the user takes.
+
A 3D horror game based on the story of little red riding hood! You try to get something for your
+ grandmother without running into warewolf.
+
Worked on enchancing the gameplay experience. Added the hints and clues for the items. Worked
+ on the user interface for this rapid prototype.
+
+
+ Techologies:
+
+ Unity 3D 4.1.3, C#
+
+
+
+ Duration:
+
+ 1 week [Rapid Prototype]
+
+
+
+ Other Teammates
+
+ Sam Trapp, Matt Mundell, Arun Abraham, Alex Herdzik
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
W - Cloud
+
+
+
This is a project based on Windows Azure that provides a communication medium to access your
+ desktop files on your Windows Phone. This application uses WCF services, BLOBs, Queues, WPF,
+ and Silverlight. The application consists of 3 modules, the cloud application, the windows
+ phone client and the desktop background client. Additionally a website was also made for
+ user registration, access control, management and providing extra features.
+
Implemented the cloud services using Windows Communication Foundation(WCF). Used Windows Azure
+ cloud backend. Was also responsible for creating the desktop and Windows Phone 7 applications
+ for the application using Windows Presentation Foundation and Silverlight. Wrote XML based
+ file transfer system using WCF SOAP messages. Experimented with Azure Blobs and Queues for
+ data transfer.
+
+
+ Tecnologies:
+
+ C#, C++, C, Windows Communication Foundation, Windows Presentation Foundation, Azure Queues and Blobs, TinyXML, Windows Phone.
+
+
My Aritificial Intelligence Project, 'Procedural Terrain Generation using Perlin & Vernoi Noise'
+ This project involves procedurally generating an endless chain of terrains lined one after
+ another in form of a 3x3 grid. The terrains regnerate their height maps and detail(trees
+ & texturing). So keep exploring the endless terrain
+ An XNA 4.0 2D game, with a social message to spread awareness against AIDS. Imagine Cup 2012 Entry. Reached World Qualifying
+ Finals in Imagine Cup.
+
+
+ Worked on the complete implementation of the game. Was the sole programmer. Worked on the gameplay implementation, created
+ my own animation rendering engine, pseudo physics engine for the game, and basic rendering
+ pipeline for 2D graphics.
+
+ Other Teammates:
+
+ Hatim Nagarwala, Shreyas Gune
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Media Locker
+
+
+
+ The application allows users to encrypt and lock their images, along with taking camera photos without rendering the view
+ of the camera. This was a personal project to probe into the Windows Phone APIs and platform.
+ Certain Image Processing algorithms were applied. Also performed Facebook OAuto integration
+ and image upload using Graph API. Used Isolated Storage for storing and encrypting files.
+ The encryption algorithm used was AES.
+
+ Developed and integrated WebAPIs for game developers. The API allows users to store user's personal information along with
+ score details on the server. Each developer using this API is distinguished with a unique
+ APIKey. Had 8 users. Now the service is down.
+
This application was built during a Hackathon in Hyderabad. The application was built for Windows
+ 8 using the new Windows Runtime APIs and .NET 4.5. The intended users of the application
+ are musicians. The application was solely developed by me in a span of 2 hours. The application
+ was built with responsive UI handelling all the Windows 8 form factors and dimensions
+ Tecnologies:
+
+ C#, Windows Presentation Foundation, XML
+
+
+
+ Duration:
+
+ 1 Day [Hackathon]
+
+
+
+ Other Teammates:
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Eye of Sauron
+
+
+
This is a replication of the Eye Of Sauron scene from Lord of the Rings. The game scene shows
+ the tower, the eye, lava, environment, fighting goblins, and also has a playable racing game
+ where you can pick from multple characters and race around the Eye.
+
I implemented the lava texture and material on the terrain. I was also working on making the
+ goblins and their attack animations. Link to the github repository.
+
+
+ Tecnologies:
+
+ C, C++, Unreal Engine 4.5
+
+
+
+ Duration:
+
+ 2 months
+
+
+
+ Other Teammates:
+
+ Arun Abraham, Praveen Nagrajan, Ankit Deliwala, Alex Herdzik, Nick Buonarota, Matt Mundell, Ruiwei Bu, John Dunham
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Fluid Simulation
+
+
+
An experimental project to simulate fluid on GPU using Navier-Stokes equations. The simulation
+ uses DirectX 11, and runs on Compute Shaders. The project consists on Particle System, with
+ 64k particles rendering on the screen, guided by the navier-stokes equation. An experimentation
+ was done to improve the performance by doing some processing on CPU instead and accelerating
+ this process by the usage of SSE (Streaming SIMD Extensions). The project currently crashes
+ for certain hardware, but works perfectly on a nVidia 750+ GPU series. I was responsible
+ for the complete implementation.
This is a social game for people to discover new location and places near them. Just like FourSquare,
+ the challenge is to discover new places and become the Mayor of the places. Here you leave
+ a Hunt for other users , with a Hint about the place and a processed image. This makes the
+ task more cahllenging. As you complete the Hunt, you get points. And you can track all other
+ players and users (if they have apublic profile).
+
This application was built for iOS using the SWIFT language. The application uses backend services
+ written in PHP wit MySQL. This was a rapid prototype for the RIT iOS APP challenge 2015.
+ It was built in merely one week. The application is now under development, for its release
+ on AppStore.
+
I constructed the backend appLogic. Created the UI and UI interactions and wrote event handelers.
+ Also responsible for writing the code to send and receive the HTTP GET requests to the server,
+ and parse the received JSON data from the server. I implemented the Image Processing algorithm
+ for applying multiple filters on the image.
");$('#success > .alert-danger').html("");$('#success > .alert-danger').append("Sorry "+firstName+", it seems that my mail server is not responding. Please try again later!");$('#success > .alert-danger').append('
');$('#contactForm').trigger("reset");},})},filter:function(){return $(this).is(":visible");},});$("a[data-toggle=\"tab\"]").click(function(e){e.preventDefault();$(this).tab("show");});});$('#name').focus(function(){$('#success').html('');});
\ No newline at end of file
diff --git a/js/freelancer.js b/js/freelancer.js
new file mode 100644
index 0000000..a73d036
--- /dev/null
+++ b/js/freelancer.js
@@ -0,0 +1,2 @@
+$(function(){$('body').on('click','.page-scroll a',function(event){var $anchor=$(this);$('html, body').stop().animate({scrollTop:$($anchor.attr('href')).offset().top},1500,'easeInOutExpo');event.preventDefault();});});$(function(){$("body").on("input propertychange",".floating-label-form-group",function(e){$(this).toggleClass("floating-label-form-group-with-value",!!$(e.target).val());}).on("focus",".floating-label-form-group",function(){$(this).addClass("floating-label-form-group-with-focus");}).on("blur",".floating-label-form-group",function(){$(this).removeClass("floating-label-form-group-with-focus");});});$('body').scrollspy({target:'.navbar-fixed-top'})
+$('.navbar-collapse ul li a').click(function(){$('.navbar-toggle:visible').click();});
\ No newline at end of file
diff --git a/js/jqBootstrapValidation.js b/js/jqBootstrapValidation.js
new file mode 100644
index 0000000..0ff279e
--- /dev/null
+++ b/js/jqBootstrapValidation.js
@@ -0,0 +1,2 @@
+(function($){var createdElements=[];var defaults={options:{prependExistingHelpBlock:false,sniffHtml:true,preventSubmit:true,submitError:false,submitSuccess:false,semanticallyStrict:false,autoAdd:{helpBlocks:true},filter:function(){return true;}},methods:{init:function(options){var settings=$.extend(true,{},defaults);settings.options=$.extend(true,settings.options,options);var $siblingElements=this;var uniqueForms=$.unique($siblingElements.map(function(){return $(this).parents("form")[0];}).toArray());$(uniqueForms).bind("submit",function(e){var $form=$(this);var warningsFound=0;var $inputs=$form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);$inputs.trigger("submit.validation").trigger("validationLostFocus.validation");$inputs.each(function(i,el){var $this=$(el),$controlGroup=$this.parents(".control-group").first();if($controlGroup.hasClass("warning")){$controlGroup.removeClass("warning").addClass("error");warningsFound++;}});$inputs.trigger("validationLostFocus.validation");if(warningsFound){if(settings.options.preventSubmit){e.preventDefault();}$form.addClass("error");if($.isFunction(settings.options.submitError)){settings.options.submitError($form,e,$inputs.jqBootstrapValidation("collectErrors",true));}}else{$form.removeClass("error");if($.isFunction(settings.options.submitSuccess)){settings.options.submitSuccess($form,e);}}});return this.each(function(){var $this=$(this),$controlGroup=$this.parents(".control-group").first(),$helpBlock=$controlGroup.find(".help-block").first(),$form=$this.parents("form").first(),validatorNames=[];if(!$helpBlock.length&&settings.options.autoAdd&&settings.options.autoAdd.helpBlocks){$helpBlock=$('');$controlGroup.find('.controls').append($helpBlock);createdElements.push($helpBlock[0]);}if(settings.options.sniffHtml){var message="";if($this.attr("pattern")!==undefined){message="Not in the expected format";if($this.data("validationPatternMessage")){message=$this.data("validationPatternMessage");}$this.data("validationPatternMessage",message);$this.data("validationPatternRegex",$this.attr("pattern"));}if($this.attr("max")!==undefined||$this.attr("aria-valuemax")!==undefined){var max=($this.attr("max")!==undefined?$this.attr("max"):$this.attr("aria-valuemax"));message="Too high: Maximum of '"+max+"'";if($this.data("validationMaxMessage")){message=$this.data("validationMaxMessage");}$this.data("validationMaxMessage",message);$this.data("validationMaxMax",max);}if($this.attr("min")!==undefined||$this.attr("aria-valuemin")!==undefined){var min=($this.attr("min")!==undefined?$this.attr("min"):$this.attr("aria-valuemin"));message="Too low: Minimum of '"+min+"'";if($this.data("validationMinMessage")){message=$this.data("validationMinMessage");}$this.data("validationMinMessage",message);$this.data("validationMinMin",min);}if($this.attr("maxlength")!==undefined){message="Too long: Maximum of '"+$this.attr("maxlength")+"' characters";if($this.data("validationMaxlengthMessage")){message=$this.data("validationMaxlengthMessage");}$this.data("validationMaxlengthMessage",message);$this.data("validationMaxlengthMaxlength",$this.attr("maxlength"));}if($this.attr("minlength")!==undefined){message="Too short: Minimum of '"+$this.attr("minlength")+"' characters";if($this.data("validationMinlengthMessage")){message=$this.data("validationMinlengthMessage");}$this.data("validationMinlengthMessage",message);$this.data("validationMinlengthMinlength",$this.attr("minlength"));}if($this.attr("required")!==undefined||$this.attr("aria-required")!==undefined){message=settings.builtInValidators.required.message;if($this.data("validationRequiredMessage")){message=$this.data("validationRequiredMessage");}$this.data("validationRequiredMessage",message);}if($this.attr("type")!==undefined&&$this.attr("type").toLowerCase()==="number"){message=settings.builtInValidators.number.message;if($this.data("validationNumberMessage")){message=$this.data("validationNumberMessage");}$this.data("validationNumberMessage",message);}if($this.attr("type")!==undefined&&$this.attr("type").toLowerCase()==="email"){message="Not a valid email address";if($this.data("validationValidemailMessage")){message=$this.data("validationValidemailMessage");}else if($this.data("validationEmailMessage")){message=$this.data("validationEmailMessage");}$this.data("validationValidemailMessage",message);}if($this.attr("minchecked")!==undefined){message="Not enough options checked; Minimum of '"+$this.attr("minchecked")+"' required";if($this.data("validationMincheckedMessage")){message=$this.data("validationMincheckedMessage");}$this.data("validationMincheckedMessage",message);$this.data("validationMincheckedMinchecked",$this.attr("minchecked"));}if($this.attr("maxchecked")!==undefined){message="Too many options checked; Maximum of '"+$this.attr("maxchecked")+"' required";if($this.data("validationMaxcheckedMessage")){message=$this.data("validationMaxcheckedMessage");}$this.data("validationMaxcheckedMessage",message);$this.data("validationMaxcheckedMaxchecked",$this.attr("maxchecked"));}}if($this.data("validation")!==undefined){validatorNames=$this.data("validation").split(",");}$.each($this.data(),function(i,el){var parts=i.replace(/([A-Z])/g,",$1").split(",");if(parts[0]==="validation"&&parts[1]){validatorNames.push(parts[1]);}});var validatorNamesToInspect=validatorNames;var newValidatorNamesToInspect=[];do{$.each(validatorNames,function(i,el){validatorNames[i]=formatValidatorName(el);});validatorNames=$.unique(validatorNames);newValidatorNamesToInspect=[];$.each(validatorNamesToInspect,function(i,el){if($this.data("validation"+el+"Shortcut")!==undefined){$.each($this.data("validation"+el+"Shortcut").split(","),function(i2,el2){newValidatorNamesToInspect.push(el2);});}else if(settings.builtInValidators[el.toLowerCase()]){var validator=settings.builtInValidators[el.toLowerCase()];if(validator.type.toLowerCase()==="shortcut"){$.each(validator.shortcut.split(","),function(i,el){el=formatValidatorName(el);newValidatorNamesToInspect.push(el);validatorNames.push(el);});}}});validatorNamesToInspect=newValidatorNamesToInspect;}while(validatorNamesToInspect.length>0)var validators={};$.each(validatorNames,function(i,el){var message=$this.data("validation"+el+"Message");var hasOverrideMessage=(message!==undefined);var foundValidator=false;message=(message?message:"'"+el+"' validation failed ");$.each(settings.validatorTypes,function(validatorType,validatorTemplate){if(validators[validatorType]===undefined){validators[validatorType]=[];}if(!foundValidator&&$this.data("validation"+el+formatValidatorName(validatorTemplate.name))!==undefined){validators[validatorType].push($.extend(true,{name:formatValidatorName(validatorTemplate.name),message:message},validatorTemplate.init($this,el)));foundValidator=true;}});if(!foundValidator&&settings.builtInValidators[el.toLowerCase()]){var validator=$.extend(true,{},settings.builtInValidators[el.toLowerCase()]);if(hasOverrideMessage){validator.message=message;}var validatorType=validator.type.toLowerCase();if(validatorType==="shortcut"){foundValidator=true;}else{$.each(settings.validatorTypes,function(validatorTemplateType,validatorTemplate){if(validators[validatorTemplateType]===undefined){validators[validatorTemplateType]=[];}if(!foundValidator&&validatorType===validatorTemplateType.toLowerCase()){$this.data("validation"+el+formatValidatorName(validatorTemplate.name),validator[validatorTemplate.name.toLowerCase()]);validators[validatorType].push($.extend(validator,validatorTemplate.init($this,el)));foundValidator=true;}});}}if(!foundValidator){$.error("Cannot find validation info for '"+el+"'");}});$helpBlock.data("original-contents",($helpBlock.data("original-contents")?$helpBlock.data("original-contents"):$helpBlock.html()));$helpBlock.data("original-role",($helpBlock.data("original-role")?$helpBlock.data("original-role"):$helpBlock.attr("role")));$controlGroup.data("original-classes",($controlGroup.data("original-clases")?$controlGroup.data("original-classes"):$controlGroup.attr("class")));$this.data("original-aria-invalid",($this.data("original-aria-invalid")?$this.data("original-aria-invalid"):$this.attr("aria-invalid")));$this.bind("validation.validation",function(event,params){var value=getValue($this);var errorsFound=[];$.each(validators,function(validatorType,validatorTypeArray){if(value||value.length||(params&¶ms.includeEmpty)||(!!settings.validatorTypes[validatorType].blockSubmit&¶ms&&!!params.submitting)){$.each(validatorTypeArray,function(i,validator){if(settings.validatorTypes[validatorType].validate($this,value,validator)){errorsFound.push(validator.message);}});}});return errorsFound;});$this.bind("getValidators.validation",function(){return validators;});$this.bind("submit.validation",function(){return $this.triggerHandler("change.validation",{submitting:true});});$this.bind(["keyup","focus","blur","click","keydown","keypress","change"].join(".validation ")+".validation",function(e,params){var value=getValue($this);var errorsFound=[];$controlGroup.find("input,textarea,select").each(function(i,el){var oldCount=errorsFound.length;$.each($(el).triggerHandler("validation.validation",params),function(j,message){errorsFound.push(message);});if(errorsFound.length>oldCount){$(el).attr("aria-invalid","true");}else{var original=$this.data("original-aria-invalid");$(el).attr("aria-invalid",(original!==undefined?original:false));}});$form.find("input,select,textarea").not($this).not("[name=\""+$this.attr("name")+"\"]").trigger("validationLostFocus.validation");errorsFound=$.unique(errorsFound.sort());if(errorsFound.length){$controlGroup.removeClass("success error").addClass("warning");if(settings.options.semanticallyStrict&&errorsFound.length===1){$helpBlock.html(errorsFound[0]+(settings.options.prependExistingHelpBlock?$helpBlock.data("original-contents"):""));}else{$helpBlock.html("