Yeah, I tried seeing if should make one over-arching message multipart, then have a multipart for the attachment and one for the content - didn't help :P
@NathanOsman Looking at my code, you can see that I make a Gtk window, then launch the file chooser dialog from there on a button click. Is there any way I can skip that entire Gtk window and just go straight into the dialog?
I am logged onto a windows machine. I am using Putty to login to an Ubuntu machine on the same network. Now I'm trying to move a .c file from the Ubuntu machine, to the Windows machine, edit it there, then move it back to the Ubuntu machine, compile it, and run it.
I'm still stuck at obtaining ...
To github.com/RPiAwesomeness/Keyboard-Mail-Desktop.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/RPiAwesomeness/Keyboard-Mail-Desktop.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
sigh
Can I please just push my new code? I understand that it's "behind".
@Seth It's got an incredibly powerful code-completion engine that actually parses all of the files that are imported so you always get incredibly accurate results. Accurate enough that if it isn't completing something I think it should be, I assume I have an error in my code :P
i installed rsnapshot but i want to backup directly without schedule, i mean command to do backup without waiting
i tried to seek the information from its official website
but it only have the information about scheduled backup. what i tried to found is simple command to do backup in that time j...
My desktop files on Ubuntu disappeared mysteriously when I tried to drag and drop files to my pen drive. I tried all options available on stack exchange and elsewhere on the internet, like reinstalling compiz, gnome, searching the directory name prefixed with a dot and also searching for the hidd...
I used to easily see the questions which have not yet got any answer as they were displayed in a red circle until recently.
I think it was a useful feature to draw attention to unanswered questions more than others already answered (accepted or not).
I wonder the reason behind this. Perhaps it ...
I rent a dedicated server and want to use LXC instead of KVM. I want to buy IPs for every single container. For now i have two external IPs:
193.X.X.30/32
213.X.X.31/32
I prefer a routing solution instead of NAT.
My last try is like this:
-------------------
| ...
We've discovered that sometimes apcupsd loosing connection with ups. We can not find why, but we've discovered that when we trying to shutdown apcupsd
with
/sbin/apcupsd stop
It gives following error in logs and doesn't stopping the apcupsd because we still can see it in running processes.
...
@muru Perhaps command shouldn't be a synonym. From what I understand the purpose of the synonyms is to merge tags which have "common, alternate spelling or phrasing", not a different meaning. But I might be wrong
@muru In fact looking at the descriptions as well I think that command and comman-line-tools should be grouped toghether in their own group, outside of command-line. After all per theit scopr the command-line is the hammer and the commands are the nails
My PhD supervisor had written one of the first gene prediction algorithms and implemented the entire thing in awk. We're talking awk code to read and process an entire genome, apply hidden markov models to it and return predicted genes.
Awk is powerful, just cumbersome unless you're dealing with columns.
@muru I know, and I agree with you. I would usually use awkk for anything where my data is in columns and perl/sed for anything else. Perl -a if I have columns but need regex stuff. Awk for math.
@muru Of course not. I was (and still am) just really impressed that it was even possible in awk. He has since had a PhD student translate it all to C, of course.
@terdon Indeed, I was referring to muru's question: non plus ultra just for "plain" regex matching (i.e. to do just that, no need for handling records / fiedls); also yes, I tought perl mainly because of the hassle of multiline matching in sed, and to integrate everything directly into a programming language for further handling of what's parsed
Most people seem to prefer Python but I much prefer Perl. Largely because I don't know python but I also like TMTOWTDI better than the Python approach of only one correct way.
Python also supports Perl regexes though.
On the other hand, Python does not do any cool Perl-style one-liners.
Perl can be completely unintelligible but it doesn't need to be. True, python couldn't be even if it tried but clear Perl I find easier to understand than Python.
@JourneymanGeek I agree with terdon, I have less trouble in reading a complex regex than understanding the whole logic of a program, but I think it's personal
Oh Yes You Can Use Regexes to Parse HTML!
For the task you are attempting, regexes are perfectly fine!
It is true that most people underestimate the difficulty of parsing HTML with regular expressions and therefore do so poorly.
But this is not some fundamental flaw related to computationa...
Occasionally the mouse cursor will freeze - I have to reboot.
In Ubuntu is there a keystroke combination such as ctrl+alt+del which would enable me to continue working without having to reboot?
@jrg Use tmux anyway, and stick to terminator because it isn't going to lose transparency in one version and regain it in another. (Has it regained transparency yet?)
You can use tmux, a terminal multiplexer.
sudo apt-get install tmux
For four panels you can use this script 4pSession:
#!/bin/bash
# if the session is already running, just attach to it.
tmux has-session -t 4panel
if [ $? -eq 0 ]; then
sleep 1
tmux attach -t 4panel
else
tmux new-sessi...
@muru About terminal transparency: for gnome-terminal, it behaves differently on Unity and XFCE. Unity sees through to the window below while XFCE just projects the desktop background on that position...
I recently installed Ubuntu 14.04 on a new ThinkPad laptop as a dual boot with Windows 8. It has been running for a few days without issue. However, when I booted my computer today, it got stuck on the purple splash screen. I had to do a hard shut down and then booted in recovery mode, which seem...
I like the gravatar, but sometimes I'm getting tired of the same old shapes / colour.
Is there any way to regenerate / generate a new one with different shapes / colour?
I wanted to add a function that could create custom alias so I added the following to .bashrc
function addalias {
echo "alias $1='$2'" >> ~/.bashrc
}
I then ran source .bashrc
I tested the command with:
addalias test testcom
I then ran source .bashrc
I went back and added a cp ~/.bas...
My script is not running on boot in a vagrant box under Ubuntu.
My script looks like this -
#!/bin/bash
# /etc/init.d/mailcatcher
### BEGIN INIT INFO
# Provides: scriptname
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# ...