Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 681 bytes | 681.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s https://api.github.com/users/milanboers/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright (c) 2018 by CMASS Robotics team. All Rights Reserved. | |
| // | |
| #include "main.h" | |
| #include <string> | |
| #include <cstdarg> | |
| #include <memory> | |
| short _auto_selected_id = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Created by jonesdav004 on 1/23/2019 | |
| // | |
| #ifndef POTATOES_API_H | |
| #define POTATOES_API_H | |
| #endif //POTATOES_API_H | |
| /** @file APIh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "Graph.hpp" | |
| Graph::Graph(lv_obj_t* parent) : Graph(parent, lv_obj_get_style(parent)->body.main_color) {} | |
| Graph::Graph(lv_obj_t* parent, lv_color_t mainColor) : | |
| graph(lv_chart_create(parent, NULL)) | |
| { | |
| lv_obj_set_size(graph, lv_obj_get_width(parent), lv_obj_get_height(parent)); | |
| lv_obj_align(graph, NULL, LV_ALIGN_CENTER, 0, 0); | |
| lv_chart_set_type(graph, LV_CHART_TYPE_LINE); |
c.ebnf contains grammar ofr C99. Note that this is ANSI C, not ISO C, so there are some omissions. The reason I wrote this is, I am currently writing a C compiler, with my own backend (and hopefully, frontend) in OCaml. And I needed to collect the grammar in one place.
Reading EBNF grammars is pretty simple:
- Enclosed within two
?s is a global capture, it does not mean optional. It means 'I am writing a free-style sentence'. - Enclosed within
{and}means : repeat at least zero times - Enclosed within
[and]means : this is optional - Enclosed within
(and)means : this is a group