Categories
Laravel Samuel

Random laravel notes

kept running into this strange error for a few minutes tonight, but finally got to the bottom of it.

if you are getting “reflectionException” “controllerName does not exists” this is because you already have the controller created in your route.php file. Remove it from routes.php (or comment it out the save). Now run the command again and it will succeed.

 

how to make laravel controllers via command line:

controller:make MarketingController

when there is a conflict in tortise git:

-click on the file in conflict, hit git stash
-pull down the new code
-right click on the white space in the folder (not on the actual file) hit stash pop (this will merge your stashed file with the new one)
-commit then push

 

if php artisan migrate is not working, just run php artisan migrate:refresh and it will run the latest migrations.

if you are running DB seeders and getting an error, to find out what file the error is in run: php artisan db:seed -v this will spit out the error info of what file the seeder breaks on and what line specifically breaks it.

Categories
Fixing Stuff Julia

Excuses

There will always, always. always be an opportunity for you to make up an excuse. For any/every situation.

I placed a call today, on behalf of my dad. It was a call my body physically cringed at making when he asked – but I did it because I am trying to support him as he works to make some positive changes in his life. I had to stop making excuses for myself to get out of calling. So what if I felt like I was being thrust once again into playing the adult with adults who are much more my senior?  Underneath all that I felt like I should just pick up the phone – so I did.

It didn’t change anything. On the other end of the phone, the transactional relationship that I remember was still the same. I talk super awkwardly, they say as little as possible and then a couple minutes after we hang up my dad calls me to say they are mad about what I said/how I said it/how he involved me. But you know – I feel pretty good. I did my dad a solid, and he can’t say I didn’t try.

Hopefully excuses that are being used by that person will stop one day – but its pretty scary to just admit how you feel without placing blame. So I won’t hold my breath.

 

 

Categories
Inspirational Julia

Sister

I just wanted to take a moment to talk about my sister. you may know her, you may not. If you do, you probably laugh more.
We grew up almost 8 years apart, so much of her early life was me simultaneously scaring the life out of her while protecting her from everything besides myself. I still take full credit for her fear of dogs that persisted through her childhood – thanks to a fluffy stuffed dog, a shoestring-leash and an inquisitive 24 month old who got the sh*t scared out of her when I made the dag ‘bark’ and come after her on the hardwood floor of our entryway. You’ve never really seen unguarded terror until you see it in the eyes of a toddler.

Somewhere along our time together, fighting over her stealing my cds and books, babysitting her and inventing the ‘car wash’ version of taking a shower, and cramming into our family suburban to travel across the country – she’s become my best friend.
Its been pretty amazing to have someone whose brain works the same way mine does and to know she will just get it – no matter how irrational I am being. Not only does she get it, but she tough-loves me right into the conversation where we recognize how our emotions and our being inside our heads all the time often backfire on us and take us away from showing people how freaking amazing we are.

She is an outstanding writer and her material makes my creative brain click on and I find myself wanted to take her stories and write my versions of them – or help her with her research to take her papers to the next level. I feel like where I am too full of prose in my writing she is direct, and articulate and hilarious. I think we could learn a lot from each other’s style of writing – like we do with other areas of our lives. Her Twitter is hilarious and her sharp wit and good sense of humor (which I’d like to think I helped shape) crack me up.

I was talking to a friend about strained relationships within their family the other day – and while there are relationships aplenty that are strained in my life – I am so very thankful my relationship with her is not, cannot, and will not ever fall into that category.
So that’s it, just a quick ode to my girl, P-h-o-e-b-e.

Categories
Julia Twenty Somethings Uncategorized

Moderate and Merry

The holidays are a crazy time. I can’t be the only one who has the excitement fizzle out as you feel pressure to find the right gift for everyone (thank god my four siblings and sister-in-law have implemented a drawing, so I’m only buying gifts for one of them) and the impending stress of heading home for the holidays. Not to mention living out of town and the price you pay just to get there.

Don’t get me wrong, I love my family and I love to give gifts and spend time together, but images of Norman Rockwell get stuck in my head and I am inevitably let down by the real-life drama that is relationships and life.

So this year, heading back to face my family alone after a break-up, I have decided to eschew the pressure and the expectations. I am not going to get into heated debates about whether my dad is going to live up to spending time with us on the morning of Christmas, or how out of place I may be feeling at an early Christmas morning that was never part of my ritual growing up.  Instead, I am going to enjoy the time I have with family and know that my attempts to find the perfect gift(s) for people will be appreciated even if they are exchanged or returned for a different color. I am going to take time to talk with the extended family that I love and rarely see at my Aunt’s Christmas Eve, Eve party. I am going to call up friends from high school and go out one night and enjoy how far I have come from who I was in high school and the fact that I still consider people from that era friends. Spending time with my niece is high on the priority list and I think I’ll ask about taking her through the Holiday lights show at a local park (babies love bright, shiny, moving lights!). I’ll remember how lucky/cool it is that  I celebrate both Hanukah and Christmas with different sides of the family and how meaningful those two traditions are to me. I’m definitely lighting my very own (and first) Menorah this year in my own apartment and am thinking of hanging a fir wreath on the door just so I can smell wintertime.

This will be my moderate and merry Christmas. Moderate in that I am not looking too deep at the undercurrents of family drama – simply so I can enjoy a season and a time that is meant to be enjoyed.
I urge you all to do the same, for your sanity, for your own sense of joy.

Norman Rockwell, making family look good since 1916.

Categories
Fixing Stuff OBDII Samuel

setting up scantool.net simulator

notes from  setting up the scantool simulator:

 

1.) The drivers did not install properly by default, to fix go here: http://www.ftdichip.com/Drivers/VCP.htm .  download the “available as setup executable link under windows, then run the .exe file

 
2.) open up realterm (download link http://realterm.sourceforge.net/index.html#downloads_Download)  go to the “port” page and set:
baud 115200
data bits 8
parity none
stop bits 1

*hit change then click into terminal window to type commands

*type RESET to reset the device and see if your connection is working properly

 

3.) The correct pin arrangement on the device to work with OBDII protocol is #1 set to “on” #2 set to “off” …. these are the physical switches on the actual simulator

 

 

Categories
Fixing Stuff Laravel

installing node.js on windows 7 computer

Installing node.js on my windows 7 machine  was a bit of a struggle so I wrote down the notes:

 

1.) Install node.js from their site.  Just use the big green button, download the installer

2.) Run their auto installer and then open up git bash (note open it up in the project folder you are attempting to install bower in)

3.) If your using windows you will need to install node.js then set your environment variables (start > run > environment variables > path > edit ) then add this line to the end “;C:\Program Files\nodejs”

4.) Open up git bash and type “npm install” (if you get an error you will just need to manually create the “npm” folder in (C:\Users\your-user\AppData\Roaming ).  *replace your-user with your current user, and also its possible your file path will be different, if a different file path is echo’d out in the command prompt then use that file path.

5.) you should be able to type “npm” and load the node package manager, once that loads you can type “bower install” and load bower then you should be all set to use data tables (or whatever you loaded node.js into your project to do)