Details
-
SkillsC++, ducky script, python, bunny script,
Joined devRant on 8/14/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I would have never guessed when I my steam deck that my laptop and desktop would die the the same week my grandpa would die. An I would be tasked to make a memorial video for him. But the steam deck is truly the best console ever even does video editing better then I ever expected.4
-
I got two files one called lte and the other called fcc2. The attached image is the fcc2 file. The first file is just a list of census blocks. 15 digit number per line on the lte file.I need help changing just the lines in the fcc2 file that have the same 15 digit number at the start of the line. Just need to change 2 variables in the line. FCC2 is a TSV file. any help would be appreciated.7
-
I was given a perl script to help change ubnt airos devices passwords from the command line. I was give no instructions on how to use it and I am not use to working with perl If anyone can give me some help I would really appreciate it. Here is the code.
#!/usr/bin/perluse
FindBin qw($Bin $Script);
use WWW::Mechanize;
die "Syntax: $Script ...Changes the password on 1 or more AirOS units." unless @ARGV >= 6;
my $user = shift @ARGV;
my $op = shift @ARGV;
my $np = shift @ARGV;
my $rouser = shift @ARGV;
my $ropass = shift @ARGV;
my @addresses = @ARGV;
open L, ">>$Bin/$Script.log" or die "Unable to write to $Bin.log: $!";
sub l {
print STDERR @_;
print L @_;
}
for my $a (@addresses) {
l "Changing password on $a\n";
my $mech = WWW::Mechanize->new();
my $entry;
my $start = "http://$a/login.cgi?uri=/system.cgi";
$mech->get($start);
$mech->field('username',$user);
$mech->field('password',$op);
$response = $mech->submit();
# to get login cookie
if (!$response->is_success) {
l $response->status_line, "\n";
}
$mech->get(qq|http://$a/system.cgi|);
$mech->field('NewPassword',$np);
$mech->field('NewPassword2',$np);
$mech->field('OldPassword',$op);
$mech->field('ro_status', "enabled");
$mech->field('rousername', $rouser);
$mech->field('roPassword', $ropass);
$mech->field('hasRoPassword', "true");
$mech->click_button(name => "change");
$response = $mech->submit();
if (!$response->is_success) {
l $response->status_line, "\n";
}
$response = $mech->get(qq|http://$a/apply.cgi|);
if (!$response->is_success) {
l $response->status_line, "\n";
}
}close L;
exit 0;8 -
It's 11 pm. I'm almost drunk and I have realized I have spent too much of my life learning. I have spent too much time working. I may only be 25 but I still am dedicating up to 100+ hours a week to my job and it needs to stop. It has only left me sad alone and drunk. I hope others on here try to have some social life because sitting here drunk and lonely sucks. Maybe I shouldn't be so picky. Who knows. Enjoy life when you can.10
-
Building two virtual servers with an amd eypc 7401p 24 core CPU and 64 gb of ram a freenas server to run the 911 software and jail management software for the local sheriff's office. Oh and they are all connected at 10gb.1
-
So I spent over 200 hours recovering a raid array because the the business that hired the company I work for tried to do all the work in house. Now I'm to the point of trying to quote a new server setup to the company because the last one got hit by lightning. My quote $8000-$20000 in just hardware alone. If im going to do this I want to do it right. Twin servers running xenserver holding virtual machines with a high-quality Nas to hold the virtual machine. Then have the vm's being imaged to two off site backup devices in two different locations and a cloud backup. My boss comes in after me talks to the guy in charge and tells him all that is needed is one server holding all storage on it just like the last server that died and one off-site backup for $4500. How stupid can someone be who has been doing this for over 20 years? Oh btw the software running on this server will be 911 dispatch, jail records and the database for fine payments. The sheriff making the final call me and my boss are meeting with him tomorrow if my boss tries to undercut me I'm going to tell them both that if the same shit happens next time they can spend the time themselves trying to recover stuff because I done the over 200 hours in just short of two weeks.11
-
The worst people are the ones who play it off like they know what they are doing. You read a few things online cool. That don't mean you need to set up a mission critical server. Why would you take 2 ssds put them in raid 1 then partition it for c, e, and d drive then set a backup to image c partition to d?2
-
Backups is the most important thing, but there is something more important then that. Making sure your actually backing up the files your paying to back up. Now im stuck waiting on 4 2tb drives in raid 6 connected over sata 2 to be recovered because a raid card failed but the drives are still good. Estimated time over 3 days.15
-
Sort "insert file name here" | uniq -c outputs the same file in a bash script but in a command it works. Any ideas?6
-
Trying to compare two files line by line to see if a signal has increased by 5 dbm or more in bash is hurting my brain. I probably need to switch from bash for it but so much of the other jobs this script does is fully functional in bash I'd hate to switch now. Any advice please help.4
-
Thin client server side software. What have you experienced and what worked? Main software used is a web browser. But some require office.11
-
Currently work at frontier. Two job offers one at keystone the other at dk cannot decide so ran it through decision craft and the results are so close. How you normally pick which job to take. Any methods welcomed to be discussed.4
-
If you apply for a job advertising 35,000-45,000 and get offered 26,000 how would you handle it? If you meet the requirements and pass there test.15
-
That wonderful feeling when you modify a piece of code that you worked hard to get it down to run in 3 minutes flat take 8 minutes when you add a little fault tolerance to it 😑5
-
Working with python been banging my head for 2 days and keep getting this error. Tried fixed on Google but not one has worked.26
-
Json + python is hell. I've been working on the past few days to pull key information out of json files with python and it would with some json files but not others.2
-
Why would you post your code on GitHub and charge to use it. I'm not using your servers your not providing me any service I need but you still expect me to pay for open source code you posted yourself. What is going through your mind. To come up with that business plan7
-
You know it's a shitty day at work when it's only 11 and you have been shit face drunk since 8:30.5
-
You know it's a damn good day at work when you show up and they tell you to go break into the sheriff's department computers.1
-
A client of mine kept getting hit with a ransomware that was spread over rdp. So I set aside this whole week going to different sites this guy owns. Setting up a VPN tunnel and showing them how to use it. So they didn't have to rdp anymore. No more having a server with rdp facing on the outside of there network. They were all linked in like they were in the same office. I traveled around 400 miles going to all these locations. I finally got it done went back to the main office to talk to the owner. Instead of a thank first thing they say as soon as I walk in is to revert it all. We are going with a different company and they are buying new computers and server from the other company. After he tells me that he then says but when the new computers come in will you come and set them up for us because we are stupid with computers.
I reverted the stuff and walked out. Didn't say a word to him. Didn't agree to set up the new computers. Why should I set them up. He just pretty much bent me over and screwed me out of a extra couple thousand dollars.3 -
If I can't leave you alone for 5 minutes with a PC without you breaking the whole operating system you shouldn't be using one.3
-
Decided to open htop in another terminal window while running a small python script on my works server.6
-
I was born in 94. But my first experience was with a old beige color PC running Windows XP playing pinball 3d with the vortex wall paper and 8 year old me spent time installing rocket dock on it and tried remaking pong.
-
I'm looking for a good 10 inch laptop to run Linux. Standard size keyboard. I'd prefer atleast 4gb of ram and a quad core. Any recommendations?11