Annoying Notes app formatting

As a Mac user, i have been (ab)using the Notes app quite a lot – i always copy commands/output/text from terminal or web pages, and it always annoyed me that Notes app, by default, would always format the text – create links, change the quotes, try to have text background (i.e. black when copying from Terminal). That’s the most annoying thing ever…

I remember i tried to look in settings to see if there’s a way to disable this, but I didn’t find anything when i looked. Today, it annoyed me too much again, so i thought i need to find a different software for that… but first let me try to look at it again.

So, after some googling around, i found a solution – you can remap the ⌘V key to paste without formatting!

Steps to achieve that:
– Go to System Preferences -> Keyboard -> Shortcuts -> App Shortcuts
– Add a new shortcut
– Choose “Notes” as the aplication
– Name the Menu Title “Paste and Match Style”
– In Keyboard Shortcut press ⌘V

This should re-map the ⌘V to use ‘Paste and Match style’ rather than the default Paste method.

Life just got a bit less annoying :)

apie kibernetinio saugumo teatrą

Originally posted on blogas domas:

Seimas priėmė kibernetinio saugumo įstatymą – berods visų frakcijų pritarimu. Net “sveiko proto liberalai” galvoja, kad jis padės geriau “atremti atakas”. Pradinės redakcijos buvo iš viso tragiškos, netinkančios teisinei valstybei, bet kalbama, kad pavyko pataisyt kažkiek, ir tai tebus tik šiaip farsas.

Visų pirma, pritariu, kad apsaugoti kritinę infrastruktūrą yra svarbu. Kai buvau nepilnametis, “išsiaiškinau” apie įvairių valstybinių sistemų sistemų saugumą, ir tai didelio pasitikėjimo jas stačiusioms kompanijoms nesukėlė. Yra tikrai svarbu, kad nesutriktų elektros ar vandens tiekimas, nenutekėtų žmonių Sodros duomenys (oj, per vėlu), etc.

Nemažai įstatymo nurodytų metodų yra popieriniai – taryba šen, centras ten, įpareigojimai, kompetetingi skyriai ir asmenys paskirti įvairiose institucijose. Kai kurios deklaracijos yra įdomios – pavyzdžiui ką reiškia atsakomybė už saugumą (nebent tikrai užtenka tik vykdyti vyriausybės nurodymus, jeigu tai įmanoma). Kai kurie reikalavimai buvo kontroversiški JAV – pavyzdžiui informacijos apie incidentus centralizuotas rinkimas (žr.

Įstatymo įdomiausia dalis yra apie vartotojų duomenų (ir…

View original 1,147 more words

WordCamp Russia 2013

A few months ago, Konstantin Kovshenin pinged me and asked if I want to come over to Moscow for a WordCamp. Without thinking too much, i have agreed. Unfortunately, that had some consequences – i had to give a speech in a WordCamp.

Why unfortunately? Because:

  • I had never attended a WordCamp – and having my first WordCamp as a speaker was very scary
  • The presentation has to be in Russian. I do speak Russian, but I’ve never learned it anywhere, only from friends / TV – so lots of errors expected
  • I had never given a presentation to a big group of people who cared about what i say – usually people just ignore me :)

Well, but i still agreed on it!

As always, i had delayed to create the presentation up to the last week. If not for the few  pings from Konstantin, I’d probably delay it until the last minute.

I’ve got to Moscow on Friday morning, and spent most of the day working from the hotel and Starbucks. Then, in the evening, we had a pre-WordCamp meetup with all the volunteers / speakers. The meetup was in some lovely caffe called ‘Chocolate‘ and you could see a part of the Red Square from it. I’ve met all those nice and smart people! Everyone looked so brave, but i knew that deep inside they were also as afraid of the next day as i was :)

Next day i’ve got to the Digital October lounge around 8am to help out with anything that’s needed, but it looked like almost everything was planned and ready. People started gathering 15 minutes before the registration, which was at 9am. There was around 150 people in total, which isn’t that much for Moscow, but it’s quite a lot for a first WordCamp.

Konstantin was leading the first part of the WordCamp, and Nikolay Mironov was leading the second part. They had some nice idea of presenting the speakers in some funny way – although the funny part was usually truth.

First speaker, the bravest woman of them all, was Olga (Ольга Горяева) with her presentation about using WordPress for everything else rather than just a blog – news sites, portfolio websites, internet shops, radio/music streaming websites, twitter analytics and etc. Of course i knew this, but it was a really good presentation for all those users who still think that WordPress is only for blogs. Double points for being the first speaker!

Second speaker – Nikolay Mironov – was talking about portfolio websites and freelancing. Lots of freelancers don’t have a portfolio website, and it’s not that hard to make one (pretty easy actually). Also, he gave lots of hints on how to be a good freelancer, where to search for clients, how to make the clients stay and etc. The way he did the speech was very attractive – he was very dynamical / active.

I missed the third speech as i was getting caffeinated and nicotinated before the next speaker … me! But from the number of questions after the presentation i understand that it was very interesting, especially to some people interested in the topic.

So, my presentation probably didn’t go very well, but well, there’s always a first time for everything, and it’s usually not ideal on the first time :)

My presentation took only about 20 minutes (whereas usually other speakers spoke for about half an hour) and then i had a number of questions. I was very nervous so i probably gave some false answers to one or two questions (i.e. the hdd brand we use the most). Also, some of my answers were short and i could have given more information about the answer.

My presentation was the last one before the lunch break. We had some subway sandwiches ready for us (separate sandwiches for the vegetarians). I was very hungry, nom nom :)

Next presentation was from Sergey Biryukov about taking part in WordPress development. It was nice to hear how WordPress development works, the meetings for developers, where to start, where each part of development happens and etc.

The next one was Konstantin and he gave a presentation about increasing the performance of your WordPress website. It was probably the most interesting presentation for me, as a sysadmin. He told about some interesting situation where he had to create some custom tables with MySQL on insert/update triggers to better use the indexes on the fields he needed. If i did this presentation, i would probably have missed some parts he talked about.

Unfortunately, i had to grab my notebook at this time and missed out on the last two presentations made by Gennadiy Kovshenin – Unit testing in WordPress, and Anna Ladoshkina – Adaptive content in WordPress, but i will  definitely watch these two presentations when they’ll come out on

After that, we had some after party in the local bar called “Progress Bar”. For some reason, most of the people went home, and didn’t want to spend their Saturday evening having a chat with geeks. By the way, if you ever go to Progress Bar – don’t forget to look down when you go to the bathroom, it has some interesting view out there :)

Progress Bar floor

Overall, the WordCamp was great, i met a lot of interesting people, the presentations were also interesting. If you’ve got a WordCamp anywhere around your city – please go, you’ll really like it!