Hey everyone! This is yet another web dev post and this is gonna be quick and dirty.. It’s regarding Laravel
I feel like most of my updates lately have been about work. I apologize about that. It’s definitely been a rough few months, but it’s lightened up. I also feel like I haven’t been posting about running. Honestly, I feel like there hasn’t been much to post about. I’ve done a lot of training. I live on a hill. Anytime I run, it’s straight up hill. FUN TIMES. Not.
First off, Happy Easter everyone! Or as my kiwi and I have been calling it, Bunny Day! I won’t go into detail what I was calling it–it was less PG and more PG-13.
Anywho, not sure if I’ve mentioned this or not, but I’m a gamer. I’ve been told I’m a casual gamer though (by some guy I used to know who was more hardcore gamer and jerk but we won’t go into that). My video game urgers comes and goes in spurts. There are certain series I pay attention to though. Final Fantasy is one (not the only one ones) and my biggest passion? Zelda. I got into Zelda when my parents purchased Ocarina of Time on a N64. Ahhh..the good ol’ days. From then on, I was hooked. I’ve got all the Game Boy/DS/3DS ones that have come out since then. I never disliked a Zelda game. I’ve enjoyed them all for different reasons. I have my faves though. OoT will always be my top fave. I think Twilight Princess will also be right up there (I’m a sucker for Epona). I enjoyed Windwaker and Majora’s Mask. I’m not a huge fan of Skyward Sword, but I like the gameplay. Overall, I’ve enjoyed them all.
I’ve been using Putty for SSH for over a year now. I really haven’t changed the default settings since using it. After having to live in SSH the last couple of weeks, I got seriously tired of the black background and dark blue colors. SO annoying. I tried to do a lot of research on how to change it via SSH and profiles and .dircolors. It just wasn’t working. I could get it to work temporarily when I sourced a file once but it never stuck. Tried it through Putty as well, but again, it never worked or the color scheme was replaced when I logged out and logged in. I was finally able to figure out what buttons to push and in what order thanks to one ServerFault thread that kind of shed light on it.
I’ve had one heck of a week at work. I was given a fresh server and was told to install PHP, mysql, GIT, and everything on it that’s required for my application so my app could function and be secure. I had to do this via SSH. One thing that I’m not very good at. Thank god I am surrounded by guys who rock at it and have more SSH experience than me. One thing I quickly learned: Aliases are freakin’ awesome.
At work, I’ve got two applications that has multiple database connections for security reasons. I’ve been running into a weird issue with Laravel and transactions and rollbacks not firing on the secondary database. I thought it was something I did, but it’s actually Laravel.
As I wait in queue for a Live Chat session on Fandago and kind of failing getting into this Valentine’s Day movie and trying not to get sucked into Hana Kimi (again), I decided I at least start this blog. It’s a topic that I’ve been meaning to blog about for awhile:
What’s better for a runner? A Garmin or the Apple Watch? Dun dun duuuuunnn.
I’m a blonde. And this blonde doesn’t really do a whole lot of new sites on her machine. When I
Ever needed away to detect when a user copies and pastes something into your web application? I ran into this scenario where people were coping and pasting from Microsoft Word and when I tried to export the information using PHPWord, it would corrupt. Now, most of the special MS Word characters I was able to figure out how to replace when I was running the export except bullet points. They were going to be the death of me. I came up with another solution before the export. What if I run a check to see if bullet points were pasted in a textarea??
I can’t take credit for this, but I wanted to share this quick PHP tip (and make sure I have it for later too of course). Ever run into a situation where you needed to alphabetize a multidimensional array by one of the inner values? Well I have and I found the solution based on a StackOverflow (PROGRAMMER’S BEST FRIEND) thread.
Over the years, I’ve done a gazillion races. From 5Ks, to a gazillion half marathons, to marathons. My first race as a runner was a 10K trail run in 2009. In 2010, I completed my first half marathon in Coeur d’ Alene. After that, I was addicted to that distance. It became my favorite distance. It still is really.
The following year, in 2011, my sister started to race. Like me, her first race was a trail run. She started out at a 5K and then later on that year, we did our first half in Seattle together. In October of that year, I completed my first full in Portland alone. Two years later (and my sister’s wedding), my sister and I (along with a friend) completed the Portland Marathon. It was my second one and my sister’s and our friend’s first. My sister and I spent the summer weekends training and running across the city. Sometime within those years, I did complete a couple of duathalons.
Yea yea. I know. I haven’t posted anything (besides a dev blog) since July. Well honestly. It’s been busy and I’m still kind of pissed at how my summer panned out. I was supposed to have another marathon under my belt and finally complete my first tri. Nope. Didn’t happen.