Penguincoder

joined 2 years ago
[–] Penguincoder@beehaw.org 3 points 3 hours ago (1 children)

Fedora because it's stable and effective.

[–] Penguincoder@beehaw.org 21 points 3 hours ago

Things that involve your human safety, should always fail open. What a travesty.

[–] Penguincoder@beehaw.org 9 points 1 week ago* (last edited 1 week ago) (2 children)

I am not. Wish there where a better answer. I've died three times in as many years for different reasons. This next years outlook is dwindling mine.

But thanks for asking. Doing the best I can, which is admittily not stellar and not even "OK". I exist, inefficiently.

[–] Penguincoder@beehaw.org 19 points 1 week ago (4 children)

Absolutely horrible. Keeps getting worse. But hey some good news, at least I won't be alive when the US of A finally fucking implodes on itself due to recent events. 🤬 Bigots and fascists; and this is what I served for, to 'protect'?? Fuck ya'll.

[–] Penguincoder@beehaw.org 2 points 3 weeks ago (1 children)

Apparently the wrong link. Editted now, sorry. Was the youtube playlist link.

[–] Penguincoder@beehaw.org 2 points 3 weeks ago* (last edited 3 weeks ago) (3 children)
[–] Penguincoder@beehaw.org 6 points 1 month ago

Congrats on the self improvement!

[–] Penguincoder@beehaw.org 14 points 1 month ago

Probably commented the same before but; the horrors persist, yet so do I. Everything is different and difficult. I am tired of living in interesting times. I want boring back.

[–] Penguincoder@beehaw.org 7 points 1 month ago

Some good, some more bad. But slowly regaining myself and my free time. Been too damn hectic.

[–] Penguincoder@beehaw.org 7 points 3 months ago (1 children)

I find a lot of good content on Reddit, but its different now as opposed to the early days. The good content used to be on Reddit. Now its not, its on one of 6 other sites, and Reddit is just the ad service they're posting on. I am sick of the in joke comments and inane comments like "this". I want discussion.

Reddit no longer has that.

[–] Penguincoder@beehaw.org 10 points 3 months ago

He has no idea what that word means. The word he is looking for rhymes with needy.

 

Too good NOT to share.

My brothers and sisters in Christ I want you to know that I care about your souls enough to share these truths with you:

  • You don’t need JavaScript to make a web page.
  • You don’t need JavaScript to write styles.
  • You don’t need JavaScript to make an animation.
  • You don’t need JavaScript just to show content.
 

The reporting methodology employed should yield valuable insights, spanning both technical details and high-level strategic considerations.

 

Hell of an exploit chain, really interesting to dissect.

 

For example, things you do often but not often enough to make a muscle memory? On Linux systems with Bash, I just use bash aliases. If I do it more than once, It gets an alias or a script; cause I won't remember next time. Example of my current desktop aliases :

alias fuck='sudo $(history -p \!\!)'
alias hstat='curl -o /dev/null --silent --head --write-out '\''%{http_code}\n'\'''
alias ls='ls -la --color=auto'
alias pwgen='< /dev/urandom tr -dc "_A-Z-a-z-0-9\#\+=\$" | head -c${1:-15};echo;'
alias rsync='rsync -ah --info=progress2'

And in my bashrc I have the following settings and functions which come in handy when heads down in the terminal:

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
HISTTIMEFORMAT="%Y-%m-%d %T "

####
function stopwatch() {
    local BEGIN=$(date +%s)
    echo Starting Stopwatch...

    while true; do
        local NOW=$(date +%s)
        local DIFF=$(($NOW - $BEGIN))
        local MINS=$(($DIFF / 60))
        local SECS=$(($DIFF % 60))
        local HOURS=$(($DIFF / 3600))
        local DAYS=$(($DIFF / 86400))

        printf "\r%3d Days, %02d:%02d:%02d" $DAYS $HOURS $MINS $SECS
        sleep 0.5
    done
}

function md() {
  pandoc "$1" | lynx -stdin;
}

function weather() {
  ( IFS=+; curl wttr.in/$(curl -s http://ipwho.is/ | jq .postal););
}

So what do you do to remember or recall your most used commands?

 

Deploy Golang applications to a Raspberry PI

view more: next ›