Posts by Yamaneko • 836 points
7 posts
-
5
votes3
answers1784
viewsA: How to format a table (data.frame) with pdf publishing quality (latex) in R?
You can use the package xtable. First, you need to download the package. In R, enter the following command: install.packages("xtable") Once installed, load it: library("xtable") Put your tabela in…
-
11
votes1
answer1778
viewsQ: How do I create a webhook in Gitlab to update a mirror repository in Github?
I’d like to create a webhook in Gitlab to update a mirror repository in Github whenever there is one push. I consulted this one demo page, but I didn’t quite understand how to do. My version of…
-
3
votes1
answer1677
viewsA: How to autorun a script during Linux inialization?
You can put your script on /etc/rc.local. The rc.local is a script run on Linux boot to automate the start of the services desired by the user. I didn’t understand very well if it is necessary to…
-
3
votes2
answers1746
viewsA: Large figure disturbs the positioning of other
In the link @Luiz Vieira indicated, there was the parameter p that I had not yet tested. It specifies for the figure that it can be positioned on a page or a column. I just added this parameter that…
-
4
votes2
answers1746
viewsQ: Large figure disturbs the positioning of other
In a Latex report I’m writing, I’m trying to insert a large figure at the beginning of the chapter. It’s a page-sized flowchart: \begin{figure}[!htb] \centering…
-
20
votes2
answers1354
viewsQ: In which situations should I dynamically allocate a vector to C++?
I’m fiddling with a code from a framework for my work. In one of the functions, it dynamically allocates a std::vector, makes a copy of each node the object has and returns it to the user:…
-
21
votes3
answers5937
viewsQ: How do I see which commits change a certain file?
I implemented a new functionality for my program in an Func1.cpp file, in the branch Func1. Then I created another feature - in the file Func2.cpp -, but I forgot to create in a branch separate…