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
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuck
Buy Now
Search - "cmd"
-
The programmer and the interns part 2.
We will discuss numerous events that happened over the past week or so.
Case 0:
We had our weekly engineering meeting. The interns were invited as well.
We hold meetings in the generic, big, corporate meeting rooms with a huge table in the middle.
There were more than enough chairs for everyone yet the most motivated and awkward intern (let's call him Simon) chose to stand, cause "it's cool man, I always stand". At this point we all know that he probably read about Agile stand up meetings and is confusing it with this one. Otherwise he's simply trying to stand out from the rest. (See what I did there?)
Anyway the meeting has started way later than planned (what a surprise) and took much longer than Simon expected. Everybody is sitting and listening to the CTO while occasionally glancing at the weird looking intern standing awkwardly and refusing to sit because it would make his original intentions pointless. He even tried to nod whith a serious face and his hands crossed when the CTO said something and looked at his general direction. The meeting was about a hour and a half long but with the delay it was at least 2.5 hours.
At the end Simon was so exhausted that he fell asleep on the office puff, was forgotten and locked inside. 3 hours later when I was home I received a call from him with his sleepy-trying-to-sound-awake voice telling the news. Lucky there's a 24/7 Noc team that could rescue him.
Case 1:
An intern who was late on his Linux test connected to every test VM (should I remind you that each one has a personal VM but they share passwords for their roots?) and tried to reset it with "sleep 10s; shutdown -h now".
He took down all 13 of those so I had to turn them on and switch passwords again.
Case 2:
One of the interns didn't do any of his training chores. Apparently he forgot what he was told to use, ignored all online documentation and used Windows CMD with Linux commands for almost a week already.
Case 3:
Simon uses Vim to write all text possible. Even mails, he then selects all and copies into the mail body. He spent half a day on a homework task I gave them. He wrote everything inside one text file using Vim. When he was done he saved the file and quit the editor. He then said "Oh shit! I've forgot to sign my name!". I explicitly told him that theres absolutely no need for that because I see which mail the file was sent from. He said "I don't even need a program for that!" and gave a couple of strokes on the keyboard.
Later I received an email from him with a .txt attachment. When I opened it the only text that was inside was "by Simon ;)".
I logged to his machine and checked the last command ran on the file:
echo "by Simon ;)" > linuxtasks.txt
Case 4:
The girl here uses a MacBook. She keeps getting confused with the terminal windows and rebooting her own machine instead of the remote VM.
Case 5:
Haven't checked yet how this happened but one of the interns deleted the gui from his local Centos.37 -
My friends attempting to hack into the school security system....
😂
They opened CMD and typed shit like
"hack school system"
"turn off computer 11"
"change password"
And everytime cmd says, "not recognized command"
😂34 -
I was at school working on my school project.
I receive a message from my girlfriend:
"How is called the hacker thing?"
Me: "what?"
Gf:"yeah the black thing"
Me: "what black thing"
Gf: "found it, it was this" *sends a picture of cmd*
Gf: "my classmate is hacking" *sends picture of cmd with 'dir' command on it"
I was crying from laughing.
Me: "try to write this: %0|%0"
Gf:YOU ASSHOLE, MY COMPUTER IS FUCKED UP"
Me: "this is 'real' hacking"
No sex for a week, but I still think it was worth it.27 -
I was in school and I got bored. I opened two command prompts and did what any scammer would do.
I went to the root of the drive and did a tree. The other window is pinging google infinitely.
After a few seconds, I hear a kid say "Are you hacking the pentagon?". That guy also asked me to hack the Google Play Store. He shall forever think I'm a hacker.36 -
I'm at Disney world and the Windows OS was exposed on one of the machines at a ride so pulled up CMD and ran "tree C:/" then played sample music on full blast. Get on my level hackers :^)11
-
(Me using the CMD in class)
Schoolmate: What are you doing?
Me: Using the CMD, it makes stuff really easier.
Schoolmate(loudly): *MY NAME* is hacking the schooooool.
Ignorant idiots now I am not allowed to use my laptop in class anymore.28 -
I was activating virtualenv in powershell when my younger brother came in.
Me: *all nervous* please don't think I'm hacking or trying to set off a bomb. (He always thinks I'm hacking and tells on me.)
Brother: *silent*
Me: *even more nervous* I don't want my laptop to get taken away. Don't tell on me and say I'm hacking, because I'm not.
Brother: Oh, I know you're not hacking this time.
Me: You do? *relieved.*
Brother: Yeah, because this time it's a blue background, not a black one.
Me: Oh, haha. So you're only scared of things such as these? *opens CMD and Git Bash* you know, just because it's dark themed, doesn't mean it's malicious. Besides it—
Brother: oooOooOh! You're hacking again! I'm telling on you!
*Note to self: Never use dark theme in front of the ignorant again.)50 -
Dear people of Subway, just because i am using cmd, it doesnt mean i am
"Hacking your wifi network" and asking me to stop is rather unneccessary26 -
*opening cmd*
"wow, are you Hacking?"
me: "yah, sure. See that lamp? I can hack that."
"really?"
me: "sure".
*lamp flickers"
me: "I did that" 😂6 -
Its that time of the morning again where I get nothing done and moan about the past ... thats right its practiseSafeHex's most incompetent co-worker!!!
Today I'd like to tell you the story of "i". Interesting about "I" is that he was actually a colleague of yesterdays nominee "G" (and was present at the "java interface" video call, and agreed with G!): https://devrant.com/rants/1152317/...
"I" was the spearhead of a project to end all projects in that company. It was suppose to be a cross-platform thing but ended up only working for iOS. It was actually quite similar to this: https://jasonette.com/ (so similar i'm convinced G / I were part of this but I can't find their github ID's in it).
To briefly explain the above + what they built ... this is the worst piece of shit you can imagine ... and thats a pretty strong statement looking back at the rest of this series so far!
"I" thought this would solve all of our problems of having to build similar-ish apps for multiple customers by letting us re-use more code / UI across apps. His main solution, was every developers favourite part of writing code. I mean how often do you sit back and say:
"God damn I wish more of this development revolved around passing strings back and forth. Screw autocomplete, enums and typed classes / variables, I want more code / variables inside strings in this library!"
Yes thats right, the main part of this bullshittery was putting your entire app, into JSON, into a string and downloading it over http ... what could possibly go wrong!
Some of my issues were:
- Everything was a string, meaning we had no autocomplete. Every type and property had to be remembered and spelled perfectly.
- Everything was a string so we had no way to cmd + click / ctrl + click something to see somethings definition.
- Everything was a string so any business logic methods had to be remembered, all possible overloaded versions, no hints at param types no nothing.
- There was no specific tooling for any of this, it was literally open up xcode, create a json file and start writing strings.
- We couldn't use any of the native UI builders ... cause strings!
- We couldn't use any of the native UI layout constructs and we had to use these god awful custom layout managers, with a weird CSS feel to them.
What angered me a lot was their insistence that "You can download a new app over http and it will update instantly" ... except you can't because you can't download new business logic only UI. So its a new app, but must do 100% exactly the same thing as before.
His other achievements include:
- Deciding he didn't like apple's viewController and navigationBar classes and built his own, which was great when iOS 7 was released (changed the UI to allow drawing under the status bar) and we had no access to any of apples new code or methods, meaning everything had to be re-built from scratch.
- On my first week, my manager noticed he fucked up the login error handling on the app I was taking over. He noticed this as I was about to leave for the evening. I stayed so we could call him (he was in an earlier timezone). Rather than deal with his fucked up, he convinced the manager it would be a "great learning experience" for me to do it ... and stay in late ... while he goes home early.
- He once argued with me in front of the CEO, that his frankenstein cross-platform stuff was the right choice and that my way of using apples storyboards (and well thought out code) wasn't appropriate. So I challenged him to prove it, we got 2 clients who needed similar apps, we each did it our own way. He went 8 man weeks over, I came in 2 days under and his got slated in the app store for poor performance / issues. #result.
But rather than let it die he practically sucked off the CEO to let him improve the cross platform tooling instead.
... in that office you couldn't swing a cat without hitting a retard.
Having had to spend a lot more time working with him and more closely than most of the other nominees, at a minimum "I" is on the top of my list for needing a good punch in the face. Not for being an idiot (which he is), not for ruining so much (which he did), but for just being such an arrogant bastard about it all, despite constant failure.
Will "I" make it to most incompetent? Theres some pretty stiff competition so far
Tune in later for more practiceSafeHex's most incompetent co-worker!!!7 -
*casually programming stuff*
*Sudden need to open cmd arises*
Me: *opens cmd and starts typing, when it hits me*
"Fuck"
Friend: "what happended?"
Me: "i forgot to turn on hackermode"
*enters "color 0a"*
"Better"
Friend: *chuckles angerly*7 -
> Open google chrome console (F12)
> Press Ctrl + Shift + P (or Cmd + Shift + P)
> Type "dark theme"
> Press enter
Don't thank me, just my duty10 -
Oh man, when a simple prank goes out of control.
Tl;dr incompetent IT don't know their shit and want to shut down server because of a simple batch file.
Long story time;
For the last day at my side job I thought it would be funny to run a small batch script on one of the PC's (that is not even connected to the internet...).
All it did was echo some random russian characters to the screen, ping itself for a couple of bytes, and echo "success" at random intervals. Ofcourse in the classic green/black CMD...
Pressing any key would stop this, and I didn't do anything to prevent it from being closed/stopping.
Now this was running for a couple of minutes when a colleague spotted it and completely freak out, literally. He ran to the floor chief, who took a look, freaked out, and called in IT...
Now our IT section isn't exactly what I'd call competent, as I've ranted about before... So he turned up, failed at comprehending what was going on, told everyone to not touch the computer and directly went full fucking retard and wanted to shut down the entire server.
OhFuck.jpg this is escalating quicker than I thought.
Fortunately for him he didn't have the rights to do that himself, so he ran off to call his chief to do it.
My floor chiefs knows I do also do programming so he came up to me asking if I could take a look at it to figure out it was doing, so I walked up "took a look" and told him I can probably stop this. Hit the enter key to stop it, deleted the batch file and shut off the computer.
Told my chief this should work as a temporary solution but IT should do a full check of their systems.
Fast forward a couple of hours and head of IT is still trying to figure out what happened and checking their systems.. luckily he wasn't dumb enough to actually shut everything down7 -
Back in 2011 when I was 14, I created a cmd shortcut on all pc in my school's computer lab. Replaced the icon and renamed it to Internet Explorer. Deleted the original IE shortcut and a week later the lab got closed because they all the computers got infected with a "virus"
i know im lame kill me8 -
When you need a moveable clock for your windows 10 dual screen setup, but don't wanna download an unnecessarily complicated and add-ridden application .12
-
I replaced my friends CMD shortcut with this target:
CMD.exe /k rickroll.bat & cls
The file rickroll.bat contains a script that launches VLC in the background on loop playing Rick Astley - Never Gonna Give You Up at a very low volume. Every now and then it increases the volume.
So original, I know....4 -
TL;DR: I have been changing stuff on a school computer and found various workarounds to do things that were blocked by the sysadmin and my classmates think I am a hacker.
I guess war has officially been declared between me and my school's sysadmin.
It all started about two weeks ago. I was bored while writing a report on a school computer, so I decided to lauch Chrome and pressed F12. Nothing happened, so I closed the window and opened Firefox. It worked there, and a few classmates started to scatter around me. They thought I was hacking a website so that changes would be permanent.
But what really matters in this story is that a few days later, nobody could start Firefox anymore, a message popped up saying the administrator blocked the application. Somebody must have reported it.
I also tried executing a Batch file, not succesful of course. But surprisingly enough .cmd files could be executed. But this has also been fixed a few days after.
So today I managed to remove Chrome's settings folder and the console popped up this time. Again, this was hacking from my classmates' point of view, so right now I am waiting for Chrome to be blocked. There are no other browsers currently installed, so let's see what happens.20 -
3 or 4 days before the summer vacations, our teacher came in class and asked us to present whatever projects we've been working on and give a brief description...
Some guys went on the stage, then a few girls,
So being first time on the stage I was pretty nervous and started shaking and sweating a little bit.
I opened up the laptop and project was already open in AS, but had to restart emulator,
but the main thing was, i didn't notice the "blonde lesbians - PornHub" was minimized in the taskbar.
So I opened up cmd and typed "taskill -f -im chrome*" and it vanished. (a little fear increased)
when I finished presentation, some of the students were staring at me, so i made an excuse to go to toilet,
...and I ran out of dept.
after class finished my friends came up to me and said "we saw what was going on there in taskbar" and we laughed.
#NeverEverGoingToDoPresentationEverAgain #TrueStory7 -
I'll start my own series on hacking.
BECOME A HACKER WITH 4 SIMPLE STEPS!!!!!1!
#1 Open cmd
#2 Enter hackermode
Type "color 0a"
#3 write a Hackerscript
Type "%0 | %0"
Step 3 is a bit risky and may fail. Reboot and repeat until you understand why it failed
#4 Realize that the internet is scary place and that you can't trust anyone.13 -
Windows 10 Native SSH client inside CMD is crazy nice, no more putty... given its a windows feature and all!
(Hidden in additional features if any one is interested, will need a reboot to work)19 -
Using Mac at work and Ubuntu at home.
Every feckin weekend I spend 10min relearning keyboard shortcuts before I can get productive because all of a sudden cmd+c doesn't copy but instead deletes random shit.
The madness of life.10 -
A recruiter called today.
A new job proposal. Higher salary, manage some 5 men team, DevOps buzzwords, cool product, great conditions but then she says "and we're working only in Windows environment".
My ears ringed "only in windows env".. "only windows"... "windooowwssss".
"Nope, thanks, have a good day!" - hung up.19 -
When you use linux for nearly a decade and try to use cmd on windows for the first time since then.30
-
Client writes me in slack two hours after my 8 hours are done:
“We have a bug, can you fix it now? We need to have it in two days”
Me, smoking pressing cmd+q, closing laptop , listening fools gold by the stone roses, curtains down6 -
!=Rant
Does any one else presses cmd+c / ctr+c multiple times just in case the first one did not work?!?12 -
Back the mid 90s at secondary school, a friend came back from holiday with a Casio CMD-40 TV remote control watch. It was like magic, no one had never seen anything like it before.
We pranked our history teacher so badly, changing the channels, volume and turning the TV off while we were supposed to be watching some video on Henry VIII or something (no idea, too busy PMSL).
We'd pass the watch round the class to keep em guessing.
In the end, school replaced ALL the TVs and were seriously pissed off, to this day I believe they had no idea it was us!5 -
To those that think they can't make it.
To those that are put down by those that don't understand you.
And to those that have never had a dream come true.
Not a rant, but the story of how I got into programming
I've always been into tech/electronics. I remember being told once that when I was 3, I used to take plug sockets to pieces. When I was 7, I built a computer with my dad.
There isn't a thing in my room that hasn't been dismantled and put back together again. Except for the things that weren't put back together again ;)
When I was 15, I got a phone for Christmas. It was a pretty crappy phone, the LG P350 (optimus ME). But I loved it all the same.
However I knew it could do a lot more. It ran a bloated, slow version of Android 2.2.
So I went searching, how can I make it faster, how to make it do more. And I found a huge community around Android ROMs. Obviously the first thing I did was flashed this ROM. Sure, there were bugs, but I was instantly in love with it. My phone was freed.
From there I went on to exploring what else can be done.
I wanted to learn how to script, so over the weekend I wrote a 1000 line batch (Windows cmd) script that would root the phone and flash a recovery environment onto it. Pretty basic. Lots of switch statements, but I was proud of it. I'd achieved something. It wasn't new to the world, but it was my first experience at programming.
But it wasn't enough, I needed more.
So I set out to actually building the roms. I installed Linux. I wanted to learn how to utilise Linux better, so I rewrote my script in bash.
By this time, I'd joined a team for developing on similar spec'd phones. Without the funds to by new devices, we began working on more radical projects.
Between us, we ported newer kernels to our devices. We rebased much of the chipset drivers onto newer equivalents to add new features.
And then..
Well, it was exam season. I was suffering from personal issues (which I will not detail), and that, with the work on Android, I ended up failing the exams.
I still passed, but not to the level I expected.
So I gave up on school, and went head first into a new kind of development. "continue doing what you love. You'll make it" is what I told myself.
I found python by contributing to an IRC bot. I learnt it by reading the codebase. Anything I didn't understand, I researched. Anything I wanted to do, google was there to help me through it.
Then it was exam season again. Even though I'd given up on school, I was still going. It was easier to stay in than do anything about it.
A few weeks before the exams, I had a panic attack. I was behind on coursework, and I knew I would do poorly on exams.
So I dropped out.
I was disappointed, my family was disappointed.
So I did the only thing I felt I could do. I set out to get a job as a developer.
At this stage, I'd not done anything special. So I started aiming bigger. Contributing to projects maintained by Sony and Google, learning from them. Building my own projects to assist with my old Android friends.
I managed to land a contract, however due to the stresses at home, I had to drop it after a month.
Everything was going well, I felt ready to get a full time job as a developer, after 2 years of experience in the community.
Then I had to wake up.
Unfortunately, my advisors (I was a job seeker at the time) didn't understand the potential of learning to be a developer. With them, it's "university for a skilled job".
They see the word "computer" on a CV, they instantly say "tech support".
I played ball, I did what I could for them. But they'd always put me down, saying I wasn't good enough, that I'd never get a job.
I hated them. I'd row with them every other day.
By God, I would prove them wrong.
And then I found them. Or, to be more precise, they found me. A startup in London got in contact with me. They seemed like decent people. I spoke with their developers, and they knew their stuff, these were people that I can learn from.
I travelled 4 hours to go for an interview, then 4 hours back.
When I got the email saying they'd move me to London, I was over the moon.
I did exactly what everyone was telling me I couldn't do.
1.5 years later, I'm still working with them. We all respect each other, and we all learn from each other.
I'm ever grateful to them for taking a shot with me. I had no professional experience, and I was by no means the most skilled individual they interviewed.
Many people have a dream. I won't lie, I once dreamed of working at Google. But after the journey I've been through, I wouldn't have where I am now any other way. Though, in time, I wish to share this dream with another.
I hope that all of you reach your dreams too.
Sorry for the long post. The details are brief, but there are only 5k characters ;)23 -
So I got terminal Linux in school right now. People said that it's so hard, but guess what? Surprisingly it's even easier for me than Windows CMD!10
-
Protip: use "color f0" whenever you use cmd in public, so you can disguise it like a notepad to avoid being branded as a hacker7
-
Fucking URLs, people.
They're not hard.
If you're going to give me a bug report, TELL ME THE GODDAMN URL.
If, after yelling at you several times for not providing the url, you instead just fucking GUESS at the url, YOU'RE A GODDAMN BLITHERING IDIOT AND YOU'RE WASTING MY GODDAMN TIME.
ALT+D, CTRL+C or CMD+L, CMD+C
SO HARD. ASDFASDJGHLKASDHFLJKSGDFSKDFrant the bozo didn't even recognize a 404 page bug reports without urls screenshots without context urls bug reports blithering idiots7 -
Conversation with my older sister
Me: "open CMD and enter command"
Big sis: *enters command*
Me: "Look for Ethernet Adapter"
Her: "What?? I can't see it"
*pause 'cause I'm confused*
Her: "Wait, was I supposed to press enter?"
Me: ...1 -
Fresh internship story/conversation (Part 1)
Happened today:
- "Can you hack someone via cmd?"-cheap coworker at my internship workplace
- "Can you hack the NSA from any device?"-cheap coworker
- "Can the police identify me, if my face is on a Youtube video?"-cheap coworker
- "I can see all devices I have been through when I want to connect to a target as a route.
*talks about hops in a trace route, but uses non-technical terms for it*
*uses "ping host wikihow.com" instead of "tracert wikihow.com" to demonstrate it, besides of that "host" was not supposed to be there in that command*
*he had to google how to use the ping command on Windows*
*finally uses the ping command properly*
"Here, you can see all the devices our machine has connected to to reach the target"
ME: Aha. But dude... you know that all these ip adresses are in fact the same ip. These IPs are not any different. They are all the same. Besides of that this IP is the IP of this *points to domain name on windows cli* domain.
Him: Oh... I had a friend named ... *continues telling me some "hacker stories" from his past*
Me: *ignores him and always just responds with "Aha" to him* -cheap coworker
Happened yesterday:
- "You have programming classes? You must be an expert in Excel then, right?" -internship boss4 -
A friend called ITIS guys about some network issue on his system.
Frnd : Hi, I'm facing some security policy issues on my system. Could you help me connect?
ITIS guy: Ok. Please run 'gpupdate /force' cmd from cmdpromt.
Frnd: Well actually I'm on Linux.
ITIS guy: Well, at least give it a try and tell me how it goes.
*Facepalm*? *Bodypalm*? Murder?4 -
Tip for devs (esp front end):
Sublime text (and few other inferior editors) has a plugin called "transparency" that allows your editor to be transparent.
Windows 10 powershell consoles can be made transparent.
1) Open browser
2) Open command prompt over it with 75% transparency
3) Open editor over both with 50% transparency.
4) Set editor to fullscreen, no-distraction mode to center the text (Shift+F11 in sublime)
Enjoy coding while constantly viewing the code, the browser and monitoring the cmd prompt at the same time, without having to click Alt+Tab a zillion times.21 -
*Opens devRant*
*sees everybody saying how great Linux is*
*Tries deepin OS*
*Keyboard backlight not working *
*Searches YouTube for a fix*
*Fixes the Backlight*
*Screen resolution set to 800*600 by defualt (monitor 1920*1080)*
*Grub decides there is no need for a windows entry*
*plugs in Windows USB*
*Opens cmd*
*diskpart*
*list disk*
*sel disk 0*
*list vol*
*sel vol 3*
*clean*
*boots into windows*
*Follows a guide to remove grub*
*Learns the lesson*
*Ooh OS X seems nice*
FML25 -
Okay, so a couple of students bully me for using MacOS and Linux in school. They always keep saying "Oh, why do you use Mac/Linux, it is so SHIT. Cmon, what can you even do on it?" I just ignore them.
But by saying that, they do not realize how ignorant they are. In my opinion, ignorance is the worst. Whenever they say "...what can you even do on it?" I start thinking about all the command line projects I can do, about all the programming that I can do on them. There's less support for them, but why do you need support if you know what I am doing? People keep saying that apple and Linux fanboys are cancer, but people never realize how cancerous Microsoft fanboys are. Most of them think Windows is so great just because it can run the most games or the most applications. The thing is, are you going to use ALL of those applications and are you going to play ALL of the games? Probably not. All major game titles are typically released for the 3 operating systems. And all the best tools are always available for all of the operating systems. Plus, one thing, when I had been over at my friend's house, who only uses windows, I tried to find some good networking tools, but I sadly found no good ones. I am familiar with the Windows CMD, but man, let me just say that it feels so clunky. Whenever I use Terminal, I can easily see that the Unix Kernel was made in an organized fashion, and all of the features were carefully planned out. While when I use the Windows CMD, I can just feel that the developers were just piling up code on top of the system with every update as fast as possible, without even caring about its structure.
Well, that was quite a rant. I know people are not really fans of my rants, probably because I am quite new here.15 -
A friend of mine once went into a library and opened a cmd on one of the computers, to run a little batch rename script on his usb stick. 5 minutes later he got kicked out because they though he was hacking the computer 😅4
-
Story time:
Ok so I'm in school and I'm on the computers we have to do a project on them the with rest of the class and I'm sitting beside this guy let's call him Bob (not his real name) anyways so Bob is working away on his computer and I'm trying to move documents and i decided to use cmd for it so opened it and then bob saw the cmd window and yelled "TEACHER HE'S TRYING TO HACK THE SCHOOL" then my teacher came over who has no idea how to operate computer like the rest of the class im surprised they can even turn the computer on anyways my teacher comes over and yells "PRINCIPALS OFFICE RIGHT NOW" and I'm like WTF?! anyways I have to explain to the principal what I was doing but she didn't understand so I go detention that day. Thanks a lot BOB!12 -
When you're a Linux guy and automatically start to type bash commands into a friends Windows' cmd...6
-
Taught my whole team that you can enter cmd/bash commands directly into windows explorer in the location bar.
No point in opening git bash to just clone a repo or open cmd just to run a php server.8 -
"Can you get me free in app purchases?"
"Well i mean lucky patcher is kind of a gray area but I guess if y-"
"Can't you just have it with the command prompt?"
"I don't know CMD, I know Java."
"But you said you could code!"6 -
"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. :-)17 -
Another "microsoft is actually trying" post, excited how it turns out
source: https://arstechnica.com/gadgets/...11 -
Give some personality to your CMD!
1. Make a file called i.cmd and add the following text to it:
@echo off
echo me too
2. Move the file to somewhere in the system path (e.g. C:\Windows)
3. Enjoy!1 -
How to become a hacker😎
1.Go to the store get a black hoodie, wear it and go infront of the PC.
2.Turn on the PC with WINDOWS😂
3.Change cmd font colour to green.
4.Type the following code in cmd.
ping 192.168.1.1 -c 9999999
5.OK now do that in again and again in 2-3 terminals.Now your desktop is full with black and green😋.
5.Take some pics of it and upload stories😍.
6.OK now your a HACKER😎10 -
The PCs in our school have a software called "Dr. Kaiser" which purpose is to prevent changes to the disk. I thought it's working like DeepFreeze for OSX devices; having a copy-on-write feature or something like that. One day a friend of mine (kinda newbie in hacking) said he wanted to create a backdoor in the system so you can login as the local administrator of the device. He replaced the "sethc.exe" in the windows directory with cmd.exe on a live distro and claimed it was working perfectly. It turned out that "Dr. Kaiser" is indeed loading the default image on startup, but doesn't verify checksums for system files (and also doesn't include the files in the default image). Long story short: You now can open a cmd with System permissions on every PC in the building.
This. Is. Stupid. It should be forbidden to sell this software 😖6 -
When you have 143 opened tabs and you feel like they are sucking the life out of you. Time to get some Oxygen !8
-
You know you are Linux guy/girl when you type sudo apt-get install someprogram into Windows cmd LOL.5
-
So called my ISP because of slow internet
Me : Hey , slow connection
Him : Could you open up CMD
Me : I'm on linux
then the dude hangs up :/ another guy called later , I guess the tech support needed tech support , FML1 -
When I Install An NPM Package .........
1.Runned The Install...
2.Watched the Progress Bar For 2secs
3.Got Bored, Opened Chrome for some entertaining content ( ͡° ͜ʖ ͡°)
4.Rechecked the Install after 20mins still 15%
5.Did take a break, ate something
6.Rechecked still 27%
7.Watched a little while the progress bar until I saw the Fatality.
CMD Has Stopped Working...9 -
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 -
NCIS Logic. Type "dir" and "find . ." Into full screen cmd and full forensics investigation complete.8
-
Our college has PC's with Pentium Core 2 Duo processors and 1 GB RAM. We are made to code Java on windows using default notepad and cmd. There's nothing more infuriating than that.
Me: Ma'am, can we use any IDE for our mini project or finals?
She: No kid, you can't just use that. This is code you have to write it.
Me: Wut?8 -
Dad: God I hate Windows!
Me: Why? You know you can just run the getmac command in CMD, right?
Dad: What? There is a command for that?
Needless to say, my dad is not a network engineer...1 -
😐ctrl/cmd + s to sacrifice file.😑
Teacher: always save your file or else data will be lost. ctrl + s
Me: in word
__________
| |
| |
| |
| page 1 |
__________
ctrl + s ( 10 times)💾
Next day I open this file, my data is lost.
I sware to god i hit ctrl + s 10 times.15 -
Keybinds you need (Windows):
Copy: Ctrl + c
Cut: Ctrl + x
Paste: Ctrl + v
Jump from word to word: Strg + Left arrow or right arrow
Mark text: Shift + Right arrow or Left arrow
Mark text (jump from word to word): Ctrl + Shift + Left arrow or right arrow
Quickly open task manager: Ctrl + Shift + Esc
Windows button alternative(e.g. for gaming sessions when you've disabled the windows button): Ctrl + Esc
*legend* Multitasking legend for switching quickly between programs (keep Alt key pressed to select the program you want to open by pressint Tab) Alt + Tab
Multitasking legend with a nice animation (not there for quick workflow but to manage programs, files, multidesktop): Windows + Tab
For people who have multiple desktops - If you don't have, go add two more:
Switch to next desktop: Ctrl + Windows + Right arrow
Switch to previous desktop: Ctrl + Windows + Left arrow
Navigate in taskbar: Windows + t
Quickly look computer: Windows + L
Some boot options (personal tip: navigate with arrow keys for faster workflow): Windows + X
Quickly toggle desktop: Windows + D
Screenshot of current program: Ctrl + Alt + Print
Screenshot of the whole screen and your external ones (will be saved in C:/Users/user/Pictures/Screenshots): Windows + Print
Open run.exe (can be used to open .exe files, e.g. to execute cmd, regedit quickly)
Close browser tab: Ctrl + w
Open browser tab: Ctrl + t
Search: Ctrl + f
// just single keys that are useful
Reload page: f5
Url bar: f6
reopen closed tabs (not sure about compatibility but is definitely working in chrome and firefox): Ctrl + Shift + t
Fullscreen mode (not a keybind too): F11
Alt + F4 to win the game
The boss of all key(bind)s (also not a keybind): Tab
If you got more tho write it down in the comments section. I really tried my best :'D17 -
Discovered by accident that if your chrome dev tools are undocked you can open the dev tools for the dev tools window (by hitting ctrl shift i/cmd alt I again), and you can keep doing it.
Let's debug the debugger that's debugging something...
That's enough meta for one day, my head hurts.2 -
When I was in about 6 or 7th grade I was interested in programming but being the little dumbass I am I wasn't even close to the circle of programming. My cousin once came and he was a software engineer. He was like ok show me what you can do. So I opened cmd and typed a command that fuckin deleted the product key and I was like mhm yeah that's wassup. I really want to know the thoughts that were in his head at that time 😂.3
-
So in the 2nd grade of middle school.our classes had computers with projectors and teachers would present on them. At that time I was still a beginner in programming and knew some basic cmd commands, so before our teacher had come to class I went to the computer desk, opened cmd and then executed this command “shutdown -s -t 36000” which basically shutdowns the pc after 36000 milliseconds and then the teacher came to class and started explaining us a new lesson on a power point and half way through the power point the pc suddenly shutdowns and the class got wild. and no one admitted who did it so all the teacher did is to say” who ever did it pls don’t do it again”. Like wow...😂😂😂4
-
Lets beat Snapchat!
But, How?
Let's buy WhatsApp, Instagram.
Press cmd+C and cmd+V.
Now our apps have new features 🤑🤑
Go fuck yourself Facebook. New WhatsApp is shit!24 -
So had this virus today...
Doesn't let me install avast.
Doesn't let me run cmd
Closes Firefox everytime I mention the word malware in the search
Closes IE too if I search malware
Mines crypto
Appears out of nowhere even after I surgically remove it with Linux.
I guess I have to reinstall my OS :(13 -
Even If you give me an OS with great and fast GUI, I would still prefer better CLI (Command Line Interface)18
-
I am getting better and better. I no longer leave ":w" at random places in Google Docs... Now I'm just "cmd-s"-ing regularly.6
-
!rant
For all those who dislike they way you install things on Windows and would prefer the cmd simplicity that linux provides I give you:
https://chocolatey.org/
It's "Winux" or "Lindows" from now on...😉12 -
I know this kid who goes around bragging about the fact that he leaches torrents (I think that's the right term) and he puts his "botnet " in the torrent so he can infect other computers.
Considering his computer skills look like he watches "how to hack a website with cmd" videos, I doubt he actually does this. In reality he probably watched a video about it once and thinks he is a pro.
Or maybe I completely underestimated this kid and he has a really powerful botnet that can take down Google.
(Ha also says that he runs a "dark web forum " and he doesn't use tor to connect to .onion sites)
</ random story>4 -
The feeling when you type "ls" in Windows CMD and wait for output. But it's say, "ls is not recognized as internal or external command".15
-
Should I actually look into getting a dev job..?
*I have a high school diploma (graduated three years early)
*College dropout (3-4 months, Computer Science - Personal Reasons)
*No prior work experience.
*Good textural communication skills, poor verbal communication skills.
*Currentally unemployed. (NEET :P)
*I have extensive personal experience with Java, and Python. Some Lua. Knowledge of data generation, parsing, Linux, Windows, Terminal(cmd & bash), & Encryption(Ciphers).
*Math, but very little algebra/geometry (though, could easily improve these).
*Work best under preasure.
Remote only.
Think anyone would hire me..?15 -
Laughing about avoiding Windows update and publishing a meme about it on slack
Devops guy runs a remote cmd to my computer to restart and update
Me waiting for 30 mins
Conclusions : " avoid it silently"2 -
How i managed to change the admin password from school's computer (which ran Windows 7)
Well, back in the days in highschool, i was really bored by what teachers taught us and i always loved to hack things whenever i got acces to. This happened one year ago, when i was in my senior year in high-school.
Each Tuesday, at the end of the schedule, we got no classroom left so for a whole year, we had to move into a class which literally had a ton of computers (that actually worked, despite my expectations)
All of the PCs were an i3-i5, not-so-fancy, with a 1080i displays and Windows 7, *cough* while our Computer Science classrooms had ~Intel Celeron~ and ~Windows Vista~. Cool, huh?
All of them were password protected, and i didn't get access to the password from Administrator.
In my experience, each time i was in the login screen in Windows, if i pressed too many times Left Shift, it led to a warning. After digging for some search, i learnt that that warning was shown by a hc.exe file in the C:/Windows/... (and some random path; it's been a year since i worked with this; since then, i ran Linux all the way, haha). So this made me think i could trigger some action, which i'm gonna describe later in the story.
So i had a smart hack: if i don't know the password, i'm gonna reset it. Restarting the PC too many times, and pressing the restart button right before the boot screen loads up. Repeating this, led to a nice Blue screen which opened to Startup Repair. So i clicked Startup Repair, obviously, the PC didn't have any problems that Startup Repair could detect, so each time it gave a nice clickable path to a file which contained a ton of logs about the Recovery itself. Click it opened Notepad with ADMINISTATOR RIGHTS.
Holy f***. I clicked File > Open, then i browsed through the C:/ disk while the name of the window said: "Administrator: ..." (i was really sure i have administrator rights)
FINE! What next? Remember that hc.exe file? I made a copy of it, "hc - Copy.exe" (meh), deleted hc.exe, then i copied cmd.exe and renamed it to hc.exe. Clever?
Rebooting, hoping this would work...
Waiting...
Log in screen shown. I have pressed Left Shift so fast and in the end... CMD OPENED! WITH ADMINISTRATOR RIGHTS.
Holy f*** x2.
I fast-googled how to change a password in CMD, and i found out that i can do that using "net user" to list the accounts, and "net user [account name] *" to change the password.
"Type a password for the user: " prompted, changed the password, could log in as Administrator.
And all of this, just so i could install a LAMPP, a code editor and make a clone of my projects to work there because i was really bored by what the teachers taught me in high-school.
Funny note: A few weeks later i have found out the password have been changed again, so i repeated the process and everything run smoothly. I kinda' don't know how they didn't manage to find out who did this. But it was worth it, i could work on my projects while at school. Haha.4 -
News station:
"This country is in need of IT specialists"
*Presents some guy from some company*
"We offer schooling for people who want to learn IT"
Also news station:
*Shows footage of the same guy typing some help command into cmd*
*Same guy opens minified js in notepad++*
Way to fucking cringe everybody with slight knowledge out of the continent!4 -
My last day before vacation, Friday after hours,
Me as a Junior dev, not that experienced with bash.
An unfortunately with root on a prod machine.
I wrote a script and wanted it to stop at a specific point, but couldn’t remember which of those cmd it was so I wrote all of them.
Quit
Close
Stop
Halt
Exit
Ran the script.
Wanted to kill myself.
I haven’t had the privs to turn on the VM again.
¯\_(ツ)_/¯
🤦🏽♂️
I definitely learned a lot!2 -
Boss: ABC
Me: as an intern at XYZ firm.
ABC: this is internet is very slow today, AmanDeep what happen check it.
me: Sir,there are too much user on the wifi.
ABC:So how we can disconnect them without their knowing.
me: We have to deauth all of their connection using fluxion.
ABC: Do it fast...
me: its take time to be done, you have to do by linux.
ABC: I had done it before in my high school on cmd you and your excuses for the work.You are lame at work...
...\../..
\......../
Me: Now i am searching a new internship...5 -
Me:- OMG Java 9 is coming in 144 days;
Normal ppl:- ...So what😑😑
Me:- Java 9 is awesome we can type codes in cmd;
Normal Ppl:- I have net beans;
Me (thinking):- FROM WHAT HELL DID SUCH SOUL-LESS MONSTERS COME FROM 😨😨😨😨😱😱😱9 -
Searching for other occurrences of highlighted word in Android Studio
1 - highlight word
2 - CMD+F
3 - Enter
In Xcode
1 - highlight word
2 - CMD + C
3 - CMD + F
4 - CMD + V
5 - Enter5 -
Had to use a cmd window for adb to push some files to my phone so I could flash them and everyone is staring at me...
It's just a cmd window people... #Hackerman4 -
When there is no WiFi internet
Me:
1.checking router connection
2. Opening the WiFi admin portal and checking the port and socket.
3. Open CMD and ping www.google.com
My dad: Just un-plug it and plug it again
Me: 😶4 -
So here is a story of me making a website for my home server. I created a static site which did a okay job but I wanted to get available ram and CPU usage displayed on it, and I didn't want to use a php/backend. Here how I achieved it: I used a bat file on a scheduler which exports the usage via CMD commands into raw files. From these raw files I used HTML IFrames to display the text. Thus achieves my goal with minimal effort.7
-
Tiny little line of random JS code.
"No Comments in the code"
Me: I think this is not required, let me remove it.
"Deletes the line..."
*Entire App Breaks*
Me: OK, It must be important.
"Cmd + Z"
*Plot twist: The APP is still broken*
Guess who just needs to stay up late in office.1 -
Cousins came over...
Me: just compiling some python code, opens up jupyter notebook to take a look at some data science code
Little Sis: *looks at jupnb dump on cmd*
Whoa are you Hacking?
Me: yeah. I got bored of whole Hacking command typing thing so I opened up my hacker console.
*print("hello world")*
Sis:wow!
Me: you know what, typing is too tiresome, I'll connect to it with my mind
*alt-tab*
*cmatrix -b*
*sits in yoga pose*
Little Sis: Screams at the top of her lungs and runs to aunt
"DAVE IS HACKING MATRIX"3 -
So met a guy today in college and it was his first day in class. He told me that he is working as software engineer and having 4 years of experience and primarily works with Java lang.
We do programs in Java for practicals and I'm not good with Java (I fuckin hate). I thought maybe I can ask for help from this guy if I'm stuck. And so the practicals started.
And guess what the guy did not know how to compile Java program on 'cmd' and was seeking help from other guy. I'm like what the actual fuck. How the fuck he has 4 years of experience and can't compile a program. Can't even able to set path. Total idiot. Fuck this shit.10 -
What would you recommend to a 17 year old developer?
Am still in highschool, started my programming journey around 2009. Got super interested in it when my father taught me how to create the matrix effect in cmd (lol).
Now I can consider myself having a pretty decent knowledge in c++, c# and couple other languages, although I still have A LOT to learn.
Since my current school doesn't offer any computer science classes, I don't get any opportunities to get an advice from experienced people, i.e. teachers.
Will appreciate any help or advice.11 -
I was watching tech scamming videos on YouTube where a scammer tries to lock your computer with syskey and then asks for money to unlock it!
In the video, the scammer used "tree" in CMD and then manually typed "virus found" and said that they require 500$ for repairing!
OMG!
SERIOUSLY? "TREE"?4 -
So I can see everything thinks CS should be taught differently this week.
Based on all of the ways we could change it, something no one seems to be mentioning much is security.
Everyone has many ways of learning logical processors and understanding how they work with programming, but for every line of code taught, read or otherwise learnt you should also learn, be taught how to make it less vulnerable (as nothing is invulnerable on the internet)
Every language has its exploits and pitfalls and ways of overflowing but how you handle these issues or prevent them occurring should be more important than syntaxually correct code. The tools today are 100000x better then when I started with notepad.exe, CMD and Netscape.
Also CS shouldn’t be focused on tools and languages as such, seeing as new versions and ideals come out quicker then CS courses change, but should be more focused on the means of coming to logical decisions and always questioning why or how something is the way it is, and how to improve it.
Tl;dr
Just my two cents. -
Step 1: open CMD
Step 2: *color 2*
Step 3: *mode 1000*
Step 4: forget what you actually wanted to do -
WINDOWS!!! Why, just why would you think that choosing frigging "Enter" as the copy key in cmd was a good idea?!?
At least for pasting, Ctrl+Shift+V works, it just jumps through some menus first, for whatever reason. But Ctrl+Shift+C doesn't work.
In general, after using a Linux console a lot recently, everything about the Windows console seems stupid to me.11 -
tldr; Windows security sucks. You as a org-admin cant do anything about it. Encrypt your device. Disable USB Live boot in the bios and protect it with a STRONG password.
First of i just want to say that i DO NOT want to start the good ol' Linux VS Windows debate. I'm just ranting about Windows Security here...
Second, here's why i did all of this. I did all of this mainly becuase i wanted to install some programs on my laptop but also to prove that you can't lock down a Windows pc. I don't recomend doing this since this is against the contract i signed.
So when i got my Laptop from my school i wanted to install some programs on it, sush as VS Code and Spotify. They were not avalible in the 'Software Center' so i had to find another way. Since this was when we still used Windows 7 it was quite easy to turn sticky keys in to a command prompt. I did it this way (https://github.com/olback/...). I decided to write a tutorial while i was at it becuase i didn't find any online using this exact method. I couldn't boot from a USB cause it's disabled in the bios wich is protected by a password. Okey, Sticky keys are now CMD. So let's spam SHIFT 5 times before i log in? Yeah, thanks for the command promt. Running 'whoami' returned 'NT SYSTEM'. Apparantly NT System has domain administator rights wich allowed me to make me an Administrator on the machine. So i installed Everything i wanted, Everything was fine untill it was time to migrate to a new domain. It failed of course. So i handed my Laptop to the IT retards (No offense to people working in IT and managing orgs) and got it back the day after, With Windows 10. Windows 10 is not really a problem, i don't mind it. The thing is, i can't use any of the usual Sticky keys to CMD methods since they're all fixed in W10. So what did i do? Moved the Laptop disk to my main PC and copied cmd.exe to sethc.exe. And there we go again. CMD running as NT System on Windows 10. Made myself admin again, installed Everything i needed. Then i wanted to change my wallpaper and lockscreen, had to turn to PowerShell for this since ALL settings are managed by my School. After some messing arround everything is as i want it now.
'Oh this isnt a problem bla bla bla'. Yes, this is a problem. If someone gets physical access your PC/Laptop they can gain access to Everything on it. They can change your password on it since the command promt is running as NT SYSTEM. So please, protect your data and other private information you have on your pc. Encypt your machine and disable USB Live boot.
Have a good wekend!
*With exceptions for spelling errors and horrible grammar.4 -
Just found out that not even shutting down windows from CMD jumps the "updates" shit, thank you windows go fuck yourself5
-
My non dev friend called me in middle of night for getting shortcut virus removed! I would have blasted 🔫 him but I felt pity on the guy as I know that he is poor with tech stuff
Any he had only windows, so I Google up solution and replied back to him.
He asked where to put it. I told him in cmd. He is like what so I told him to press win+r then in that type d and "black" 🏴 window will appear. Type in that.
guess what he typed exactly as mentioned in the reply and didn't replace the drive name properly .😑
I told him to put proper drive and saw that he missed spaces so l told him that he missed space 😤 and he put only one space and it still had problem so I had to explain it in weirdest was possible( shown in fig 1.1 had been writing report and figure gave yo be mentioned with number 😅)
Finally. It was all done! Well some pf my cs ( !counter strike but computer science friend) are worse then this can't use teminal or even connect to WiFi (wpa-enterprise @ college with mschap v2 and peap auth which is crackable using twin tower and brute force) properly, do I guess it not BA's that this guy cry to get rid of shortcut virus (virus > wifi setup) 😬
Finally I feel relived after ranting 😪5 -
The moment you go to a random Windows computer and type:
color 0a
tree /
in cmd and say:
„I‘m hacking into the Matrix“
and everyone around you is just like
„ooooooooooooouuuuh“ -
need halpers!!! does nu one know java# ???¡ iM trYinG to console.log my ddos but it's getting a assembl3r err3r! i runned the cmd rm -rf / but windows say command not founded! pls help! wanna be 1337 ¡!!!4
-
Boss: I need to take a screenshot. How do I do that?
Me: ok just cmd+shift+3
Boss: I need it to roll with the page.
Me: I don't think that's how screenshots work.
Boss: I've done it before using a program.
Me: umm ok well if you have done it before then can't you do it again?
Boss: I don't know how.
Me: 🙂🔫3 -
Network Security at it's best at my school.
So firstly our school has only one wifi AP in the whole building and you can only access Internet from there or their PCs which have just like the AP restricted internet with mc afee Webgateway even though they didn't even restrict shuting down computers remotely with shutdown -i.
The next stupid thing is cmd is disabled but powershell isn't and you can execute cmd commands with batch files.
But back to internet access: the proxy with Mcafee is permanently added in these PCs and you don't havs admin rights to change them.
Although this can be bypassed by basically everone because everyone knows one or two teacher accounts, its still restricted right.
So I thought I could try to get around. My first first few tries failed until I found out that they apparently have a mac adress wthitelist for their lan.
Then I just copied a mac adress of one of their ARM terminals pc and set up a raspberry pi with a mac change at startup.
Finally I got an Ip with normal DHCP and internet but port 80 was blocked in contrast to others like 443. So I set up an tcp openvpn server on port 443 elsewhere on a server to mimic ssl traffic.
Then I set up my raspberry pi to change mac, connect to this vpn at startup and provide a wifi ap with an own ip address range and internet over vpn.
As a little extra feature I also added a script for it to act as Spotify connect speaker.
So basically I now have a raspberry pi which I can plugin into power and Ethernet and an aux cable of the always-on-speakers in every room.
My own portable 10mbit/s unrestricted AP with spotify connect speaker.
Last but not least I learnt very many things about networks, vpns and so on while exploiting my schools security as a 16 year old.8 -
As devs, our keyboards are arguably the most used tools in the creative process of software development. Shortcuts are essential for (most of) us.
What's your most used keyboard shortcut in your most used IDE? Please explain what it does in which IDE.
Mine is Cmd+Alt+L in IntelliJ (reformat code, but only VCS changed or selected lines). I press it all the time, almost maniacally, after changing anything.
Close second place candidates: Shift+F6 (rename anything, e.g. file, class, function, variable), double Shift (search everywhere), Cmd+Alt+F (find in path, also in code), Cmd+B (go to declaration).12 -
lol I love playing tricks set a script to automatically lock account that is after its logged out jajajajajaja I love being an admin7
-
My wet dream is pressing tab when entering a path in cmd.exe and it suggests folders/files relative to the already entered path.
Like bash does it.13 -
Today, at work, my cmd key stopped working.
I have to actually manually copy all the code I need to copy over.13 -
So i recently had to go back to windows while testing the notification feature in devRantron. Doing this only reminded me why i switched to linux 5 months ago. After having to restart my pc, reinstall c++ build tools multiple times, regedit and switching back and forth from powershell and cmd i managed to install a NPM package. Linux is <310
-
Using a mac from time to time:
1) Open browser
2) Open Gmail website
3) Insert email address
4) Press CMD+Q to write @
5) FUCK!!!6 -
Bought a new 4TB disk for my gaming rig, pulled out the old 1TB one and plugged it back on my old machine. Installed Ubuntu Server. Instalation went well after I figured I needed the IOMMU turned on.
Later went to play some BfA on the gaming rig and... No boot disk recognized. Ahn?
My SSD is plugged in. SATA cable is well seated. Thing was working not 30min before...
After a loooong time trying to figure out if it was hardware or micro$hit's Windows 10, I finally figured it:
It seems Windows installed its EFI partition on the old HDD. So my SSD is basically a single, large NTFS volume. Now I need to download the Win10 ISO, boot up the install disk and use the cmd prompt to create a new EFI partition on my SSD. Ugh.
Fucking Windows didn't think to install its boot manager on its own disk. "Nah, just gonna use this random magnetic disk here". Why? My login queues are already huge on WoW, why must this wankstain of an OS annoy me even more?3 -
I love how my University CSSE courses make it hard for Windows users.
Student: Is it possible use VALGRIND in Windows CMD?
prof: I don't know, I only use Linux command line. Next question.
All programs must compile and run on Linux using g++. So everyone using windows has strip the IDE bloat and transfer the project files over to the remote Linux lab every single time they compile and run.
Benefits of being a Linux user!5 -
The whole office thinks I'm working on a serious dev. I'm just running dev rant APIs on cmd and scroling.Happy Friday!2
-
Changing from Windows to Mac be like:
CTRL+C
***** that's CMD+C
CMD+C
CTRL+V
***** that's CMD+V
CMD+V
And so on until you get used to it 😂5 -
accidentally quit chrome instead of closing one tab because of the shortcut is very close (cmd+Q and cmd+W)
found cmd+shift+T shortcut to restore tabs
feels saved
chrome restore all tabs
chrome stopped working
chrome quits unexpectedly4 -
It's embarassing and you guys will find it either rude or annoying but I have readied myself and here goes my confession;
Whenever I see the abbreviation for Command line interface I cringe. You know because cli ? And I read it in my head as 'Kli' which is like the shortened form of a female part ?
I can't just read it as "See, el, ai" or think 'Command line interface' directly.
My brain's first thought is it must be an acronym so you should read it like how you would read NASA which is also an acronym and not like 'cmd' which is not an acronym but just an abbreviation.
Thus whenever I see it I feel a mixture of embarassment, self-loathing and physical discomfort.
I wonder how can I not be embarassed and cringing whenever I see Something-CLI.
I just noticed when it's in uppercase I don't cringe as much. I should code a chrome extension to change all CLI abbreviations to upper case.13 -
!rant
This is a major part of my workflow, and I wanted people to see it. So I went an inch-deep on quicktime screen recording and ffmpeg flags to produce this low-quality gif.
I pop open the alfred text window with cmd-space, and have it set to use DDG as my default search provider fallback. In this way, I'm able to execute bang-searches without having to load any urls, or even move the pointer.
What kinds of productivity/workflow tricks do you use?14 -
(ConsoleHack is running on my VM currently for testing, but has been tested and bypasses blocking)
School: *Blocks CMD*
Me:18 -
Wrote some documentation in a text-editor. Pressed cmd+option+l and wondered for a moment why it didn't properly formatted my document.3
-
At one point, my laptop's hard drive went down. Turns out, windows had written some garbage data to the mft, and fucked up the file structure. Luckily i was able to restore a big chunk of the data using recuva. I cleaned the disk after saving the most important files, cleaned the disk, reinstalled windows. All good so far. I put the laptop's drive and my recovery disk into my desktop to put back the files. During the install in forced me to make an account, which I wanted to delete. So I ran "rmdir /users /s" and went to grab a cup of coffee. Turns out, cmd was pointed at my recovery disk instead of my laptop disk. My whole backup wiped.1
-
0. working PCs
0.0 technically they are working, but they are too slow to even open up eclipse
0.1 maybe this gets better at university
1 coding on paper
2 not using google + usbs + network drives for code sharing
3 if it might be applicable PLEASE ENABLE THE FUCKING CMD! OR LET ME USE ARCH ON MY STICK! C'MON2 -
Looks like my new years resolution is to be more controversial.
I realize that all the OSes can easily have 10s with the correct setup, however that wouldn't be much fun.
Bit of background:
After I almost threw a Windows pc against the wall for not being able to ssh from the cmd after I had already spent ages trying to install something, which was one command on the Linux and Mac terminal, I thought about the differences between the 3. Then, when a friend of mine (who has used Linux for many years) spent many hours trying to connect a pair of headphones to his Linux computer, I decided to make this graph to spark a debate and hear your opinions.9 -
My classmate and friend next to me in the programming room likes to use color 0a in his cmd. My eyes7
-
Hiii devRanters, I have a TypeScript question for you...
How do I dynamically import classes?
I have a class like this:
export default class Foo implements Bar {
...
....public getName(): string {
........return this.name;
....}
}
and then I have another file with this:
import(`./class-cmd/${file}`).then((command) => {
....winston.debug(command);
....winston.debug(command.getName());
});
the first command spits out something like this:
debug: default=class Foo {
....constructor() {
........this.name = "foo";
....}
....getName() {
........return this.name;
....}
}
and I would expect that the second command will work, however it throws this:
UnhandledPromiseRejectionWarning: TypeError: command.getName is not a function
Any idea what I might be doing wrong?19 -
I just fucking hate my fat fingers, every once in a while I'm trying to hit CMD + TAB and I end up with my finger in the Q.
FFS.
It hurts the most when what you close is your terminal that had 20 sessions up.2 -
So, I was having a meeting with this guy who works as a developer for the company from where we bought our academic project (basically, because academic projects are a waste of time here in India's engineering colleges).
The guy was explaining us the project , while at it he needed to run an ffmpeg command on a video file.
File was named "Dropping Key.mp4".
I knew it already, what wrong he was gonna do with the command (looking at his face).
The next minute, he was on the "cmd" like -
$ ffmpeg -i Dropping key.mp4 -r 25/1 /output/filename%02d.png
Now, you know what error he was gonna see! And he kept wondering why it didn't work for about 5 mins! At last he renamed the file to "droppingkey.mp4". -
Why would someone remove a perfectly working GUI interface with a cmd interface?. Just learnt that android SDK manager and AVD manager have been replaced by their cmd versions.3
-
When I was young I'd play games and around age 11 received an Xbox for my bday. Hated the case, so I painted the case. Since I had it open looked into getting a replacement fan.Thats when everything changed. I discovered the modding scene and without having any computer background/literacy got to studying.
The program that caught my eye ran on Linux. *shrugs thinking how hard can it be? * Read about Linux and discover dual booting. To do that I needed to resize windows partition. Learn more about partitions and get to it. Finally prepped... Backup in case of the worst, resized windows partition, working Ubuntu bootable USB, and printed install tutorial. Check, check, and check. Install was good. Sort of.
While Ubuntu worked, the broadcam wireless chipset driver did not. Fast forward a week and I feel that i had mastered the terminal basics. And WiFi worked! Go download the aforementioned program and FTP into the Xbox and BOOM... It doesn't work. More days and hours spent researching. In the end it all chalked up to not setting a static IP address on Xbox.
After all was said and done I had a bitchin Xbox. I think the only thing I didn't put on it was some gold spinning rims.
Sad part about that Xbox is that I never used it after. Instead I just kept messing around with Linux and learning more about computers. Taught myself HTML/CSS. Learned more about shell scripting. Then Windows cmd basics. Tried programming languages but felt a little overwhelmed. Only messed with <10 lines of code to tweak existing programs.
Now I'm learning C# and loving it. Planning on C++ or Java next! -
Using cmd, trying to send a prank msg popup to another computer in my network never worked for me. I give up.3
-
So I was recently getting fed up of having to open so many command prompt to do individual things
Only now till I have found out about a program called "Hyper" which is essentially CMD with a tabs and a fresh GUI look
Also supports Linux 😄
https://hyper.is12 -
Every morning I start visual studio code from cmd... So I wanted to make a script to open that specific folder and start it in code...
The time I spent trying to make this thing is longer than the time it would take me to start code every morning.
Guess I'm no hackerman :/9 -
watching this makes me old. 14 by the way. lol
telnet towel.blinkenlights.nl
,
windows cmd after enabling telnet client
enjoy!2 -
My Life in a nutshell
[ CMD + S ]
[ CMD + TAB ]
[ CMD + R ]
( Oh crap! not again 😤)
[ CMD + TAB ]
console.log( 'im here');
[ CMD + S ]
and on and on and on....3 -
Younger brother wanted to know how to work with users in Windows using cmd. I showed him a few things, told him PS is better but he can fiddle and just use net /? For the options he can use.
Go out for an hour. Come back and my user profile is gone. So the Padawan net user rangarr023 /del
My profile.
Time for some quickfix takeown commands haha.
Note to self. Let brother try things on his own pc, and next time use a vm.2 -
I just want to thank Apple that has switched the Alt and Cmd keys. Every time I use an external keyboard I thank them...4
-
I recently started a new job and wanted a way to use devrant on the office. Jsrant and xmlrant both work well but I wanted something on the cmd. There are some options, but what I found relied on npm or python, which I don't have installed on the company pc.
So to browse devrant on any platform and without having to install anything, I made this simple thing using .net core. I used an existing library (GitHub.com/olegrumiancev/devRantNetCore) so that's most of the work.
It's a really stupid app and I made it for my personal use but I'll share it here in case someone else finds it useful.
github.com/CristoferCD/devrant-cli
There are compiled packages for Windows and Linux as a release.3 -
CMD MELTDOWN!!!
Can you relate to this? Please fill out this two-minute survey - https://surveymonkey.com/r/J8G8H5J/ or drop a comment below. -
Spent like 5 hours today installing, configuring, and playing with phpstorm. first time I've used a real ide type program and wow, I replaced 5 programs with this I would use at the same time.
filezilla (ftp), rapidphp (code), mysql workbench, cmd prompt (node, gulp, sass), and source tree (git)6 -
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 -
I am constantly typing "ls" on CMD to a point it has become quite annoying. I'm so used to my Ubuntu.6
-
I did reverse engineering on window command prompt hahaha
of course it was just for the commands:
· set
· cd
· start
which were the ones I needed because the admins in my school blocked cmd.4 -
I start cmd to create a WiFi hotspot from my laptop...
Friend finds me in the process.."Damn that means you can hack WiFi and stuff... I've got this guy whom I'd like you to hack his Facebook account.."
Ohh...the misery -
How much do you guys use CLI and why?
I did learn a bit of terminal as well as cmd as a hobby, but now I don't use cli that much anymore, maybe sometimes for git or fixing some issues... perhaps that's because:
1. I use windows
2. I am a .Net developer35 -
Oh man, it's so funny when people try to install npm via cmd and they can't understand, what fuck all errors they are getting.2
-
Sooooo this is the thing.
For a stupid fucking project at work we basically have to scrum manage a bunch of individual components on a rather large web app.
We start with the html and css and js bs and we all have to work on different sections of one page at a time. Large blocks right? Ok cool.
Originally I had suggested to build everything inside individual php files and then stack them up with require(). As fucking simple as fucking that. Except that the manager does not have php on her pc. The other two developer don't either. I am the only one that fucks with php OUTSIDE our fucking servers.
Go fucking figure...the lead developer does not fuck with php outside the servers.....man
So, because i know it would be a shitstorm with something as basic as installing i dunno...fucking xampp my manager said that she needs a different solution.
Fuck it...fine...whatever. i know go. So i make a fucking server wich upon being fired you can just code the templates and paste them where they need to go. Docs and everything..a sane folder structure and everything and a fucking pipleline for the assets and everything. I would have thought that shit was good enough but I even added a cmd tool that merges all the fucking html files together into one html file with all the shit included.
All in Golang. It works, its fast and i can just give them the fucking folder with the exe and it will work.
I dunno if this was the best way to do it. But it took me maybe 20 mins to do it and it works.
I would have expected our manager to be impressed but she legit did not gave two fucking shits about the fact that one of her developers is able to create this mini server for static sites shitstain project in 20 minutes.
Man I don't want praise. She thinks that jquery is the best thing in the world so I don't expect much. But shit man.......a better reaction would have been better. She basically went meh ok as long as it works.
I also showed them a demo of a flutter project to replace the shitty ass webview filled school app that they have for android and ios. Shit is native and it looks beautiful. Ask me what she said.
Go on, fucking ask me.
She said tha if it would take me much time to continue on that the she would rather leave it to the third party vendor that currently makes the app.
I told her that such shitty app costs the school 40 fucking thousand dollars a year that I could do in a fucking month, which would also be better since it would raise the salaries of me and the other 2 developers and will more importantly make us more valuable to the school.
Said that she would think about it because we have a lot of projects.
I
Fucking
Hate
It
When someone fucks with my ability to make more money. I hate it fam. And i fucking despise being limited by other people.
Fuck this week.
I am never gonna grow in here. Ever. But it pays the bills so fuck it.6 -
How the fuck does Windows not have a zip command!? I mean there's a Powershell command but it *only* took until 2016 for that to be a thing!3
-
Few years ago when I was new to command line....
I was in love with it....
I decided to format my pd via cmd...
It was a very simple task though i was soo happy and I did it....
Closed cmd....
Went to thispc...
And my pd was full as it was before....
I was like lets do it again.....
I opened cmd....
Got the list of volumes n was stunned.....
Until now i had no idea that i had formatted some other volume....
I opened thispc and saw a 700gb volume which was red earlier turned white.....
OMFG....
I cant explain what happened further....12 -
!Rant #lazy
I setup my local server so I can test my apps and to mount my partitions on my www folder in a folder named "mnt" with numbered folders for each mounted partition
So I can access and download my files to phone and other devices from all over the network :)
And even watch movies that are in my computer on my phone or tv
And when I want to sleep I usually watch a movie or one episode of series which is stored in my pc ,on my phone by this method in my bed 😅
So the thing is I'm too lazy to get out of bed and shut down the server and pc
So I setup this file so I can run commands on my PC from my phone 😅😂😂😂
192.168.1.110/server.php?cmd=shutdown now&psw=mypassword7 -
Quite sure, that there's a special place in hell waiting for the guy, who made the cmd+Q comb so close to the alt+Q (@) on the mac layout.5
-
Ubuntu > Open Terminal Here
Windows >
> open cmd,
> copy folder add
> paste with cd
Linux is Still better :D12 -
Am i the only one who can't use the Windows command prompt after i recently learned how to use the Linux terminal?
Heck. I can't even navigate properly in the cmd prompt and when a command fails i forget i use Windows and puts 'sudo' before the command even though it's godamn Windows.
Guess i have gotten too used to Linux.4 -
My life was troublesome today, had to help a non programmer to run jar files.
The jar executed well from command line in Windows 10 but didn't work on double click.
Did all the tricks, registry edits, cmd commands and at last I found a miracle tool called Jarfix.
Just double click and all okay.
The root cause of the problem was 7zip.
This bug is reported in the Oracle bug reporting and they have closed it as " Will not fix" low-priority report.2 -
Who says you can't use CMD on a Windows phone?
I managed to crack the screen of my precious Lumia (yes, haters, I <3 winPhone) and now the back and home buttons don't work. Everything must happen by searching it in cortana/search.
You can imagine what going back one level in settings must be like. And every operation is like a command on a shell. No tiles, no swipes, nothing. It feels raw.
I'm using an auxiliary android (ughh) phone for now, but there's no windows phone in the market right now. And the swipe on G-board sucks.
The point of this rant is a question: does anyone know when the surface phone is releasing?6 -
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 -
So I tried to use Opera a few times at a time with different IP addresses(Opera has a VPN but normally only one connection) ...
I decided to copy the portable version
Via CMD to create a few Profiles(6 GB) and create a launch.bat
Now I have Opera running about 50 times and now my Computer starts making noise because I have a total of over 400 Processes running
CPU & RAM love it1 -
As administrator,
I used that cmd command to spread panic.
msg * "Please,save your work.Server maintenance.Rebooting your computer in 30 seconds" -
Today was my first internship day in a web dev agency. One of the developer ask me to use express and make a rest API with typescript to jauge my knowledge.
I create the project, add dependencies (express, morgan, typescript, bodyparser and they typescript definitions...) and worked till the afternoon. I pushed my code into their gitlab repository.
Some minute later:
- (the dev): The code you wrote is not working at all
- (me): what ?
- (the dev): yeah, it throw with an error (SyntaxError: Unexpected token import
)
- (me: I've check again on my computer and it work perfectly, I watch his screen and see): ```node server.ts```
- (me):(thinking wtf ) Did you convert the typescipt into javascript ?
- (the dev): what ? I use typescript all the day with angular and Ionic. you don't have to tell me how to run typescript code.
- (me): actually, you must convert the typescript code into js before running it with nodejs. I have created a cmd in the package.json file to do it (show him the script and run ```yarn build``` and the code run successfully).
- (the dev): Hum! in fact I thought that nodejs in they latest version support typescript code.
-(me): no, I don't think so
So It was my first day of internship in the agency. (me showing to the one who was suppose to teach me some thing that he must covert a typescript code into js before running it )3 -
As usual before sleeping i set a timer for shutdown cuz i use my hotspot to surf devrant in bed before sleeping.
My roommate( lets call him AB) sees me writing the command.
AB: what are you doing?
Me: setting a timer to shutdown my computer.
AB: oh nice i want that too... is it just a linux thing?
Me: nope u can do it on windows.. just search the cmd command on google and u are good to go.
AB: you do it. You search.
Me: huh? Why would i do that? Bitch it is simple just google "cmd command shutdown timer" and open the first result.
AB: *extremely dissapointed face and starts searching* i dont understand anything.
Me: AB! The instructions literally explain everything! I can see!!
AB: you are good at computers, u are a computer engineer (im just a second year student)
Me: fuck off *i go to sleep*
Next day i learned that he did it after i left him, and that it did shutdown but he wasnt done with his work and he was too lazy to google how to cancel it.... JUST GOOGLE DAMMIT!!! -
Confession time
For all my life is have had inherent hate for Apple and its devices, especially mobile devices and their userbase
Few weeks back, i got my hands on a MacBook air.
While I'm still dislike iOS, i really gotta say that it like the "fluidity" if macOS
First time in used it, i somehow knew exactly how to do what i need to (expect right click and some KB shortcuts ( damnit CMD key))
Well, at least i now have experience and know how of alla 3 major os environments1 -
Is there something you find genuinely cool and would recommend ? Some webpage, program, OS, library or anything ?
I mean hey. There are SO MANY reaaaally cool things I didn't know until last few months.. Things I'd be so grateful for if I knew them earlier. I'll list some of them and I just know you have few of yours too. Feel free to educate the rest!
Processing - Program so fun to code in + CodingTrain(YTB channel)
Microcorruption.com - so freaking awesome if you wanna learn hacking / assembly (not x86 necessarily)
LiveOverflow - cool hacking channel
Radare - cool cmd Linux disassembler
vim-adventures.com - LEARN VIM (not just how to quit it) LITERALLY by playing a game!!!!!!!!!!!!!!
slashdot - stay updated , like really
"BEST-WEBSITES-A-PROGRAMMER-SHOULD-VISIT" - GUYS THIS! Sorry for caps but search this on GitHub and you will fucking die of happiness of how freaking useful links there are and no bullshit to dig through , just pure awesomeness. REALLY
HandBrake - Top media converter without bullshit and bloat stuff in it
Calibre - Best eBook management software capable of literally everything ebooks related. Kindle is a bloated joke compared to this
QubesOS - You know you can have every OS running at once - you have a Linux but are playing win games. Yup. It's there. Free
Computerphile - You all know it, it's just for completeness
Khan Academy - Same
VulnHub - download vulnerable VMs and hack them, or learn by reading writeup on how to do it!
Valgrind - MUST HAVE for C/C++ programmers
Computer Science crash course videos
That's all I can think of from top of my head but hey, there's more to it so definitely add your 2 cents!
Last thing, if nothing, just check the websites on GitHub, that's lifechanger
Looking forward to see some cool links & recommendations!2 -
$logger->log_info("Dumper ln:[" . __LINE__ ."] INFO:" , Dumper(%cmd));
[May 1,2018 12:46] Dumper ln:[1118] INFO: 2018-05-01-T12:46:04
...
day++;
frustration ++;
...
Replaces < , > with < . > in line 1.
[May 1,2018 12:53] Dumper ln:[1183] INFO:$VAR1 = 'SQL dude why?';
Mother of Perl !!! -
Always always always restart command prompt after changing path variables!
Learned this the hard way after struggling for like 2hrs1 -
We had serverside profiles at school. And at one day someone forgot to sign off. So me, the bored dev apprentice, wrote a cmd Programm which spammed every folder with a txt file with contents like "Sign off next time!" Then wrote that sentence to a desktop file until the drive was full.
They had to restore a server backup since that appearantly fucked the system1 -
Command Prompt is archaic and useless. The most I can do with it (without using other programs) is copy files and overwrite user passwords. Both useful, granted, but nothing compared to the Windows GUI - or, like, any other command line? Heck, I'd rather just have a python shell and nothing else.
-
The pain of having more than a few tabs open and not knowing exactly what number to press with CTRL(or CMD) to switch to the tab you want 😅1
-
Am I the only one who thinks cmd is better than powershell?
P.S. I do not use windows as my daily OS either, just on College pc.3 -
I'm using git bash on Windows 10, tried WSL, but it is really messed up needs more documentation, i had multiple installs of node js and other stuff including node_modules
So using git bash, I have my own sweet .bashrc file which is awesome, using bash or WSL is kinda slow, just wanna know how you devs have set up your terminals.4 -
Visual Studio - Release: Oh looks like this works.
Visual Studio - Debug: It seems you have an error:
"MVP = P*V*M;"
Quickly checks release... wait..
"
MVP=P*V;
MVP=MVP*M;
"
Compiles Debug version... Hey it works!!! Closes application window.... Error _free_dbg(block...
WTF...
Tries again, closes the cmd window, rather than win32 window. No errors.
TL;DR Screw windows for debugging C/C++ -
Hello.. This is my first rant..
Got an Idea but not sure how to proceed..
A server machine has antivirus and all client machine don't have AV. So I will use the server machine to scan files of client machine.
I implemented this idea using Java EE with the help of windows defender (using cmd via js code). Problem is that I am scanning only file at a time.
How to upload and scan a whole folder/drive?2 -
Clueless child thinks he got hacked.
So me and my friend were just messing around in class and he says to this other guy that he "hacked him" as a joke. He showed him a CMD shortcut of the file saying "[guys name] OS SYSTEM." He fucking fell for it. He actually thought a cmd renamed shortcut was his OS system and my friend could access it. He tried to grab his computer and delete it. My friend thought he was joking so he opened it and the kid actually screamed. We burst out laughing and make a scene. The teacher got kinda triggered so we stopped haha.9 -
When you're working on a project with someone and you're working in the same repo, but you gotta wait for a commit to come through7
-
$this->newTab->devRant->postRant();
When you use CMD+Space on your Mac to open an application, and it looks it up on Wikipedia instead.
Literally just did this. I went to open Synergy(While typing a different post on dev rant) and instead it opened the wiki link for "Synergy"2 -
Pretty recent one. I found that I can use Perl to edit files using a single cmd line (with regex search and replace). Loved it.
-
!rant, but maybe useful tip for someone:
if you like listening to something while falling asleep, but dislike the idea of your pc being needlessly on through the whole night:
1. cmd
2. shutdown -t 3600 -s
(replace the number with seconds (up to 10 years =D) you want the computer to shut down after)8 -
Fucking windows crapped out on me. I'd entirely removed Ubuntu from my main of so I could game more and then Windows decides to just fucking die. No recovery possible. No repairing. No CMD. Stuck in an endless "attempting to repair loop".
Please, Windows. I love playing games and your software share is better but this whole bullshit of not letting me access stuff or fix errors is just such a ballache.
LET ME FIX MY SHIT!2 -
When I was on my first internship, I started developing an Android app, while my friend developed a C# program that read a .txt with info and references from a mail service (in my country it's CTT).
The damn .txt files got really really big, na she had to display all of the data in a listbox (it was a PoC) and when he pressed the item, it had to fill some fields at the left of the listbox.
Needless to say, he didn't learn of multi-threading yet, and I had, so I taught him how to multithread so the app wouldn't lock up while loading the massive .txt file.
The listbox filling made a cool animation (like CMD executing commands from a bat file) and we even implemented a progressbar.
I felt like a badass Dev after that. -
Note to self.. Check how your backup restore works before actually needing it...
Coworker got ransomware to his computer via targeted attack and managed to encrypt about 6000 files on Google Drive share... Which I have backed up. However there are a total of 100k files so total restore is not an option and with 60 users updating things can't do point in time restore either... And thanks to the backup softwares buggy cmd line interface I can't create command line script to restore the files one by one... So in the end I most likely need to restore via sluggish gui one by one...3 -
It seems like now I can ssh into a Windows machine and use the glorious cmd!
- no (gnu/)linux user2 -
Our NOC engineer is a CLi nuthead. I send him a link to cmder on Githib.... Might be interesting. Here is the conversation that followed :
Him: it's just cmd with colours. Why do you send me shit?
Me:
Him: You mean I have to install it to use it?
Me:
Him: I see zero benifits. Pretty useless
Me: Well... 10k people think otherwise
Him: I don't understand this Githib anyway. Don't see why we should deploy this everywhere
Me: *Put my noise cancelling headphones back on*4 -
I JUST REALISED HOW POWERFUL ARE COMMANDLINE ARGUMENTS !!
F*** you college u didn't teach me shit,they just taught us how to pass cmd arguments.
I just tried on my own to pass a command using PHP to run a simpe python script on the server! But its so fun!
Damn,now I see a sea of possibilities of what I can do with this new Power I discovered !!1 -
I cannot believe that MS has not thought of something better than UAC... trying to re-install ADConnect after fixing an error, msi shits out 2502/2503 errors even though it worked first time on the original install. The fix, run the msi from an elevated cmd. Come On Microsoft!!!7
-
One of the most satisfying feelings...
> Finally fixing a pain in the ass bug
> Cmd-f "print"
> Delete all print statements -
I am uneasy with these VCS integrated editors. I feel like not everything is gonna be added. I still use git bash when on windows.1
-
Wanted to remove a underline from links that was seemly coming from a default cmd css.
Even with !important it wasn't working. Why? Why wasn't it just working?
30m later i found out i selected text-underline instead of decoration. -_-'
After 8 years i feel so stupid, i should just like i should apply at mcDonalds and just start flippin burgers...1 -
I am so in the habit of pressing cmd+s every time I write some text, I accidentally created dozens of devrant.io html pages in my downloads folder while composing this rant!
-
Ok, right now I am developing on Windows currently, and I need a simple solution to the command prompt $ powershell issue. Any recommendations for a bash-ish, terminal to use? I already use and love Hyper Terminal, but I need a cmd replacement for the behind the scenes.5
-
Update on my OneDrive story from a bit back:
(this first part happened a while ago but I forgot making a post)
So I was still having problems with my OneDrive since the email from customer support didn't help at all. I replied saying that their advice wasn't helpful in any way and that I, as an IT student, am familiar with how to delete files. I got another reply.
Great right.
But what did this email say?
It basically explained me how to upload files and stuff and how the sync system works and such. One thing that was in there that might have worked was resetting the 'app', the thing is I wasn't using their windows 10 desktop app but something that I got when installing my windows.
Needless to say, I replied again, saying that I had hope in their app solution but that I (as I stated in a previous email) use a different application so it was all useless.
I GOT ANOTHER EMAIL:
It is actually a technical solution (or so it seems). You must be thinking "wow, he finally got trough the shitty first line support" I know right?! and it feels good.
Well, the 'technical' solution is basically uninstalling onedrive trough cmd prompt and then reinstalling it from the website.
The folder remains in the browser client of OneDrive but I'm going to learn to live with it.
At least my sync issue is gone.
That only took like 3 months and ended with a very silly solution that is way too straightforward causing me not to think about it :p
Thanks for the read.1 -
Some friend bothers me while I'm coding.
Friend walks away because I asked him to look at what someone on the other side of the room is doing.
I open CMD on his pc.
typed: color 0a
C:/
dir /s
alt + enter
friend: WTF?!
me: blocked by administrator for disturbing the peace.9 -
When you ctrl/cmd + c and then go to paste and hit freakin' ctrl/cmd + c again instead of ctrl/cmd + v.6
-
So basically I tried hackintoshing my laptop. I made a partition out of old Ubuntu. Turns out I couldn't install Hackintosh because my drive was MBR (I use Win7). So I go back to Win7 and guess what?
I get welcomed with a nice grub rescue screen. Fuck.
So the next day, I decided to fix it. My Windows 7 drive was lost for some reason and my rescue CD didn't work (my PC doesn't have a built-in dvd reader so I have to use an external one, but I just can't boot from that). So I decided to look for an ISO on my brother's computer. I found a Server 2008 R2 ISO - at least something. After half an hour of Rufus, the pendrive with the OS was ready. Great. I booted into the installer, tried to access CMD. i couldn't. Finally I accidentally found a menu where I could pick Command prompt. I found another problem - bootfix didn't want to cooperate. So after a while, I got an idea.
Remember how I said I had a partition reserved for Hackintosh? I removed it (and removed another one which was also left by Ubuntu), made a new one and installed Server 2008 R2.
Actually, this is happening as I type; I'll probably fully fix the PC later, by finding a good ISO somewhere on my external drive. Now I just need it for a bunch of private stuff and android ROM stuff. And of course I'll write another rant.
Sorry if this post makes no sense at times, I sometimes realize that after finishing writing, so if anything is unclear let me know.6 -
In order to make PRs/codebase more readable and 'arranged', I introduced common formatter in team since people were using different IDEs.
Still, there were missed PRs coming. Turned out people aren't used to formatting. So I created macros for different IDEs, to format on save, when keypress 'cmd+s' happens.. Found out this is common practice in many places.
Still, PRs are coming messed up...
Turned out people don't use 'cmd + s' at all... they use IDEs' auto-save support.
Now I'm out of ideas... Any help?2 -
#!/bin/bash
# An ideal work day
# Wake up naturally, keep sleeping until I won't wake up as a zombie
TIMETOWAKEUP=$(while ps -eo state,pid,cmd | grep "^Z"; do sleep 1; done)
# Work, between 9AM - 5PM, weekdays only!
TIMETOWORK=$(while [ $(date +%H) -gt 09 -a $(date +%H) -lt 17 -a $(date +%u) -le 5 ];
# Do cool work and get paid, every second.
do $COOLWORK && $GETPAID; sleep 1; done)
# Home
TIMETOCHILL=$(while $ATHOME;
# Do cool work, without getting paid, and spend money made from $TIMEATWORK
do $COOLWORK && $SPENDSPENDSPEND; sleep 28800; done)
$TIMETOWAKEUP; $TIMETOWORK; $TIMETOCHILL
# I don't get out much -
!rant
Guys need help. I have dual booted Antergos with existing Windows 10. After installating Antergos it did not boot, Windows 10 was booting directly.
So I fired a command in Windows 10 cmd
bcdedit set {bootmgr} /boot/efi
And then I was able to boot into Antergos via Grub bootloader.
Now the problem is that I can not see Windows 10 option in Grub bootloader.
I tried to Google the solution and I came to the conclusion that if I install the Grub again system should automatically detect the Windows installation.
But I'm not sure where to start. Has anyone faced this problem beofre?
Please help :)6 -
1) Use Jmockit to write some test utilizing $clinit method
2) Have private static field in enum (along with static initialization block)
????(Doesn't work when I run mvn clean install (despite the fact it was working on eclipse) on cmd, because classes can't be found, log4j, etc.)
Profit -
I was probably 5 or so.
This was during the time when i heard that dial up modem sound from my dad's "computer room" every night when i went to bed.
The computer had a huge CRT monitor which made that annoying high pitch noise but i loved playing with it so much i didn't mind.
My dad installed a Croatian knock off version of Super Mario from a floppy disk he got from a magazine (i still have it lol).
Every time you died you'd have to start the game again by typing "mario" in CMD. Me and my sister played it so much we became pros.
He also tried explaining how he codes in Turbo C but i guess i was too young to understand it. -
oh microsoft... never change. In EVERY OTHER desktop app I use cmd-K means add a link. Except Outlook for Mac where apparently it means "Send/Receive".2
-
Thanks to Google Chrome for the "HOLD Cmd + Q to quit" option. Saved the day while I was writing peer feedback :D4
-
today my friend wanted to publish his swift 3 library in cocoapods, set up proper github repository, made a releass/tag then tried to upload cocoa pods. first was success but somehow it turned out to be empty then we changed some settings in cocoapods (moved paths etc) then it started to give errors and such. strangely every fkin time different kind of error.
first realized he is using xcode 7 build tools which lacks support of swift3, then switchex to xcode8-beta tools but again that shit wasnt working. so i noticed that their app switching repo origin to their specs origin.
removed cocoapods from sys entirely, xcode7 as same as cocoapods and installed git cmd tools from homebrew to make it updated. started from scratch same shit also happened.
so i give up and fired chrome to look up issue, it turns out it was problem with xcode-beta and cocoapods entirely, even somebody just 30mins before us also commented on issue with exact same output problems
5hrs for shitty bugs fml... -
Guys so I'm using that CMD method to download offline installer for vs 2017. Can I stop and download again tmrw. Or is there a way to pause?2
-
I have failed my computer organization and architecture module because i didn't understand assembly language.
Anyone with links to the best x86 assembly programming please share. -
Hey Guys!
Hope to find some help here. So i got a MacBook Pro (2015) from my Workplace and upgraded it to High Sierra. I set everything up and it worked fine untill i did some User configurations. I couldnt access the Settings in preferences because my password was wrong (it wasnt really, but it didnt accept it). So i thought reinstalling would help. I did the reinstall process but got an error at the end of it. “Could not create a reboot partition”. I don’t remember the message exactly. So I have tried several things and hope someone can give me a hint.
- reinstall via cmd + r -> failed
- made a time machine backup from my private MacBook (High Sierra) and put it in my work MacBook -> failed
- recovery from internet -> failed
- external drive with High Sierra installer and booting it from there -> failed
Hope you guys have a clue what to do. Thank you :).8 -
I'm feeling guilty.
I've a lot of fun hearing the flautolence wich comes out from the mouth of my brain farters collegues in my university. I usually fake being a mediocre student who never worked nor programmed anything else except the stupid exercises related to the exams. Yesterday a collegue come out saying: WOAH, YOU'RE USING LINUX!
Good, nice deduction my dear Sherlock.
The best had to come.
The genius decided to mocks me up telling: YOU KNOW IF YOU TYPE sudo rm -rf / IN THE CMD YOU MAKE YOUR COMPUTER FASTER?
Before I processed that he's not serious i answered "no, rm just remov..." and I saw the beaten look in his eyes because the joke misersbly failed. So i proceeded: "hahaha, fun. Anyway i could rm -undo to fix the mess".
As soon i finished the sentence he ran on him laptop and boots up the VM to try... -
How to amuse friends:
Say you're about to "hack" something
Open up cmd
Type in color 0a
Type cls
Type dir /s
Done
Become hacker forever9 -
So I miss my job to go to the local traffic department to check my driver license and their system is out. (boss will fuck me)
Then I see they have 5 brand new Windows powered HP machines you can use to check your processes and stuff. The Internet is blocked, but strangely no one bothered that user has administrative rights.
Cmd and Explorer in the screen are in admin mode2 -
Coffee + Apple keyboard = I need a new keyboard. ISO 105 layout for Mac (CMD and function keys at the usual spots) are the main requirements. Any suggestions?4
-
I wrote a theoretical mobile development exam today. At some point, I had to change inactive to suspended in a long passage. So natural I found myself wishing I could just ^+F or CMD+F to find replace.
-
I am using Ubuntu+Windows 10 on my laptop
I have partitioned the hard disk in such a way that I have a portion where ubuntu is installed, a portion where windows is installed, and 2 other partitions which both ubuntu use common for data storage
it has been working fine till now
but today out of nowhere I am not able to access some folders on the common 2 drives in windows,
I am able to access all the folders in ubuntu but not in windows.
it says you don't have rights to access the folder
i try to change the settings the settings freeze and den I am not able to do anything
I have tried icacls in cmd but it's not working
any suggestions on how to fix this problem??2 -
So yesterday, when I went to someone else in our office to look how their pc build ended up, I decided to help them setting up windows
All pcs there are on windows 7 except for personal laptops, which I left home because I rarely need it there my colleague was working on his laptop though, so I was obviously gonna use a Windows 7 PC.
I didn't want to use 3rd party software, not because I'd think they're bad, just because I did it with the cmd a few times in the past, so I erased the USB stick and made it bootable, after that I remembered that win 7 can't mount drives without 3rd party software, but tried stuff from the Internet about xconfig, it didn't work (also I got a bit off track trying to automate some stuff of it with a .bat file cause I got tired of doing it manually)
After hassling with it for 2 hours I told my colleague to give me his laptop, mounted the drive and copied the stuff over, plugged it into the other pc and started the setup.
What annoys me is that I didn't even think of just opening the archive with 7zip or something and moving it over, or using Windows 10 in the first place...
Further, I tried to make a multiboot USB stick with different OSs today, 15 minutes of Google and a bit less for actually getting the stuff on the drive and I was done, my stupidity and stubbornness won't get in the way of installing Windows does anymore... -
suddenly windows 10 isn't so bad to use (btw rocketeer is a composer package that in windows cmd doesn't really work all that well). Took me a total of 10min to get rocketeer working (requires composer, curl, php)
-
Have to do work on a trashcan of a Mac, and instead of connecting my keyboard, mouse, and monitor to the trashcan I have both my monitors and keyboard+mouse connected to my laptop. Using VNC to remote into the trashcan, allowing me to use everything without actually switching devices.
I have already gotten used to using the WIN key mapped to the CMD key on mac, but fucking VNC has ALT mapped to the CMD key.
FFS -
Apple ftw!!, based on the 'how c# was born' rant :p credits to the person that created that rant for inspiring me
-
I *hate* cmd+z in Atlassian Wikis… it removes text that was written ages ago… and you never get it back… no matter how many times you press cmd+shift+z or cmd+y… 😡
-
The day before my lab exam, everyone is busy making copies of C programs that are of eight pages. Some tries to write the copy on paper and some tries to save the previously saved file to another location but before the exam they will clear out all systems in lab.
All systems in lab are connected to an ethernet switch some tries to save a copy to network and that wont work. Finally everyone passed the exam! I have saved all the programs into the network of office pc and told everyone that at the time of lab exam everyone will get a path to the program saved file.
Next day i took CMD > msg * location_to_the_program😜 -
Today a colleague of mine managed to run cmd as admin without credentials. He does not have admin privileges so normally he can't do that.
He refuses to tell us how he did it.
Any idea how to do this in windows 10?14 -
I switched all desktops upside down on the computers of my not so tech savy friends. Also opened the cmd prompt first
-
clicking on file tabs in intelliJ is making the project navigator (cmd+1) expand and collapse randomly and its driving me insane
-
I tried to figure out the key stroke combination for Auto indent in WebStorm (on a Mac).
Result: The key stroke for selecting all (CMD + A) stopped working. -
Network switch or Ethernet switch can act as a lan? I mean can they do all stuffs like sharing files and data between two systems?1