Respect the work of your peers, and those who came before you.
— Read on baus.net/you-cant-impress-developers/
I’ve found this nice little thing that quickly allows you to have a MySql GUI.
It is called Adminer and it just works! Database management in a single file:
Add it to your base web directory (public_html or something similar ) and viola.
Disclaimer: only use on development environment.
I was interviewed by Jonathan Bossenger on WP Hackercast.
We talked about my WordPress story, short business life and my job as Code Wrangler.
You’ll find the podcast here: https://wphackercast.com/2017/11/13/wp-hackercast-episode-4-dwain-maralack-from-freelancing-to-automattic/
Typing is one of the most important aspects of my professional career. That’s why, a month ago, I decided to change my keyboard layout to Colemak.
The first hurdle I faced was switching in December, what a weird time to switch right? I was supposed to be scaling down and focus on relaxation, but I thought the switch to be such a huge challenge, that It wouldn’t matter when I did it.
The second hurdle: I went cold turkey. I simply switched, printed out the new layout, gave it a solid glance and memorized all the new positions and kept it next to my desk. I watched my typing speed go from 35 WPM(words per minute) to 9. And my frustration levels go into the red.
I started to use this at work immediately. I warned my team mates and just jumped in. A good thing this sort of thing is encouraged at Automattic.
The two things that helped me the most during the first month was Type Fu and a supportive team.
With Type Fu you repeatedly type similar phrases until you “master the keys. At this point, you move on to the next level with more variation. It also has a setting to select the keys you battle with and only focus on them.
My current speed is 30 WPM. I use it as my default layout and I’m way more confident than I was a month ago. My main take away is that, if I can go from 9 -30WPM in a month then I’ll be more productive as time goes on.
I hope to increase this as I continue to practice every working day.
An “oldie”, but a good article on Computer Science vs Software Engineering and how the two compliment each other.
If you’re using logs for debugging check this out:
I always wanted to create a very simple WordPress based Todo App. After putting it off for a very long time I finally had the time to look into it.
The idea was a simple todo list that takes over your WP home page and relies on a standard to do post type for persistence. The interface should be driven by React using redux for state management. The result should be WordPress plugin that simply works without any configuration. The app works over the WordPress JSON REST API and must have a very simple UI framework.
1.Defining the data we need to store:
- user – name and login details. For this, I cheated and simply use the WP login interface.
- Todo item – with the ability to save details on a todo. For this, I use simply used a new post type. The title being the todo, the content being further information and post meta to store the state( completed/not completed )
2. Define the todo post type which we’ll use to store todo items. Each todo item relates to a post. You will notice that it’s not anything fancy but includes a few rest API configuration to make it easy for us to call posts at a later stage.
3. Setting up the JS system. I used Webpack to manage all frontend modules. I used yarn for package management and also Bable to allow me to use ES6 syntax.
4. For the UI framework, I used spectre as it is very light: https://picturepan2.github.io/spectre/
5. For user authentication, I used the user login and then relied on the WP cookie to allow the user to create todos over the REST API.
You can find the source code to play with here, it’s a wp plugin so you can install it:
I attempted this project mainly because wanted learn about all the new frontend tools. I mostly work in PHP and doing this was very refreshing. I’m inspired to do more of these. Even if no one ever needs it, I built it coz I wanted to.
Is syntactic still slowing down your workflow, try A.L.E. It’s a drop in replacement for syntastic ( make sure your language is supported ):
It works with instantly with vim-airline.
This is the only line I’ve added to my vimrc is”
let g:ale_open_list = 1