python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to test if a provided path contains a file or it's just a directory
Why is boost::is_regular_file returning false? I am running the following code on wandbox.org
#include <boost/filesystem.hpp>
#include <iostream>
namespace filesys = boost::filesystem;
in...
Hani Gotc
Votes: 0
Answers: 2
Seems like I have lots of space outside of the boot disk but I can't install packages - how do I clear space? Ubuntu GCloud VM
Here is the output of df -H. I keep deleting caches and tmp directories but the problem keeps resurfacing. Any tips on how I might clear out more space?
My home directory is only taking up 3GB - inclu...
SR1
Votes: 0
Answers: 1
Python: open() file function for saved html pages truncates long lines?
I am parsing a saved HTML file using beautiful soup, find sample below, at first I thought that beautiful soup is truncating long lines, but apparently its the open function
<!DOCTYPE html>
<...
IS92
Votes: 0
Answers: 1
Is there a data structure for implementing a function equivalent to 'tail -n' command in C++?
I want to write a function equivalent to the Linux tail -n command in C++. While, I parsed over the data of that file line-by-line thereby incrementing the line count, if the file size gets really big...
juhikushwah
Votes: 0
Answers: 2