@brandon I kinda found it strange, the only funky builting var mistake people do is calling a command, doing an echo and then branching on $? which is 0 thanks to the echo. (or some crazy `set` magic)
Meh, mastocalips.rocks ypu made me uncool again...
@brandon I kinda found it strange, the only funky builting var mistake people do is calling a command, doing an echo and then branching on $? which is 0 thanks to the echo. (or some crazy `set` magic)
@dpreacher hah, sorry. I was joking :D
@Samsai mine is a 10 floor apartment building. Works like a charm. Bonus points fof being waterproof!
@dpreacher "I hate diamonds, it's hard to crack 'em"
@brandon btw, why don't you just ARG1=${1} ? Assuming that $1 is the arg you want to save?
@brandon could you give me a bit of context?
@dpreacher sc is kinda cool spreadsheet tool. Not exactly an Ms Office or LibreOffice alternative, but you sure don't have to worry about ribbon interface... Haha
@dpreacher we use gerrit for code review, and jenkins as a CI tool as it has a great gerrit plugin. For jenkins you can simply write bash scripts to be triggered on certain gerrit events. We run, I call them 'Code Nazi' scripts which basically yell at you on any single mistake and force you to upload new patchset even if you just have a trailing space, otherwise you can't merge your commit. We also have review score system set up on gerrit, so you cannot upvote your own code review.
@dpreacher we solved lot of similar problems by introducing review branches with `Code Nazi` Jenkins jobs.
WHAT SHOULD I DO???
I've got a full scholarship offer at a South Korean university for my MSc studies.
To make the situation even more complex, 5 minutes ago I've got a mail from one of the top Swedish universities that I've got in from the reserved list (which had a 1:10000 chance based on previous statistics). I won't be able to pay the costs by myself, however I might be able to keep working for my existing employeer...
Would you take the risk? I'm happy, terrified and confused AF.
@dpreacher aaaah found yaaa
I think I'll make a t-shirt for my deaf programmer friend with "ln -sf /dev/audio /dev/null"
@dpreacher there's gvim installers for windows, but it makes vim available trough cmd too.
@dpreacher I just remembered that I have my windows work laptop home which has vim installed... you CAN do diffs there too. if you open the files in two buffers and call ":windo diffthis" it just works. too good to be true.
@dpreacher in normal mode type "ggVG:" this will highlight the entire file and drop yout to command mode on the selection then type the normal sed expression "s/<from>/<to>/" to replace the first match of <from> to <to>, use "s/<from>/<to>/g" to replace all occurences of <from> on the same line. hope it helps
@dpreacher well, yeah... If you have formated time stamps you could at least quickly replace them with dummy text in vim so they won't show up in the diff.
@dpreacher I actually used it for diffing a rootfs buildlogs. It's super convinient to have the build script and the log diffs there in the same editor. especially for doing path completions.
I just wanted to edit the svg source, but apparently emacs rather renders it in the buffer.
@dpreacher nope, it's builtin. if you have vim installed there should be a /usr/bin/vimdiff pointing to vim on your system. 😮