Windows 7 as an NTP server Kategoria: Windows | Autor: Bartłomiej Gałęzia

gpupdate /force
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags

Zmienić z 10 na 5

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer

Zmienić na 1
Restart usługi i sprawdzenie czy wszystko działa

net stop w32time
net start w32time
w32tm /query /configuration
w32tm /resync

https://social.technet.microsoft.com/Forums/windows/en-US/ffb1df0b-7c6e-4b2d-8fdf-b4ca0c014266/configuring-windows-7-as-an-ntp-server?forum=winserverPN

PHP - Wyciąganie daty urodzin z PESEL Kategoria: PHP | Autor: Bartłomiej Gałęzia

$urodziny = new DateTime(implode('-', array(
            (int) substr($pesel, 0, 2) + 1800 + (((floor(((int) $pesel{2}) / 2) + 1) % 5) * 100),
            substr($pesel, 2, 2),
            substr($pesel, 4, 2),
        ))
);

return $urodziny->format('Y-m-d');

Źródło: http://d9.com.pl/php-pesel/

PHP - Sprawdzanie poprawności numeru PESEL Kategoria: PHP | Autor: Bartłomiej Gałęzia

if (!preg_match('/^[0-9]{11}$/', $pesel)) { //sprawdzamy czy ciąg ma 11 cyfr
    return false;
}

$arrSteps = array(1, 3, 7, 9, 1, 3, 7, 9, 1, 3); // tablica z odpowiednimi wagami
$intSum = 0;
for ($i = 0; $i < 10; $i++) {
    $intSum += $arrSteps[$i] * $pesel[$i]; //mnożymy każdy ze znaków przez wagć i sumujemy wszystko
}
$int = 10 - $intSum % 10; //obliczamy sumć kontrolną
$intControlNr = ($int == 10) ? 0 : $int;
if ($intControlNr == $pesel[10]) { //sprawdzamy czy taka sama suma kontrolna jest w ciągu
    return true;
}
return false;

Źródło: http://phpedia.pl/wiki/Walidacja_numeru_PESEL

http://psdoom.sourceforge.net/

VMware ESXi Patch Tracker Kategoria: VMware | Tagi: esxi, vmware patch, vsphere, vcenter, vmware | Autor: Franciszek Musiel

VMware ESXi Patch Tracker

https://esxi-patches.v-front.de/ESXi-6.5.0.html

 

 

MAAS - Metal as a Service - Vagrant Kategoria: DevOPS | Autor: Franciszek Musiel

https://maas.io/

vagrantfiles-swift
https://github.com/jameswthorne/vagrantfiles-swift/blob/master/vagrantfile-swift-centos-one-proxy-three-object.txt

vagrant-libvirt
https://github.com/vagrant-libvirt/vagrant-libvirt#installation

Vagrant
https://www.vagrantup.com/docs/why-vagrant/

 Accessing the ASMI using a PC or notebook and web browser

 https://www.ibm.com/support/knowledgecenter/8408-E8E/p8hby/browser.htm

If your system is not managed by a Hardware Management Console (HMC), you can connect a PC or notebook to the server to access the Advanced System Management Interface (ASMI). You need to configure the Web browser address on the PC or notebook to match the manufacturing default address on the server.

The Web interface to the ASMI is available during all phases of system operation including the initial program load (IPL) and run time. The ASMI is used to perform general and administrator-level service tasks. These tasks include reading service processor error logs, reading vital product data, setting up the service processor, and controlling the system power.

The following instructions apply to systems that are not connected to an HMC. If you are managing the server using an HMC, you access the ASMI using the HMC.

Zobacz całość

https://www-01.ibm.com/support/docview.wss?uid=isg3T1010983

Technote (FAQ)

Question

If my managed system isn't yet attached to an HMC, how can I use the operator panel to get the addresses for the FSP of my managed systems?

Answer

To get the service processor IP address and port location from the operator panel, you must first switch to manual mode (using function 02) and then use function 30 to get the FSP addresses.

Here is what the operator control panel on most p5 systems and the 9117-MMA will look like:



Zobacz całość

Jenkins Kategoria: Tutoriale | Tagi: dev, devops, jenkins | Autor: Franciszek Musiel

DevOps – Introduction to Jenkins and Basic Integration

In this article, you will get basic knowledge about Jenkins and it’s Introduction to Basic Integration.

jenkins

What is Jenkins?

Jenkins is a Java-based continuous integration and continuous delivery tool mostly used by Software and DevOps engineers. Jenkins is a server based system running web application. Jenkins’s automation can run repeated jobs. With Jenkins one can create/start/monitor the jobs (automation jobs, shell commands), also inter-job dependencies can be created.

http://www.techinformant.in/devops-introduction-to-jenkins-and-basic-integration-for-beginners/

 

RHCSA and RHCE Certification content in detailed Kategoria: Linux | Autor: Franciszek Musiel

RHCSA and RHCE Certification content in detailed

https://arkit.co.in/rhcsa-and-rhce-certification-content-in-detailed/

 

 

 

Assets mgmt Kategoria: | Autor: Franciszek Musiel

 GLPI

http://glpi-project.org/spip.php?article43

 

OCS

http://www.ocsinventory-ng.org/en/

 

SpiceWorks

https://www.spiceworks.com/

 

Lansweeper

http://www.lansweeper.com/

 

CMDBuild

http://www.cmdbuild.org/en

 

Websync - RSYNC web manager Kategoria: Linux | Autor: Bartłomiej Gałęzia

http://furier.github.io/websync/

Paperbak - Backup plików na papierze Kategoria: Windows | Autor: Bartłomiej Gałęzia

http://ollydbg.de/Paperbak/index.html

https://29a.ch/photo-forensics/#forensic-magnifier

https://github.com/mendhak/gpslogger http://code.mendhak.com/gpslogger/ https://play.google.com/store/apps/details?id=com.mendhak.gpslogger

CSS - Jak zrobić ikonkę hamburger Kategoria: WWW | Autor: Bartłomiej Gałęzia

https://www.youtube.com/watch?v=Al-0vNJD1JU

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <button class="hamburger"></button>
</body>
</html>

Zobacz całość

Security tools Kategoria: Security | Autor: Franciszek Musiel

http://resources.infosecinstitute.com/top-ten-hacking-tools-of-2016/

WordPress Vulnerability Scanners

https://asphaltthemes.com/wordpress-online-vulnerability-scanners/