Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
@BlackthornYugen
BlackthornYugen
Follow

John Steel BlackthornYugen

Backend Java Developer with an interest in all things security. πŸ”’

Sponsoring

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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. 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

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /