modules/dashboard/components/modules/addEstate/pages/AddEstatePage.js
From:
this.state = {
formStep: 0
}
| [mongodb-org-3.6] | |
| name=MongoDB Repository | |
| baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.6/x86_64/ | |
| gpgcheck=1 | |
| enabled=1 | |
| gpgkey=https://www.mongodb.org/static/pgp/server-3.6.asc |
| /* | |
| I have a simple page with a <Link> that should redirect to the same component, but different url, with a state(location.state) where | |
| is specified which sub component do draw. | |
| My problem is that in my IndexPage.js I have a <Link> with a state which redirect to the same component. | |
| The problem is, when redirected, the constructor of the compononent is not called so the this.location is null, where my state from <Link> | |
| should be. The render function is recalled, however. | |
| If I call the link directly( '/sport') then everything is showed how it would be supposed to( well, not really because | |
| I'm getting ' React attempted to reuse markup in a container but the checksum was invalid'). |
| In file included from .../LuaScript.hpp:4:0, | |
| from ...\LuaScript.cpp:1: | |
| .../extlibs/headers/sol2/sol.hpp: In constructor 'sol::string_detail::string_shim::string_shim(const char*)': | |
| .../extlibs/headers/sol2/sol.hpp:2920:31: warning: declaration of 'p' shadows a member of 'sol::string_detail::string_shim' [-Wshadow] | |
| string_shim(const char* p) : string_shim(p, std::char_traits<char>::length(p)) {} | |
| ^ | |
| .../extlibs/headers/sol2/sol.hpp:2917:16: note: shadowed declaration is here | |
| const char* p; | |
| ^ | |
| .../extlibs/headers/sol2/sol.hpp: In constructor 'sol::string_detail::string_shim::string_shim(const char*, std::size_t)': |
| sudo apt-get install libpthread-stubs0-dev | |
| sudo apt-get install libgl1-mesa-dev | |
| sudo apt-get install libx11-dev | |
| sudo apt-get install libxrandr-dev | |
| sudo apt-get install libfreetype6-dev | |
| sudo apt-get install libglew1.5-dev | |
| sudo apt-get install libjpeg8-dev | |
| sudo apt-get install libsndfile1-dev | |
| sudo apt-get install libopenal-dev |
| int main() | |
| { | |
| sf::Window window(sf::VideoMode(800, 600, 32), "OpenGL", sf::Style::Titlebar | sf::Style::Close, sf::ContextSettings(0,0,0,3,2)); | |
| } | |
| // Error when running: | |
| X Error of failed request: BadMatch (invalid parameter attributes) | |
| Major opcode of failed request: 153 (GLX) | |
| Minor opcode of failed request: 34 () | |
| Serial number of failed request: 70 |
| #include <iostream> | |
| #include <SFML/Graphics.hpp> | |
| int main() | |
| { | |
| if (!sf::Shader::isAvailable()) | |
| { | |
| std::cout << "Error #1\n"; | |
| } |
| #include <iostream> | |
| #include <cstring> | |
| namespace xal | |
| { | |
| void strupr( char* a) | |
| { | |
| for (std::size_t i=0; i<strlen(a); ++i) | |
| { |
| /* ERROR: | |
| src/SIntro.cpp:8:1: error: prototype for 'xal::state::Intro::Intro(xal::Engine&, bool)' does not match any in class 'xal::state::Intro' | |
| Intro::Intro(Engine &engine, bool replace): | |
| ^ | |
| In file included from src/SIntro.cpp:1:0: | |
| ./include/SIntro.hpp:15:7: error: candidates are: xal::state::Intro::Intro(xal::state::Intro&&) | |
| class Intro: public State | |
| ^ | |
| ./include/SIntro.hpp:15:7: error: xal::state::Intro::Intro(const xal::state::Intro&) | |
| ./include/SIntro.hpp:18:2: error: xal::state::Intro::Intro(Engine&, bool) |