Category Archives: IT


MacOS terminal improvements

Check which shell you use:

  echo $0

If it is bash you can continue editing bash settings:

  nano ~/.bash_profile

Add a line containing this:

  export PS1="\w\$ "

This will show you the current path in the terminal (bash).

And I like the short “ls -la” command to be set as alias “ll“, so I added also:

  alias ll="ls -la"

Remember to open new terminal window to get the new settings or execute:

  source ~/.bash_profile

That’s all for now!

Chrome browser: Bypass “Your connection is not private” Message

Interesting post on how to bypass the Chrome browser “Your connection is not private” and other SSL errors.

What I learned and I liked is Option 2:

Option 2 – Prevent Warning

  1. Click a blank section of the denial page.
  2. Using your keyboard, type thisisunsafe and press Enter. This will add the website to a safe list, where you should not be prompted again.

It surely works!

To support this blog, just click on any ad.

Инсталация на stampit КЕП (квалифициран електронен подпис) на Apple лаптопи с M2 чип

Едно бързо и конкретно ръководство за инсталация на КЕП от StampIT (от Информационно обслужване АД) на Macbook Pro с новия M2 чип и MacOS Monterey v.12.4.

Моят КЕП и това ръководство е за:

  • четец – CIR1158
  • карта – StampIT ID Prime 940

Ето как да проверите моделите на вашия четец на карта и на самата карта:

Continue reading Инсталация на stampit КЕП (квалифициран електронен подпис) на Apple лаптопи с M2 чип

Unrar notes – December, 2016 – November , 2016 – 2012-2015


And for:

File size: 496.18 MB MD5: ed9934ab57420e733a273dac96e97afd

Try with pass: SAnet.ST

Compatible PoE adapter for camera Reolink RLC-520A

I have ordered in March 2022 the Reolink PoE Security Camera RLC-520A at

The camera comes without power adaptor! So I had to find one. It is really hard to find what are the compatible devices for PoE option to supply the camera.

On the Reolink page it is written that the PoE should be compatible with:

PoE: IEEE 802.3af, 48V Active

Though on most of PoE adapters it is not written if they are “Active” or not. And in some forums you can find a lot of failed attempts to use different PoE adapters and some replies that they are failing to work because they are not active.

I got from a friend a spare PoE power adapter as follow:

Ubiquiti Networks POE-48-24W PoE adapter 48 V
EAN: 810354023064
SKU: POE-48-24W

Although it is not stated that it is “Active” adapter it works and successfully powers the Reolink RCL-520A camera. So Ubiquiti POE-48-24W is COMPATIBLE with Reolink RCL-520A. ✅✅✅

  • Note (tip): You need to connect power AND wired LAN signal in order to adapter to send power to the camera! Otherwise using only power adapter and camera may trick you that it is not working.

3d Flag Map Of Bulgaria Royalty Free Stock Images - Image: 5610649Lang: bg (на български) :
Съвместимост на камера Reolink RCL-520A с PоE адаптер от Ubiquiti

– Камера Reolink RCL-520A е съвместима и може да се ползва с PoE адаптер от Ubiquiti POE-48-24W PoE adapter 48 V.
* Важно: За да работи освен захранване и UTP кабел от захранването към камерата, трябва да се подаде и LAN сигнал по кабела за интернет връзка! ✅✅✅

BASE64 email raw attachment – Decode on MacOS

Take the attachment file which is Base64 encoded. The section should look like below. There is an opening string “–00000000000039139405d8b03aff” and closing with the same string “–00000000000039139405d8b03aff”. Your code will be different but beginning and ending will be always the same.

Content-Type: application/msword;
Content-Disposition: attachment;
Content-Transfer-Encoding: base64
Content-ID: <17f26f7ffc9d845639d2>
X-Attachment-Id: 17f26f7ffc9d845639d2




Get the encoded text which starts on a new line and ends on the line before the last string “-00xxxxxx” (Bolded text below).

Method 1 – Save to text file and decode it

Save it as text file (base64.txt) in a directory.

Open it in Terminal , go to this directory and execute the command replacing the filename properly:

base64 --decode base64.txt > File22.doc

Method 2 – all in one command

base64 --decode > File22.doc

and press [ctrl+d] to send the pasted text.

Method 3 – use site for files up to 2MB

