I hereby claim:
- I am syzdek on github.
- I am syzdek (https://keybase.io/syzdek) on keybase.
- I have a public key ASAGpvnIp42DL04AiqXD3ppMpNOXC2cs0e9BQfbBykTHSAo
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Use posixregex CLI tool from: https://github.com/syzdek/dmstools/blob/master/src/posixregex.c | |
RE_IPV4="((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])" | |
posixregex -r "^(${RE_IPV4})$" \ | |
127.0.0.1 \ | |
10.0.0.1 \ | |
192.168.1.1 \ |
/* | |
* Simple Programming Examples And References | |
* Copyright (C) 2011 David M. Syzdek <david@syzdek.net>. | |
* | |
* @SYZDEK_BSD_LICENSE_START@ | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are | |
* met: | |
* |
-- | |
-- Simple SQLite3 Example | |
-- Copyright (C) 2011 David M. Syzdek <david@syzdek.net> | |
-- | |
-- Run: | |
-- cat hello.sql | sqlite3 hello.db | |
-- | |
-- creates tables |
# | |
# Instructions for making hybrid GPT/MBR boot USB thumb drive. | |
# The Slackware Linux installer will be added to the image as an example, | |
# however the syslinux configuration can be modified to include any desired | |
# image. | |
# | |
# A USB thumb drive formatted with these instructions was able to | |
# boot the Slackware Installer on a: | |
# | |
# Dell Latitude E6430 in Legacy BIOS mode |
/* | |
* TOTP: Time-Based One-Time Password Algorithm | |
* Copyright (c) 2015, David M. Syzdek <david@syzdek.net> | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are | |
* met: | |
* | |
* 1. Redistributions of source code must retain the above copyright |
#import <Foundation/Foundation.h> | |
int main(int argc, const char * argv[]) | |
{ | |
NSRunLoop * runLoop; | |
CLIMain * main; // replace with desired class | |
@autoreleasepool | |
{ | |
// create run loop |
/* | |
* Simple Programming Examples And References | |
* Copyright (C) 2011 David M. Syzdek <david@syzdek.net>. | |
* | |
* @SYZDEK_BSD_LICENSE_START@ | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are | |
* met: | |
* |
I hereby claim:
To claim this, I am signing this object:
/* | |
* Example of getaddrinfo() and inet_ntop() | |
* Copyright (C) 2020 David M. Syzdek <david@syzdek.net> | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are | |
* met: | |
* | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
#!/bin/sh | |
# | |
# Convience script for encrypting a SSH user's password | |
# using the user's public SSH RSA key. | |
# | |
# encrypt-sshpass.sh | |
# | |
PROGRAM_NAME=`basename ${0}` |