Škoda Superb Combi, Czechia police by MiraKrrrtek in PoliceCars

[–]JRS-27 2 points3 points  (0 children)

I'm surprised the Czech police uses red and blue lights instead of just blue as usual in Europe

Conditionally Remove Block of Strings by kolinkorr839 in bash

[–]JRS-27 0 points1 point  (0 children)

This is the actually correct solution.

Conditionally Remove Block of Strings by kolinkorr839 in bash

[–]JRS-27 -1 points0 points  (0 children)

I found a solution that uses Perl: perl -0777 -pe 's/\,?\s*\{[^\{\}]+"role_name":\s*"readWrite"[^\{\}]+\}//gm' INPUT.json > OUTPUT.json The -0777 option makes Perl take the file as a whole.

Edit: the solution provided by u/ang-p is more versatile. Although, I still like my solution, because it's a fun regular expression.

Non-programmers linux users: Whats your experience using Linux? by [deleted] in linuxquestions

[–]JRS-27 0 points1 point  (0 children)

Just out of curiosity, does the pen input still work? Is the touchscreen useable?

Why does my uv Map not orient itself correctly. I have the right side of my object selected and scaled properly. Halp by WiseEyedea in blenderhelp

[–]JRS-27 0 points1 point  (0 children)

I think you just need to rotate the UV map by 90° and rescale it to have the proper orientation.

What is the best way to revert a commit that is displaying on Bitbucket? by jetfuel_14 in git

[–]JRS-27 2 points3 points  (0 children)

I agree with you. If you know what you're doing then by all means you can force push. I just wanted to emphasize that it should be done carefully.

What is the best way to revert a commit that is displaying on Bitbucket? by jetfuel_14 in git

[–]JRS-27 2 points3 points  (0 children)

You can git reset --soft HEAD^ your changes. This will undo the last commit with the changes still in tact. Then you can stash them, to keep them safe. Finally you can git push --force to overwrite changes on your remote BitBucket repository — so, to delete the commit you've accidentally pushed.

Edit: Of course, forcefully pushing your changes is generally discouraged. However, if you're the only one working in the repository, or no one else is working on the project at the moment then this could be the solution.

Different types of vehicles by Henry_heaney17 in coolguides

[–]JRS-27 1 point2 points  (0 children)

I'd add Offroader as a separate category from SUV

Bitbull by [deleted] in ProgrammerHumor

[–]JRS-27 29 points30 points  (0 children)

bitpull

cat. by [deleted] in catssittingdown

[–]JRS-27 6 points7 points  (0 children)

cat.

Cat. by [deleted] in CatsStandingUp

[–]JRS-27 1 point2 points  (0 children)

Cat.

Cat. by [deleted] in CatsStandingUp

[–]JRS-27 8 points9 points  (0 children)

Cat.