Greater Lansing Real Estate

It’s Time to Grow Up and Figure this Out

“These are weapons of war”. “Nobody I know or have ever met in my entire life should have access to a weapon that can kill so many people so quickly”

OwnCloud webapp not reflecting true list of files

If you’re using OwnCloud and have a process whereby your add or remove files from directories via some sort of server process, you may find that you need to force OwnCloud to update/rescan the file listing. To do so you can manually run the following command…

sudo -u username php /path/to/owncloud/console.php files:scan --all

You may also want to consider adding it to the crontab for “username” on a daily basis.

Thanks to this site for pointing me in the right direction.

Sendmail isn’t sending to domain.com : Linux

Say you’re using sendmail to relay email on a web server that you own that’s named “domain.com”, and email is being delivered fine to any domain except domain.com. What could be the problem?

  1. Rename your server. No server should be named with an actual domain name.
  2. Change /etc/hostname to the new name for your server
  3. Update /etc/hosts to remove the domain name and replace with the new hostname
  4. Remove the domain name from /etc/mail/local-host-names
  5. Restart sendmail “sudo service sendmail restart”
  6. Restart your server “sudo reboot”

Once you’ve done that test sendmail out like so…

echo "command line test" | mail -s "Sendmail test" me@domain.com

Improved Linux command history

With four lines setup one time you can type the beginning of a command (ex: “ls”) then press the up and down arrows to see the most recent commands containing the text you typed (ex: “ls ~/scripts”) making it much easier to find what you’re looking for. To make this happen, create a text file called .inputrc in your home folder and put the following four lines inside:

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on

Weekly Challenge 8: Go to Bed!

Weekly challenge 8 is the compliment to what we were trying to achieve in the week 1 and week 4 weekly challenges.

Numerous studies have shown how important the amount of sleep we get is. It affects important things like our mood, memory, and ability to control ourselves/impulses. Take a minute to read this article by the National Sleep Foundation, this article by Sleepdex, and the info-graphic at the bottom of this post. Then, set a timer/alarm that’s at least 7 hours before the alarm you set in week 4 (which you’re still doing, right?). You may even consider setting an alarm for the amount of sleep you want plus a buffer so that you can wrap up what you’re doing or prep the next day so you’re ready to go when your alarm goes off in the morning.

Personally, I’ve come to the conclusion that I’m more of a night owl than a super early morning person so I’m getting up at 6:15. From what I can tell I need about 6.5-7 hours of sleep so that means I need to be asleep by 11:15 to 11:45 (asleep, not just getting into bed). Based on that I’ll be setting an alarm for 10:30 as a reminder that it’s time to start wrapping things up. What about you? What’s your schedule? How much sleep do you need?

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you went to be at your scheduled time be sure to “check in” on coach.me.

Suggested Sleep Time

Weekly Challenge 7: Be Present

Sorry for the delay, so hopping right to it… Here’s to the lucky #7 weekly challenge!

This weeks challenge is all about being present in our daily interactions. About taking the time for our loved ones. Let’s start with getting acquainted with the “do not disturb” function on our phone. Look it up if you don’t know how it works. Now, everyday before you go to work and when you come home I want you to turn “do not disturb” on. Maybe even consider setting your phone somewhere you’re not going to look at it.

Don’t like that idea? Then turn off notifications. I’ll be doing a mix of the two. Might even turn off sound/vibrate on sms/messaging. The point here is to help get rid of that temptation to always be checking your phone, and it does not help if it’s always nagging you for your attention.

So, needless to say, if you have a job where you’re on-call and responsible for any sort of critical function you should either wait on this challenge or not participate (though I’d recommend waiting). Outside of that, I hope you’ll join me in giving your family and loved ones more attention.

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you’ve ate nice and clean without any junk be sure to “check in” on coach.me.

Weekly Challenge 6: Eat Clean

If you’re been following along at home with the weekly challenges you should now be getting up earlier, have smooth clean teeth, be more relaxed, and writing all about it! Seriously though it’s been interesting to see what is sticking and what is not.

This weeks challenge is to try and clean out our systems a bit by “eating clean”. What do I mean by that? Whatever you want it to mean. We’re all adults and know whats not good for us. For me, my stomach has been queasy for a while now nearly every morning. Of the 3 things I think it could be, two of them are diet related so my focus will be on no sweets and no alcohol. I realize that I could have made these into 2 separate challenges, and maybe I’ll extend one or the other depending on the outcome of this weeks challenge.

What about you? What is “eating clean” going to mean to you?

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you’ve ate nice and clean without any junk be sure to “check in” on coach.me.

Weekly Challenge 5: Floss

Hope everyone who participated in the 1st 4 weekly challenges has had great success, and is excited for this weeks. Waking up earlier hasn’t been too bad, but I had limited success w/ meditation. How about you?

This weeks challenge is to take up a habit that many dentists say is even more important than brushing your teeth. That habit is of course, flossing. If you’re anything like me you probably don’t do this nearly as much as you should.

You may have even gotten on a kick once or twice, but then fell of the bandwagon. Well here’s a chance to get back on or get started. Either way there’s no shame, and I’d love for all of us to have healthier teeth and happier dental hygienists 🙂

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you have nice clean teeth, be sure to “check in” on coach.me.

Weekly Challenge 4: Slightly Alarming

This week we are going to build off of week 1s challenge to wake up every day at the same time to an alarm clock without hitting snooze.

This week, we’re going to wake up 30 minutes earlier. Don’t say I didn’t warn you that the challenges would build off of each other 🙂

Again, the rules are you need to use an alarm clock and no snooze button. By the end of the week, you need to be waking up 30 minutes earlier. Whether you want to jump right in and start w/ 30 minutes or work your way up to it by the end of the week is up to you. Personally, I am going to jump right in.

Of course, if you’re getting up 30 minutes earlier I would also highly recommend that you start going to bed 30 minutes earlier as well. Sleep experts do still recommend 6.5-8 hrs of sleep a night – even for adults.

What will you do with your 30 minutes in the morning? I’m planning to continue the meditation habit or try to do some working out.

There will be no “new” habit on Coach.me this week as we can continue to use week 1s habit. Looking forward to seeing the early risers!

Weekly Challenge 3: Meditate

Hope everyone who participated in the 1st 2 weekly challenges has had great success, and is excited for this weeks. Feel free to continue to keep up the previous challenges as there may be future ones that build off of them 😉

I have the feeling that some of you have already dismissed me as a new age wacko from the title of this weeks challenge alone, but there have been plenty of studies that have shown the long term benefits of meditation. Whether your goal is reduced stress, increased relaxation, or clarity of purpose meditation may just be the key.

Speaking frankly this has been a habit I’ve tried to build up for quite some time and have had little success sticking with so I’m hoping this challenge and all of you will help to keep me accountable.

But where to start? There are a number of apps out there and I’ll list a few I know of below. I’ve also read numerous blog posts and listened to a number of podcasts on the subject so a quick “google” should point you in the right direction. At the end of the day it all seems to boil down to this…

  • Find a quiet place
  • Sit still
  • Count your breaths
  • When your mind wanders (and it will), return to your breathing

To join the challenge follow this link or go to my goal page where you can find it and join in. Each day when you complete your meditation, be sure to “check in” on coach.me.

Some apps to help with the meditation habit: