Skip to content
View BlackthornYugen's full-sized avatar

Sponsoring

@simonw
@felipecrs
@SlimeVR
@helloanoop

Organizations

@SeaSharpe @mongo-express

Block or report BlackthornYugen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. smarthome-local smarthome-local Public

    Forked from google-home/smarthome-local

    JavaScript

  2. Generate a few passwords for haproxy... Generate a few passwords for haproxy (or other things that use unix style passwords)
    1
    #!/usr/bin/env bash
    2
    # Need a recent openssl to use -6 option (sha512). Either update openssl or change to -1 or similar if it doesn't work
    3
    shuf -n30 /usr/share/dict/words | tr '\n' ' ' | fold -s -w 48  | tr ' ' ';' | openssl passwd -6 -noverify -table -stdin
    4
    # Example Output:
    5
    #carrotwood;sacerdotalist;unfallible;homeliness;	$6$xGj40hGX9L0NyToC$hqPn25jIFzS2vzfEVpsmzbDe3XeXtUkTJPHKBO7SI6FTkub4gqUWq5dpB8wfqkEoQClTmWkuiuN8K8eYIcfXL1
  3. Use yq, jq, and dig +yaml to resolve... Use yq, jq, and dig +yaml to resolve a bunch of domains with nice output.
    1
    # Make a neato jq filter that just gives us question and answer sections.
    2
    JQ_FILTER='.[].message.response_message_data | [.QUESTION_SECTION[], ( .ANSWER_SECTION[]? | split(" ")[-1])]'
    3
    
                  
    4
    # What are my name servers for each of these? 
    5
    for domain in jskw jsteel jsteelkw ; do for tld in ca dev ; do dig ${domain}.${tld} +yaml -tns | yq $JQ_FILTER  ; done ; done # SHOW NS
  4. Send email if a server isn't using t... Send email if a server isn't using the latest certificate.
    1
    #!/usr/bin/env bash
    2
    set -e
    3
    
                  
    4
    DAYS_BEFORE_EMAIL=21
    5
    TO_ADDR="Joe <joe@example.com>"
  5. advent-of-code-solved advent-of-code-solved Public

    My solutions to the advent of code puzzles

    Roff 1