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
Search - "sed"
-
I thought it would be good prank change semicolons to Greek question mark in my boss' code where his delivery date is today. I thought he will spend like at least few minutes figuring it out.
He ran make, immediately figured it out and even corrected with sed only. Then yawned and looked at me with a smirk. Now I am getting paranoid what he will do as revenge46 -
So this guy passed large objects as function arguments directly instead of referencing. What a jackass. So the program was slow as fuck AND taking up too much memory.
So yeah, I'm basically ranting about myself.2 -
I just did git branch in someone's repo and got this ..
master
master_backup
master_bckp
master1
master_aug17
I'm armed and ready .. !!
😐😑😐😱😩😡9 -
What is the point of having a progress bar if ..
beginning
0 %
after ~2hrs
0%
next minute:
~~~~~~~~~~~~~~ 100 %
installation complete
??6 -
Yes ! It's working !
Wait.. hang on..
This is too simple..
I definitely must've done some blunder that's staring me in the face..
Spends countless hours trying to find it.. breaking it a couple of times in the process..
Okay.. It's cool. It's correct. No blunders.2 -
Our Web Technology professor taught us this in the year 2016, he said and I quote,
"HTML frames are the latest technologies in the www and are supported by new generation browsers only, for example Netscape navigator."14 -
My girlfriend keeps getting review requests from restaurants we visited.
Then there's a list of all the visited ones on her phone.
Location services is off.
Fucking annoying.
Google sucks.
Absolutely no respect for privacy.
None whatsoever.
Privacy is a myth.
😡😡😡😡😡😡😡22 -
I fucking hate Apple products now.
iPhone 5s time was Apple's prime.
Now it's just a company living off the momentum of its old products.
iPhone X.. really ? the notch ?7 -
(Qt + OpenGL) didn't piss me off for a whole week..
My point clouds are rendering great..
I guess I could speed it up a little bit..
I'm doing good..
So yeah..
no rant..2 -
I need to render point clouds in OpenGL for a project I'm working on. The problem is it just becomes too damn slow when the point cloud size increases. So I'm trying to use LOD methods and nested octrees to speed things up. Also, I need to render text too in my OpenGL scene. So now I'm stuck trying to show proper labels using Qt and OpenGL which is completely pissing me off by the way. And I'm not doing the actual speeding up thing I was working on earlier on and before that I was working on the actual function of my program. So I'm now deviated from the deviation.
Fuck my brain.5 -
#define f fuck
I think it's time to fing start carrying my fing phone around in a fing metal box !
f Google !
f it again !2 -
When the deadline gets extended from 12:00 AM to 9:00 AM, night out is fucking expected ! Fuck them till morning ! FUCK !3
-
I downloaded the Visual Studio Installer.
It actually turned out to be the Visual Studio Installer Installer.6 -
Don't care if you're the best fucking dev in the world.
If you don't respect time, I don't respect you.8 -
I fucking hate it when I'm working and people come and ask 'What are you doing ?' .. Even if they mean well ..
I'd be happy to show them and explain the hell out about finished product though .. !1 -
I just had to post this ...
What the fueoiauooieaoouck ?
What the flip does greater than infinity mean ?10 -
Code works.
I'm happy.
Maybe she's happy.
Code doesn't work.
I look frustrated.
She's definitely not happy.3 -
Sometimes in my company, I just want to shout "Java is shit". But I am afraid my coworkers will beat me, because they all seem to love Java. 😅17
-
!dev
I am such an idiot. I met this girl today (this is so so incredibly rare) and we got off to a nice start. We had things in common and our conversation was going quite well. She mentioned she was going for a walk in the park and told me I was welcome to join. And me... the idiot.. I had no plans for the evening... absolutely nothing else to do.... I told her I had to go catch up on some work and maybe another time and I just up and left with a “Bye”.. with a stupid smile on my stupid face.
Some history: I had a horrible break-up a while back and since then, I’ve been having difficulties meeting people.. let alone have a relationship. I started freaking out at the mere thought of getting close to someone. I keep thinking about how to keep people away and not get too close to anyone (not physically).19 -
When I'm coding, I often come up with some cool algos and when I do, I feel pretty good.
But the next second, I get this feeling that I know there are a million other people in the world who have solved the same problem with the same or better algorithm and I feel like shit. Like all the work I put in is somehow redundant.
Like finding answers on StackOverflow... When you do, you know the person who answered has already done it. You're just repeating it. But again, the fact that I'm looking for answers from other people in the first place is ....
I don't know. I guess I need to change the way I code from now on....4 -
Have a meeting at 10 AM.
It's 2:25 AM now.
Can't sleep but also don't want to sleep for an insufficient amount of time.
So I'm going to stay awake till 10 AM.
I don't like meetings.3 -
No no no.
This newbie pings me for every thing !
It's fucking annoying !
And I'm annoyed with myself for still being nice !
I don't know if he's ever heard of searching for a solution online for even the most trivial problems !
He's not even aware of restarting something !
I have to tell him to do that !
He doesn't even read the help information for commands !
Why why why.23 -
So this guy was struggling using grep everywhere for navigating C source code. What a douche. Told him about ctags. Made my life easier.1
-
I just fixed a wireless driver issue on my friend's HP laptop. I had to download driver source separately and build it and install it..
Bloody RT3290.. Turns out the WiFi doesn't work by default on laptops with this chip and Ubuntu 16** -
I fucking hate it when people completely ignore/forget something I say and then later say the same thing like they came up with it.13
-
Sorry. I don’t give out free tips.
These are the available packages:
TipsPack Basic (9.99$): 5 tips to increase your productivity 2 fold.
1 ad between every tip.
TipsPack Premium (17.99$): 20 tips + 1 bonus tip for 10x productivity. 2 ads.
One bug fix free when you purchase either pack.7 -
I'm almost an introvert. I don't like talking to people much. I prefer to listen. Today one of the graduating seniors told me I should talk to people more. But I've been doing fine so far without talking to more people.12
-
I've become a night worker. To put it mildly, it's become mildly annoying. I start studying/writing code at night and before I know it, it's morning. I can't seem to stop. I then end up feeling weak and sleepy during the day when I need to be awake. If I'm lucky, I get a few hours of sleep during the day. And then at night, it happens all over again. I need to fix this.7
-
Our professor once asked us to 'mess up' the functionality of a PHP script with one shell command for fun. People tried different things like occupying the port, messing with access rights etc.
My friend just wrote a 'sed' command to replace all the underscores with an empty space...😂
It goes without saying that he stole the show.2 -
I did a job interview recently for a company and the test was something like this.
In ruby, write a web server that will serve a specific line number from a text file.
I thought up a simple solution and a more advanced solution, but I opted to go with the simple solution and submit my work quickly. I made a nice web server with tests and everything and it used the sed command to get the line number from the file.
Now, they had various instructions, like it had to perform. They asked how it'd perform with 10G, 100G files. I thought "Eh... it'll be alright."
The solution they were looking for was the "advanced" solution that I thought up, which involved storing a binary file of 32/64 bit integers that reference the byte-offset of the line they're looking for. Basically a binary index file.
This violates all of my sensibilities, because I would never build a database indexer like this using ruby, of all things.
I thought it was a stupid test, and how do these companies honestly expect me to spend hours coding and then tell me I didn't go far enough? It's unethical.
I actually followed-up with the "advanced" solution a couple hours after hearing I was out, just to show them that their process is flawed.2 -
Reading 3GPP standards is so painful. I download a document to read it. A month or so later, an updated version is out. I need to download it again. It's so annoying to keep checking. I guess I'll have to write yet another script for yet another fucking problem.
The documents themselves are not that good too. My work would be a lot easier if there is a web interface for the standards.3 -
It's bloody 2019 and the navigation bars on smartphones are still on top. There's no denying that Windows phones did get some things right. I miss them.18
-
In a new country and in isolation.
Laptop out of charge. Plug converter broke so cannot connect my laptop to power.
Ordered one. Need to wait one whole day for it to arrive.
Perfect gloomy weather to just reflect my mood.
Not even allowed to go out for a walk.
Wrote down some pseudo on paper so I don’t forget.
Only to realise there was a problem with it.
So I rewrote it correctly.
Now just waiting.6 -
I can't breathe good air anymore. Water is being wasted. Fossil fuels are being wasted. Unnecessarily high number of vehicles on roads and most them have fucking one person sitting in them. They take out a fucking vehicle for fucking 200m. People throw trash everywhere without any regard for cleanliness. Prices are going up. Inefficient shit pieces exist in the market and people buy that shit. The world is going to hell. I hope I die soon enough to not know that is has.26
-
The company I work for is currently maintaining some websites under an old (>1.5 years) version of Drupal, which has some well known vulnerabilities.
Yesterday we've found out somebody used them to inject php code into every single .php file on the machine. We've been discussing for hours about how to recover data, upgrade stuff, and maybe switch to something else. I've said jokingly "or we could put a find command in the crontab to sed away the php line they've injected!". Guess what we're doing now on our production servers?7 -
I learnt my college junior some coding and development, and we became best friends.
Later I asked her out, and now we are not talking after that. 😅10 -
As a computer scientist I lie sometimes about my mojor to avoid any question related to computers...9
-
Today I had to tolerate hearing the word ‘actually’ between every pair of words in a one hour seminar. Man I don’t think I can take anymore sessions from that guy. I wanted to scratch out my grey matter.8
-
" I wish to have a job where I can sit all day and still have a salary " said the 9 years old me not really considering the consequences. 11 years old later, here I am with *a dream come true* along with a constantly killing back and knees pain at my 20's writing some java codes.4
-
Girl: What major are you studying?
Me: Computer Science.
Girl: Cool. Can you hack my boyfriend's Facebook, I think he's cheating on me.
Me: Go to hell. 😡4 -
Finished the hacktober fest yesterday.. fastest 5 PRs I've ever made on my repos, I actually forgot to sign up at the beginning of the month.. I pity those who are following me.9
-
I loved her from the beginning.
I devoted so much of my time to her. She told me her heart doesn't point to anyone. Yet I tried to reach her.
Everytime I ask her what's wrong, she gives me the same answer. I tried to be different. I changed things. Yet she said the same thing again today: "Segmentation fault (core dumped)"4 -
When I saw the U-Boot prompt on the console of a system that we'd developed from scratch all from openly available documentation. When the board was fabricated and brought in for software bring up, it was basically less useful than a brick. It felt awesome giving life to it. We had to configure it and calibrate it. It's extra challenging when you have a lot of analog circuits. Yeah so we didn't win 'against' anyone but that victory stands for itself.1
-
These bloody form designers.
I was filling in this form earlier and there were some fields which were not marked mandatory so I didn’t fill them in (because why should I ?)
And then later, I received a dozen automated e-mails one for each non-mandatory field I did not fill asking me to provide them that information.3 -
A month ago. The code for a feature was removed because my boss thought it would not be required. When that was done, a lot of regression testing was done and a lot of code was changed all over the code base. And those changes were merged to main branch along with a bunch of other changes.
But now, he wants me to put that feature back just as the release date is approaching. It's just a humongous waste of time. Now I need to find where all the tentacles of that bloody feature reach and manually put back the code. And the bloody testing needs to be done all over again.
When will I get to stop dealing with these kind of people.7 -
Not learning data structures and algorithms. Not learning programming languages. Actually not learning anything to answer during a job interview.
I am more of a learn-while-you-do kind of guy. I never learn anything, instead just do it. Interviewers think I am useless because I know nothing. But I can get a job done, any kind of job done. I have no learning period, I can start working from first day in a all new language, in a all new IDE, in a all new OS.
I know nothing, and I learn nothing. I am a problem solver. You got a problem, I can solve it.6 -
When you see what worked for someone else with a similar issue on GitHub and run it.
Trust me, I hope I know what I'm doing too.1 -
As a fellow devRant user, what is it you primarily look for in this app ?
0. Some place to rant
1. Dev jokes/memes
2. Observer. devNews.
3. devProjects
4. Here because you don't like being in the presence of people but want to socialise anyway.
5. Finding your partner in life.29 -
I've finished all my work. The Dev life is definitely for me. I love being a Dev. I am going to continue being a Dev. Ignore my previous rant.12
-
I’m writing funky code. I hope no one notices.
For instance, I needed to add a function which returns whatever is input to it.16 -
Too much math ? Seriously ? Had you made the effort to atleast 'look' at them, you would see how simple they are. And just because I use the word 'equation' does not automatically make it a Volterra Integral Equation.
Could've discussed the subject at hand. But no, let's bring on the judgement. Who wants to ever discuss the subject ?4 -
How could I only name one favorite dev tool? There are a *lot* I could not live without anymore.
# httpie
I have to talk to external API a lot and curl is painful to use. HTTPie is super human friendly and helps bootstrapping or testing calls to unknown endpoints.
https://httpie.org/
# jq
grep|sed|awk for for json documents. So powerful, so handy. I have to google the specific syntax a lot, but when you have it working, it works like a charm.
https://stedolan.github.io/jq/
# ag-silversearcher
Finding strings in projects has never been easier. It's fast, it has meaningful defaults (no results from vendors and .git directories) and powerful options.
https://github.com/ggreer/...
# git
Lifesaver. Nough said.
And tweak your command line to show the current branch and git to have tab-completion.
# Jetbrains flavored IDE
No matter if the flavor is phpstorm, intellij, webstorm or pycharm, these IDE are really worth their money and have saved me so much time and keystrokes, it's totally awesome. It also has an amazing plugin ecosystem, I adore the symfony and vim-idea plugin.
# vim
Strong learning curve, it really pays off in the end and I still consider myself novice user.
# vimium
Chrome plugin to browse the web with vi keybindings.
https://github.com/philc/vimium
# bash completion
Enable it. Tab-increase your productivity.
# Docker / docker-compose
Even if you aren't pushing docker images to production, having a dockerfile re-creating the live server is such an ease to setup and bootstrapping the development process has been a joy in the process. Virtual machines are slow and take away lot of space. If you can, use alpine-based images as a starting point, reuse the offical one on dockerhub for common applications, and keep them simple.
# ...
I will post this now and then regret not naming all the tools I didn't mention. -
"Intense coding. A day passes. Wait, how the fuck did my code work? It doesn't make any sense!"
It happens so, so often, God why 😐1 -
Let me make this clear.. overusing ξ, ζ and ς in your equations or formulae does not(!!) make you smart!5
-
I am feeling lonely and depressed. Don't feel like to code. I am introvert, don't have friends. Idk what to do. 😫10
-
Ideas for a strong password:
- a regex matching my laptop's LAN IP address
- a sed command to enable X11 forwarding in sshd_config
- a shell oneliner extracting all the IP addresses from ifconfig / ip a sh
- an awk command to print processes in D state
-
Chip in!15 -
Fucking retards littering my code review.
I had posted some important questions in my comment (essential in order for the code review to move forward) and this asshole posted some stupid out of context meta crap comments no way related to the subject of the review pushing my questions out to the point that a lot of scrolling is needed to see them. Now I need to get everyone’s attention back to the point that matters. Why does this happen to me ? This actually happens quite a lot with other forums as well. Trash mouths going off topic.6 -
Master/Slave
Fuck you guys. Honestly most of the rants i've read concerning python and their abolishme t of sait terms where fucking butthurt. "What virgin suggested this", "people shouldn't be offended, it's just a name" and so on.
I do agree with every one saying a name shouldn't matter (readability is a different story! However parent/child or producer/consumer IMHO preserve that). So why are you fucking offended when it is changed to parent/child or produver/consumer? Does it affect you in any way? You know there's the `sed` command, plus IntelliJ (and most other IDEs) have a quite good support for renaming/refactoring stuff.
By reacting this way, by beeing offended all you do is proving the point. Words can offend people. I personally don't care how it's called. So far I always used master/slave and didn't think twice about it. But then again if someone of my coworkers or friends would feel threatened by these words, I try to avoid them. Naming diesn't matter to me, nor the compiler. So fuck, if it makes people happy or feeling save then lets change it.
What the fuck do you gain by sticking to those terms anyways?18 -
If i had a dollar for each time I promised myself to actually work, I wouldn't have to work for the rest of my life...3
-
Ran a sed find and replace function on project-folder/* instead of targeting a specific file extension. Fun Fact: sed replace will find those character combinations in image files, too. The site looked like you were on mushrooms. Thank goodness for git1
-
Started working as a developer about 2 months ago and on the first day of of work I was tought how to make coffee.
I couldn't understand why is coffee so important to the everyone in the company. I didn't drink the coffee for the first 2 week.
Now after many sleepless nights spent coding i then realise why the people worship the drink so much.
People get very pissed when they go to coffee machine and find that there is no coffee then the last person to have a cup is going to be shouted at and at times even get insulted.
Now coffee is my fuel and cant do much without it.6 -
In only I were 1.15 times faster or had better planning (why didn’t I use the Saturday Sunday at the end of the first week 🤦🏼♂️), things would’ve happened differently. I think I’m becoming stupid and my tolerance levels are going down too.
So this happened a while back ..
I was given a code base which didn’t have any changes in the last two years and I was asked to add a feature to this. This was my first task in this new group I was part of. I had two weeks to do this starting on a Monday.
Partway through implementation I realised that the code base is a pile of shit and I wasn’t doing myself or anyone else any favours by shitting on it.
It’s Wednesday. I’ve dealt with many other codebases before but the urge to rewrite this particular one was just unlike anything else. And so I started changing code and before I realised, I modified almost all the important files.
I got sick of this mixed up code and started a rewrite from scratch. It was Friday and I finally had just the basic mechanics of the whole thing working. Now I needed to add all the functionalities and also my new feature.
It should be noted that at no point did I tell any of the superiors I was doing this fearing what they might say and also fearing going back to adding shit to shit.
By the end of the second week, the rewrite was complete and I only had the new feature to add. The rewrite was significantly smaller, compartmentalised and well commented because I did the bloody commenting (where it was not obvious from the code). So on Friday, I was asked about the progress and I told them that it needed some more work and that I need a couple more days. And I got shit for it. I was told it was a mistake giving this task to me and that I am not competent enough. One of the superiors told the other superior about perhaps giving me something more suited to my level. To be fair to them, they were expecting the work in the two weeks to be for the new feature.
And in two days’ time, on Monday (I worked on Saturday and half of Sunday), I finished the whole thing and gave it to them. New feature was working. And I still did not tell them what I did. The tool worked fine so they had no idea what happened because this project had no version control and I pointed them to a new directory with the new code with a first commit.3 -
I’m already irritated by all the unwanted stimulus. I don’t need search engines, websites or whatever that fuck showing me stuff I did not ask for. It’s really distracting and makes it hard to focus on one thing. I’m trying to adjust to a lifestyle like this but it’s bloody difficult in this day and age.3
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed velit a lorem vehicula ultricies. Phasellus in dui fringilla, mattis felis quis, bibendum nulla. Nunc egestas elementum risus, eu vulputate nibh posuere ut. In eget fermentum metus. Aliquam in ex et purus posuere laoreet nec at urna. Vivamus neque augue, porta id risus id, maximus dictum ligula. Morbi semper tellus est, ut congue turpis fermentum eu. Etiam ornare nec tellus nec ornare. Quisque vestibulum, sem nec luctus imperdiet, nunc ex consectetur elit, in dapibus nisi quam eget ipsum. Curabitur enim tortor, blandit non nulla sit amet, suscipit maximus lorem. Aliquam erat volutpat. Vivamus bibendum sodales ornare.15
-
I find it weird that for C floats, -0<+0 is not true. Had to write a little bit of extra code to enforce this.
-0 could represent an incrementally small number below zero but greater than the next lower quantisation level.4 -
If it crashes, it's linux :/
Even the OS installation crashes, they call it stable release with LTS.11 -
Started my new job as a devops engineer, its been al month and i have never seen the seen of aws console or travis ci, dont even have credentials for any company cloud services.
I guess i should change my job title to backend dev1 -
Man, people have the weirdest fetishes for using the most unreadable acrobatic shell garbage you have ever seen.
Some StackOverflow answers are hilarious, like the question could be something like "how do I capture regex groups and put them in a variable array?".
The answer would be some multiline command using every goddamn character possible, no indentation, no spaces to make sense of the pieces.
Regex in unix is an unholy mess. You have sed (with its modes), awk, grep (and grep -P), egrep.
I'll take js regex anytime of the day.
And everytime you need to do one simple single goddamn thing, each time it's a different broken ass syntax.
The resulting command that you end up picking is something that you'll probably forget in the next hour.
I like a good challenge, but readability is important too.
Or maybe I have very rudimentary shell skills.5 -
TIL:
- AWK was based on egrep, and the idea was borrowed from sed - an extended sed of sorts
- My cat really loves green onions. She's chewing on her third as I write this.
What an interesting day, full of curious discoveries.
/random1 -
The `sed` command skills of my senior dev (team lead) is equal to every skill I (junior dev) have ever acquired until now as a programmer.
Just amazing !1 -
So when code is badly written, more corner cases are unnecessarily introduced. And it’s sometimes tricky to find the corner cases and probably messy to fix the corner cases.
And so the code grows in size as a result. And when these fixes to the corner cases are not well done, they introduce more corner cases.
So what results is a large collection of corner cases. Only corner cases remain when this goes on for a while.
Because of this, every new feature can be effectively translated to a collection of corner cases to be implemented.
As corners grow, triangles become circles and tetrahedrons become spheres.
I live in such a sphere.8 -
Why !?! Why would you design your web page in such a way that as images load, I have to play a scrolling game to try and read the shit !?!11
-
Why am I a rockstar today? So glad you asked! I used "sed" without having to look at the manual. 12 files updated, 10 minutes saved... that's some good time to devRant if you ask me.4
-
I can’t even wait for my copy of Leviathan Falls to arrive. I’m so tempted to read the All Spoilers thread on Reddit. Aaaaaaaaaaaaa! C’mon... you can do this. Just a couple more days.6
-
If your “solution” fixes the test case which is failing, it does NOT guarantee that it is the correct fix. You don’t just blindly change whatever piece of code you like to make just the test case pass. You actually also need to analyse the code and ensure that the rest of the intended functionality is still intact.3
-
This is a story of how I did a hard thing in bash:
I need to extract all files with extension .nco from a disk. I don't want to use the GUI (which only works on windows). And I don't want to install any new programs. NCO files are basically like zip files.
Problem 1: The file headers (or something) is broken and 7zip (7z) can only extract it if has .zip extension
Problem 2: find command gives me relative to the disk path and starts with . (a dot)
Solution: Use sed to delete dot. Use sed to convert to full path. Save to file. Load lines from file and for each one, cp to ~/Desktop/file.zip then && 7z e ~/Desktop/file.zip -oOutputDir (Extract file to OutputDir).
Problem 3: Most filenames contain a whitespace. cp doesn't work when given the path wrapped in quotes.
Patch: Use bash parameter substitution to change whitespace to \whitespace.
(Note: I found it easier to apply sed one after another than to put it all in one command)
Why the fuck would anyone compress 345 images into their own archive used by an uncommon windows-only paid back-up tool?
Little me (12 years old) knowing nothing about compression or backup or common software decided to use the already installed shitty program.
This is a big deal for me because it's really the first time I string so many cool commands to achieve desired results in bash (been using Ubuntu for half a year now). Funny thing is the images uncompressed are 4.7GB and the raw files are about 1.4GB so I would have been better off not doing anything at all.
Full command:
find -type f -name "*.nco" |
sed 's/\(^./\)/\1/' |
sed 's/.*/\/media\/mitiko\/2011-2014_1&/' > unescaped-paths.txt
cat unescaped-paths.txt | while read line; do echo "${line// /\\ }" >> escaped-paths.txt; done
rm unescaped-paths.txt
cat escaped-paths.txt | while read line; do (echo "$line" | grep -Eq .*[^db].nco) && echo "$line" >> paths.txt; done
rm escaped-paths.txt
cat paths.txt | while read line; do cp $line ~/Desktop/file.zip && 7z e ~/Desktop/file.zip -oImages >/dev/null; done3 -
Trying to develop Java applications in Windows...
sed s/Java applications/anything/g
'sed' is not recognized as internal or external command, operable program or batch file
*sigh*3 -
Cleaning up after yourself if so damn important. Even your git repos:
# always be pruning
git fetch -p
# delete your merged branches
git branch --merged | grep -v master | xargs -n 1 git branch -d
# purge remote branches that are merged
git branch -r --merged | grep -v master | sed 's/origin\///' | xargs -n 1 git push --delete origin -
How it started:
Need to replace in a lot of SQL files certain stuff...
find . -type f -iname '*.sql' -exec sed -i 's|new|old|g' {} \;
12 hours later that find executed a shell script containing roughly 120 lines of text pipelining.
The jolly of inconsistent workflows.
Different SQL format stylings... Makes fun when single line string replace needs to be extended to multiline RegEx handling. Or matching SQL comment configuration..
Different line endings. MacOS, Windows, Unix, Bukkake.
Different charsets / collations. Anyone wants latin1_swedish_ci... utf8... utf16... :/
Realizing some people even left sensitive data inside the SQL files (e.g. API Tokens..... Yayyyyyyy).
...
Ugh. It's never a one liner. It's never easy. -.-
I hate cleaning up messy shit.3 -
Didn't even ask for 2 sets, the devRant team is just awesome! Thanks!
On and @localhost, it seems like people are sending their setup, so here's my student one :)1 -
Companies writing a documentation for their cloud api is similar to the 4 year old kid who draws up something and brings it to us... Either ways all we can understand from it is... Nothing.
-
- scripting some unix helpu script
- searching google and stackoverflow for simple solutions:
"Just use 'sed --akeib )-£?"/'/#'. Can't you read man pages ffs?"
"Dude, awk is totally the thing you want to use for this kinda thing!"
"Honestly, have you ever heard of perl?"4 -
Create DB connection file in every other place and writing password in all those connection files. 😒👿
Then using grep and sed like a pro to change passwords in one go. 🤷
Scratching their heads as to why the script says DB connection error.... After an hour or so; finding out that the password contains '@' sign it was under double quotes. 🤦 -
I am pretty sure that I am not the only one who is lazy as Fuck most of the time but when I sit to code I write enough snippets that can be combined to form Baxter building.3
-
I am working on my personal resume website (with a lot of css and jQuery).
Two days ago, I got a job offer, so I started preparing for the interviews, leaving the website aside.
Then, yesterday that company turned me down. So, I left the interview preps and started working on website again.
Then, today there is another job opening and I am now again preparing for interviews, keeping the website on a pause again.
Also, I have my internal exams coming up this weekend.
I don't know what should I do. Idk what I am doing. 😥😥7 -
Earlier I used to help my college batch mates and juniors in coding and development stuff. Sometimes I used to do some projects with them myself to help them learn. Sometimes I used to go beyond limits to debug their errors, even spending hours with them physically or through TeamViewer.
But now I have realised that I had been no more than just stackoverflow.com to them. They just call me when they need me and don't even care about me as a friend.
So that's it. Now I have stopped helping such people. I don't care if that's rude or arrogant. I just don't want to do this. If they still are a friend, well and good otherwise they can leave. I don't care anymore. -
I might not be the only one who writes a complex ass code to do some task and when it's done I feel like a spartan and then I find out that a library was already there for it. Me 0 Internet 1
-
That moment when all of your code has reached to max distortion in format and you forget the shortcut to format the code again.1
-
What's that? You committed the tmp/dist/cache field for something only YOU run locally and asked me to review it. Just GET OUT.1
-
Ugh! Anyone also finds it incredibly annoying that regex notations can change between programs? And I don't mean like PCRE vs jS, those are functional differences.
I mean like... In sed, I always spend trying out all possible combos of backspacing when dealing with special notations like quantifiers {}, sets [], match groups () and so on!
Why can't it be just so that backslash anything = character literal, and not the functional counterpart.
Or at least stick to either one of the options, not like sed, where matchgroup is \(\), quantifier \{\} but a set is just []
Also wish sed supported reluctant quantifier (*?), having to use negative character set matching makes it much less readable...3 -
I just finished my second semester of computer programming. I then say to myself : "Let's use my new knowledge to make the program I worked on for fun two years ago better and more efficient!".
It was a bad idea. -
Please be gentle, first rant. :)
Can you please provide me with literature recommendations:
1. Books about software architeccture, design patterns and best practices in general.
2. "Relaxation" books related to developer's life experiences, something like "The Phoenix Project" (https://amazon.com/Phoenix-Project-...). I really enjoyed that. :)
I am aware that this is not best use of rants, but I would really like to hear this community recommendations. Thanks in advance. :)9 -
I was preparing a resume for an internship,I just realized i have nothing to mention in extra curricular activities.Apart from coding i only watch football and tv series and that doesn't count.1
-
Is there a better CLI tool for finding/replacing stuff in files recursively? Other than like..
sed -i '' '/some/nonsense/g'7 -
Made this one-liner today:
hostname $(curl nsanamegenerator.com | grep body | sed -e 's/<.*;//g' | sed -e 's/<.*>//g')
and added it to my laptop's crontab...4 -
So I was installing ubuntu alongside windows in dual boot.
The installer had some problems while partitioning the disk, so I did it manually using GParted. Then the installer had some problems while installing GRUB.
Now I got to know that my windows partition has been corrupted and ubuntu isn't installing.
My fully functional laptop is now reduced to metal crap with no OS being able to boot. Fuck Ubunu. Fuck Linux. -_-4 -
Is learning VIM worth it?
I have some (probably unjustified) prejudices to it - I find it rather visually unattractive. But it seems to me also that it boosts productivity.
So do you recommend it and what is least painful way to learn it?5 -
Other build tools:
Here is a plugin, use it . Be done.
Scala Build Tool aka SBT:
Build your own plugin.
Everything is scala...
You can create by the way funny endless loops when using the wrong syntax - yet it might compile successfully. And then when you load the plugin, it works. Till it is evaluated - lazy evaluation for the fun.
Error messages are at best cryptic.
*If* you manage to get a working plugin and *if* it runs...
Surprise. Surprise.
You might need to parse the log output of SBT.
Another funny surprise: Log output isn't configurable. You can configure the log level. That's it.
So after a lot of pain stakingly putting together a fucking shitty plugin, you can now grind the rest of your brain with ...
sed.
Cause yeah. You can now use regex to parse an sbt build log and extract the necessary information.
:)
...
So....
Are we there?
Mwahahahhaa.
Only if you haven't forgotten to either disable colored output for SBT... Or take an extra mile with e.g. less -R.
Otherwise you have ASCII control characters in your file. :-)
After getting that shit to work, you now have finally a parseable build log.
Just took days instead of hours.
But that's SBT. :-)6 -
Dear community,
Could you please recommend me some (free if possible) sites for SW skill assessment (for example: sites with quizzes, problems, exams etc.)?
Thanks. :)5 -
I'm rewriting the wrapper I've been using for a couple years to connect to Lord of the Rings Online, a windows app that runs great in wine/dxvk, but has a pretty labyrinthine set of configs to pull down from various endpoints to craft the actual connection command. The replacement I'm writing uses proper XML parsing rather than the existing spaghetti-farm of sed/grep/awk/etc. I'm enjoying it quite a bit.1
-
So there is this guy with a startup, who wants me to work with him like a co-founder, putting innovations in to the startup. But I want to work like an intern, I will code, you will pay me money, if something breaks, I'm out.
Idk for how long, we can continue like this. Sometimes I feel I should leave, but then I think about the extra pocket money (I am a student). But he calls me like 10 times a day, talking for 15-30 minutes on phone, repeating the same things again and again, which really pisses me off as an introvert.
Should I leave the extra pocket money for some peace of mind?1 -
Spent last 2 days trying to get an upstream data file loaded. I've now concluded it's just corrupted during transfer beyond repair... But I got to practice lots of Linux commands trying to figure out what the issue was and fix it (xml parser was throwing some error about nulls originally)
vi, grep, head, tail, sed, tr, wc, nohup, gzip, gunzip, input output redirection -
Is it just me or are there more people who get immense satisfaction and happiness resetting their PC and their phone?
Like I was kinda depressed for some 2 days, and today I re-installed Windows in my friend's laptop and now I am feeling up again. Now I am resetting my PC and my phone 😋.
Feeling super motivated and hoping for a better start. 😁5 -
Today, I'm making a revolutionary change to our code base. I'm finally deprecating a script that lived in this goddamn repo for way too long. There's about 10 copies of the same script in 10 different directories. The script copies all the code into a "dev" folder and then runs "sed s/prod/dev/g" on all the files, and then overwites a bunch of it with some files suffixed with ".dev". Finally, after fighting the so-called architects, the devs and everyone else that seems to have gotten used to the pain this cursed dumpster fire script has caused us, my merge request is now open and ready to go to get rid of this insanity. Now we won't have to deal with as many "surprises" that happen every goddamn time we deploy to production, overwriting all our hard work by accident, and relieve some of my OCD of having the same script in 10 different places in the repository.4
-
How do you know that you are stuck in a job without longterm perspective (besides some undefined gut feeling)?
And what to do then? It seems to me, only possible action is to change job. Is there any, less extreme, alternative? -
Anyone uses rtags for C++ code browsing?
It’s pretty accurate since it’s based on clang but it’s a bit slow sometimes.
It appears to be using a weird amount of memory though.1 -
Good times: Migrating a Jenkins build pipeline patched together out of groovy, python, bash, awk, perl scripts and God knows what else since I have only scratched the surface so far, from Maven to Gradle while not breaking day-to-day builds, integrations and deployments of features, hotfixes and releases. I'm actually enjoying the challenge but it's taking forever due to several issues:
- Jenkins breaks/hangs randomly because it's Jenkins
- Gradle can't handle sets of version ranges but Maven can
- Maven can't handle Gradle style version ranges
- Gradle doesn't have a concept of parent poms, you need to write a plugin and apply stuff programmatically. But plug-ins being part of the buildscript{} don't fall under depency management rules :clap:
- Meme incompatibility issues of BSD vs GNU versions of CLI tools like sed, grep etc1 -
I spent the last 1.5 hours trying to optimize delivery of two 8.0KB JS files. It didn't work, at all tried like everything I could find. At the end I initialized it in angular json and made it load regardless. Made me realize that it is not made for optimization.1
-
How do you know ML and AI has gone too far? You rely on the algorithm instead of the obvious.
Google will translate comments, etc. At times when you click on an English video to language around your location. This is so obvious, if I didn't understand English if would not have clicked on the video!!
#BringBackThePreMLdevs -
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eu dolor vel risus euismod vestibulum ut in massa. Donec scelerisque magna vitae laoreet facilisis. Suspendisse volutpat tortor turpis, ut efficitur nisl gravida non. Donec ac volutpat tellus. Vestibulum ac lacinia neque, sed imperdiet lectus. Aenean aliquam tempor molestie. Vestibulum vel sem augue. Duis non eleifend augue. Aenean eget libero eros. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Praesent sit amet dictum eros. Quisque eleifend faucibus hendrerit.
Fusce accumsan interdum risus et iaculis. Mauris ex velit, pellentesque a tortor et, placerat ullamcorper orci. Donec imperdiet, orci nec placerat ultricies, sapien felis ultrices velit, at vehicula sem lectus eu nunc. Nulla nec orci congue, consectetur leo imperdiet, lobortis metus. Praesent dapibus est pharetra massa suscipit commodo. Trying to find out whether devrant feed is rigget or !. Pellentesque malesuada mauris at tellus porta molestie at ac urna. Quisque pretium placerat tellus vel porta. Etiam ante sapien, suscipit eu auctor ac, venenatis eu libero. Ut luctus consequat lectus quis molestie. Fusce a bibendum risus. Fusce eu odio ac felis tempus posuere nec nec lectus. Vestibulum ultrices ac felis venenatis blandit.10 -
me: clicks button run
program starts throwing out fatal errors
me: shhhhhhhh, whats wrong, whos hurting you?:'(
i sed the shhhhh part out loud, not even realizing it🤦♂️2 -
Was absent minded this whole day, sorry if my answers took long / were out of context @ the meetup.
I was poking why a bona fide DB import didn't work...
VARCHAR(254) COLLATE utf8_unicode_ci GENERATED ALWAYS AS (LOWER(...)) VIRTUAL
MySQL 5.7 to MariaDb 10.5 ...
After long hours of poking:
https://jira.mariadb.org/browse/...
Yeah. It's the COLLATE statement. *narf*
I love SQL, but god damn it this stupid fscking frigging dumb platform and version specific behaviour is fucking annoying.
sed -Ei 's|COLLATE.*GENERATED|GENERATED|g' helps. Just takes a bit of time on an 75G sql dump. -.-
Took only 4.5 hours to find out.
But now test suites are crunching, looking good til now.... *sigh*2 -
Started my very first (summer) job as an IT agent in customer service for my city less than two weeks ago and finally moving out from the formations to answer the phone alone.
I must've listened to around 30 calls and already there's stories I could make tales of.
I now understand the job of customer service. -
Never used Emacs in batch mode, did it today to transform some code generated by struct2ts (convert Golang structs to Typescript classes/interfaces).
I won't rely on sed/awk for complex stuff ever again, is much pain in the ass for me tbh.5 -
My previous workplace was toxic whereas my friends and family were encouraging and always cheered me up
Now, it’s the other way around2 -
You know you spend too much time with computers when the opportunities for new knowledge and time saved from a book titled "sed & awk 101 hacks" get you very excited1
-
Found this in a shell script. Instead of just one regex, why not use grep and sed, even though you could have just done it all with sed!
IMAGE_TAG=`grep defproject project.clj | sed -e 's/^.* \"//' -e 's/\"//'`2 -
I am stuck on a UNIX legaxy project. This is the perfect time to learn awk, sed, vim. I use them but I wanna get better.
I can read a book, course, but I WANT to write code, maybe something like the hackerrank challenges but harder.
How do I get advanced in awk, sed, vim?6 -
You used to think that it was so easy.
You used to say that it was so easy.
But you’re tryin’, you’re tryin’ now.8 -
Lorem ipsum dolor sit amet consectetur adipisicing elit. Illo aspernatur laborum rem sed laudantium excepturi veritatis voluptatum architecto, dolore quaerat totam officiis nisi animi accusantium alias inventore nulla atque debitis5
-
In recent time, I'm thinking about to start freelancing (or at least start preparing for it).
Problem is that I'm completely new to it. In following weeks, which steps should I take to successfully introduce myself to that market? Which mistakes to avoid? Which sites do you recommend?
Thanks in advance for contribution. :) -
"My disappointment is immeasurable and my day is ruined"
-TheReportOfTheWeek
(I was really hoping to use it and was even saving up to buy this when it came to linux) -
I offered my college junior a referral in my company, and she said she doesn't want to be favored and wants to get a job all by herself.
So I am thinking if applying for a job through referral is really unethical or against someone's self-respect? 🤔🤔
What happens when you see a person offerring referral opportunities on linkedin or other social media and apply there?? In that case, it doesn't seem so wrong. Maybe it was a little too personal offer that made her think about her self-respect? 🤔2 -
For a little background on the sort of stuff I'm dealing with, check out my last rant.
Anyways, I'm testing this pipeline at work and was just reminded of the fucktarded way a "software engineer", who had a bachelor's biology degree, decided to handle a json file.
The script is question is loading a json file containing an array of objects. The script is written in perl. There's a JSON module. Use that? Fuck no! Let's rather perform an in-place sed command on the file substituting the commas separating objects in the array with newlines, then proceed to read the file line-by-line and parse out the tokens manually. Mind you, in the process of adding the newlines he didn't keep the commas, so now all of these json files his bullshit handled are invalid json that cannot be parsed.
The dumb ass was lucky the data in the file is always output upstream as a single line and the tokens for each object are always in the same order, so that never led to problems. But now, months later after I fixed his stupidity I am being reminded of it again as I'm testing and debugging some old projects as part of regression testing new changes I'm making.
TL;DR Fuck dumbwit motherfuckers who can't even google search "parsing a json file" and doing literally anything that is less fucktarded than manually parsing a json file2 -
!Rant
Always dismissed tools such as JSBin for no apparent reason. Gave it a go a few weeks ago, and god damn as I love JSBin now. -
Just to use de 5000 characters :v.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non velit vel odio sodales hendrerit non a urna. Nunc tortor orci, fermentum quis blandit eu, auctor in arcu. Vivamus mollis auctor sem sit amet egestas. Etiam fermentum purus sed est venenatis fringilla. Maecenas imperdiet pharetra volutpat. Suspendisse vitae maximus purus, id scelerisque magna. Nulla maximus, nisl nec pharetra consectetur, dui nunc tempor dui, quis porta magna arcu at justo. Integer maximus euismod magna, a sodales leo interdum vel. Phasellus malesuada eros volutpat eros blandit dictum. Maecenas velit tortor, rhoncus id orci vitae, venenatis condimentum elit. Nulla ante mi, viverra sit amet tempus vel, pharetra eu ex. Maecenas blandit, lorem non tincidunt facilisis, ligula lectus scelerisque tellus, ac facilisis est diam nec turpis. Vivamus nec ante ut justo dignissim rutrum. Curabitur ut odio et nisl convallis pellentesque eu ut lorem.
Pellentesque imperdiet egestas cursus. Mauris at dui facilisis, feugiat elit in, bibendum odio. Vestibulum magna purus, aliquam quis tincidunt et, accumsan vel est. Morbi commodo viverra aliquet. Sed dignissim vehicula nulla id sodales. Curabitur lobortis cursus nisl at congue. Ut bibendum leo nisi, quis consequat velit pharetra vitae. Nam laoreet, odio ut tincidunt pulvinar, sapien ex consequat metus, id venenatis massa lorem ultrices orci. Mauris ac metus mauris.
In ac feugiat leo, ac blandit arcu. Donec sit amet dolor non nunc pharetra vulputate. Curabitur in velit ac odio egestas semper. Ut mattis ex sodales scelerisque venenatis. Pellentesque dolor lorem, eleifend vitae nisl eu, ultrices pellentesque justo. In vel vulputate lectus. Sed hendrerit sem vel blandit dapibus. Suspendisse ut eleifend lacus, a laoreet turpis. Vivamus eu ultricies lectus. Vestibulum imperdiet magna semper mi cursus facilisis. Fusce et interdum mauris, vitae tincidunt sapien. Curabitur non congue dolor, a varius dui. Maecenas nisl diam, lobortis et odio sit amet, ullamcorper euismod turpis.
Nullam vitae tempus eros. Sed varius sit amet sem faucibus euismod. Curabitur congue nulla lectus, sed aliquam mauris ultricies sed. Maecenas non felis ut orci commodo commodo. Mauris pharetra, tellus nec fringilla molestie, erat ligula tempus urna, ut faucibus elit ante in dolor. Nullam eu est fermentum, malesuada eros sed, rhoncus libero. Donec dignissim sapien quis aliquet auctor. Pellentesque a laoreet lorem. Suspendisse in feugiat odio. Maecenas venenatis auctor pretium. Maecenas et dolor eu leo faucibus auctor vel sed ligula. Curabitur lacinia ac leo eget posuere. Aliquam erat volutpat. Ut ultricies justo id tellus vulputate euismod. Phasellus sagittis ipsum ac odio rhoncus lobortis. Nullam vestibulum mauris sit amet augue euismod, viverra hendrerit sem convallis.
Integer tellus orci, rhoncus vel dignissim non, convallis at urna. Nam eu neque vel leo luctus varius eu in augue. Nunc consectetur cursus est nec bibendum. Integer erat tellus, feugiat ac aliquam in, volutpat semper tellus. Pellentesque in auctor magna. Donec feugiat magna in lacus ultricies fermentum. Phasellus bibendum, dolor ut aliquam feugiat, elit augue tincidunt justo, nec consequat tellus diam vitae risus.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla convallis et enim vel congue. Suspendisse luctus sapien ac maximus dapibus.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non velit vel odio sodales hendrerit non a urna. Nunc tortor orci, fermentum quis blandit eu, auctor in arcu. Vivamus mollis auctor sem sit amet egestas. Etiam fermentum purus sed est venenatis fringilla. Maecenas imperdiet pharetra volutpat. Suspendisse vitae maximus purus, id scelerisque magna. Nulla maximus, nisl nec pharetra consectetur, dui nunc tempor dui, quis porta magna arcu at justo. Integer maximus euismod magna, a sodales leo interdum vel. Phasellus malesuada eros volutpat eros blandit dictum. Maecenas velit tortor, rhoncus id orci vitae, venenatis condimentum elit. Nulla ante mi, viverra sit amet tempus vel, pharetra eu ex. Maecenas blandit, lorem non tincidunt facilisis, ligula lectus scelerisque tellus, ac facilisis est diam nec turpis. Vivamus nec ante ut justo dignissim rutrum. Curabitur ut odio et nisl convallis pellentesque eu ut lorem.
Pellentesque imperdiet egestas cursus. Mauris at dui facilisis, feugiat elit in, bibendum odio. Vestibulum magna purus, aliquam quis tincidunt et, accumsan vel est. Morbi commodo viverra aliquet. Sed dignissim vehicula nulla id sodales. Curabitur lobortis cursus nisl at congue. Ut bibendum leo nisi, quis consequat velit pharetra vitae. Nam laoreet, odio ut tincidunt pulvinar, sapien ex consequat metus, id venenatis massa lorem ultrices orci. Mauris ac metus mauris.
In ac feugiat leo, ac blandit arcu. Donec sit amet dolor non nunc pharetra vulputate. Curabitur in velit ac odio egestas semper. Ut mattis ex sodales scelerisque venenatis. -
Those of you who wants the bleeding edge of technology, here's the one for YouTube:
https://youtu.be/addme/...
This unlocks the sharing tab on YouTube's mobile app, like in the screenshot below. Make sure you are on your mobile device.
Enjoy sharing! :D
//Oh right, it's supposed to be a rant -
Gosh I hate when I ain't in the new technologic stuff already 'ghah 😡 😋1 -
I keep getting emails from people I don't know that are like conversations, leading me to believe they aren't sent to the rightful owner. Most of the time, I see the email has uppercase at some places (when mine doesn't).
I just wish the companies could put a mark somewhere in their page when entering an uppercase email that mentions the fact that it doesn't change shit, getting really annoyed from receiving these mails not directed to me 😒 -
Not dev related, assuming that here is a lot of people interested in history , philosophy, books I would like to ask for recommendations for:
YouTube channels or site related to history, books reviews/recommendations (dev and non-dev related), philosophy.
Thanks. :)6 -
I hate windows caret returns sneaking in bash scripts! fuck*ng \r shit!!!!
sed -i 's/\r$//' YOURFILE every time a fucking windows friend send me a script so boring2 -
Help is welcome - I don't get it x.x
Just started scripting and can't find it on google:
Got a little whitelist with urls in it and a huge list with urls in it.
whitelist format:
foobar.com
barfoo.au
format huge list:
blabla=/foobar.com/wo.op
blabla=/barfoo.au/wo.op
blabla=/barfoo.crazy.au/wo.op
blabla/barfoo.crazy/wo.op
should stay in the file.
Now I want to delete the entries of the whitelist from huge list.
I have no clue how I can get the
foobar.com
into
sed -i '/foobar\.com/d' $file
to make it work in my script x.x5 -
What do you think about Udemy?
And if you took it, which courses did you find most useful - not only related to programming/development but in general?
Thank you in advance. :)3 -
Designs and artistic impressions...on a website.. . Those two have lots of difference dear non programmers. Stop appreciating random crap.
-
Guys, i have a question : write a shell program to select 5 to 10 lines of a file and copy them to another file.
i wrote an ans like this:
sed -n '5,10p' filename.txt >newfile.txt
but i dont think its an 1 line program aa it has 4 marks. so.. can you tell me the ANS OF SHELL PROGRAM OF ABOVE QUESTION? thanks in advance.
ps: i am a beginner in linux shell.5 -
I have failed my computer organization and architecture module because i didn't understand assembly language.
Anyone with links to the best x86 assembly programming please share. -
I need recommendation for site/community to improve my (clean) code style?
And, in more general, what are your ways to improve code style and programming way of thinking - more oriented towards bigger picture of application/systems (patterns, architecture, etc.)?3 -
Once upon a time I was working with an engineer who loved sed and awk a bit too much. We had data stored in SharePoint that was retrievable via an RSS feed. Said engineer insisted on using curl to grab the feed and sed/awk to parse the HTML ...
I on the other hand suggested using libcurl (primarily for NTLM auth support) and parsing the RSS feed using libxml.
Which engineer do you think management decided supporting?
Hint: Reusability and maintainability were big requirements in this project.1 -
I need some recommendation for Web UI components framework which could be relativity easily integrated/used on Play framework web application.
Something like Primefaces or old Richfaces (but those are for JSF).
Thanks in advance. :)2 -
*Solve this question*
*Me: Compiler?*
*Question- Fek just solve me :v*
*Me: GCC would give correct ans*
*Question- Fuck no, Mingw ;_; *
#nubCProgrammer ;-;
Sed Loif3 -
doing an assignment.
me, thinking to myself: "why the heck everybody pastes over an nginx config when they want to script switching the autoindex on or off?
thats not linux at all you sed the fucker that's how its done...", feeling all smart
> type it
> test it
looking fine, as always. im born for this shit
> run it
>restart nginx
restart fails.
i check if i didnt sed any whitespaces, everything seems fine
>restart nginx
fail again.
look closer
.
.
.
.
4 lines below intended target: "locatioff" lmfao3