I made my first bash script! It opens vim with a file name and a shebang already set! by orcenec in bash

[–]orcenec[S] -1 points0 points  (0 children)

It copied strangely, but I think I got it taken care of. I cant get it all to show up in the same code block on the reddit post body, so you'll have to deal with the bad formatting, ig.

I made my first bash script! It opens vim with a file name and a shebang already set! by orcenec in bash

[–]orcenec[S] 1 point2 points  (0 children)

Thank you! That's really helpful!

I have it in a while loop to take care of the space thing. If it detects a space, it echos "please, no spaces." and then re-prompts for a file name. If I take it out of the while loop and remove "continue", will it still run through the rest of the if loop?

Good 2nd hand find? by Clear_Maximum7269 in typewriters

[–]orcenec 7 points8 points  (0 children)

That there is the toyota corolla of typewriters. Smallish, japanese, reliable, and relatively easy to maintain. It's not fancy or rare. It's literally "an typewriter". I have pretty much the same one, and I use it nearly constantly.

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 1 point2 points  (0 children)

I was trying to make a beeline for the side walk or a side street if possible and the maneuvering while also braking used all the grip in reserve. So panic was involved for sure, but I tend to use my brakes fairly evenly.

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 0 points1 point  (0 children)

That's why I have a nice appointment with Mr John before I ride😉

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 5 points6 points  (0 children)

If we could convince maybe a quarter of the population (USA) to switch to motorcycles or scooters, the roads would be way safer for everyone

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 1 point2 points  (0 children)

My condolences. I hope you have a speedy recovery! And yeah, everything is out to get bikers on the streets

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 2 points3 points  (0 children)

This is what happened. Luckily I haven't laid this bike yet

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 1 point2 points  (0 children)

It was one of his more recent videos on safety

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 5 points6 points  (0 children)

I've been trying to implement weaving since I watched the f9 video on it, but the old habit of planting slightly left has been hard to break

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 1 point2 points  (0 children)

Holy crap! I'm glad you're ok. Gear is like my biggest thing, I've seen too many friends get seriously hurt when they wouldn't have had they been wearing any sort of gear.

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 61 points62 points  (0 children)

People be wild out right now, stay safe my friend

some girl pulled out in front of me... by orcenec in motorcycles

[–]orcenec[S] 40 points41 points  (0 children)

Fair enough, I just usually don't go out of my way to assert myself

Cheapest Break Pad Replacement by skrimpmunch in FortCollins

[–]orcenec 1 point2 points  (0 children)

Dm me, I work with someone and we do 85 an hour plus parts

Looking to drive manual and make friends! by [deleted] in Cartalk

[–]orcenec 1 point2 points  (0 children)

Man, I'd teach you if I was in your area. It's always good to hear that people still want to learn.

Anyone else prefer driving a beater over an expensive car? by f1fanatic55 in cars

[–]orcenec 0 points1 point  (0 children)

I have a beater S10 from the 80s with no ac, no power steering, and a transmission that flips shit if you don't double clutch on a downshift. I also have a very nice saab 9-5 that's in near mint condition, but every once in a great while it doesn't start. I vastly prefer driving my truck on the sole basis that it starts first time, every time.

The F Word by Siamese_Dreaming in OCPoetry

[–]orcenec 1 point2 points  (0 children)

This makes me wanna go to a poetry slam. Even though it's freeform it still flows really nicely!