Контактор з Wi-Fi

Для довгоочікуваного оновлення електромережі гаража потрібно пристрій що вимикав би електрику (зокрема і віддалено), коли в ній нема потреби (наприклад коли в гаражі нікого немає).

Для цього існують так звані контактори — зовні схожі на звичайні автомати захисту, але вони міняють свій стан (увімкнуто/вимкнено) в залежності від керуючого сигналу. Вони …

читати далі

[en] Updating git repository with remote data

  у розділі Технічні теми 

Repeat! Photo by Brett Jordan

Sometimes, during the testing it is needed to update local code with the recent changes of some GIT branches, ignoring local changes (overwriting them).

In my case, I am creating the code on one machine, but testing (multiple tiles) on another.

Long story short:

git fetch --all && git reset --hard …
читати далі

SAML authentification allows Fortigate to use Azure AD service directly as a source of users for SSL VPN and administrative logins.

Fortigate SAML authentication with Azure

In this article, I focus on SSL VPN logins, but very similarly the admin login can be done though. In FortiOS 6.4 administrative SSO login via SAML is …

читати далі

[en] Performance debugging on FortiGate firewalls

  у розділі Технічні теми 

While FortiGate routers from FortiNet company are quite reliable, some bugs or strange behaviour can drive you crazy sometimes.

From time to time we are facing an issue when unit is under high CPU usage and/or lack of memory (RAM).

Usually it's being caused by Intrusion Prevention Systems (IPS …

читати далі

[en] NTP time sync on Cisco switch

  у розділі Технічні теми 

Current status:

c3750# sh clock detail
12:02:37.640 UTC Wed Sep 26 2018
Time source is user configuration

Set time zone and DST:

c3750(config)# clock timezone EST 2 # Kyiv, Ukraine
c3750(config)# clock summer-time EET recurring last Sat Mar 3:00 last Sat Oct 4:00

Set …

читати далі

[en] Using NVM with Jenkins

  у розділі Технічні теми 

Imagine that we need to update Node.js version on the Jenkins server. But it could affect other projects. For such cases, when we need multiple versions of Node.js on the same server the NVM (Node Version Manager) project exist.

NVM

Documentations - https://github.com/creationix/nvm. Nice tutorial …

читати далі

З часом, після оновлень ядра Ubuntu в системі залишаються старі версії, які більше не використовуються, а лише займаютьс місце.

Їх можна відшукати і видалити однією командою (це не зачіпить поточне, останнє, ядро):

# sudo dpkg -l linux-{image,headers}-* | awk '/^ii/{print $2}' | egrep '[0-9]+\.[0-9]+\.[0-9]+' | grep -v $(uname -r …
читати далі