Telegram Group & Telegram Channel
Say you wanted to invert hex colors so the stroke color is inverted of the fill color. Ultimately I decided against this and just going to use black for stroke. To do so using sed transliterate sed -e 'y/0123456789abcdef/fedcba9876543210/' you can't search for a pattern. So perl works in this case.

for f in *.svg ; do perl -p -i -e 's{(stroke="#[\w{6}])}{ ($new=$1) =~ tr/0123456789ABCDE/EDCBA9876543210/; $new }eg' "$f" ; done



tg-me.com/geektips/844
Create:
Last Update:

Say you wanted to invert hex colors so the stroke color is inverted of the fill color. Ultimately I decided against this and just going to use black for stroke. To do so using sed transliterate sed -e 'y/0123456789abcdef/fedcba9876543210/' you can't search for a pattern. So perl works in this case.

for f in *.svg ; do perl -p -i -e 's{(stroke="#[\w{6}])}{ ($new=$1) =~ tr/0123456789ABCDE/EDCBA9876543210/; $new }eg' "$f" ; done

BY GeekTips




Share with your friend now:
tg-me.com/geektips/844

View MORE
Open in Telegram


GeekTips Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

GeekTips from it


Telegram GeekTips
FROM USA