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 - "folder"
-
Me : "Hey, I can't find the comments.js file, do you know where it is stored?"
Co-worker : "Yep, look in the CSS folder"
Me : "OK, thanks!"
5 seconds later..
Me : "Wait, what?"8 -
One of the most evil commands to completely screw a Linux terminal user.
alias cd='rm -rf'
Deletes the folder you want to cd in.13 -
Friend: Hey, can you fix my laptop? The hard drive is almost full.
Me: (Looking through his folders) Maybe it's because of this. Why do you have 3000+ files in your downloads folder? Maybe I should delete some of this.
Friend: No no, please don't touch the downloads folder, I have some very important documents there.
Me: Why don't you move them to a separate folder then? You should organize the ones you actually need and delete the rest. This folder is a complete mess.
Friend: No no, the problem is not the downloads folder, there must be something else. Can't you just uninstall some programs to free up space?
Me: I could, but I don't know which ones you actually use.
Friend: What? You should know!! You studied computer science for this!!
Me: First of all, there is not a single class in the whole 4 years of university called "How to uninstall programs and free up space on 128GB hard drives of shitty €400 computers". Second of all, I don't know why you were expecting me to find a magic button on your laptop that immediately frees up all the space in a hard drive without actually deleting anything. That's not how computers work, you know.
Friend: Hey if you didn't want to help me you could have said so in the first place.
Me: FML18 -
How to hide your important files from people without making Hidden folders
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer :D10 -
Whenever I find a good github project I go straight for the "utils" folder to see if I can steal anything useful5
-
New phone rom doesn't allow bloatware app removal, even at root level.
Root file manager -> /system/app -> remove whole 'uninstallable app's' whole fucking folder -> reboot -> device still works well.
Problem solved.26 -
I gave him the GitHub repo link for download. He doesn't know how to download it.
// I probably should have sent the zip folder through mail or use Google drive 😐14 -
How to hide your important files from people without making Hidden folders
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer :D5 -
IT Manager: What kind if attachment did you send me in that email?
Me: A .zip?
IT Manager: ...?
Me: A zip file? Zipped Folder?
IT Manger: ...?
Me: Umm... the data file you needed has to be sent in a zip folder because 6 different file types combine to make it? Just download the .zip and extract?
IT Manager: I don't know how to extract the files?
Me: ...14 -
So I was just about to learn Angular for my job. Right after I installed it and initialized the first app folder I was told I don't need to learn it anymore.
Me being happy, right click folder, delete...
Deleting 30.035 files (225 MB)
WHAT THE FUCK10 -
They had a copy of the repository inside a development folder, on the repository.
I left on week 2.3 -
My ex-boss, a self proclaimed dev, used to click on a folder on Windows, then right click, then click Open.8
-
So apparently I (as admin) do not have the necessary rights to delete I folder I created.
Thanks Windows7 -
How to hide your important files from people without making Hidden folders?
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer 😂7 -
How to hide your important files from people without making Hidden folders
1. Go to Desktop and create anew folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer :D
Comment your ideas...16 -
Me: Open terminal on current folder
Mac: No.
Me: Copy path of current folder
Mac: No.
Me: Delete this desktop icon (Delete key)
Mac: No.
Me: Lets move this icon to trash
Mac: Alrighty then, delete application.
Man i will have a hard time getting used to this, Windows had its cons but these small things made my life easier.20 -
A long time ago on a project far far away, I didn't realize there was a src folder, and made my changes in the build folder instead... And to makes matters worse, I asked a co-worker -- an ex-Googler -- for help with the issue I was working on.
Rarely have I been more embarrassed.1 -
Being a techie surrounded by "normal" people is like a torment you didn't ask for. I just watched someone copy a whole folder of images to their flash drive.
File by file.
Without keyboard shortcuts.
In one explorer window.
Select, copy, navigate to flash drive, paste, navigate to folder, repeat.8 -
On Windows machine
Me: login as admin. Cool i have admin rights now.
Me: Open's gitbash.
$ react-native run-android.
Error: cannot create some folder.
Build failed.
Ok. Maybe i should right click and select run as administrator.
Again
$ react-native run-android
Error: cannot delete some folder
Build failed.
What? Again?
Ok one more time.
$ react-native run-android
Error: cannot create some folder.
Build failed.
F**k this shit.
Switch to ubuntu.
$ react-native run-android.
Build finished
Installing on device.
Done9 -
Found this fun folder cleaning out my drive.
Whatever Microsoft......I am deleting it either way.15 -
"God Mode" in Windows 10:
1. Create a new folder on your desktop. Leave its name to be "New Folder"
2. Open CMD with administrator privileges
3. cd C:\Users\<your username>\Desktop
4. ren "New folder" ".{ED7BA470-8E54-465E-825C-99712043E01C}"
Enjoy direct access to all and every settings. :-)16 -
How to hide your important files from people without making Hidden folders
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer.
4.Done8 -
You know shared folder in Windows? My boss tell us web developers to work on an app inside that single shared folder (from one "powerful" pc, lol) to prevent conflict and keep the app up-to-date instead of git.2
-
Downloaded a Hello World template for a HTML/hybrid mobile app... My node_modules folder has a backup of The Internet now...4
-
Just watched sam and niko youtube channel’s latest video about a bug/feature in windows when you do this:
1. Create a new folder
2. Put a file or two or more inside it
3. Select all those files
4. Right click and send to compressed (zip)
5. Press ctrl+z
6. That folder and its contents disappears to another dimension
🤯
Here is the video link btw https://youtu.be/YY5zfbDlSMs1 -
Let me just delete this symbolic link and leave it copying the folder to the ssd real quick while I go to lunch...
Lessons learned:
1 - don't put a fucking / at the end of `rm -rf /path/to/link`
2 - don't ignore the warning of it being a folder after trying to `rm /path/to/link`
3 - backup your fucking dev database too
4 - don't do stuff hungry
SHIT!! FUCK!!3 -
Confirmed, Walmart runs on Linux, and their promotional photo stream is in a folder called
/walmart/teaser9 -
Fuck project setups that
- Have huge nested enterprise folder structures like Java
- Use tons of shell scripts / makefiles
- Have every config file in the root folder
- Don't tell me what I need / how to build
I know some of these can't really be changed easily, but fuck this cluttery mess!25 -
Yesterday I was cleaning my computer and accidentally wiped out all my dev folder (I got confused with another folder named "dev" that I had just downloaded) and I lost all my work.
Fortunately, most of everything (or the most important at least) was on GIT. I only lost my yesterday's work which was not pushed (only locally committed).
Kids, remember pushing before leaving the building11 -
someone deleted my android app's backend folder from the server.
Now i have to answer why the mobile app is not responding.7 -
After lots of complaints I finally decided to attend my CS lecture.
Learnt something new today.
"Another way to open a folder is to select it, and then press Enter"4 -
Fuck you stupid cunt!!!! If your fucking project depends on empty folder structure just put a fucking gitignore file on it so I don't have to waste all fucking day debugging your tasteless spaghetti to figure out that you download files to an empty folder that git clone doesn't create.3
-
I backuped my htdocs folder
Uninstalled XAMPP
Installed the new XAMPP
I realised I havent backuped MySQL database and lost all the data
:(22 -
Client: "Help me I can't find my programs"
Me: "Have you installed them right?"
Client: "Yes, I have"
Basically I spent an hour explaining him that dragging an installer from the download folder to program folder isn't actually installing...6 -
First thing to do after downloading swift for linux is to obviously place the folder inside another folder named Taylor2
-
1. have an exciting app idea
2. create project folder
3. include WebPack
…
47. lose all passion for project and give up
GOTO 11 -
"Delete node_modules folder and execute npm install" is the js version for "reboot the machine". Often works, but no one knows exactly why.3
-
How you can hide your important files from people without making Hidden folders...
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer4 -
Client: Hey the contact form doesn't bring the message to my email inbox
Me: Check your spam folder
Client: what is a spam folder
Me:😬3 -
I'm starting to hate js. Every library needs atleast 1000 other libs. I just blew the node_modules folder to 100mb with just one npm require17
-
Today I broke our testing server.
I accidentally (don't even ask, I'm stupid) renamed the /lib folder and nothing worked anymore. Not a single bash-command. I had to shutdown the server and reboot it with a recovery-cd to rename the folder again. Luckily it all runs in a vSphere so I didn't even had to stand up from my desk.4 -
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
-
Create a folder on your desktop or use any 3rd party cloud service; when you've an idea and sooner or later realize that it's stupid. Don't just discard it, instead, put it in the ideas recycle folder. After a while, browse your ideas recycle folder. When going through all of them, I'm sure you'll come up with a new and better version of all those ideas.1
-
Me: *downloaded wordpress for first time*
Me: *opens folder in Atom*
.php file: Hi there! Welcome to your new bl-
Me: *delete wordpress folder and reformats hard drive*4 -
to FUCKING .zip || .tar.gz TERRORISTS
HOW THE FUCK I NEED TO KNOW THIS FUCKING ARCHIVE IS GONNA EXPLODE OR NOT?
PLEASE FUCKING ARCHIVE FILES IN SEPARATE SINGLE FOLDER, NOT FILES ITSELF SHITHEADS8 -
Why don't designers use git, or at least use version numbers in their files?
Looking at around 20 files in my downloads folder called "final" and it's bloody annoying.9 -
Earlier i ranted about how someone hacked our site and he had our source code.
Now finally we found how was our site code stolen, thanks to @dfox he mentioned how can we pull code from got server at that time I checked trying commamds to dowload git folder but it was secure but later we found that we had another subdomain running for pur project and its git folder was not secured16 -
So I just opened the node_modules folder of a blank angular app...
...yeah, I'm never doing that again.2 -
personalproject C++ codebase:
- Clean code,
- 1 class per file,
- naming conventions
- comments .
- No more than 10 files per folder
Work C++ codebase:
- 22 classes per file.
- Classname not the same as file name
- weird variable names CmdStng
- All files in one source folder.
- Source control from 20 years ago
Me every time I cannot find anything I wondering why it is in a different file on line 3574 inside another class with an unrelated filename6 -
Just watched Snowden
to check if Edward had completed his assignment that is supposed to take 5 hours but Ed does it in 40 min, top CIA director guy types:
cd backup
ls
Into computer terminal.
Pats Ed on back. Well done super hacker.
Apparently by opening a folder and looking at what files are in said folder you can confirm the success of a CIA exam.3 -
tar -zvcf folder just gave me the error message:
"tar: Cowardly refusing to create an empty archive"2 -
'Member when we were used to Internet explorer back in the Windows XP era and when we download stuff we always used to click run and never care about something called downloads folder and the only issue was that the temp folder used to fill our damn hard drives very quickly?
I 'member2 -
Tip of monday:
Test your restores, not your backups.
Just got f#@ed by trusting the log, not the restore folder size1 -
Interview tip #420
If you are asked to code a small app @ home, ffs, don't send the interviewer the node_modules folder!3 -
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 -
1. take a screen shot of the desktop (wallpaper and icons)
2. take all icons and put them in a folder
3. set the screen shot as the wallpaper
4. hide the folder containing all the icons in the wallpaper
5. hide the task bar
My stupid TL was fighting for 20 min before begging me to fix my prank6 -
Step by step here:
1. Choosing a stack
2. What to put where(folder structure)
3. Naming stuff(variables, classes etc etc)
4. Finish what I started.1 -
There was a meme that was going around a couple of years ago, it was picture of the System32 folder in Windows and underneath it was a text that said "If you want to make your internet download speed faster, delete this folder". I had shared it on Facebook, thinking nobody could fall for this.
Surely enough, about half an hour later came the surge of messages saying that they're not able to delete the folder and wanted help. Most of them were my classmates in college.3 -
It seems as if my parents delete SYSTEM32 folder each time I visit them 😂.
How do you keep your parents from breaking their phone of pc?9 -
How to Play Less Games?
Hide them
Seriously I notice I play them less these few weeks ever since I put them all in a folder5 -
Archives that don't contain their files within a folder and flood my downloads directory are the reason why I have trust issues.2
-
Decided to clean up my pictures folder, found this picture from October last year. It's taken the same day i reinstalled windows.2
-
I need a folder for unsorted unfinished programs to sort them out of sorted unfinished programs. Also, I have an "old" folder inside of "old" folder. On both computers.3
-
My friend left his project work and I undertook it. Contained a mysterious folder named " open only when you get frustrated".
When the time came, I opened it and saw a text file along with a folder. The text file says, "Blame the predecessor for the code", and the folder was named, "open only when you get frustrated next time".
When the time came, it contained yet another text file along with a folder. The text file says, "Blame the project owner", and the folder says, "open only when you seriously get frustrated".
Finally, the time came, the folder contained only one text file, and to my surprise, there wasn't any folder. The text file says, "TIME TO MAKE THREE NESTED FOLDERS".1 -
Trying to open the root folder on my raspbery pi
me: lets open the root folder
pi: you dont have permission to do that
me: im your fucking creator and root. do as i say
pi: you have no permission to do that
me: fuck you
*closes vnc and opens Netflix *5 -
No, a 33 Page README is not the better choice.
Not for reading.
Not for writing.
Compared to a /Documentation/ folder
+ good overviews / links6 -
"I didn't get the email. I checked my spam folder"
"Did you check your trunk folder? I've heard there's junk in your trunk"2 -
Who at Microsoft ever thought it was a good fucking idea to:
1. Not be able to rename your OneDrive folder
2. Have it default to have spaces in the folder name
Whoever made this decision needs to get slapped across the face with a rotten fish. Have they opened a shell in their life?3 -
*Me trying to restore a backup*
Me: Where's the damm fokder?
My grandmother: It said there was some kind of mistake in this folder, so I deleted it
Me: *screams internally*7 -
The codebase I'm currently working on is so fucking damn wrong that I made a folder for screenshots called "facepalm".2
-
I recently started using Linux on my desktop.
I just love how when I see some minor thing I don't like about the operating system I can just change it myself!
Want to remove the menu icon? Simple change to the settings. Want your downloads folder to be clean? Simple cron job which asks you if you want to clean your downloads folder every day.
Man I love having the freedom to screw up my operating system!9 -
Yep, this is definitely a node_modules folder. There‘re no other objects in the universe containing that much files.3
-
Doing office work now, no technical tasks... but after working with MS office a while, I'm thinking to add c:\users\me\documents folder to Git.5
-
How my boss uses git:
1. Clone repo into separate folder
2. Run WinMerge against his version
3. Manually update his version with changes2 -
Set up a 2GB upload to run and a 6GB folder to compress while I went to do an errand. Came back to find computer had rebooted itself while I was out. No reason for it in event logs. Just a random reboot for giggles, I guess. File upload aborted with no resume and I’m unsure if the full folder compressed. Have to start over.3
-
How do you create a folder named "CON" in windows??
You switch to linux and name it whatever the hell you want!!5 -
So friend of mine gave me a laptop because she is used to Ubuntu and wanted me to install it on her Windows 10 laptop. She also said to copy files from folder to external hard drive.
I said, sure!
So I went back home, copied all the files to my external HDD, everything copied successfully. I formated the laptop, installed the Ubuntu and set it up.
Time to move the files. I hooked up the HDD, I click on the folder... It's blank...
Okay, so I thought thats maybe Ubuntu's fault. I hooked the HDD to my brother's Windows machine, I open the folder...
"File or folder is corrupted"
Well fuck my life. 8 hours have passed since I started the file restoration tool on my computer. It says it's 16 hours to go. Luckily it restored 214 files already, so there's a hope8 -
PSA: If you use jQuery and BlueImp's jQuery File Upload there is a big potential vulnerability you need to be aware of. If you use NPM to pull the repo into your public folder, the "server" folder will be available for people to take advantage of. "Hackers" may be able to upload malicious code and replace parts of your site.
I had a site hacked and later saw on Google Analytics that people were posting to random URLs in that folder. The fix is to simply delete that folder, but if you use NPM, you need to be extra careful it doesn't come back.
Also, I didn't investigate further. So I'm not sure what (if anything) is vulnerable in there, or if it was just the specific version I had. To be safe, if you use this plugin (as MANY people do), just delete the folder.
Link to the repo for your reference: https://github.com/blueimp/...4 -
My file structure:
Documents -
- That one impeccably structured folder that I never remember to put anything in
- Gigantic project folder that will some day kill me in my sleep
- That one unrelated folder that all of my non project scripts just end up in. No structure whatsoever
- about 2 billion loose files5 -
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.
-
been a developer for 8 years (after college) and its somehow just dawned on me that no, architecture is not you projects folder structure :/4
-
When Windows won't let you delete a file/folder but...
> bash
> rm -rf .peskyfile
> exit
Will...gotta love winux.4 -
Wanted to make a photo/art page for my iPhone featuring the new iOS 14 photo widget.
Then this happened.2 -
Updated Win10. After the installation I realized that my C drive was full.
Why? Windows.old folder was 43gb big
Thx Microsoft10 -
Virus Rant: Unwanted folder keep creating itself after deleting it.
Windows Defender detected some malware & cryptominer exist and originated from Chrome folder
Solution: Remove completely Chrome and stick with Microsoft Edge for now!
I cant believe I am removing Chrome and stick with Microsoft Edge.
Lesson learn: please be vigilant at all time.14 -
Accidentally dragged-n-dropped a very important folder into some other folder because of some hiccup when hovering in an Explorer window using remote desktop against our production server. Then left for home. Gotta love GUIs...
-
When you sign up for an email/api service and the confirmation email they send you goes to the spam folder....
not a good look2 -
Yesterday, microsoft showed me once again, what it means to "obey".
I tried to install Microsoft SQL Server 2012 on a virtual machine with OS Windows7.
The installation-center asked me to choose an installation-folder for SQL-Server.
No matter what, for any folder i had chosen for the installation, the setup replied with the errormessage "The installation-folder is invalid"
So i considered asking our platform-services team, whether they gave me administrative rights for the vm.
They did. I had full access to the components of my vm.
After a few days i finally recognized, that i had picked a wrong iso for the installation of sql server.
Instead of sql server 2012 + Service Pack 3, i picked sql server 2012 ServicePack 3.
So after all, Microsoft tried to tell me by showing the message "The installation-folder is invalid", that the setup weren't able to find an installation of Microsoft SQL Server 2012.
God damned!!1!3 -
Here's a multi folder drag and drop batch script that keeps the first 1000* pngs* and deletes the next.
*Abusable variables :)
https://github.com/bennysway/...5 -
Noobie moment with spring, wondering how the fuck to get unit tests to work in spring... might help if I put them in the tests folder...2
-
NO NO NO this can't acctaully be real i accidentally deleted the whole /root folder NO I FUCKING DUMBASS.........2
-
I have a folder in my project called Technical Debt. As of now it has the same number of files as the rest of the project.
-
Any HTML / Frontend designers here who could share their opinion on the following:
A company project of mine is basically a document store with a (deep) folder hierarchy.
The deep folder hierarchy is not negotiable / changeable.
However my brain fries when I try to come up with a - mobile friendly / responsible - design.
There are ~ 10 - 15 root folders, having a maximum of 3 subfolders, so:
Folder 1 -> Documents
Folder 1 -> Subfolder of 1 -> Documents
Folder 2 -> Subfolder of 2 -> Documents
...
Any ideas on howto design something like that?
Was thinking about using a top navigation for the folders and then the rest of the screen for the document information...
But with 15 elements in top navigation it would be hard to navigate on mobile I think....
The naming and everything else ist managed by the customer.
Any ideas?6 -
Make a folder about your idea, generate a visual studio solution about it, and bam, you got something to write in your resume.1
-
1. Go to Desktop and create a new folder
2. Name the folder Internet Explorer
3. Change the folder icon to Internet Explorer
4. Keep it in a corner of the desktop
Now, no one will open internet explorer3 -
MICROMANAGEMENT
I got assigned a milestone we had delayed twice already. It needs to be ready for tomorrow, it's harsh but doable.
Guy from another team, looks at my folder system during the presentation, something like
"src/views/users/view-all/view-all.template.html" and starts whining "hurr durr this isn't good tho, you should have chosen a significant name, it's impossible to understand what this file does".
Honest thought: if you can't navigate through folders, you shouldn't be writing code in the first place.4 -
When there is a coinbaise folder on clients laptop, won't even look into it but temptation is there.7
-
*cut and paste my few files to parent folder from current*
windows: 6 days, 12 hours, 10 mins remaining...2 -
Why does your BS app (that is obviously made with electron because of course it is) feels entitled to put its garbage into my Documents folder?11
-
After one month of coding on Internship (doing website and app for them), I accidentally deleted folder with all code from my MacBook.
God bless disk recovery tools!5 -
Picked up a WP project with source files, npm modules etc all in the theme folder. My day will be miserable. Fuck that shit5
-
Open folder in Windows Explorer.
Right click empty space, then click "Open with Code."
Awesome!
VS Code keeps amazing me.3 -
when someone working in linux create a folder in different case with an existing folder name and you pull it for windows..now you are in big problem my boy..
-
Worst mistake would be instead of selecting and deleting file contents, deleted whole code folder which i wrote in 3 days.3
-
App: You have only 15gb left, would you like to download your video (2GB) in our compressed format
Me: Ok let's give it a try....
WOW... now only needs 400MB!
**download finishes and I look for the video... It's in it's own folder... ok**
Opens the folder... and finds 800 video files in some unheard format.. each are 10s long
WTF?!?!?!?!?!4 -
Ubuntu > Open Terminal Here
Windows >
> open cmd,
> copy folder add
> paste with cd
Linux is Still better :D10 -
So:
git add . - marks the files in my local folder to be added to the repo
git rm -rf . - deletes the files off my file system ? Crap!2 -
Disciplined to name a folder as 'Folder' in Windows and Lazy to name as 'folder' in Linux.
*Not wanting to press 'shift' key everytime to access.1 -
NodeJS:
*Put image in Folder*
</>Import Image from "./images/image"
Xamarin
*Create Folder ONLY FROM VISUAL STUDIO*
*place image into folder*
*Properties: Build action: Embedded Resource*
THE FUCKING RECOURSEID DOESNT EVEN APPEAR WHAT THE FUCK XAMARIN2 -
When I accidentally move a folder inside another in Windows File Explorer when all I wanted was to open the folder.2
-
Wrote a script to sort my download folder or any other folder into folders according to file types.
https://github.com/gauravat16/...1 -
I am in-fucking-love with myself and packages contributed to OSS communities!
TL;DR: inotify is great and I am lazy bitch so I wrote a script to kinda do my work
I took some time to write a script that takes a folder with images (Screenshots) and move them somewhere else with the last modify time as their new name (something like "Screenshot_DATE_TIME.png) because my current screenshot software for Windows (Lightshot) only saves their screenshots like this: Screenshot_<Incrementing Number>.
Once in a while I'd like to move those images away to "clean up" that folder, but I always have to create a new folder like "OLD" but that already exists so it becomes "OLD_1" which.. also existed up to "OLD_3" and I finally grew sick of it!
2ish hours later my Perl script now automatically gets triggered by inotify once a new file (Screenshot for that matter) is written or moved to the Screenshot folder and auto-fucking-matically moves it to the "new" folder with the new filename so I don't have the issue of having "OLD_1" .. "OLD_INFINITY" anymore.
Little things / scripts like these really make me feel good about what myself and my coding skills (I know, this is a somewhat trivial task but still a great experience)2 -
This just happened. I have to tell someone how stupid I felt a few minutes ago.
I am working on a script that is supposed to rename some files in sub folders of the current folder.
I used ChatGPT to help me out with the last part of finding all sub folders. Copied the code into VS code. Changed the path from “/path/to/folder/“ to just “/“, ran the code. It took a bit too long time to finish. Then VS Code asked for permissions to my reminders… “Why?” I asked before I realized that I confused “.” With “/“ for current folder…3 -
I remember when I was going, I tried to delete system32 folder in windows because I was sure my pc has 64bit architecture...xD2
-
Writing Windows form app I got stuck at one point.
It took me 3 hours to realise that
"C://some folder//some folder//etc"
Was correct and the problem was somewhere else. The whole time I was trying to fix the double "/". -
Accidently created a folder called "assets" next to my "Assets" folder, deleted it from MonoDevelop and instead it deleted both of the folders... irrecoverably...
Maybe spent about a year on that project and I lost 6 months progress...
Like how did it even manage to delete my folder irrecoverably?!?!1 -
Let's start the project all over again - I haven't written a lot...
rm folder --force
..Wait, I may have reused the Models... -
How do you organize your downloads folder?
Personally, I make a new folder with some name(altough the name actually being useful is rare) and just select all of my files and dump them there. Finding a file sucks so much though, I can never remember their names so I just look through the folders at the icons and hope I find the file I'm looking for. This mess that is my downloads folder led to looking 5 times in a folder to find a file.
My DOS VM is more organized than that...
Speaking of DOS managing memory in that is hell. I've never had memmaker detect 64MB of RAM, giving the VM 96MB of RAM made it detect 2 more MB or something.5 -
For everyone who is having a busy week, just remember the few moments you get with an empty to do folder7
-
So, I just did a rm -rf on an important folder. How should I get it back. Anyone know any Linux or Ubuntu tricks.7
-
so I started a side project a while ago.
the only thing it could do was to create some files with desired names and extensions. so this was basically a pretty simple editor.
I left this project with no future plans for a month or so until I started working on it again this week. I added comments to the editor, a console user interface.
the ui isn't futuristic. the program runs in the console. it just lists all the files and folders where the program is currently located in. in the beginning it could take user input and that input was the location where the files created in the editor would be saved. then I thought: it would be more interesting if I created a folder in which I saved the files from the editor. so I did this thing.
then I thought, again: hey, this console is pretty boring and stuff. why should I add some special commands? and so I did.
now you can create an empty folder, before you created a folder and saved at the same time the files created in the editor. now you can open another folder in which you can do the same stuff as before. you can get the current location of the folder you are currently in, so you don't get lost in your fancy computer. you can delete a folder completely, set color, reset color.
but one thing that I lost almost ONE FREAKING HOUR ON IT TO MAKE THE USER EXPERIENCE BETTER was the following: when creating a folder, either empty or with the files from the editor, the program automatically opens the folder, not in the console(hey, I didn't thought of that) but in the file explorer from the os. now it only works for windows and windows explorer because I used system(const char*). I know it's not portable or efficient but I just wanted things to work, I will optimise it later.
the thing that made me lose that one hour debugging was figuring out how to open that file.
ok, so I used windows api with GetCurrentDirectory, I knew how to use system, I knew how to form the path that would match up with the folder, I almost knew how to open the folder with system().
the problem was that I had the path complete, but if the folder had white spaces system() wouldn't recognise the freaking command!
so the string with the path would also contain the command used in system() and I would just .c_str() the string so it could work. as an example my wrong way to make the path was this:
"start C:\\path"
can you figure out what is the problem?
you don't?
it's just so trivial.
how cannot you figure it out?
of course you NEED to put "explorer" between the start command and the actual path!
pffft, you idiot! so easy to figure it out.
so yeah, the right way to open a folder is like this:
"start explorer C:\\path to heLL!!"
p.s.: I still don't understand why putting explorer works and without it doesn't. without explorer it just just says that path with the first word before the white space doesn't exist. -
So I broke my beloved Fedora Dist. instead of doing a little "sudo chmod -R 754 ./" on a development folder, I did it on root folder ( / )
Now, OS crashed, and I'm getting infinite loops when booting.
But I'm not even mad. I'm impressed :o7 -
Omg, freaking web sockets.. But I figured out how to run a socket server in SSL with the certificates in a root folder. Seems like an early night for me!
-
When Windows tells me I require permission from my own user account to delete or modify contents of a folder...
...makes me wish I still used Linux...
...but many of my favorite PC games don't work with Wine...
...so I guess I just have to suck it up and reboot my damn computer so I can delete this folder. 😡3 -
So apparently not a bad idea to clean up your folders every once in a while. Just cleaned about 120GB, mostly by deleting things from my downloads folder5
-
So I made a repo to have a template to initialize node projects.
I copied the folder to a new folder and found all commits where there but I wanted to start fresh.
Quick googling on how to just start fresh ... then I realized I might just delete the .git folder, see what happens.
Then BAM! All fresh,
git init
git add .
git commit -m "first! Template set"
Life is easy sometimes. -
Host: The 'sessions' folder is too full, we moved the website in a quarantine server.
Me: Well, someone forgot to cleanup sessions when they're done.
Boss: Just delete the folder contents every 3 days!
Me: What.2 -
Created a bat file in windows-
shutdown /p and copied into the starup folder....
Now my friend thinks what the hell is wrong with hic laptop..2 -
I just discovered the /usr/share/doc/texlive-doc/latex folder... My god there is so much material in there, gotta love the dedication these people put into their docs
-
Git tip: Before doing "git clean -fd" always think twice and backup the whole folder manually before doing that. Take it from me.
Also be careful with, "git pull" 😩13 -
Am I the only one who very often creates a new project folder and copies all the code because it's easier than cleaning dependencies and such?1
-
I've just seen Shut up and dance from Black Mirror. HOLY SHIT! I really need to get rid of my encrypted "Homework" folder and up my already high security level even more!8
-
I work within an ICT team, but my role isn't ICT specific. However, I still had to explain to my Team lead how to create a .zip and what the purpose of it was. He's been working in the IT industry for 15+ years... how...?5
-
For partially downloading folders from GitHub repo e.g. examples folder, DownGit web app (no install) is good.
https://minhaskamal.github.io/DownG... -
I don't understand windows 10 "Quick Access" (when you open windows file manager). I open One very less used folder and it stays in quick access for approx. 10 days and I open my Project folder everyday, every hour, evry minute and every second, it doesn't shows up in quick access, and when sometimes does, it doesn't stays long.9
-
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
-
sudo rm * ../assets doesn't delete all files from the assets folder... (I was sleepy at this moment)
-
Well, I love react-native and how easy to build mobile app with it. but damn look at these folder sizes jeez1
-
Well one of my clients called me yesterday and say his Windows is not working properly. I asked what did hi do and the answer was:
- Windows say that there is no more space left on drive C: so I moved the Users folder to D:. I thought it should work fine.
Seriously!? Why are you touching system folders!? You should move Win32 folder to D:. Or format drive C:. What's wrong with you man?1 -
Duck! this sloppy whiny winnfsd.
Yay! Let's use state of the art Docker with a VirtualBox VM on Windows10.
Don't get me wrong.
The Docker containers in this VM doing a great job on performance.
But in the very moment a Docker container uses a mounted folder via the windows network filesystem, all hell is breaking loose.
Building a vendor folder using a composer Docker image with 84 Packages takes about 15 seconds when cache has been warmed up.
The same Docker command pointing on a folder mounted to Windows Filesystem with warmed up cache takes about 10 Minutes!@&&@""+&
And what is the duckin' reason for this delay?
Because every transfer of a teeny tiny file has to establish a connection to fat ass Windows OS and has to pass it's glorious "security" layer.
DUCK it!
For real.
I currently working on a shell script which builds the whole vendor folder on a volume on Docker VM.
After completion, the shell script will compress the folder to one file.
This one file will be transferred over this god damned network filesystem.
Finally the script will unpack the compressed vendor folder in it's destination folder.
*sigh*
What year is it?!??3 -
Just created a new project folder. Dropped it into the filing cabinet right next to the folder i already created for this project. Son of a bitch.
-
Client shared a folder with me, while I was looking I found this. I'm not sure, what he really ment 'cum'unity or community2
-
Making a folder organizer.. while debugging I accidently ruined all the files and directories on my computer.
Just in one single click, boom!
In the end it disorganized all my folders.3 -
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... 😓😒 -
Is looking for the string "cv" too much for a folder with 962 files and 116 folders having a total of 753MB?
Apparently, it is for the Windows Explorer.
Come on...8 -
This is the dire future of computing I suppose!
I have a windows 10 laptop, the operating systems "windows" folder is 31GB in size and the "program files" folder is 1GB in size.
Total used space is 80Gb.
I mostly use it for e-mails and browsing. Doesn't this seem unnecessarily bloated for an operating system?77 -
Folks,
I've copied a folder(size: 10.7GB) to external HD, and it's occupying 154GB on external disk.
yes, the folder has a lot of small files in it. but ..
Surprisingly, the same folder occupy 10.8GB on internal HD. and that drive is not compressed.
I defragmented external HD, problem still unresolved.
* allocation unit size is default(4096B) on both the disks. both are NTFS
Plz, help me, explain me... :-(11 -
god its making me so angry if ppl dont know anything and dont understand anything
even removing a folder in powershell seems to be an infinitly complex task2 -
Yes, thanks you, IntelliJ, how did you know I wanted to set the fucking NODE_MODULES folder as my fucking KOTLIN SOURCES ROOT every time I hit Gradle refresh?
-
Guys,
is it possible to protect a folder against the command sudo rm -rf
Consider the root a drunk person on a high speed road9 -
Why the fuck good git pushed my vendor folder, even though I have it in .gitignore?
That shit costed a huge amount of time... 😥13 -
Built an application real fast that rename files you drag into a specified folder and spits them out into a folder on your desktop. I had a bunch of file permissions issues because it was in a “while(true)” loop and it constantly watched the folder. Instead of checking whether Windows was done moving the file or whatever so I could take control of it, I just threw a try/catch block in there.
It worked perfectly.2 -
How I know I need coffee?
(1) fire up "npm run webpack-dev"
(2) Debug webpack config settings for 30 minutes wondering why it can't rebuild scripts
(3) Realize you ran it on the ~/projects/me/release folder and not ~/project/me/dev-latest folder. -
Curse windows nested folder path length and filename limit...can create it no problem but try to move or rename and the path is too long...
ARRRGGG!1 -
Best: finding Laravel and how well works out with production deployment with GitLab
Worst: didnt implement this right from the beginning. Had to copy paste from the dev folder to production folder FOR 3 MONTHS when i wanted to update the website. -
!Rant
Today I figured out how to cache the 'node_modules' folder on all my CircleCI builds, which cut the build time by 4 minutes, about 60%!
👍🍰 -
When you accidentally deleted the SDK folder that was named the same as your project folder.. fml... facepalm... fuuuuu......
-
As a developer should you use spaces in folder and or file names? Please elaborate on both why and why nots.5
-
Loading preview images from a websites articles into thw cache for later use. What could go wrong?
*26 images (80x60) images in my cache folder, most of the corrupted.
"Ok... let's look at the size of this folder"
Size: 112MB
WTF How could this happen!
I'm litterally writing a from a URLConnection to a file.
*Checks data usage
Jup, that amount has been downloaded. Why!?
My dear monthly data ¿_¿ -
"Copy the file sent to our warehouse management system to another folder so we can keep track of the deliveries we sent data for."
Why these geniuses think that having a folder with file names containing timestamps (and not delivery numbers) would make their job easier is beyond me... -
At the company I work today, looking at some repositories from hardware and firmware engineers I found this folder structure.
project_root
| - 1.0
| - 1.1
| - 1.2
| - 2.0
... and so on1 -
Why TypeScript and Angular2 encourages you to link scripts directly from node_modules folder? What happens when you move the project to server(you know...the place that doesn't know about that folder). And how's the bundling gonna work?5
-
Any one running Symfony on a Docker container in production? I currently try to migrate our dev env to a docker compose setup (from a "monolith" vagrant vm). I'm atually not stuck at a Symfony specific thing, but on a, I guess Docker specific one(?), The issue is, I need to read and write with two users to one folder (in my case the /application/var/cache folder). Since I mount my whole code into the docker container (to use an IDE on the local files), I've got a volume (not mounted to the outside world) for that folder. (As far, as good). Now this folder is owned by root and root is also the user I get when I enter the container. When I then run a cli script, that writes to this folder, every thing works (as it's run by root) and the resulting entries in the cache dir are owned by root. Trouble starts when the php fpm process tries to write stuff in there too (as it's run by www-data).
If I add `USER www-data` (or create a new user foobar and add `USER foobar`) the container exits with status 0
So I guess the question is, is anyone running an Symfony app on Docker in Prod, if so how do you solve this? Or another question would be what is the best practice to do this? Sure on dev I could just `chmod 777` the whole folder or run the php-fpm process as root, but if that thing ever goes to prod, I wouldn't sleep very well... -
This one time I managed to rm -rf my whole prestashop folder with custom modules and work in progress theme, none of which were on github... And I did that on Windows
-
Bold of me to assume that a project that solely exists as an example on how to use a library would include said library in the download.
(In the project file structure already exists a folder for libraries and in it was a folder with the name of the library. And I of course didn't check if the [library name] folder contained any files)1 -
For the love of god developers/programmers, don’t put version numbers to your softwares file paths!
It’s the worst when you have to configure permissions and rules, then the folder path changes in every update!2 -
I just pushed an app that sends mails with an static "to:" to my personal address. Will the spam folder make it?
-
What wrong with the MNC's. I am trying to create a new folder for email templates in DEV server. I have been busy for two days to take the approval from Manager, Infra team and architect. Are you serious two productive days to give approval to create a folder???
Fuck the system. Fuck you MNC. -
Accidentally deleted ftp account and it deleted public_html folder. All data is gone can I recover those files in it ? server is godaddy4
-
!rant: quick question re web app
Should I separate the admin side from user side?
(2 folders) or include both sides in one project(1 folder)?6 -
Last day of a two week verification, I went to delete a duplicate folder. Instead I deleted the production folder. Never work on Allegra and zirtec. Luckily it was early in the morning and we only list about an hours work, from the day before's backup.
-
829 GB of cources on cyber sec & programming if u wanna learn new skills
https://mega.nz/folder/1rBHzIyD/...15 -
https://imgur.com/a/ceg8bNm
fucking google drive. How to fucking transfer folder to another google drive without needing to download and upload? wtf how can it be that stupidly done. THere is such make a copy menu on file but not on folder. WHat are they smoking? will I go on each file make copy?1 -
Pgadmin4 error: could not connect to server
Tried to delete data from pgadmin folder but didn't worked for me2 -
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
-
Leaving things out of VCS. My usual folder structure is like this:
- Project name:
|-- env (virtual environment)
|-- Project name (git repo)
\-- (keys, credentials, etc.)
It makes sense, but after a while, more and more important stuff starts piling up in the outer folder (not version-controlled). -
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 -
Can someone recommend me a file manager for Windows, that supports:
- tabs
- context menus
- dark theme8 -
Thought i'd try using VSCode.. initialized folder for git... and then proceeded to delete all my nodeschool work that i'd done over the past year... ARAGH!2
-
I'm trying to move a backup User folder from a dead Windows computer over to cloud storage. In checking the size of the folder before compressing it, it shows as 1.08GB, which I guessed would be reasonable. So I zipped it and it came out to be 48GB!! Compressed to 75%! So I went one folder deeper and checked the properties of all files there. That came out to be much larger than 1.08GB. Thinking Windows has some problem revealing the true size of a parent folder and its content, I did a Google search. Sure enough, it's a bug where incorrect folder size is reported. What the heck is going on at Microsoft that this blatant of a bug would ever have a chance of getting into the code? And why is this single user at 48 GB _compressed_? I'd understand if the user was a photographer, but he's just a gamer, and these aren't applications, just save files and profile settings!
https://social.technet.microsoft.com/...4 -
Seems like Windows 11 has some nice improvement for file handling performance; though I am not sure whether they're implemented on the system level or on the Explorer app level. What I have been noticing is that a folder with 25k files in it gets opened in Explorer instantly on Windows 11; while on Windows 10 the same folder was pretty slow to appear
-
Jenkins, why you be so fucked up? The same pipeline file runs in one folder, but fails at the root of the Jenkins server. It's the same code! Literally, the exact same code, I just moved the job into a different folder.2
-
Hah. I was cleaning my screenshot folder and saw the bitbucket dying one night. It was after midnight and was in 'the zone'.
But still i love them :)1 -
Found out that windows automatically backs up your Desktop and Documents folder by redirecting those folders to Onedrive. Why create a seperate folder and redirect instead of just syncing from time to time2
-
Nothing more secure than have 36 character length passwords mixing any kind of character in them and have them in a txt file inside my docs folder 🤯🤯🤫12
-
Do you guys not have a folder at your pc where you keep all your self studying stuff? Personal project code, notes, screenshots...3
-
I've created a folder called 'config' in my c# applicaiton. (VS2017). It considers it a 'hidden' folder, like obj and bin. Still it works. Am i doing something illegal? That is, Visual Studio wants to handle the content of 'config' directly?4
-
Dumb question, but does anyone know how to make VSCode show more of the path than just the folder name on the side bar, I am working on making workspaces to avoid opening 6 file explorer windows but a lot of folders for my workflows have the same name but different locations on the network and I can't change the folder names for automation purposes.
I know it shows the path if i hover over the name, but i'd like to just show path by default on the side panel
example image below (can't show real folders due to NDA)6 -
Mac day 2.0, in Ubuntu you can do ctrl + l on a folder, then the full file path will appear. How do I do it in Mac? Basically the easiest to show full path when I am in a folder3
-
HELP: yesterday I discovered why my Gradle build takes so fucking long every time, but I still don't know how to fix it. for some reason, it sees the node_modules folder as NEVER "up-to-date", and so every single time I run 'gradle war_exploded' it copies the entire node_modules folder into the war, even of nothing has changed. any ideas?2
-
When you test on production server
"Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"1 -
this afternoon, we got email from our pentester. He said that he got some security vulnerability in our project. He found .git/ folder in project directory in production server. He considered it as security vulnerability because user can see all git branch on remote repo. He recommend us to remove that folder but the problem is, we using CI/CD so we need that .git/ folder. My question is it bad practice to use git on production server?10
-
Has this ever happened to you?
You open up your text editor and start typing commands. But it tries to turn on your virtual environment or run a script:
& "c:///project/folder/..."
But since you're in the middle of typing your commands, it get's meddled in between and it fails to run the script, so you gotta do it by hand.
git fet & "c:///project/folder/..."
Unrecognized command "get"7 -
Does anyone know how to create a command on a npm library that download the files in root folder?
Like 'create-react-app'.2