stephanie jarvis in particular, the one from kentucky – been trying for 2 years to get this money back.
“A person who lies to someone once, can lie to anyone once. A person who steals from someone once, can steal from anyone once”
I had a server with plenty of disk space, like gigs of space but was out of inodes. This is a seldom ever used server and it didn’t make any sense to me. It was used for pentesting and had a minimal install of some vulnerable apps running under nginx. Anywho, this is the command I used to find the two folders using a combined 100% of inodes:
find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
This was driving me crazy and then I figured it out … lets assume you need to edit and existing vpn connection or maybe you imported a new ovpn file and need to edit it, but you can’t because its 2020 and everything else is going wrong so what the hell. This is how to fix it ….
I write this script originally in 2014, updated it in 2015, forgot about it and needed it recently again … so its updated current to 2020. A few things about this script … I don’t recommend you just “block tor exit nodes” unless you have a good reason. Why have I used this script in the past? During DDOS attacks that seemed to be using tor addresses, to block hackers from using tor, etc. When I have blocked tor, it was only for short periods of time maybe a few hours or a day or 2. If you are under an attack via tor, the attacker can just pivot somewhere else or use some other proxied method so just keep in mind this isn’t a solve-all either.
1) get into a huge online argument with troll
2) create a free tier disposable web server online
3) set up logging to capture all the bits, but mostly x-forwarded-for
First lets define what a get-home bag is … it is the gear you need to get you home in case of an emergency (but mine is designed, outside of food and personal documents, to last me forever away from home in the event I couldn’t return to home for some reason. It is also designed that in case I do get home and for whatever reason home no longer exists, that I can survive indefinitely on the gear I have on me once I secure additional food.). Home from where? Home from wherever you are when you need it! So while reading this, think about how you travel. Do you normally drive, take a bus, a cab, uber, fly in a plane, etc?
I get asked these questions often enough that it deserves to have an actual page I can just refer to instead of retyping the same thing over and over. With all of the tornado’s this year that has affected people near me, and with many of my closest friends knowing I do a lot of things related to wilderness survival, I keep getting asked “what should I have in a kit to protect myself or my family”. So here we are … discussing exactly that.
I have a youtube channel, duh! I call it “adventures of Ed”. I have had a youtube channel since youtube practically existed. It covers a wide range of topics from infosec to gardening to self-sufficiency to living in a rural and very remote area to every day life and a lot of things about hiking (gear, trails, tips, etc). I never really ever pressed the issue of “getting subscribers” or “getting likes” because i did the entire youtube thing for fun and not a source of income. Therefore, even though I had a lot of youtube content as a content creator, I don’t rely on any advertising revenue to pay my bills, much like this website I have had for years and you won’t find a single ad on it … that means, i absorb the costs of web hosting, domain name registrations, etc.
So when youtube offered monetization on my channel (basically a share of the revenue generated by the ads they displayed), I decided I would use that money to give back to the people who watched my videos. I would just randomly add a comment in-video with some sort of trivia and then I would use a random number generator to pick a winner from those who commented with the correct answers. I never even promoted the give-a-ways because that attracts the people who simply watch 1 video on your channel ever, submit an answer and potentially win some item. I care about my listeners, so I wanted those dedicated to watching my channel to win whatever It was I was giving away that I purchased with youtubes advertising revenue.
So when youtube demonetized my channel, they didn’t hurt me … they hurt you. But the really sad thing is that youtube still injects ads into my videos that my supporters watch. And that means, I am still generating income for youtube aka Google who is too stingy to give small channel creators their fair share of that advertising revenue.
If you have worked with mysql/mariadb/galera …. sooner or later you are going to have to do a restore. Or if you are setting up a new master – slave, the size of the database can greatly affect how long it takes. mysdqldump at one time was all that was available and for it for to be accurate, you need to lock tables which can affect production environments, do the dump in another shell, record the master log and position, transfer the files to another server, import the database, change master too ….. very very very time consuming. So here is a way I have found that doesn’t lock the tables, doesn’t need to record the master log file or position, and does the dump and import in parallel greatly speeding things up.
We have all lost a hard drive at one time or another on a laptop or desktop computer and it always seems like it happens right after several weeks of not performing backups. Last year, I lost about 15 years of research on an external drive that failed. I had this system that has worked as long as I can remember where I simply swapped an external drive every two years with a new one after copying the data. What failed on me though was I became over-confident in this system and wiped out the older drives in order to make room for something else, meanwhile the current drive decided to barf after only about 6 months of usage … literally within a couple weeks of me wiping the previous drives clean. I was pretty pissed to say the least. So, lesson learned, I decided to implement a better backup plan. I wanted a way that would work and be simple. Instead of a file server and transferring data over a wire, I wanted an external drive I could plug-in and leave plugged in while working or at home or in some motel. I wanted full backups and I wanted it to be incremental to save space. This was how I accomplished these tasks …