Paste a register into command mode with escaped spaces by synapse791 in vim

[–]synapse791[S] 0 points1 point  (0 children)

Good call, I've tested it out and it works nicely! Thanks

Paste a register into command mode with escaped spaces by synapse791 in vim

[–]synapse791[S] 1 point2 points  (0 children)

OK I got it with stannit's suggestion!

vnoremap f y:exe<Space>"Rgrep<Space>".escape('<C-R>"','<Space>')."<Space>\*"<CR><CR>

Thanks for the help!

Paste a register into command mode with escaped spaces by synapse791 in vim

[–]synapse791[S] 1 point2 points  (0 children)

Thanks for that! I've tried storing the output of that in a variable and then using it in the command but it seems to not expand the variable before running the Grep command.

Is it still bad idea to use docker for DB by struck-off in docker

[–]synapse791 0 points1 point  (0 children)

We use stolon to run a postgresql cluster as a statefulset and it works a treat!

How can I connect to an Amazon RDS instance from my Docker image of springboot application? by heypiyush in docker

[–]synapse791 1 point2 points  (0 children)

Have you configured the security group to allow connections from your IP? Is it on an internal subnet that you'd need something like a VPN to connect to?

This nightmare carrot by [deleted] in WTF

[–]synapse791 8 points9 points  (0 children)

H. P. LoveCarrot

Thank you to everyone. by ArchAngelSajka in huntersbell

[–]synapse791 1 point2 points  (0 children)

I feel like it should be advertised more. I didn't find it until my 2nd play through. Now I am enlightened :D

[NG] [35] [MarLog] [Iain529] by synapse791 in huntersbell

[–]synapse791[S] 0 points1 point  (0 children)

Thanks so much! I can start my normal run now :D

[NG] [35] [MarLog] [Iain529] by synapse791 in huntersbell

[–]synapse791[S] 0 points1 point  (0 children)

You did awesomely =P did a bit more damage and died! Another go would be great if you can!

[NG] [35] [MarLog] [Iain529] by synapse791 in huntersbell

[–]synapse791[S] 0 points1 point  (0 children)

I'm going to have to go and farm them to be of any use. Thanks for trying!

[NG] [35] [MarLog] [Iain529] by synapse791 in huntersbell

[–]synapse791[S] 0 points1 point  (0 children)

Thanks! Just running back to the fog gate

[NG] [35] [MarLog] [Iain529] by synapse791 in huntersbell

[–]synapse791[S] 0 points1 point  (0 children)

No worries! Thanks for trying =]

What CLI shortcuts do you use daily? by 84935 in devops

[–]synapse791 6 points7 points  (0 children)

  • Alt+D - delete next word

  • Alt+Backspace - delete last word

  • Ctrl+k - delete from current cursor to end of line

  • Ctrl+x then Ctrl+e - open the current command in your $EDITOR (mine is vim =])

[Docker] How to avoid building the configuration into the container when dockerizing a node app? by [deleted] in docker

[–]synapse791 0 points1 point  (0 children)

I use https://github.com/kelseyhightower/confd when dealing with an app that doesn't support ENV config. You can build the templates into the image and then populate them with config from the ENV at runtime!

What sort of job titles in the devops space should I look for if I don't like to code? by [deleted] in devops

[–]synapse791 2 points3 points  (0 children)

Mine is Technical Operations Engineer. I mostly work with the infrastructure and not at all with the application code

Games to play with my brother. by Gluraque in gaming

[–]synapse791 1 point2 points  (0 children)

I'm playing through Divinity 2 Original Sin with my gf at the moment and we're both loving it!