openssl x509 -in stackexchangecom.crt -text -noout
openssl x509 -in cert.pem -text -noout
openssl x509 -inform der -in foobar.cer -noout -text
| $majorMinorVersion = "" | |
| $commitCount = & git rev-list --count HEAD | |
| Write-Output "git rev-list --count HEAD = $commitCount" | |
| $params = @{ | |
| FilePath = "" | |
| OS = "" | |
| ToolsDir = "" | |
| SolutionFolder = "" |
| /** Extended moon phase utils | |
| Ported from https://github.com/solarissmoke/php-moon-phase/blob/master/Solaris/MoonPhase.php | |
| Maksym Huk 2017 | |
| */ | |
| import Foundation | |
| import SwiftMoment | |
| class Moon { | |
| package android.support.v4.preference; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.Method; | |
| import android.annotation.SuppressLint; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.os.Build; |
| package ch.cern.test.mdm.utils; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.NoSuchProviderException; | |
| import java.security.PrivateKey; | |
| import java.security.Security; |
| Remove osxfuse if installed via homebrew: | |
| > brew uninstall osxfuse | |
| Install osxfuse binary and choose to install the MacFUSE compatibility layer: | |
| http://sourceforge.net/projects/osxfuse/files/latest/download?source=files | |
| Reboot (optional but recommended by osxfuse) | |
| Install ntfs-3g via homebrew: | |
| > brew update && brew install ntfs-3g |
I needed a syslog server and had been reading about ELK for the past few months. I finally decided to throw together a basic implementation in my home lab. I've recorded my notes for this process in this document & dumped the notes online at the following locations:
The implementation I built is super basic, it's just in my lab for dev purposes atm - so I didn't finish securing or building the integrations - just needed it to visualize some syslog data ATM.
| 127.0.0.1 itools.hk | |
| 127.0.0.1 update.itools.hk | |
| 127.0.0.1 ol-cn.itools.hk | |
| 127.0.0.1 serv2.itools.hk | |
| 127.0.0.1 stat2.itools.hk | |
| 127.0.0.1 serv-cn.itools.hk | |
| 127.0.0.1 www.1taoji.com | |
| 127.0.0.1 andrv.itools.hk | |
| 127.0.0.1 dl.itools.hk | |
| 127.0.0.1 lxcdn.slooti.com |