@Patrick - got your email last night, I'll send a response tonight, thanks for all the good info. Already setup a EC2 instance and was playing w/ the tech.
@Patrick - checking out corosync and redis as well.
@slm I wouldn't worry about corosync too much, it's one of the core technologies, but it's one of those ones that you don't really mess with once it's up and running. Plus we use it in a configuration that is rather uncommon
@slm, dude, that's really not a good subject to raise in the middle of a discussion with someone thinking about hiring you. He might take it seriously :P
I have recently finished my latest year of college and am planning on taking an entry level (minimum wage) job for the summer to build up some cash. At the end of finals I was offered a joint in celebration and elected to smoke some of it. My college is in a state where recreational marijuana u...
@derobert my rule for downvotes on questions: -1 what you were smoking, -1 I hate you, -1 I do not want your questions here, -1 I had a vote that I didn't use
@slm you can check your percentage by looking at the votes tab in your profile, it'll tell you how many upvotes and downvotes you have. Don't divide by 'all', though, as that also counts close, delete, etc. votes, apparently.
Hi I have a file like this :
#0
0a
1b
1c
0d
xe
#4
0a
0b
xc
0d
1e
#8
0a
0b
xc
0d
xe
#12
1b
xc
0d
0e
#16
xb
1c
xe
#20
1a
xb
xc
1d
1e
#24
xa
xb
xc
xe
#28
0a
1b
0c
xd
0e
#29
0a
0b
1c
xd
xe
#32
0a
1b
Where #0 means at time 0 , #8 means at time 8 & so on. Now I want to print the portion of this file...
The amount of pain and suffering I've had from having network filesystems over an OpenVPN connection is, well, one of many reasons I welcome our new systemd overlords.
@slm Hrm, what you're getting yourself into working here, just had a developer come to me wondering why this binary he put in his project won't run on our jenkins server . The binary was compiled on his Mac OS-X machine. Jenkins box is Linux...
@derobert I know, I know. But I was intrigued by the problem and wanted to have a go at it. I had even added a disclaimer to my answer telling him that he shouldn't do this type of thing.
Grr: " in previous examples i want the output for a , b , c , d , e same logic here the only difference in original file is that "a" may be a string with special charcter"
@slm I actually have 2 machines. one linux, other osx. Though the one I use primarily is linux. The osx is just for the occasional tool where I need a more mainstream OS
@Gilles Original. That's why he deleted. Look at the comments, the OP fed him crumbs of information until he realized his answer was wrong for what the OP actually wanted.
@terdon so both of your answers were about the original data? Sorry, I don't feel like digging through the history. If both answers are about the original data, revert the edit.
@Gilles Yes, both were for the original. It's OK, I'll deal with it. He just edited again. If this one is something that's answerable, I'll give him his answer and VTC.
Yeah. Fell bad though since I've already asked him to edit the thing and he is trying.
Dammit. I'll just see if I can answer quickly.
Nope, another crappy edit.
I'm sorry but you're just not understanding. I will vote to close this now. You keep editing with the wrong output. If you're not willing to put in the effort to even give a correct sample, why would we be willing to help you do it? Please read the help center to understand what this site is about. We're here to answer your questions about UNix & Linux, not to write scripts for you. Perhaps you could ask here: rentacoder.ws. — terdon10 secs ago
He's trying to put this build script in his project's repo, and the script has credentials in it, so he was trying to obscure the credentials by creating a binary and sending that to the jenkins box
@Patrick Ah, OK, I thought you meant it would actually compile and offer the speedup one would expect from a compiled binary. That's only useful for "protecting" your code right?
well if all it does is join the shell interpreter and the script in a binary, I'm betting that script is still just a cleartext chunk of data in the binary
@Braiam Basically people who thought the Europeans were gods and if they built boats, they would attract them. Presumably, that was before they started killing everybody.
Used metaphorically for cases where people believe that replicating irrelevant circumstances will bring about the same outcome.
SHC
You can try the steps outlined on this website, titled: How to Encrypt Your Bash Shell Script on Linux Using SHC. This article discusses the use of a tool called SHC - Shell script Compiler.
URL resources
the shc tar ball
the man page
This is an executable that you'll have to build usin...
mattdm assures us this is a picture of dmr's dog. Although he apparently held the shift key with his eyes while typing that, for some reason. At least I think that's what the next line meant. — derobert27 secs ago
I have looked though the answers to similar questions and refreshed my memory on ACLs by reading tutorials on Linux ACLs. Yet, I am still stumped. What have I done wrong, or what do I not understand?
I have a file system mounted with the acl option.
user@host:/srv$ grep srv /etc/fstab
UUID=xxxx...