This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Based on https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html | |
# | |
# Improvements | |
# - Removed Perl dependency | |
mydir=tmp/certs | |
if [ ! -e "${mydir}" ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* google-file-stream.c | |
* Alexandre Alencar | |
* alexandre dot alencar at gmail dot com | |
* github.com/alencar | |
* | |
* Compile with: gcc google-file-stream.c -o google-file-stream.exe -Wall | |
* Usage: | |
* FOR /F %D IN ('google-file-stream.exe') DO SET GFS=%D | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FUNCTION MAIN ( cPEImage ) | |
IF Empty(cPEImage) | |
QOut("Showing info for this PE Image") | |
ELSE | |
QOut("Showing info for ", cPEImage ) | |
ENDIF | |
QOut("Build Date", BuildTimeStamp(cPEImage, .T., .F.)) | |
QOut("Build Time", BuildTimeStamp(cPEImage, .F., .T.)) |