I’ve recently switched to a Laravel 5.4 project. After trying to run migrations, I kept getting this darn error: [PDOException] SQLSTATE:
Two in one day! These posts are mainly helping me remember things down the road. Like the Local host one. I have re-visited that post so freakin’ often.
I’m posting about this today because I feel like this is a very not well known little mySql knowledge and it really saved me. I’ve got an employee table that has a first name, last name AND nickname.
Yes, yes I’ve been neglecting my own site. Yes, I’ve been busy. Yes, I’ve still been training. Yes, Roxie keeps
Hey everyone! This is yet another web dev post and this is gonna be quick and dirty.. It’s regarding Laravel
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.
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.
This is a follow up to PHPWord I wrote a blog about I wrote last year. I’ve had to use it a couple different times since then. While this plugin is pretty powerful, there are a few kinks that need to be worked out–especially if you are exporting a lot of text that was put in by users. I have been known to say that sometimes developing is like being a psychic. You need to prep the site in how you feel like the users should put in the information. Sometimes I’m good at it. Sometimes I’ve failed. This time, I didn’t think something through while programming a form.