{"id":18456207,"url":"https://github.com/nicohood/helloworld","last_synced_at":"2025-04-08T04:34:30.246Z","repository":{"id":17710442,"uuid":"20523190","full_name":"NicoHood/HelloWorld","owner":"NicoHood","description":"simple example for c/c++ compiling","archived":false,"fork":false,"pushed_at":"2014-06-05T14:09:55.000Z","size":128,"stargazers_count":3,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T06:23:57.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NicoHood.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-05T11:56:27.000Z","updated_at":"2020-03-14T22:34:47.000Z","dependencies_parsed_at":"2022-07-26T19:17:04.027Z","dependency_job_id":null,"html_url":"https://github.com/NicoHood/HelloWorld","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHelloWorld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHelloWorld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHelloWorld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicoHood%2FHelloWorld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicoHood","download_url":"https://codeload.github.com/NicoHood/HelloWorld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779796,"owners_count":20994569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:10:43.963Z","updated_at":"2025-04-08T04:34:29.963Z","avatar_url":"https://github.com/NicoHood.png","language":"C++","readme":"Hello World example\n===================\nThis is a general Hello World example to get a standard program on a linux machine like Raspberry Pi.\nIt provides a simple makefile, a standard lib and setup() and loop() functions.\n\nInstallation\n============\n\nIn order to install the program so it runs at startup you need to create an entry to rc.local.\n\n```bash\n#copy program\n$ sudo cp ./Program /home/pi/Desktop/Programs/Program\n\n# set rights to execute the file\n$ sudo chmod 0777 /home/pi/Desktop/Programs/Program\n\n# test program first\n# abort with crtl + c\n/home/pi/Desktop/Programs/Program\n\n# open autostart file\n$ sudo nano /etc/rc.local\n# add the script (above exit 0)\n/home/pi/Desktop/Programs/Program \u003c/dev/null \u003e/dev/null 2\u003e\u00261 \u0026\n\n# press ctrl + x and save with y\n# reboot your system\n\n# kill the Program\nsudo killall Program\n```\n\nHow to compile\n==============\n\nMakefile instructions\n\n```bash\n# compile the program\n$ sudo make\n# start the program (2options)\n$ sudo make start\n$ sudo ./Program\n# compile and start\n$ sudo make cstart\n# clean the .o sources\n$ sudo make clean\n# clean all files\n$ sudo make cleanall\n# rebuild (clean + compile)\n$ sudo make rebuild\n# manually compile with (remove the lib.h include then)\n$ sudo gcc -o main.o main.cpp -pedantic -Wall\n```\n\nVersion History\n===============\n\n```\n1.0 Release (05.06.2014)\n```\n\nLicence and Copyright\n=====================\n\n```\nCopyright (c) 2014 NicoHood\nSee the readme for credit to other people.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicohood%2Fhelloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicohood%2Fhelloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicohood%2Fhelloworld/lists"}