@Kusalananda the close-vote review queue was probably my "fault"; I plow through Data Explorer queries when the data's "hot & fresh" on Sundays and muck around quite a bit-- grammar edits, VTC, re-tags, etc.
I think I actually ran myself out of close votes that day.
i need to sort a file by last column (ascending) and grep the top hundred lines
import sys
from operator import itemgetter
file_name = sys.argv[1]
with open(file_name) as file:
file_contents = file.read()
lines = file_contents.split("\n")[1:-1]
#print lines
data = [(i, float(line.split()[-1...
@FaheemMitha I voted to migrate it to SO, but @terdon always says not to migrate crap. I don't know if this is crap or not. It does contain everything needed to debug it, but it's not pretty.
Whenever I try to use apt to install or upgrade and also when I try to launch Synaptic Package Manager I get an error that says:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Then when I run the command It stalls always at:
***update-initram...
I tried it once; taped a printout to my monitor (without changing the physical keyboard) and figured out the relevant hotkeys to switch keyboard layouts; it would have been better except for all the special characters I frequently type for shell scripts.
0 (For the most part, the scientific community considers evidence of the existence of such creatures to be a combination of misidentification and deliberate hoaxes.)
Is ~/.bashrc the only place to specify user specific environment variables, aliases, modifications to PATH variable, etc?
I ask because it seems that ~/.bashrc seems to be bash-only, but other shells exist too…