Fork me on GitHub
#off-topic
<
2019-02-20
>
dpsutton14:02:25

anyone work at circleci? it would be nice if circleci/clojure:lein-node could be bumped to lein 2.9.0

dominicm14:02:38

Their support is super responsive @dpsutton

dpsutton14:02:32

will do. thanks

Ben Hammond15:02:06

In 'The Hobbit'' Chapter 2 'Roast Mutton' when Gandalf tricks the Trolls into being outside when dawn breaks. He sows disinformation to keep them arguing. He is TROLLING the trolls

😂 20
😜 5
Ben Hammond15:02:28

apologies if that is old news. It's new to me

Mario C.16:02:52

I created a git alias recently compare = !sh -c 'git log --left-right --graph --cherry-pick --oneline $0...$1' but I kinda just followed what I saw in previous alias that I copied and pasted. What does the !sh -c do?

danm16:02:01

Invokes a new subshell to run the full command in the single quotes within

Mario C.16:02:05

If I type !sh and then hit space it replaces it with a different command. I am guessing it shows a previous comand?

danm16:02:51

! in git config files is magic. It means 'invoke this in a shell'. Without a leading ! git assumes the alias is still a subcommand to git, for example log-notes = log --show-notes=* means git log-notes is the same as git log --show-notes=*

danm16:02:50

In the shell itself, ! has different meaning, I forget what that is (given that my bashrc seems to have broken it)

Mario C.16:02:38

Ahhh okay that makes sense. I am guessing that the -c is a flag for arguments?

danm16:02:38

So that command is probably invoking in a subshell using sh -c and single quotes because otherwise the $0...$1 would be interpreted at the wrong time, i.e. before the rest of the command was run, instead of within the context of the output of the rest of the command

danm16:02:56

-c takes a string and runs it as a command within the subshell

danm16:02:14

Then exits that subshell

danm16:02:25

sh -c 'echo "foo"'

Mario C.16:02:54

Would having a space between ! and sh work as well? How does it know where it get its arguments from?

Mario C.16:02:14

nvm I figured out the argument part

jaide19:02:55

Any recommendations for recording screens into a gif on OS X?

aisamu03:02:47

quicktime screen recording + ffmpeg

👍 5
valtteri06:02:28

https://www.cockos.com/licecap/ I’ve been using this for years.

borkdude20:02:36

I use that too

jaide20:02:50

Excellent, thanks!

john20:02:28

kap is open source and on brew https://github.com/wulkano/kap

jaide21:02:27

Thanks for those options! I also found https://gifox.io/ show up in a few lists too.

theeternalpulse18:02:49

how does this compare to giphy capture?

jaide19:02:52

- Gifox Pro version has no time limits compared to GIPHY 30 seconds - Giphy has some basic editing features where gifox does not - Gifox provides more controls over framerate, downscaling, etc… - Gifox has features for capturing a selection and a window where as Giphy only supports a selection - Giphy can loop in forwards, reverse, ping-pong where as Gifox can loop forwards infinitely or a fixed number of times.

aisamu03:02:47

quicktime screen recording + ffmpeg

👍 5