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 - "directory"
-
Received "emergency update" code from internal enterprise security team. Wasn't given time to do code review; was assured code was reviewed and solid.
Pushed code to over 6k lower-level servers before finding this gem buried deep within:
...
cd /foo; rm -rf *; cd /
...
(This ran as root, and yes, the cwd was / from earlier in the code).
/foo, of course, did not exist on some servers.
Now, it is those servers which do not exist.
FMLundefined security root linux file not found directory structure rm -rf / directory not found fml rm15 -
I use Linux because I enjoy unexpectedly learning how to mount an encrypted disk after a software update deletes the boot directory... on a Thursday night while other people drink beer.14
-
Never trust a developer who’s muscle memory isn’t set up to automatically run `ls` *immediately* after `cd`ing into a directory.12
-
> finds files called "?" and "?.pub" in home directory. Not sure how they ended up there.
> tries deleting files
> rm ?*
> hits enter and realizes the disaster the very next moment
> cries in corner7 -
Teacher (while teaching about storage mechanisms): What do you use a CD for?
Me: Umm... Change Directory?6 -
How to install vim in Linux:
1. Download gvim80.exe
2. Install Wine
3. wine gvim80.exe
( Follow installation instructions. Keep on
clicking next)
4. Download DosBox.exe
5. wine DosBox.exe
6. MOUNT F /path/to/wine/vim
(Mount vim installation directory)
7. vim.exe
8. Enjoy the latest vim :)15 -
So I've been trying to copy images in an existing, writable directory. Here is a Patrick meme I created to avoid getting insane.4
-
Dolphin has an integrated terminal (So that you can run commands in the directory you're looking at) and that's a fantastic feature.23
-
*Downloading a linux iso (distrohopping YAY) because the download stopped last night*
*200kbs instead of the 5mbs last night*
*sets up a subdomain for downloading iso's*
*enables SSL*
*downloads the iso to my server*
*copies the iso to the directory of the iso subdomain*
*starts downloading the iso from the server*
5mbs YAY
I am weird 😆11 -
"I should really make better offsite backups"
"Right, this service doesn't do client side encryption"
"Oh this one doesn't have a Linux client"
"OK this one only sets up a single directory you can dump shit into"
"Wtf this one charges more than a high class escort girl"
Whatever... I'm sure my house won't burn down.15 -
Just looked at the anonymous analytics I collect on the security/privacy blog.
No SQL Injection attacks yet (would be useless anyways as I don't use MySQL/MariaDB for the databasing.
Directory Traversal attacks. Really? 🤣
Nice try, guys.39 -
Yes. Please. Stop putting hidden files in my home directory. It's not the place for it.
https://0x46.net/thoughts/2019/...14 -
Got annoyed by the super bright default theme of the Arduino IDE. Decided to make a dark theme for it! Turned out pretty well!
Unfortunately there is no official way of themeing right now, therefore I had to edit some files in the program's directory, which was a pain in the ass to do... (and kinda scary)
I tried to adapt the Material Theme in Sublime Text btw.
Here's a comparison:24 -
Lesson learnt :
Never ever do "rm -rf <pattern>" without doing "ls <pattern>" first.
I had to delete all the contents of my current directory.
I did "rm -rf /*" instead of "rm -rf ./*".19 -
Someone registered a company in the UK to reap havoc on government and directory sites.
(And some people say registering a company in the UK is too easy!)5 -
Ok, some @#$#!!@ at my company set the WordPress cache directory to "/" on a Linux server, some other plugin triggered the cache clear and the Apache user was the owner of almost all the WordPress directories of several MU installations, this all happened on a Friday afternoon.2
-
Just inherited a web application, worst security ever, all it does is call an unsecured application that does an active directory call, verifies the user name exists and then grants the role that the username is assigned. That is it oh and if you can find your way into the admin panel anyone can edit anyone else's role.
Come to find out this application got the dev who designed it a promotion to lead.5 -
#!/bin/sh
# Application X deployment script
## some code ##
function sudo_remove {
directory=$1
filename=$2
sudo /bin/rm -rf $directry/$filename
}
### some more code using function above ##
>400 servers completely corrupted. Twice in one week.
Who can spot it? :)9 -
I'm such an idiot!
For a while now, my machine has been kinda sluggish.
Just installed VSCode and a little popup saying that git was tracking too many changes in my home directory. I must've ran `git init` at some point and it's spent fucking forever tracking changes of >3,000 files.
`rm -rf .git/`
Quick. As. Fuck.8 -
rant
When you start a new project.
You create a new directory.
You start the IDE and create a new application project.
You type just 5 lines of code for testing it.
Then you compile and run.
Nothing happens...
You abort and retry.
Nothing happens...
Half a minute later a window pops up and Norton reports you that an executable has been removed because its suspicious and has a lack of reputation!!!11 -
*Downloads Android Studio from the official Android website*
*Opens Android Studio*
Android Studio: "Error: Process command usr/local/android-studio/jre/bin/java finished with non-zero exit value 127
Me: I didn't even do anything yet. I guess I'll change the default Java directory to my native Java JDK
*One hour later*
Android Studio: 50 errors occurred during the Gradle Build.
Me: ( ._.)3 -
Real Linux fuck up coming up.
Be me.
Working on a project.
Accidentally used sudo with git pull, every file now is only accessible for root users.
Thinking to myself.. okay I'll just do chmod 777 to the current directory
Forgot how to use chmod
At first something like
Sudo chmod ./ 777
Not working
Maybe
Sudo chmod / 777
Not working
Remembering that it's the other way around
sudo chmod 777 /
Now... I fucked up. I forgot the dot, and for a sec I forgot that '/' means root directory and not current like './' does.
Few moments later the permission system of Ubuntu is utterly fucked. Everything is not working.
Need sudo in order to fix everything but sudo isn't working.
Few hours of crying later,I solved it thanks to some nice ppl online helping stupid people like me who used that command...😂10 -
Looking around the directory, i noticed these log files.
He sure have a rough time testing it.
Apologies if my work station is running on Windows.8 -
*Me explaining how to use npm to my colleague (senior dev)*
M: So from the command line you just need to move to the directory with the package.json first
C: Uhm right
C: *types ‘move dir’*
M: Aight just give me the keyboard
How does a senior developer not know how to use cd in a command line?5 -
A teacher of mine once asked me if i could take a look at his external HDD because all the data was suddenly gone. Important holiday pictures and stuff...
Turned out he accidentally created a Windows 7 "library" based on the root directory of the drive. Next logical step to get rid of it: delete the whole content because "i don't need the data twice".
Explained the concept of directory links and restored the files...
His wife later asked him about the reason for the data loss. He didn't have the balls to tell her that he deleted them himself even though he knew it at that point =D -
Today I took an extra swig of idiot juice and deleted my /usr/lib directory in the first 5 minutes of the day.11
-
hey guys found some cool trick for windows users
in file explorer if you type "cmd" in the address bar, it opens cmd with the directory set to the current directory14 -
It officially happened...
Accidentally used rm -rf /*
(Actual command was a bit more involved, but it did pretty much the same thing)
Laptop doesn't boot now. Saved my home directory though.
Hooray.5 -
What I've learned so far in Ubuntu
1. Never mess with root directory
2. Never mess with scary command
3. Never install additional DEs
4. Never close terminal while something is going on
Or you have to install Ubuntu again
Although I love Ubuntu7 -
The blue icon is back on VSCode and multiple root directory support! Finally!!! This is now my full time text editor. Goodbye Sublime!11
-
Whilst I was browsing the university website I came across a directory that allowed directory listings. Amongst all the .pl files was one named something.pl.old. Rather than interpreting the file the web server returned the raw source, including domain credentials for one of the network admins.1
-
1. Naming all variables with letters of the alphabets
2. Not indenting (screw tabs VS spaces, I could use anything here)
3. Putting all src files in one directory
4. Writing the entire code without using any functions
5. Writing code and asking me to fix linting
6. Asking why they should follow language style guidelines4 -
Back in school a class mate used a bat file to recursively create a directory an then enter it and repeat.
The directory also ended with ascii 255 which looks like a space and when placed at the end is invisible.
This was in msdos and there was no mouse or autocomplete, also no deleting of non empty directories.
The teacher finally gave up and admitted he could not solve it.
You had do make a new script first to traverse to the inner most dir, then recursively back trace removing directories.2 -
If your room is a bit cold, simply initialize a node project in a Dropbox directory and let the node_modules folder syncing be your personal heater2
-
*on the terminal cd-ing through my directory*
friend who's not a brogrammer: woah that's cool! Are you hacking your computer??!1 -
Clicking "share" on directory in Windows Explorer, digging through config panel, fidgeting with network discovery options, toggling password protection, digging through account management, jumping over a chair 3 times to channel my inner Bill Gates, checking directory permissions, sacrificing 7 virgin unicorns, go into lusrmgr.msc, curse various gods, install CIFS1.0 protocol, reboot computer, disable encryption, checking registry, trying to summon Steve Ballmer using the blood of a bald goat and sweat-scented candles... 5 hours.
Install Ubuntu on spare SSD, mount Windows NTFS drive, start SMB daemon and set up samba users... 15 minutes.12 -
Some say you are not a true developer if you haven't accidentally deleted shit and spent several hours restoring that shit!
Okay, no one says that. I made it up. I idioted today. I accidentally rm -rfed my workspace directory and lost all my code.
Now I'm re-syncing stuff back into place from my remote back up.
Git ❤3 -
Today I discovered what slowed my productivity the most: variable naming.
In a project I was naming many variables 'dirname' in different parts of the my code, but it represented 3 things: only the name of the directory, relative path + directory, and absolute path + directory.
I wasted to much time just figuring out which was which everytime until I finally decided to organize variables names better and see the wonders of the world. Result:
- dirname: only the name
- reldirname: relative path + dir
- absdirname: absolute path + dir
Such simple solution, yet took me years to actually see the benefits, my god
(First devRant post btw :3)7 -
git reflog, git reflog...git FUCKING reflog!!!! Ah fuck this, I'm taking the kids out. 3hrs later.... Oh shit, i was in the wrong directory. A good fresh air clears the mind.2
-
I """""accidentally"""'" found some security holes in my school's Windows public computer setup.
Every student and teacher has a personal Active Directory, obviously they should be able to only see their own right?
oh wait the directory up button in explorer shows me all of them and I have r/w access to teacher and student ADs.
That's cool.
Also, the command prompt, Run prompt ad Explorer path bar are disabled...
...but batch scripts work.
Sweet.
Surely I can't do something dumb like--- oh, regedit's blocked but not the reg command.
They use the-- WHY IS GPEDIT NOT BLOCKED
Well what the fuck.
(All of this was responsibly handled by emailing the tech department. They have an email just for this! ...got a bounceback "this person is no longer employed at XYZ School.")6 -
Managed to make myself look like a fucking moron again today...
Can't mount NFS share, get "permission denied". Huh, that's weird... It's correctly exported.
Well it's correctly exported and rpcinfo -p $HOST times out... Must be firewall rule.
Firewall rule is changed but still no joy "permission denied"... Fuck sake networks, can't you do anything right first time?!!!
Firewall rule is correct I am reliably informed... Go about proving that it's not fucking correct and provide "evidence" to show this, I was a little bit more blunt than was strictly required.
Networks say they will take another look.
I turn NFS logging to verbose for my own interest and notice the line "path/to/directory is not a valid directory".
I, as a moron, had missed a "/" at the start of the path. That's why I still couldn't mount after the firewall change.
Go over and apologise in person and explain how I'm a total idiot. -
#3
There are like 50 views. But that's not the bad part about it. Each view is backed up twice or more within the same vie directory by adding a date to the views name.4 -
Is obsidian a fucking joke?
Seriously, is it a joke? Why would you ever care so much about indexing literally everything, if the entire thing crashes and/or takes >5min to LITERALLY just open the fucking directory and/or (so help you) if that directory is full of projects/repos or whatever the fuck and the total size of said directory is like >5GB.
WHY THE FUCK WOULD YOU INDEX EVERYTHING? -- "Ohh obsidian's not supposed to be used a fully fledged IDE, ohh obsidian should just handle MD files and normal sized projects, ohh the plugins and ease-of-use" -- Fuck.
There's no fucking real reason to index everything, BY DEFAULT. You open a directory with Obsidian? Doesn't matter, it's 1 byte, it's 100GB, you get indexed. Deal with it. It will use LITERALLY every resource your computer has. I'm surprised it doesn't go galaxy brain and ping if any other computers/devices are on the network and then attempt to connect and use their hardware (obsidian can be like a node!).
How shit can you be at understanding basic data structures and algorithms, where you just revert to based google-chrome brain and let the FUCKING TEXT EDITOR -- OBSIDIAN IS A FUCKING TEXT EDITOR HOLY SHIT -- hog all conceivable memory.
I swear to <some-deity> if anyone fucking says "Ohhhhhhhh actually, it's not a text editor, it has plugins and features and shit, it does all dis cool stff", OR, "Ohhhhh actually, obsidian indexes things for a very specific/rationale/apt/pragmatic/academic reason" OR "ohhhh, I have 100 iphones, 1000 ipads and a trillion desktop computers that each have 256GB of memory, why you hating on obsidian?" then go kick rocks. The fucking lot of you. Are you fucking kidding me.8 -
For people still struggling to find the perfect font for their favorite editor, look at what I found:
http://app.programmingfonts.org
Test them before introducing bloat to your font directory.6 -
So this just happened. I was working on a project and I just found a weird directory named '~' in there. I am on Linux so I simply did an "rm -rf ~" :/
It was too late when I realized it deleted all my files in my home directory. All my projects and configuration files. The sad part was it did not delete that shitty random directory because permission denied. Thank God I got into the habit of making weekly backups of my system and Thank God I use git.5 -
When you accidentally run " rm -rf * " in the directory containing ALL you projects, not in the directory of a single project.
That's right. You just encountered THE DEATH STAR.9 -
So turns out getting drunk and installing arch Linux was a bad idea, somehow managed to format the installation USB instead of my secondary hardrive, set my home directory as the root file system and somehow managed to half install the needed packages to the USB so I wasn't booting and had to go back to a fresh windows install just to redo the USB...
Don't drink and Linux kids...2 -
It's only been a few years, might need a little refactoring.... The things you find when cleaning up old directory structures on forgotten hard drives...1
-
Got a new website i should maintain... Code is a real mess... Why did some kids do something - it breaks my heart^^
The directory hasnt any seperate folder except the img-folder - css,html and js are inside the root dir...7 -
i met an old friend in a mall and he start talk about linux
friend: hey i just installed arch linux in my laptop!
me: wow cool! you are so expert.
friend: btw i have a problem with it, how to change directory in their black screen?
me: cd?
friend: no! i didn't use cd. i use flashdisk to install it.
me: ah.. okay.3 -
First time I developed something useful:
My dad has a bunch of games on his work computer, which he wasn't supposed to have. I wrote a small program for him that added the name of the directory which held those games to IO.SYS table of devices (COM1, LPT1, etc...) so nobody could open it.2 -
Archives that don't contain their files within a folder and flood my downloads directory are the reason why I have trust issues.2
-
I've got a puzzle! How well do you know the weird GNU coreutils error messages?
$ rm foo/
rm: cannot remove 'foo/': Is a directory
$ rm -r foo/
rm: cannot remove 'foo/': Not a directory
What am I?7 -
Installers that copy files into a default directory without letting me change the installation path.. fuck whoever does that!6
-
When you forget to add your Visual Studio projects directory to the Avast exclusions and it delete it during debug...8
-
2 Things:. Never symlink the root directory and don't try to remove a symlink with rm -rf
Nearly shit my pants today.5 -
September 13th, 2013 at 06:20 AM
===========================
~$ cd /mnt/backupdisk
backupdisk$ make_backup --output=./~
Cannot access storage: /mnt/backupdisk/~
backupdisk$ ls
~
backupdisk$ rm -rf ~
^C ^C ^C ^C ^C
...never name your backup same as your home directory.4 -
Navigating Directories with PowerShell, coursemates staring and thinking I'm a badass hacker. Their reaction when a directory not found generates five lines of bright red jargonized line in the console and I just nod slowly as if I'm understanding something deep 😂😂4
-
First check if anybody else has done it.
Second check if theres a convoluted way to chain existing projects to do it.
Third buy some whisky and down half of it.
Fourth plan it out
Fifth create directory and open vim1 -
One shouldn't use 'rm -r' late at night -_- just deleted my entire NAS storage thinking I was in another directory6
-
I loved Python from when I wrote my first program up to I googled "how to import a module from a parent directory".
My love lasted 30 seconds16 -
How to be evil: Execute `touch -- '-rf *'` in their home directory.
They'll probably will run `rm` on it before realising their mistake.11 -
For fucks sake Microsoft, I don't want to install Visual Studio on my 120GB C:\ drive. I want to install it on my 1TB HDD...
Seriously, why can't we just change the install directory?6 -
So, the reason I couldn't save screenshots to ~/Screenshots is that the directory doesn't exist.
But ~/Screenschots does2 -
When your colleague just throws all their views into a single directory, despite you having a already created a very methodical and self-explanatory structure.
-
...5 minutes ago per ssh on the productivity server...
"ok, let's delete this old test directory ..."
*types rm -r www*
....*thinking* ...*realising* ... "FUUUUUCK!!11"
*quickly types git clone gitadress"
*checks website* "phew!"1 -
I work as a front end developer at a company. This site is using WordPress and I need a paid plugin, but I wanted to test the full version first without paying, so I googled it. Downloaded it and installed it right away.
NOTE I was working on the test server, where all other projects are placed in a subdirectory of public_html (public_html/websites/<other websites>), but instead on placing the website folder where are the others, I placed it in the parent directory (public_html), (where are some others folders and files). Everything goes fine, but a few days later, I wanted to modify something in functions.php of that theme and I noticed a strange code, base64 format, so I decrypted it and turns out it's a backdoor that puts code in other files of the theme, so it can add an Admin in the DB anytime, so it can remotely connect to the website. Because, as I said, the website was in the public_html directory, and the virus search for the other folders and files in the same directory and his children, it affected the rest of the websites (50+).
I reported that to my boss, but says it's fine and to give more attention next time and to install the website in the same directory as the others. Couldn't fix automatically and I had to remove manually in every website every file created and the lines that the virus added.5 -
My coleague's story
- before leaving after long day at the office final look at support cases (after official support hours)
- sev1 ticket logged an hour ago, noone called us (although should have; after support hours)
- angry manager calls and demands to get in touch with the client immediately (we're already after support hours, FTS should pick the case, not us)
- we reach out. Customer has business-impacting case
- after initial info gathering: some cert got expired, they got a new one and placed it in the app's directory. The app still does not work
- the first question we ask: "are you sure you have placed it in the right directory?"
- "yes, we are sure. No problems there" - answers a voice with indian accent
- noone finds the root cause for hours.
- It's already 1am
- someone from client's specialists comes up with an idea: "are we sure the cert is in the right place? Let's try to move it to the same directory the old one was in the first place"
- .................................................
- production is working again
- "Why didn't anyone from support suggest this?!?!"
- .................................................
- 2am. Case solved, manager is informed everything's allright now.
- In the morning we get yelled at by the manager bcz we supposedly missed a sev1 ticket and were incompetent during the conf. call
This reminds me why I stay away from support. And why I started hating people. And why I do not work with indians (our ways are too different for me to stay sane and not to kill anyone).3 -
Hey, looks like some employee of this hosting company failed to 750 his home directory and 640 the files...
I was SSHing around on our hosting account when I slipped into his home direcory where at least two(!) SSH public keys of his admin account for the server were readable!
Being an honest guy, I had to call them...
It's fixed now.2 -
Front-end web development in 2018 is a fucking dumpster fire. 4 month old blog post guides are out of date, hipster toolchain APIs change monthly, npm can't find a module that is literally right there in its entirety in the fucking node_modules directory. JavaScript is love. JavaScript is life.5
-
So I found some weird library included in this legacy code, didn't really get what it does and why it's there though.
Turns out there's nothing to be found on the internet about it. Absolutely nothing.
So after browsing through the directory structure a bit more I discover a README file. Hoping for answers I opened it, only to find this...3 -
Just created a batch file to delete a directory so that I don't have to right click and move my mouse all the way to delete and click it.10
-
As someone who started with MSDOS 6.2, the idea that I can now put emojis in my directory names in Google Drive fascinates me way more than it should. I've never been able to find my files faster than now.2
-
The new company I'll work in told me that I have to use windows because they have an ad and Linux login does not work proper with it...4
-
who the fuck decided macos not showing the file path in finder etc is the default
also not having a home directory available by default in the side bar
i fucking hate you so much9 -
Microsoft, why the fucking fucking bastardising arse knobbing fuck would ANYONE want to open a directory on the LOCAL C DRIVE in the PISSING BROWSER?2
-
Just started using the Dropbox API. Want to do a simple directory listing of my files. Sends HTTP GET request at https://api.dropboxapi.com/2/files/....
"Error in call to API function "files/list_folder": Your request's HTTP request method is "GET". This function only accepts the HTTP request method "POST"."
What. The. Fuck. Dropbox.
HTTP POST is for creating a new instance of a resource. HTTP GET is for reading. GET guarantees server state is not changed while POST does not. I want to fucking list a directory, not put stuff in it.1 -
Thanks for messing up my home directory!!!
Edit: Tell me when you have to scroll 2x your display height11 -
Just cleaned up my legacy projects directory. Deleted all node_modules, bower_components, and distribution directories.
Deleted hundreds of thousands of files, freed up like two gigs 😑1 -
Sometimes I have to work with physical hardware. There are over 300 machines in our lab, split among two subnets. But for some reason, I can never access my machines by hostnames.
Every other week, there's an IP conflict on this network, requiring me to log into the active directory server and delete old DNS entries. This usually happens because someone decided to deploy 64 VMs on a huge server, all at once, didn't boot them with a delay, let alone with with a warning to IT.
Then when my superior asks how my progress has been and I respond with "I can't even get the machines to ping each other by hostname, there's something wrong with the DNS:, I get the following response: "HOW COME NOBODY ELSE IS HAVING PROBLEMS WITH THIS. YOU'RE FULL OF SHIT", from someone who spends 90% of the year abroad, working remotely.5 -
A swedish insurance company has two different solution for logging in to their system.
1. An advanced high security single sign on solution involving active directory, verification of the network the request came from etc etc.
2. Using a link and passing your credentials in the query string!!! Like: insurancecompany.com?username=admin&password=password.
Solution 2 works with admin accounts from anywhere.4 -
I'm living in the twilight zone...
These people upload and download an entire directory of files from microsoft teams as their way of version control...
And what's worse they're dragging their feet on changing over to git/github
God save me1 -
I was typing out a command and instinctively pressed tab to see a file list. The directory contains 15k+ files4
-
CMAKE, YOU PILE OF SCRIPTING SHIT!
WHY THE FUCK CAN I NOT CHANGE MY BUILD DIRECTORY? I HAVE WASTED AN HOUR ON THIS UNBEARABLE SHITWEASEL OF AN EXCUSE FOR A BUILD SYSTEM!!!!
STOP SHITTING YOUR STUPID CACHE FILES INTO MY SOURCE FOLDER!!! AAAAAHHH!11 -
~# mkdir certs
~# openssl req -newkey.......
*checked certs dir*
hmm.. empty?
*generated certs again*
Certs dir still empty. Reverted to Google for answers. None found. I was using FileZilla to check the Certs directory.
15 minutes and a million tries late, I realized that I forgot to CD into the Certs directory...............2 -
Physically copy the git project's folder, change his terminals directory into it to test then move the files he edited to the original folder and commit back.
-
When you forgot that you downloaded something directly into your src directory and then download a few other pics and then run a build 😂3
-
Our rookie sysadmin frack up our web server today. He wanted to make a single directory and all its content accessible but instead, he used this command...
sudi chmod 644 /.6 -
I just finished something!
Okay, it's just a quickly thrown together python script that takes a directory of portraits, centers and scales the face closest to the center of the image and creates a gif. Made it for a friend who is doing this one portrait each day thing.
Nothing big at all, but damn does it feel good anyways 😁 -
I was doing some maintenance on a production server for a game hosting company (Minecraft hosting, for those interested). A week before, I had created a backup of an account directory before trying to solve an issue, I now wanted to remove this directory.
Since I am way too confident in my ability to not mess up, I was logged in as root.
Instead of typing `rm -rf ../` (I know using -f is a bad idea), I typed `rm -rf /`.
The distro we were using did not have any protections built in.
The directory I wanted to remove as gone, but so was the rest of the server once I realized what I had done.4 -
Talking to our helpdesk guy, our financial services controller emailed an 'emergency' restore from backups of 'missing' documents, stating they (the networking dept) violated company file retention policy and opened the company up to fines and other regulatory prosecution if we were audited. Once the files were restored, she wanted a system review of the policy to make sure this never happens again. She made sure she cc'ed VPs and other managers.
He found the files, they were moved one directory up and the log showed she had moved the directory earlier in the morning. He moved the files back and let her know.
Her response, "OK, Thanks" (funny, she didn't cc the VPs and other mgrs on the reply)
Glad I'm not the only one subject to end-user bat sht over-reaction craziness.1 -
So I need a .gitlab-ci.yml file in the root folder of my repository for GitLab CI to work.
I've done that. Hitting my head against wall as I keep getting an error ".gitlab-ci.yml is missing from root directory"
Hour later I found out this is the filename I used: .github-ci.yml2 -
Wanted to move Visual Studio to a different hard drive
So I uninstalled it and went to install it anew, only to find out the installation location was set to read only.
I then found out I had to run the installer with the arguments /uninstall and /force to force a complete uninstall, thus allowing me to change the installation directory... What the fuck Microsoft?1 -
Good morning class! Let's start the day solving bugs in an Android application that many people have already gotten their hands on, which has 3 mixed languages, no comments in the code and is so bad that not even Android Studio recognizes the sources directory. But it compiles, runs and has a 4 month old bug that no one has been able to resolve.5
-
I feel like they should break DevRant up into categories based on post content, and in order to get between categories you should have to navigate to the other directory with a linux command line interface3
-
I had a pretty good laugh just now.
There's this extension I wrote for our client's online shop which enables them to create template files via the backend. Essentially it's just an editor reading and writing files from/to a directory.
So I installed said extension using a package I found locally, thinking it was the latest release. Unfortunately it was not.
As I said the extension writes template files within it's own directory and back when I had packed up the extension, I must had forgotten to delete these template files resulting from tests and messing around.
Long story short, I just received a ticket about a line of text suddenly showing up below the product page description saying: "I like turtles!"
The ticket itself was very professional though and the client didn't forget to mention that the "notice" was not part of their product feed data. No shit! LOL2 -
man i wish i had brain cells.
i was trying to free some storage by deleting some btrfs snapshots, so i mounted the directory and started rm -rfing, as you do. a couple minutes in, i decide to reboot and make sure i didn't accidentally start deleting my root partition.
spoiler alert: i accidentally started deleting my root partition.
it only got up to deleting /data (where i keep my multimedia), but my whole /boot directory is gone. now I'm gonna have to spend a couple hours redoing stuff like fstab and grub to make things work again 😃2 -
So like a couple days ago I was trying to clear the Var directory of my Symfony project.
I wrote
cd /var
rm ./* -R
Linux: are you sure you want to delete write protected blah blah blah?
Me:AHA! SO ITS A PERMISSIONS ISSUE
sudo rm ./* -R
Quickly realized I was no longer in my project directory.
Took a fat L. Had to reinstall.2 -
It's Friday and you're tired. You're working beyond 8 hrs already. Sure it's paid OT but you want to go home. Just finishing the last 10 API endpoints. But you execute the wrong script the overwrite the directory of the last 10 API endpoints instead of the swagger doc generator script. GRRRrrr.... NO!!!!! T_T2
-
I need to setup a Windows Server with an AD (and therefore an own domain) that can be reached from a Linux host for a test environment... Holy crap I totally forgot what a huge pain in the ass that crap is!
Pro Tip: If youre connected to a Server via VPN and RDP and you create a domain and subsequently get logged out from the server, you're fucked.2 -
Me: Ah, I need to delete /path/to\ some/directory
... starts typing
rm -rf /path/to
finger slips, touch "Enter" too hard for my comfort, heart skips a beat, but nothing is happening. Phew. I dodged a bullet.
I'll never ever learn this lesson.1 -
Still find it amazing how archaic command prompt is, why do we still need to manually select which drive we want before cd'ing into the directory...
Why can't we just do cd D:/foo/bar, I understand you want us to use PowerShell Microsoft but you are the company that still ships internet explorer so please at least bring it up to standard a little -,-2 -
Oops accidentally created this Angular component in the wrong directory. Better run the Ng command to remove the component so I don't need to remove the files and references in app.module.ts otherwise it would take an annoying amount of time to track down the right lines there and it also opens the door to human error!
......shit4 -
I'm a bit late I know (only 10 years or so), but I never use windows explorer and especially not the home directory with its ridiculous location... but why the heck is it not possible to access the home directory from windows explorer? There are bullshit categories like videos and music, but no direct link to the home directory. The small arrow at the "root" of the adress bar seems to be the only way to access users home. WTF?14
-
My former employer refuses to pay out my vacation time per state law. Left a month ago but they have not disabled my company email account.
Small shop so no active directory but still shocked they have not disabled my access. It’s only outlook/ office 365 no access to network drives.
What kind of small, petty and (mostly) legal havoc can I cause?
Something annoying but causes no monetary damage.6 -
We called a customer because that on their server a directory is missing which was important for production.
Turned out that they didn't miss a directory because they worked in the development environment of the same customer but in a different location. For the last 3 months. -
Never! ever! EVER!!! run sudo rm -fr * inside your home directory! Hard lesson learned on a Monday :(
P.S it was not intentional at all!11 -
I just found this website that seems to have a directory of all AI tools available in the market. You may like it:
https://www.futurepedia.io/ -
I can't be the only one who didn't know that Linux has a specific command to delete a directory
I've used Linux all my developer career and I never knew the command 'rmdir' existed. I always just used 'rm -rf'5 -
Look at the picture. I know what you're thinking...
Believe me.
* I executed save all in VisualStudio
* reset all changes in git
* cleaned working directory with git
* restarted VisualStudio
* double checked if it's the right file
* double checked if there are new changes in git
Fuck this. VisualStudio, you suck.
Where are you taking these informations from if not from the project file!?4 -
There are a few email addresses on my domain that I keep on receiving spam on, because I shared them on forums or whatever and crawlers picked it up.
I run Postfix for a mail server in a catch-all configuration. For whatever reason in this setup blacklisting email addresses doesn't work, and given Postfix' complexity I gave up after a few days. Instead I wrote a little bash script called "unspam" to log into the mail server, grep all the emails in the mail directory for those particular email addresses, and move whatever comes up to the .Junk directory.
On SSD it seems reasonably fast, and ZFS caching sure helps a lot too (although limited to 1GB memory max). It could've been a lot slower than it currently is. But I'm not exactly proud of myself for doing that. But hey it works!1 -
When your technical skills section starts to look like a a node_modules directory, it’s time to edit.
-
>"rm -rf ~/"
>Wonder what the exact name of the file I'm deleting is
>*presses tab*
>*presses enter multiple times*
>accidentally presses "enter" when the choices are finished
>delete entire home directory
>fuck.1 -
"We don't use nuget, it isnt secure. We just put all the dll's into a nuget directory thats available to all of the users in the company."
"But that means your references are all broken and your packages.config are wrong? None of your solutions build that are in source."
"We don't check in solution files either. That causes clutter in TFS."2 -
Today I learned:
In Java, you're supposed to compile a source file in its package one directory up, outside of its package. You can't compile the source file in its own package directory, for it will state "cannot find symbol" on files in the same package, even though they're in the correct package directory. That can be quite confusing at first.
Given the following directory structure:
|_
|_ \pkg
|_ _ Src1.java
|_ _ Src2.java (interface with static method)
and the following source:
package pkg;
public interface Src2 { static void doStuff() { ... }; } // assuming JDK8+, where static default methods are allowed
package pkg;
public class Src1 { public static void main(String[] args) { Src2.doStuff(); } }
..being inside the pkg/ directory in the console,
this won't work:
javac -cp . Src1.java
"cannot find symbol: Src2"
However, go one directory up and..
javac -cp pkg/*.java pkg/Src1.java
..it works!
Yeah, you truly start learning how the compiler works when you don't use the luxury of a IDE but rather a raw text editor and a console.1 -
That helpless moment when you type 'rm -rf *' in the wrong directory coz you misspelled the directory name!1
-
Android studio's pro tip:
1)While installing it for the first time, just edit idea.properties(open it in notepad,its a text file with instructions already there) and change the system and caches directory to your custom defined directory with space > 8gb before installing
(Yeah that's the amount of cache generated when you have 5 projects open in parallel and when its being created in your root folder, your system hangs{personal observations, can't assure})
2) similarly click on "set custom location" and don't go with the "set recommended location" when asked where to install android studio's sdk. -
Note to self: Always do a dry run first when you have --delete-before using rsync.
Long story short I wanted to restore some folders from my external HDD to the home directory on my laptop XD I should have specified the exact folders 😹2 -
FML. Troubleshooting a bad mount. My server doesnt seem to know whether it wants "remote_images" to be a directory or a file lol.
admin@off001-truservcomm-jhb1-001:///var/...$ cd remote_images
admin@off001-truservcomm-jhb1-001:///var/...$ ls
ls: reading directory .: Not a directory
admin@off001-truservcomm-jhb1-001:///var/...$ sudo ls
ls: reading directory .: Not a directory
admin@off001-truservcomm-jhb1-001:///var/...$ cd ../
admin@off001-truservcomm-jhb1-001:///var/...$ mkdir remote_images
mkdir: cannot create directory ‘remote_images’: File exists
admin@off001-truservcomm-jhb1-001:///var/...$ rm remote_images
rm: cannot remove ‘remote_images’: No such file or directory
admin@off001-truservcomm-jhb1-001:///var/...$ sudo rm remote_images
rm: cannot remove ‘remote_images’: Is a directory13 -
!rant
I love emacs dired mode.
Nothing better than the full power of a decent text editor to edit directory content.
I know quite some multi-file-naming tools, but they are all crap compared to dired.
That's all. Have a nice weekend, everyone!1 -
Settings be like..
yo dude you want your home directory on C: or D:?
Me: let's use D: pls.
Every program uses D, cus there is HOMEPATH.
Cmd be like..
C:\Users\Mofo>3 -
Why do SAMBA network drives have to suck this much? Yeah I understand that compiling to a network drive is probably a bad idea just for performance reasons alone but can't you at least not fuck with my git repo?
$ git gc
Enumerating objects: 330, done.
Counting objects: 100% (330/330), done.
Delta compression using up to 24 threads
Compressing objects: 100% (165/165), done.
Writing objects: 100% (330/330), done.
Total 330 (delta 177), reused 281 (delta 151), pack-reused 0
error: unable to open .git/objects/7e: Not a directory
error: unable to open .git/objects/7e: Not a directory
fatal: unable to mark recent objects
fatal: failed to run prune
$ git gc
error: unable to open .git/objects/00: Not a directory
fatal: unable to add recent objects
fatal: failed to run repack
$ git gc
Enumerating objects: 330, done.
Counting objects: 100% (330/330), done.
Delta compression using up to 24 threads
Compressing objects: 100% (139/139), done.
Writing objects: 100% (330/330), done.
Total 330 (delta 177), reused 330 (delta 177), pack-reused 0
Removing duplicate objects: 100% (256/256), done.
error: unable to open .git/objects/05: Not a directory
error: unable to open .git/objects/05: Not a directory7 -
Say that he's building a landing page and delete the entire root directory of the website. I didn't see it happen... But still...
-
Ridiculous when ftp guide doesn't include anything about how to change root directory.
"All these commands and Voila! Yiu have your vsftpd server running"
ok but what is the root directory tho?2 -
Always remember to "git submodule update", I spent ages debugging a build today because the build system's submodule directory was empty.
-
Hey guys,
Based on some recent posts about automating repetitive tasks, I was wondering, what are some tasks that you have automated?
In my case, I guess it's not really automating, but I made my work simpler by creating a bunch of bash alias that take care of frequently occurring bugs or small tasks like fetching all git repos in a directory.10 -
This idiot client wanted me to code within a laravel app. He wanted me to use laravels translation helpers. He also wanted me to put every piece of code into a php file in the public directory and I must not change any of Laravels framework files...
I denied.3 -
FUCK YOU MICROSOFT
GO FIX YOUR FUCKIN C# METHODS
Language felt good but jesus fuckin christ.
HOW YOUR File.Exists() can be so retarded jesus fuckin christ
I mean god, how retarded can it be when i obtain the current directory with your builtin method (System.Environment.CurrentDirectory) attach to it the directory name with the images i need and I ALWAYS GET FALSE ABOUT ITEMS THAT ARE FUCKIN THERE.
Fix your fuckin encodings too, suckers.6 -
Error. File not found: C:\somedirectory\file.txt
*opens C:\somedirectory\ * *looks at file.txt*
*runs program again*
Error. File not found: C:\somedirectory\file.txt
*changes directory it is looking in, copies file to new directory*
Error. File blank: D:\somedirectory\file.txt
*cry... no it isn't*
I just need to deploy this contractors code... supposedly it ran on another system, but the endless Spring configs hate me... :(9 -
TIL:
How to become root w/o having to provide a password:
unshare -rm
no go ahead and bind-mount your own /etc/hosts (or any other file/directory) w/o affecting the rest of the system!1 -
WTFFFFFFFFOMFG
Why is setting Java path so frustrating? My $JAVA_HOME is supposedly be in my /usr/lib/jvm/java-8-oracle directory but Nautilus shows up nothing!
It's like I'm head first inside the rabbit hole. Fuck3 -
Not a rant.
But, who loves to run gource on your project's directory and gets excited staring at the awesome animation created based on the git logs.
+1 If the whole team stares at it and yell "Look, thats me adding the .... component" -
Pushed out a big update that included restructuring every directory. No one had access to the admin section. Yeah needless to say my boss was not happy since no one could do any work. Turned out during the process I made every admin page need the highest level of authorization which only the owner has. Easy fix but stressful day for sure
-
My new passion in life is to spend a whole morning trying to figure out why I can't create a thumbnail with node-imagemagick, only to discover that I forgot an 's' to the output directory.
FUCK. ME.2 -
Had a lot of folders with pictures in them in a directory and I'm not kidding, I did 'mv /* .' instead of 'mv ./* .'
Immediately stopped it but a couple hundred files were moved.
Looks like mostly jpgs but also some Python scripts... Not sure why I'm so stupid..
First time I've been happy to see so many permission denied's..
I'd like to clone myself and then have myself punch myself in the face..3 -
So I just realized (while rewriting some code) Python can't import stuff from a sibling directory without voodoo tricks. Seriously. In 21st century.26
-
Ok I take back what I said about having luck with hardware and software sometimes, why is it so fucking difficult to setup a linux distribution with your home directory on a seperate drive... Just why...
༼ つ ◕_◕ ༽つ Tux be with me
(Please feel free to enlighten me if you are aware of a way I can do this)8 -
The moment when you accidentally delete the final product instead of the experimental one because they have the same prefix and the shell's completion choose the final product when you type the name.
That happened to me today. I accidentally deleted a postfix calculator that I wrote in Scala instead of the sbt one (Which does nothing) because both of them have the same prefix (nimtha is the program's directory name, and nimtha-sbt is the sbt one). I don't notice that until I go back to the project directory and don't see the program's directory. I tried to recover it with TestDisk, but it can't. All because of fish's shell completion, and also because of me.
At least that was a pretty small project so I don't feel very bad.4 -
Well, if your backups don't include /etc/nginx, make them include that directory. Mine's gone and I'll have to configure that again Friday evening. Woops.5
-
I failed to recognize that svn import does not download the repo to my laptop but "imports" the directory I'm currently in into the repo. That was my /home...2
-
macOS' Finder says I have 24 files and directories in my home directory. 'ls -lah | wc -l' says I have 172. That's a lot to keep hidden from me. :)2
-
I must be the DUMBEST person on the planet to constantly have problems with being able to drag one Mac directory in Finder to another one without taking everything OUTSIDE of that directory also and dumping it where I don’t want it. Or the file or folder ending up somewhere else than my intended destination. This time I wanted ONE folder from my downloads to go into ONE other folder in my home. Instead, it took EVERYTHING in downloads and dumped it into the target folder. It was impossible to sort out what didn’t belong so I had to delete everything and now all my downloads stuff (some of which I was still using) is gone.6
-
Service necessary for many applications is failing at 8am this morning, it connects to a virtual directory. Trying to figure out why it's failing, application is fine, Middleware is fine, asked to reboot virtual directory servers "no we can't do that" fast forward to a wasted day trying to find the error, asked again to restart, they said yes, what do you know it started working again
-
Thanks a lot NVidia... Kinda feels like this is becoming a weekly thing for me 🙄
(Also tfw you find your backup-file in the trash-directory of the ext. harddrive)3 -
!Rant
How do you all store photos on your site?
Personally, I setup a unique directory for each users, user table has directory name column and every photos that they upload are store in there. Any other ways?2 -
Good: local news website has an interactive news paper online
Bad: You have to pay for it
Good: Found the exposed URL to all of the paper images
Bad: can't download from its parent directory
Good: made a shell script to download all images4 -
When the teacher didn't know how to copy the path to the website directory.
He created a shortcut to the website directory then opened the shortcut properties and copied it there. Just to setup apache1 -
What's the best nodejs framework for the MEAN stack? I need to do additional things to put TypeScript in node js and express. I have seen nestjs with a good directory structure and also uses TS by default. How about meteor or Koa?
Should I just add TS to my existing node and express? Or use nestjs or some other nodejs framework. What do you suggest?3 -
Developer: You can’t just change the build process
Me: I set the “Get Sources” step to clean the build directory
Developer: Yer exactly you can’t do that
Me: It should build from a clean source though
Developer: Yer well it works so don’t change it
Me: Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh2 -
Version 1.0 of the system I work on at my job was simply 200+ *.jsp files in a single directory, with many JSP's iframe-ing in other JSP's, sometimes up to 6 iframe layers deep.... now we're implementing a proper hexagonal architecture with a Vue.js frontend, and working with legacy code is an absolute nightmare.
-
I executed "chmod -R go-r .*" on my home directory at the university server.
Only to realize that ".*" also considers ".." so I chmodded out files for many other students before I hit ctrl-c.3 -
One of our clients old CMS was completely hand written, allowed execution of PHP files in the uploads directory with an uploader that was publicly accessible, and the "security" was MD5 hashed passwords. Oh and the username/password for the admin user was password.
-
I've got Linux 3DS working now, but I have a size limit of 60MB for my zImage. Is there a way to mount a file via loop as, say, the root directory, so the image in RAM is unloaded and it executes from SD/NAND? If not, anything similar?
-
The coolest project that I have worked on is still a work in progress. It is a dashboard that uses signalR that integrates with team city, active directory and Google calendar. It's definitely one of the coolest things I have worked on to date.
-
My laptop is having some power issues and it often turns off randomly.
Last time, it happened while running some git stuff and since git didn't finish properly, the whole git directory fucked up: I could not do anything with git anymore.
Later I find this dude: https://stackoverflow.com/a/...
If you're in here, Nathan VanHoudnos, just know that you save more lives than any politician1 -
Kind of a coding error. My git status was full of files I haven't committed, and I wanted to clear it.
I took a guess and thought 'git clean' would do the job. Stupidly I was in my documents directory, and I then said goodbye to all my documents... r.i.p.1 -
Did you ever forgot the dot at the very end of docker build command, when the Dockerfile is in the current directory? Best circumstamces when it happens in travis.yml (yeah, forgott a dot here as well) and like always the first build there fails :D
Did ever the first build in a CI worked out for you?1 -
Just took on a freelance joomla project where the last "dev" was charging $400 a month to admin the site. There was no security installed and the administrator directory was not redirected. It appears to have been brute forced about 2 years ago as I've found FilesMan back doors everywhere. It's good I'm charging hourly as I'm looking at a full rebuild now.
-
Fuck ssh. It does 4 things at once and i couldn't get it to do one. I have some pi's and want a shared directory on each of them. On a server i created a user for that and mounted its home directory on a pi, it worked. I did some lockdowns (no shell, only sftp allowed, login only via keyfile), but i was still able to mount it on boot.
Now i had to migrate this setup to another server. It took me a while copying all the configuration etc. All i got for that was a error-message. I figured out the users home-directory had to be owned be root, fixed that, got another error message. Somehow scp didn't use sftp but the login shell which is /usr/sbin/nologin. That made scp (and sshfs) fail, even though it perfectly works with the other server.
I gave up and removed all the setup. I'll find another distributed filesystem for that (but not samba or nfs, those are way to complicated). Those are the setbacks that depress me. -
There were many issues that came about during my entire employment, but I woke up today with some, honestly, quite bizarre questions from my manager that made me open an account here. This is just the latest in many frustrations I have had.
For context, my manager is more of a "tech lead" who maintains a few projects, the number can probably be counted in one hand. So he does have the knowledge to make changes when needed.
A few weeks ago, I was asked to develop a utility tool to retrieve users from Active Directory and insert them into a MSSQL Database, pretty straight forward and there were no other requirements.
I developed it, tested it, pushed it to our repository, then deployed the latest build to the server that had Active Directory, told my manager that I had done so and left it at that.
A few weeks later,
Manager: "Can you update the tool to now support inserting to both MSSQL and MySQL?"
Me: "Sure." (Would've been nice to know that beforehand since I'm already working on something else but I understand that maybe it wasn't in the original scope)
I do that and redeploy it, even wrote documentation explaining what it did and how it worked. And as per his request, a technical documentation as well that explains more in depth how it works. The documents were uploaded as well.
A few days after I have done so,
Manager: "Can you send me the built program with the documentation directly?"
I said nothing and just did as he asked even though I know he could've just retrieved it himself considering I've uploaded and deployed them all.
This morning,
Manager: "When I click on this thing, I receive this error."
Me: "Where are you running the tool?"
Manager: "My own laptop."
Me: "Does your laptop have Active Directory?"
Manager: "Nope, but I am connected to the server with Active Directory."
Me: "Well the tool can only retrieve Active Directory information on a PC with it."
Manager: "Oh you mean it has to run on the PC with Active Directory?"
Me: "Yeah?"
Manager: "Alright. Also, what is the valid value for this configuration? You mentioned it is the Database connection string."
After that I just gave up and stopped responding. Not long after, he sent me a screenshot of the configuration file where he finally figured out what to put in.
A few minutes later,
Manager: "Got this error." And sends a screenshot that tells you what the error is.
Me: "The connection string you set is pointing to the wrong database schema."
Manager: "Oh whoops. Now it works. Anyway, what are these attribute values you retrieve from Active Directory? Also, what is the method you used to connect/query/retrieve the users? I need to document it down for the higher ups."
Me: "The values are the username, name and email? And as mentioned in the technical documentation, it's retrieving using this method."
The 2+ years I have been working with this company has been some of the most frustrating in my entire life. But thankfully, this is the final month I will be working with them.21 -
I remember back when I was in pre calculus I decided to take a class online. So my teacher's website was made by him and run on go Daddy, he taught precalculus, calculus, algebra, algebra ii, and computer science. I decided to penetration test his website and use a web crawler. His directory that had the tests, test answers, exams, exam answers, and homework answer's as well as all the books he's written in PDFs, was unprotected, I could access and download them all. He also had a database directory that contained all the students' phone numbers, email addresses, home addresses, and their full names.
I alerted him to this and didn't get anything in turn :P2 -
When you are going to open an existing project, and you find the terminal already open in the project directory, Its makes you so happy.
But after a short moment you close everything.1 -
Dev superstition:
Before installing anything I still cd to the root directory.
Like it even matters 🙄2 -
Just deleted the whole directory of my website, it was MESS. It's time to start from scratch again. It is now one of those side projects that I started but never finished.1
-
Just dropping by to tell you that gocryptfs is the best solution for encrypting a directory that I have ever come across and isn't absolute cancer to set up.
Look it up. It's amazing.2 -
My final year taking a B.Sc. I'm writing up my Distributed Systems project, the day before handing it in. It's on top of Transis, and source code is "stored" in RCS (yes, I'm that old). The project is a reliable system administration tool, that performs the same action across a cluster with guaranteed semantics.
I'm very proud of the semantics, but cannot figure out why the subdirectory installation stuff works almost but not quite. Here's my sequence of actions:
1. Install across all machines.
2. Manually see it's broken.
3. "rm -rf *".
4. Repeat.
What in to discover is that the subdirectory installation always finishes off in a current directory 1 level higher than where it started. Oh, and the entire cluster sees my NFS home directory. Oh, and I'm running each cluster member in a deep subdirectory of my dev directory. Oh, and my RCS files live in a subdirectory of my dev directory.
All of a sudden, my 5 concurrent "rm -rf *"s were printing weird error messages about ENOENT and not being able to find some inodes. In a belated flash of brilliance, I figure out all the above, and also that I've just deleted my dev directory. 5 times, concurrently. And the RCS files.
That was the day a kindly sysadmin taught me than NetApps have these .snapshot directories. -
User: your python script is giving me error, <insert stack trace indicating a missing directory on the system path>
Me: Did you add the directory to the path
User: yes
Walks over to desk checks path, finds a space after the semicolon separator before the directory.
Removes space, problem fixed
Why Windows, why can't you just strip the white space.
Returns to desk, hides underneath and waits out the end of the day 😿 -
so, I am trying to implement a caching solution for my CI/CD (because, you know, BitBucket CI caching sucks ass big time). This time I was writing a module in Python. I spent 2 evenings in the evening building it, debugging and testing, implementing several features making it a flexible solution.
So, yesterday I had a pretty much well working version. Before pushing changes I wanted to drop the cache and give it another round of testing, just to be sure I was pushing a truly working code. I rm-rf the cache directory, restart the engine and I'm greeted with an error message saying the module I was working on cannot be found.
wtf..?
Out of a sudden the IDE stopped showing all the project files as well.
wtf happened....?
oh, of course.. I rm-rf'ed my project directory, not the cache directory. Deleting EVERYTHING I had.
fuck.
I should not be working half-asleep4 -
What might be a legit reason to commit a target directory with thousands of compiled crap the code in the very same repository generates? Why the hell would anyone want to do this?4
-
This Dev I won't name, Ashley Martins, chown'd the /etc directory rather than her own config, and we didn't have console access, so was unable to ssh in.4
-
How do you guys manage your dotfiles? How do you organize them and prevent your home directory from filling up?7
-
Crated a small program that would make life with an external hard drive easier.
Part of it includes copying music. Since I didn't have the EHD on me I decided to test this part on my music folder.
After going though circles because of a directory not found folder, I decided that the problem was that I workout one 0 in the spelling of my user directory. Finally, I thought that it was fixed, I was all excited and then "access to directory denied (I'm paraphrasing)", this is my music folder we are discussing here... 😓😒 -
NPM keeps throwing errors at me! Throwing a fit ensues for about 20 minutes.
Realized I was in the wrong project directory....2 -
Google Japanese Input's Installation failed with code 1402 ( MSI killed the installation)
So I unpacked this .msi file using 7z and copied them to a directory, started all .exe programs, it worked....
A weird way to install software..5 -
If you are going to maintain empty directories in your git repo then use the strategy of placing a file inside the directory called .gitkeep. Searching on this filename will lead you to a discussion of the same topic (hopefully, maybe not). Which includes a lengthy discussion on how the semantics of the file name is somehow more important than the answer of keeping the directory in the repo. My favorite part was someone claiming the file name .gitkeep was the standard way of maintaining a directory and others jumping on this person saying not it is NOT the standard way, and that in fact any filename would work. Misunderstanding that saying it was the standard probably only referred to placing a file and not choosing that exact name.
Basically it seemed to turn into an autists semantics fistfight in the comments.
https://stackoverflow.com/questions...
Someone is that discussion claimed .gitkeep would lead to confusion if it was a standard git filename. I then found this:
https://stackoverflow.com/questions...
Is it wrong to find so much humor in this?4 -
I’m looking for a simple tool for Windows, GUI or CLI, doesn’t matter.
It should do the following:
Take a directory and a number as input and randomly move the files in that directory to subdirectories, each containing files up to the provided number.
So, random grouping essentially.
I’ll write it myself if it doesn’t exist, but let’s see if I can save me some work 😆24 -
!rant
Struggled for 2 hours now. How the heck can a create a directory on android. My code:
File dir = new File(Environment.getExternalStorageDirectory(), "Directory");
dir.mkdirs();5 -
Half asleep here, I was doing a large manual backup to a mounted directory... fast forward an hour and here I am issuing umount just to find out I forgot to mount that directory. Fuck me.
-
Starting to work on a project as a trainee.
Trying to deploy the project on Eclipse.
404 Error when using my browser, while it did work some weeks ago, when I launch it to try.
"Hey, clean the project, and the Tomcat directory, and it will magically work."
It did work.
/shrug -
when you get mad at your dumb mac laptop and 777 your user directory because apple does dumb things with permissions.1
-
What do you guys use to write unit tests in C? I look at some libs such as check, cmocka, gtest etc, but they all seem like way more than I need. Also, I have a hard time to separate test files and source code files (directory structure wise).
Any recommendations?5 -
Was this week bad for you guys?
Personally I had to deal with a university department. They changed their code and how their enterprise directory works breaking almost everything. -
Went to generate some plots but realized my orca.exe swam away from its install directory. The rest of orca directory is in-tact, just missing the binary. #freewilly
When this stuff happens, I just assume I was drunk one night and deleted it for a *smart reason3 -
Docker compose switches users but doesn't update the home directory. Both switching users and not touching envvars are very sensible default behavior, but the result is that the running service has no write access to $HOME - and many programs don't provide sensible error messages for this rather unlikely scenario.2
-
I am not a fan of programs that want to store their libraries in your home directory. It's alright if they store it in a hidden folder at least. I like my home directory to be nice and clean~~3
-
Fuck. Lack of sleep messes up work. I was writing code changes to a build for two hours but I deployed it to the wrong directory every time and then I wondered why my changes weren't reflected..
sleep++ needed.. -
Where do I keep a custom config file?!!!
I have a script in /etc/init.d that runs a program that takes a file as an argument, but I shouldn't keep that file in a user's home directory. Where should it be?6 -
Some time ago, I noticed a Node script use a lib called 'rimraf.' Now I'll never forget how to get *nix to delete a directory without giving me lip about it.
rm -rf2 -
How difficult is it to create a custom 401 page in apache while requiring basic auth for the web root. I cant work out how to allow just the file /401.php
I keep getting:
Additionally, a 401 Unauthorized error was encountered while trying to use an ErrorDocument to handle the request.
Any suggestions?
I've tried the following
ErrorDocument 401 /401.php
<Directory "/var/www/glype">
AuthType Basic
AuthName "Site Under Construction - Dev Only"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
<Files "/var/www/glype/401.php">
order Deny,Allow
Allow from all
</Files>
What am I doing wrong2 -
markdown4documentation is a tool that can either convert a single markdown file, a complete directory or a complex structure to HTML or PDF. You can choose between several build-in themes (called templates) or define a custom theme.1
-
What is the most shell program you have ever used? To me it is zoxide. Zoxide is like `cd`, but instead of just `cd` to the path, zoxide also remember the path, so the next time you enter the name of the directory you `cd`ed with zoxide before, it will automatically teleports you to the path. Which is very useful because now I can just type `z uluto` instead of `cd ~/Projects/Python/uluto`.5
-
I have always had the fantasy to build a function in my developments that upon start would check if my user still is enabled in the Active Directory, and if not then shut down the application. Never done it... yet.
-
A command line tool built in Python that helps you analyse your git logs by exporting them into a csv/json file.
Can fetch the logs from a given file path or a git directory.
https://github.com/dev-prakhar/...3 -
Installing C++ libraries. There's no standardised system to download a library and link it's headers into my project as of now, so I generally end up symlinking its headers into an include directory, which can be very annoying.5
-
I once wiped my Hard-disk.
By executing rm -rf / (I hit enter before specifying the directory/file) I was Linux Noob back then, & was literally in tears for weeks after the incident because I didn't backup the Linux installation with my files). I have learnt a very important lesson after that day!
Tldr: fucked my Ubuntu System by executing rm -rf / command and was resenting the decision for weeks to come.
*Edited typos.9 -
I don't know why i'm so excited about this
But i have windows and a linux distro dual booted
and i pointed my Wine C:// directory to the partition i had windows installed on
i feel accomplished???3 -
This place I’m consulting at just had a new Directory of Change, first policy she made for IT is mandatory 3 working days wait for any release in Test and 2 weeks for Prod. That includes application config value update in Test database. We think she might have misunderstood her job title Ms. Director of No Change..2
-
Sometimes I wonder why Skype developers think it is okay to download files to a specific directory without an option to select a location at the point of download. Or is this yet another premium feature?5
-
Thus happened recently.
I installed vestas on our organisation's lab server. I was trying to add the user's key to gitlab.
But vestas doesn't support ssh keys by default, and i thought to go by https way
I don't remember my password, so instead of opening saved logins I was going to install gitlab on our organisation's sub domain.
Later I created custom keys inside the user's directory -_- -
Today I created a second admin login for myself, deleted the first one, recreated the first one, then deleted the second one.2
-
Not code per se but a company I worked at ran their document control from a giant spreadsheet. Each row had info and a link to the document.
It was all in one directory anyway... -
I can't believe express would betray me like that. Doing a POST request to the Twitter API every time I use it, tsk tsk tsk 😫
https://medium.com/friendship-dot-j... -
Accidentally deleting files for one of our internal web servers because the naming of the directory looked like a duplicate of another directory. Thank goodness for backups.
-
So today, I have to clean the project, republish, clean Tomcat's directory, recompile.
That takes forever omg -
For an web app suggest sub-domains instead of directory structures. Got escalations, not fired, then I quit my job.
-
Having a problem finding the location of a cache directory. So I turn to Google. Everyone says "look in the cache directory" and acts like it should be in some obvious location (which it isn't) but NOBODY, not even the software documentation writers, mentions exactly WHERE this directory is.3
-
Json host files of a whole server networks root server passwords under the webservers configs directory open to the public.
-
I was given a project at work, and instead of committing a src directory, all of the work the person before me did was in the compiled dist directory. fml1
-
What on earth could possibly be that unpleasant?
Would you like to create the directory and install a file? Of course. Would you like to replicate the files in the directory? Apologies, but that's not possible.2 -
One of the MS libraries for directory services has a known memory leak and there is an easy fix for it but rather than fix it, our systems architect decided it was best to just restart the app pool nightly for one of his apps.
I don't get lazy coding. My apps that use the same MS library don't suffer from that problem all because I spend a little time on the code... -
Querying Active Directory limits result sets to 1000. Useful when working for an organisation with over 3000 people...
-
I have yet another problem.
Whenever I think about starting a new project, I open console, make a directory, initialize the boilerplate things and then...
Stop. I can't move much further because I get another idea that could be branched off of that last idea. And then.. another one.
Infinite loop :/
Hopefully I will reach a stack overflow soon...1 -
It took Samsung over a decade to implement something as simple as staying in the current directory instead of going to the initial directory after tapping the "copy" or "move" button in their smartphone file manager.
How long will it take them to implement a simple option to always launch on the rear camera regardless of which camera was last used? Two decades?
It should not even take one day.3 -
It's okay to slow down. Seriously it's fine. You can write 203 wpm... as long as the command you enter includes all necessary limits. Nothing is worse than having ansible rm -r the wrong directory or the wrong server because you missed a limit and put all.undefined wk26 learn from mistakes devops ansible take your time time is both the solution and the problem
-
learning golang. so they have optional feature called `vendor`. so basically they reinvent the `node_modules`.
the weird thing is that it supposed to work by committing dependencies to git. but unlike node_modules, vendor directory wouldn't be massive since they come with assumption that the community wouldn't fuck up the libraries ecosystem.
huh?7 -
When you use ls to look at a directory other than your cwd, decide you don't need that folder and rm -rf * in your cwd.
tl;dr: Alias rm to mv before you regret it. -
Pardon my ignorance but is what I'm trying to do even possible?
I have a WordPress network and have domain mapping setup. So the original was domainA.com/map and the new is domainB.com. Is there a way for me to keep both the old sub directory and new domain without redirects.
If not oh well.7 -
Was learning c++ really fast,but I stopped because I just can't find a way to deploy the applications with their dependant libraries on linux.cant I just include the .so files in the same directory as my executable.12
-
I recently got hired on as a contractor to help the company take ownership of a vendor's product.
In one of the repositories that was delivered to us, at the root level of the repo is only src/ and .gitignore
Everything else, including package.json, .npmrc, .docerignore, and everything else, is all inside the src/ directory.2 -
trying to figure out why this folder is allowing restricted files formats to run, and finding nothing but 'It's a windows folder' what the hell internet DX my school runs windows and it's in that directory children aren't allowed to mess with, of course it's a damn windows folder, but how can I stop them from running viruses accidentally in that folder without causing windows to stop working
Back to god damn research
Thank you for your time -
sorry, search engines were not helpful. does anyone know of a lightweight browser that doesn't need installing but stores everything in the os user directory?
i have no it-permissions but want to provide my department with a suitable browser. we have ie and edge, but the latter deletes everything on closing which makes it unusable for my usecase and the it is not willing to set this up different.
ff portable can not be run from a read-only-folder and any other scenario either needs installing on every terminal or does not handle different profiles which is essential. i read that this is the case for any portable browser.
i'd like to set it up properly with neccessary start page, favourites, adblocker and so on but just in one network directory for maintainance reasons.
we run a web based application strictly local but each windows-user-account must have their own setting in this app (cookies or preferably webstorage).
am i asking too much for? -
Since we are sharing some of our more interesting commits, what do people think of these commits?
General: pro.user update
297af8f
Refactor: Hide and show Spin Boxes on Normalization
6a4e1f3
Refactor: Dynamic resizing refactoring
964f0ae
Refactor: Dynamic resizing across any screen
5890a35
GUI: Measure screen size and assume the proper size.
13f2cb4
Fix: guitest.cpp has been reafactored
5cbc1b4
Dir: Clean unused directory
32c8384
GUI: Hide and show Spin Boxes on Normalization
84db444
Commits on Jun 28, 2016
GUI: Make boxes more bolded
3d23952
General Commit: 11:03 PM 6/28/2016
678c249
Del: build from previous commit
e428041
Fix: Guitest's compiled code was broken
25f546f
GUI: Make window scrollable.
07091fd
Adjust; Changing directory tree -
When you saved a file at the wrong directory, IMMEDIATELY REMOVE IT. I have continuously lost my work by opening a file previously saved in the wrong place, overwrote the new ones, only to realize that it is a file wrongly saved a few days ago.
Also, the hours I spent trying to debug something only to realize I've overwrote a file I saved at the wrong location...2 -
Where the fuck is my memes folder? I had a folder full of devRant memes that I wanted to post, but I can't find it...4
-
Finally got my boss to allow us to use git so we have a source control for not just our applications but our websites. He told me he still won't use it. Should I make a copy of the sites then take it down and see how long it takes them to recover?
Also, the only backup of the websites is in the root directory of each website1 -
Downloaded Gitkraken in my ubuntu workspace... Like to work with GIT in a GUI interface...
Now trying how to run this GUI as a sudo user so that Gitkraken can edit files in my home directory :p1 -
Oh how I wish there was more consensus on project directory structure in JS... sometimes keeps my mouse away from "fork" on GitHub.
What's your preferred structure? -
git cherry-pick -n <commit>
The "-n" is alias for "--no-commit" and it applies the content of the target commit into your working directory without making any commit. Usefull if you want to cherry-pick many commits, tweak them and make a new one or simply want to grab some functionality into your index.
What's yours well-appreciated but not-that-well-known git functionality?3 -
filesystem gents, this one’s for you:
There’s something that bugs me about ext4 that I miss from ntfs, knowing the size of a directory
in ext4 every dir is a kB or so, while in ntfs it’s the sum of all descendants.
Is there a way to have that with ext4 or another fs in Linux?
I understand there could be extra writes to have that.7 -
i dont know npm
today i learned `npm install` in root project directory doesn't do what running `npm install` in a subdirectory that actually has a package.json
in this case there was no package.json at the root project directory if it matters
shoutout to fucking eslint not telling me to try installing the fucking packages it can't fucking find, as im a monkey who doesnt know what their doing
well i suppose this is irrelevant since there's yarn, gulp, webpack or whatever is the new hot front end package manager thing1 -
Some mobile file managers kick me back to the beginning after selecting items for copying or moving.
When tapping on "copy" or "move" after selecting files/folders, some file managers like ES File Explorer (back when it was popular) conveniently remain in the current directory, whereas the stock Android file manager and many vendors' pre-installed file managers like that of Samsung kick me back to the initial directory. On phones with MicroSD, that's the storage selector, and on phones without, that's /storage/emulated/0/.
If I wanted to move files into a sub folder of the currently viewed directory, I have to navigate all the way back to that current directory, which is, needless to say, annoying.
Who thought it was a smart idea to kick the user back to the initial directory? But vendors' pre-installed file managers tend to be garbage anyway. Samsung's "My Files" file manager does not let me enter file names longer than 50 characters, does not let me change the extensions of files, does not support selecting files from search results or jumping to their parent directory, does obviously lack range selection, hides the status bar while opened (what's the point of that?!), its search feature is slow and sometimes crashes, and it can only search the entire device storage or memory card and not individual directories.
It's almost like Samsung deliberately tried to design a file manager as terrible as they possibly could.5 -
Does someone remember this update years ago in the magento community edition that added a file in the root web directory that just printed all database credentials to the browser?
-
When you discover the "branching strategy" is not far off copying the working directory as a backup -_-
-
Android studio is BIG PILE OF GARBAGE.
I waste my second day to install a fuckin emulator because that retarded thing tries to unzip it in fuckin /tmp, which it cant because it gets filled and then it fails.
It doesnt even consider my overwrite options to use a different /tmp directory
AH
FUCK
YOU -
Scenario: Enabling yet another python test suite on vscode. No big deal.
I start the test init and discovery. Says it cant find the test files. Okay; usually the issue is there's no __init__.py in the test directory. It's okay we can fix that.
Oh wait it's still not working. Okay well this isnt good... After about an hour of searching, i finally find out that the file that vscode is discovering tests with doesnt exist... In fact the whole testing directory doesnt exist!
Okay so now what do i do... Reinstall? Doesnt work. Reinstall and delete the extension directory? Yes! Victory!
Dont know how i got a half-baked extension download but hey... Could've beem worse. -
Warning: fopen(welcome.txt) [function.fopen]: failed to open stream:
No such file or directory in C:\webfolder\test.php on line 21 -
# rails manage.py runserver
Usage: ...
# python run server
/use/local/opt/python/bin/python2.7: can't find '__main__' module in 'run'
# npm server
Usage: npm <command> ...
# webpack s[TAB]
...
# [TAB]
...
# ./just_fckn_run_pls.sh
zsh: no such file or directory: ./just_fckn_run_pls.sh
# DO IT
zsh: correct DO to do [nyae]? n
zsh: command not found: DO
# exit
Thank you. Come again!
-- Dr. API Nahasapeemapetilon
============= Broken Pipe =============
10 GOTO PUB -
Deleted a cloned directory for a project which I had made several bug fixes and updates on. I just noticed I couldn’t find the updated files folder when I want to clone for a new project. Sadly this means I must have deleted the directory thinking it was a duplicate of the initial project.
I have no backup and for some dumb reason I forgot to create a repo for the newly cloned directory. I have cleared my recycle bin multiple times prior to now.
I use mac and I need help! -
Working on a portfolio project - I ran some tests, everything is all good - 100% passing. Computer freezes - pop_os has been giving me shit lately, so I have to restart. Fine.
I get back into code, i re-run pytest - nothing works. Python apparently can't find my modules anymore. I try a few things, nothing. Why? Who the fuck knows - "oh you need this conftest file", "oh you need to remove __init__ from this directory or that one", "oh it's a pytest version iss---" no, no, no - listen here you little shit, it was working two seconds ago. Tell me why and how software I wrote with the most basic ass package structure - literally TWO directories suddenly has no fucking clue how to import the modules. hmm? Even from within the app directory, app.server now no longer recognizes imports from app.main or app.database.
ALL of this worked. It works in new directories without dedicated venvs - it works in new directories with my global python install - it works with any one of my conda envs - it works on other computers - WHY doesn't it work in THIS directory all of a sudden?? Ugh.
What's terrible is that relative imports will probably solve it within the app dir, but the tests dir won't accept them. Moreover, vs code autocompletion can find all the modules, but python itself cannot. Fucking infuriating shit like this is.1 -
Ok, so for past 1 whole day I am trying to make vhost work on my brand new laptop, running Ubuntu 16.04 LTS... When I installed OS, I've set hard disk encryption, and on top of it - user home folder encryption. Don't ask me why I did both.
Setting up vhost is simple and straight forward - I did it hundreds, maybe thousands of times, on various Linux distros, server and desktop releases alike.
And of course, as it usually happens, opposed to all logic and reason - setting up virtual host on this machine did't work. No matter what I do - I get 403 (access not allowed).
All is correctly set - directory params in apache config, vhost paths, directory params within vhost, all the usual stuff.
I thought I was going crazy. I go back to several live servers I'm maintaining - exactly the same setup that doesn't work on my machine. Google it, SO-it, all I can see is exactly what I have been doing... I ended up checking char by char every single line, in disbelief that I cannot find what is the problem.
And then - I finally figured it out after loosing one whole day of my life on it:
I was trying to setup vhost to point to a folder inside my user's home folder - which is set to be encrypted.
Aaaaaand of course - even with all right permissions - Apache cannot read anything from it.
As soon as I tried any other folder outside my home folder - it worked.
I cannot believe that nobody encountered this issue before on Stackoverflow or wherever else.9 -
ARGGHH ? WHY !?
[user@localhost pkgconfig]$ ls
libcrypto.pc libpng16.pc libssh2.pc libtiff-4.pc openssl.pc zlib.pc
libjpeg.pc libpng.pc libssl.pc libtls.pc sqlite3.pc
[user@localhost pkgconfig]$ pkg-config --cflags "openssl"
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
[user@localhost pkgconfig]$ echo $PKG_CONFIG_PATH
/CustomPath/lib/pkgconfig/
[user@localhost pkgconfig]$ PKG_CONFIG_PATH=/CustomPath/lib/pkgconfig
[user@localhost pkgconfig]$ pkg-config --cflags "openssl"
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found7 -
Installed MySQL on my Ubuntu Mate laptop. Then I forgot which directory it's in and how to open it. Maybe I should reinstall it.5
-
qemu-img keeps on reporting error:
Could not open 'some-qcow2-img': No such file or directory
Why you waste me 2 hours for troubleshooting instead of telling me it's the backing file that could not be found? -
All I ask is a tall ship and a star to steer her by... plus UltraEdit, Directory Opus, and a command prompt!
-
Angular cli was installed globally with some "more up-to-date" version and locally for a project with a slightly older version. On a local machine. No problem.
The same thing on a VM: nope, module not found error. node trying to run a node_modules install script from within windows directory, in which nothing node-related exists ... ?? -
If I use a connector to pull files from an SFTP server and when I configure it to pull all files from the root folder after it logs in but it actually pulls from the machine's root directory, is that really an SFTP server or just a server? Is that even secure?4
-
So what about sandboxing wine by executing it and the prefix under a different unprivileged user than your main user account ?
wine shouldn't be able to access your normal users home directory then right ?
I keep seeing goddamn ads for firejail... and then its main site is a wordpress..9 -
My folder and and file not exist in the local storage. I made a helper to create a directory in phone storage. But it Works on Samsung J2 but not the rest.
My Helper : https://gist.github.com/johnmelodym...
```
if (FileHelper.saveToFile(readMessage)) {
Toast.makeText(MainActivity.this, "Saved to " + Environment.getExternalStorageDirectory() +
"/Brainwave/"
+ FILE_NAME,
Toast.LENGTH_LONG)
.show();
Log.d(TAG, "Data Saved");
} else {
// something something;
}
```
Am I doing it wrong ?6 -
Someone asked me to check on his Wordpress site. Can't upload media. 'Failure to write to disk' Updating fails too. Directory and file permissions are ok. Server has enough space. Cleared tmp. Any more ideas?8
-
I wanted my MySpace and Xanga to look better and function better than everyone else's.
I created a very basic directory on my xanga linking people's real names to their respective xanga for my group of friends. I started getting requests to add people to my directory. All my friends would go to my xanga first so they could easily find our friend's xangas.
I created social networking.
lol jk.
But it felt good knowing that I made the Internet a bit easier to use. -
[POOL]
What do you have: a "dev" or a "workplace" directory in your home? I always had a "dev" for my projects and I think I'm not alone, but I can't be sure10 -
Webpack sucks ass. I can't find a single resource on how to include code from a parent directory. Heaven forbid anyone ever develop something alongside their webpack project.2
-
Anyone else effected by the UK fast outage yesterday? We've come in this morning to a failed drive (or so we think) our Web server home directory is just gone wondering if anyone else has noticed any funnies on their hosting
https://theregister.co.uk/2017/12/... -
>coreutils install
how can something suck balls so much?
do you want to install a file, creating the directory? sure. do you want to copy directory structure? sorry, can't do.
i'll just use rsync, fuck it -
Doing what I dislike... documentation.
and I have to make the readme files for every directory within the codebase.!!3 -
I have a directory "output" in my express project which contains some pngs and I want that every user can download the content of the "output" directory into their local machine can anybody tell me how I do this using nodejs?5
-
That feeling you get, when you go to a 2 day course at Microsoft called "developing on azure" and they spend 1 day to talking about active directory integration with office 365 an azure
-
How do I package the shared libraries
(.so files) with an executable let's say for linux and make sure that the program links to those shared libraries.do I just put the .so files and the executable files in the same directory or do I have to do something else.2 -
WHAT THE FUCK IS THE GOOGLE SDK FOR?
ya I get it you connect to it.
It doesnt give local directory to Google Directory, it doesnt run ssh commands nor python commands. WHAT THE FUCK IS IT FOR?
DO I MAKE A BUCKET NOT COMPUTE ENGINE?
DO I SHOOT MYSELF IN THE FOOT AND DELETE THE PROJECT DUE TO HAVING AN OVERFLOW OF PYTHON FILES IN WRONG DIRECTORIES?
LIKE FOR REAL -
I use Apache .htaccess to rewrite requests to .git folder to return 404. Why? Because next web told me I'm using git wrong, that they directory contains source control compromising information but I'm too lazy to figure out what to do and--this is the most important part--I don't know what I'm doing.
-
When your work machine has some cloud av, with single whitelisted directory.
Moving appData was quite an experience, especially when certain visual studio extensions have absolute paths in registry. -
Angular w/ Python or React w/ python. what why and how? I feel the web is full easy tutorials directing us to mainstream coding. I love angular 4 directory structure but react has more modules on git. help!1
-
So I found one of the most random bugs I've ever come across.
So we have this file management system as part of the website, showing breadcrumbs to the current directory, with 'home' as the root of the path. This path is passed to the back end whenever the user navigates to a new directory etc.. The back end code then does a replace on 'home' with the actual directory path.
Ended up with a directory for a person called Homer. Guess what happened.. -
That time when you first learn command line to remove a directory and end up deleting the entire corporate intranet.
Thankfully there were backups.
Only learned afterwards they had just started doing back ups the day before.
(face palm)1