This file contains hidden or 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
def subDomain = '(?i:[a-z0-9]|[a-z0-9][-a-z0-9]*[a-z0-9])' // simple regex in single quotes | |
def topDomains = $/ | |
(?x-i : com \b # you can put whitespaces and comments | |
| edu \b # inside regex in eXtended mode | |
| biz \b | |
| in(?:t|fo) \b # backslash is not escaped | |
| mil \b # in dollar-slash strings | |
| net \b | |
| org \b | |
| [a-z][a-z] \b |
This file contains hidden or 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
#lang racket | |
(module+ test | |
(require rackunit)) | |
(define ⊕ bitwise-xor) | |
(define hex | |
(curryr number->string 16)) |
This file contains hidden or 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
HOME = . | |
RANDFILE = $ENV::HOME/.rnd | |
#################################################################### | |
[ ca ] | |
default_ca = CA_default # The default ca section | |
[ CA_default ] | |
default_days = 730 # how long to certify for |
OlderNewer