Dr. Rober Epstein при Joe Rogan (podcast #1768)

Един интересен подкаст с Dr. Rober Epstein при Joe Rogan – интересни факти и истории и наблюдения за търсенето в google, може ли и как се манипулират изборите ни на избори и всеки ден с резултатите, подсказванията и т.н.

Амазон – най-големият рекламодател в Google

Apple и те събират, но не е ясно за какво ползват инфо.

Facebook – ясно, че основно събират и търгуват с информация за хората

Войната с Микромеките на Google до 2015-2016та е повсеместна по съдилища и изведнъж свалят всички дела и М$ почват с Win10 и 11 да следят потребителите си. (Т.нар. surveillance business model).

70% от гледаните клипове в YouTube са препоръчаните в “Up next”…

WOL = Wake-on-lan

How to make a Wake-on-LAN (WOL) wakeup call to a PC from your Mac OS in the same network or from Internet.

So the case is you have a home PC (Windows 10 desktop) running behind a Synology NAS, which is always connected to the Internet. The NAS is always on, but the PC is rarely accessed just for some special software installed on it.

To access the PC in my home network I have setup:

  • OpenVPN server setup on the Synology
  • Windows 10 Pro version which allows Remote desktop connection

So to use the software on the PC remotely you have t setup on you Mac OS:

  • OpenVPN client in order to connect to your home network – Tunnelblick (free)
  • Microsoft Remote Desktop app (free)

And this is working fine. But… You may want to sleep the PC and wake it only when you need it.

In order to be able to wake the PC you need to allow this feature in the BIOS of your PC. Also check the settings in Windows.

And then you have two cases:

A) Wake PC from Mac in the same network (WiFi):

Check this Q&A:

I liked the Ruby way:

The RubyGems package which is stock (installed by default) on Mac, can also be used to install a wake on lan app. Just use the “gem install wol” command in terminal.

   gem install wol

It will install the activity in /usr/bin/local/wol.

As an aside, the wol tool can wake a properly configured Synology NAS or my Home PC.

cd /usr/local/bin

Now you have “wol” command script in this directory.

Create a new script:

sudo nano wol_pc
/usr/local/bin/wol 70:85:C2:70:23:8D

Use keys to save & exit:
^O , Enter

sudo chmod +x wol_pc

This is the simple way, but not so common in use. Usually you are away and want to connect to the PC, do some work and leave without to go home for this task. Then see case B)

B) Wake PC from Mac NOT in the same network using VPN connection and Synology NAS to send the Wake-on-LAN signal.

Mac –(internet)–> Synology VPN server –(local network)–> Home PC

The WOL signal is send on port 9 using the broadcast address in your network. The issue is that using VPN you may have issues to send this WOL signal through the VPN tunnel and wake the PC.

The solution I implemented is:

to have a web page in my local network hosted on my NAS. By opening this page in my browser (when I am connected with the VPN) it will send locally from NAS the Wake-on-LAN(WOL) signal and wake the PC as if I am at home on my NAS.

Enable Synology “Web station” in order to be able to be able to open a page in my Mac OS browser.

Create “” and “wol.php” page


!/usr/bin/env python
import socket
import sys
if len(sys.argv) < 3:
  print 'Usage: (example: 00:11:22:33:44:55)'
mac = sys.argv[2]
data = ''.join(['FF' * 6, mac.replace(':', '') * 16])
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
sock.sendto(data.decode("hex"), (sys.argv[1], 9))

So calling this in shell/terminal:

python FF:85:C2:70:23:8D

Will send a message on port 9 for the specified Network MAC Address!

Useful info: You cannot wake-up your PC by simply making PING to its IP address, because in Sleep state it does not keep/have IP address (even if it is fixed on your router or the PC!).
Wake-on-LAN relies on the NIC (network interface card) to be the only not-sleeping device which waits the wakeup call on port 9 and it recognises calls addressed to it by its MAC address (e.g. FF:85:C2:70:23:8D as in the example above).

Activate in “Package center” the “Web station”
in Web station (for DSM ver 6.2) :
–> “General settings” –> select PHP version: e.g. 7.3
I have NOT enabled the personal web sites!!! If you have enabled them, then your web directory will be at different path than mine!!!

Create the following PHP script in /volume1/web/ :


// outputs the username that owns the running php/httpd process
// // (on a system with the "whoami" executable in the path)
exec('whoami', $output, $retval);
echo "Returned with status $retval and output:\n";

$output = "";
exec('python FF:85:C2:70:23:8D', $output, $retval);

echo "Calling WAKE-ON-LAN command:";

So now once you have established VPN connection to your home network via OpenVPN, you have to open your browser and the local page on your Synology like this:


And depending on the speed of your PC (for mine it’s 5-6 seconds) you can use the Remote Desktop as usual to connect to Windows 10 desktop.


Интересна тема за размисъл – Дали не подкопахме бъдещите дигитални професии?

Източник: – “Дали не подкопахме бъдещите дигитални професии?”

Определено първият досег с компютъра не донесе очарованието, което би запленило децата.

Един възрастен професор по медийните науки разказва, че някога да имаш радиоапарат у дома е било рядкост. По това време радиото е било по-скоро екстра за най-богатите или, в по-честия случай, хоби за любителите-техничари, които са сглобявали самостоятелно лампови радиоприемници. Имало е даже кръжоци по радио-моделиране. По-късно, в края на 90-те, сходна беше картината с компютъра: младите хора нерядко си купуваха компоненти и си сглобяваха компютрите сами. Тогава процесът беше забавление и вълнение – да го сглобиш и да заработи, че да поиграеш или да си сред първите, влезли в това ново чудо интернет. Компютърът имаше своята магия…

Някой хора ще разберат от личен опит за какво става дума…