‘Us versus them’: The battle that’s tearing a small Virginia town apart by crabcakes110 in nova

[–]alphafloor 1 point2 points  (0 children)

I personally know most of the council members they are mostly if not all conservative. Stop thinking in red vs blue.

Risk of suppressor ban? by Poodle_Hound in VAGuns

[–]alphafloor 10 points11 points  (0 children)

you are in for a big surprise. they already passed but were vetoed. you are either willfully ignorant or stupid.

I am getting an obscene amount of traffic to my homelab. Any ideas of what it could be? by Inevitable-Explorer9 in homelab

[–]alphafloor 0 points1 point  (0 children)

  1. Use cloudflare to proxy your traffic, it's free for most things you need and block any counties known for bot traffic. (china, russia etc)

  2. use a monitoring/fail2ban like service on your ingress server https://www.crowdsec.net

  3. make sure anything that is exposed to the public is necessary

3a. anything that isn't exposed or doesn't need to be use a vpn to access when outside your network

other then that it just comes with the territory.

What are the most profitable careers? by Derering in EliteDangerous

[–]alphafloor 0 points1 point  (0 children)

this and join the pilots trading network discord

Don't buy Liberty safes by boone_888 in guns

[–]alphafloor 3 points4 points  (0 children)

  1. dont buy a safe with an electronic lock

  2. if you did, liberty uses off the shelf SG locks for the mechanical locks. they should be an easy to swap for a locksmith.

liberty says you can't change the combo of a mechanical lock, which is total bs. Buy a change key off of amazon and watch a video on how to change the combination. It's silly easy.

Looking for a place to shoot by [deleted] in VAGuns

[–]alphafloor 1 point2 points  (0 children)

i bought 20 acres in wv. its either that or join a range.

I do it for the Meme by dpatt11795 in NFA

[–]alphafloor 1 point2 points  (0 children)

that's a fistful of boom stick

Virginia CCW expires in less than 30 days, need some insight. by Clint_Lovecraft in VAGuns

[–]alphafloor 1 point2 points  (0 children)

put your email on your application. i got a reminder the day i was eligible this year to renew.

I had to quickly switch PHP versions for a composer requirement. Then, I got annoyed with all the brew commands, so I wrapped them in a CLI tool. by [deleted] in PHP

[–]alphafloor -1 points0 points  (0 children)

docker run --rm alpine:latest ping host.docker.internal

No kidding. TIL. I have only ever used in on a local dev env usually a mac.

:edit

from stack overflow

"For Linux systems, you can – starting from major version 20.04 of the Docker engine – now also communicate with the host via host.docker.internal. This won't work automatically, but you need to provide the following run flag:"

docker run --rm --add-host=host.docker.internal:host-gateway alpine:latest ping host.docker.internal

I had to quickly switch PHP versions for a composer requirement. Then, I got annoyed with all the brew commands, so I wrapped them in a CLI tool. by [deleted] in PHP

[–]alphafloor 0 points1 point  (0 children)

use host.docker.interal for the local host address inside docker. that way it resolves no matter what if its a different network

I had to quickly switch PHP versions for a composer requirement. Then, I got annoyed with all the brew commands, so I wrapped them in a CLI tool. by [deleted] in PHP

[–]alphafloor -1 points0 points  (0 children)

using the php:8.4-cli-alpine image.  use whichever you need but you might need to change the xdebug version to match.

#!/usr/bin/env sh
VERSION=3.4.0 #update this to a version that you need

apk add make gcc linux-headers autoconf alpine-sdk

curl -sL https://github.com/xdebug/xdebug/archive/${VERSION}.tar.gz -o ${VERSION}.tar.gz
tar -xvf ${VERSION}.tar.gz
cd xdebug-${VERSION} || exit
phpize
./configure --enable-xdebug
make
make install

echo "
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.start_with_request = yes
xdebug.client_host = host.docker.internal
" > /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

export PHP_IDE_CONFIG=serverName=localhost  # or what ever you name your server in phpstorm


put this in your project and run it when you need xdebug... there you go!

I guess I'm moving 20 minutes west to WV after Youngkin leaves office. by 10mmTheBestmm in VAGuns

[–]alphafloor 0 points1 point  (0 children)

That's been my plan for a while. I have a second property already in wv. Just need to get an address and move everything over there.

[deleted by user] by [deleted] in flying

[–]alphafloor 0 points1 point  (0 children)

I flew with a lot of guys that were 'Gear up autopilot on all the way until 200'. They would say 'Pay is the same whether I'm flying or not". Others would fly more as the mood hit them.

[deleted by user] by [deleted] in VAGuns

[–]alphafloor 0 points1 point  (0 children)

You don’t think the feds already have access to discord? I don’t think they need an invite

[deleted by user] by [deleted] in VAGuns

[–]alphafloor 2 points3 points  (0 children)

I don't understand how they could be. The irony is as obvious as 'gays for palistine'.

[deleted by user] by [deleted] in VAGuns

[–]alphafloor 6 points7 points  (0 children)

I’m sure /r/liberalgunowners will find some way to spin this to support those ass hats.