I found this handy bash quick reference:
This list of books is great for the 2nd to 5th grade level readers. Can’t wait to dig in with my daughter.
If I’ve learned anything from software development, it’s that the only way to make sure something is really strong is to spend a whole bunch of time finding out where it breaks and make it stop breaking.
This is a sentiment I understand pretty deeply on a personal level. I like to see how far I can bend before I break.
If you develop WordPress templates and you aren’t using this plug-in, stop what you’re doing and go grab it. It’s a simple plugin that displays the current template you are in in the upper right-hand corner of your admin bar. So easy, so useful.
I found this great WordPress guide on installing a local development environment using brew and npm for wordpress, php and mysql. With the db running through brew services. Loving it. Install was fairly easy, with a little bit of troubleshooting (why oh why did I not document the troubleshooting part!).
I cannot for the life of me remember how to create a new db, the instructions in the quick start aren’t working for me.
This post shows a much better method for creating new databases once you’ve gotten everything else running from the quick start guide above.
shell> mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.88-log Source distribution
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
shell> create database db_wordpress;
Response: Query OK, 1 row affected (0.08 sec)
shell> GRANT ALL ON wordpress.* TO admin@localhost IDENTIFIED BY “YourPWHere”;
Response: Query OK, 0 rows affected (0.08 sec)
What a wild ride it’s been. I left my job at PNCA at the end of June 2016. I had a glorious summer with my daughter — the first one we’d had together since I started grad school in 2013. I also biked a bunch and enjoyed the sunshine.
Starting in the fall I went back into web developing. I spent some time thinking about my role as a woman in tech. About how my leaving to pursue a masters in art had sort of made me a statistic. Women leave tech mid career 50% more than men. I did a great deal of research and soul searching. I thought about my own experiences, and how gender inequality might have been a factor in my decision to leave. After spending some time on this I realized many things. 1. I love to code. I have missed it so much. 2. I would be doing myself, the world, and my daughter a disservice to stay out of tech forever. Great, I took a break, I gained some perspective, I strengthened my art practice. Now it’s time to go back to tech.
The article was great fun to write. I had help from many great friends. My former colleague and tech writer Lynn Beighley helped me strengthen and polish my ideas. Masse university professor Lucas Haley and former cohort at PNCA fed me lots of inspiration and lit a fire under my ass. PNCA Librarian extraordinaire Linden How edited my piece into a finely forged treasure.
I am a force to be reckoned with. All I need now is my forever job. Have you seen it?
Until then, I have a couple of freelance clients and I continue to eat up knowledge.
This great 1:22 minute talk is about The state of women students in CS. I highly recommend it.
The test data/subject matter of all these programming courses I’ve been taking is always either dungeons and dragons or games or robots, seriously. Where are the programming classes that use glitter or barbie as test data/subjects. What about cleaning products, vacuum cleaners, diaper brands, laundry detergents. No wonder men are so reluctant to share home duties. They are always thinking about dragons and robots. I’m kidding here. I would like to see some less gender stereotyped content in these things though.
I always have to look up how to do this. Dreamhost made some great, clear instructions.
In my job search I’ve been emailing many relative strangers lately. I’ve always just used “Thank you” but I’m getting tired of it. I found this helpful article. I’m probably just going to mix in “best, warm regards, and many thanks.”
I’m impressed with this very in-depth article about ading custom fonts. If you are looking for a specific answer, it’s easy enough to scroll down and find what you are looking for, but if you want a full primer, this has lots of great info.
The other day juniper couldn’t sleep. She was distraught and frustrated. I got into bed with her and when she started expressing her frustration I would say “it’s ok, it doesn’t matter. You don’t have to worry about sleeping. You don’t have to go to sleep right now. Just enjoy being in my arms right now.” We were both asleep in minutes. When I woke up, I felt like we had somehow repaired a tear in the fabric of the universe. I felt like a little part of me was healing and a little part of juniper was getting something that just might last her a lifetime. All it took was my act of love, patience and understanding, and her acceptance of it and trust in me.
I was proud of myself right then and I wondered… how did I learn the patience and empathy to see this was the right thing to do? I think this is what art and curiosity has taught me. This ability to put yourself in someone else’s shoes and try to give them what will help them, is not expressed in mainstream media enough. It needs to be injected into our daily lives however we can find a way, so we learn how to be good to others. Public education, art, public access television, offer us plenty solid examples of humanity doing things right in this crazy world.
you are a horse running alone
and he tries to tame you
compares you to an impossible highway
to a burning house
says you are blinding him
that he could never leave you
want anything but you
you dizzy him, you are unbearable
every woman before or after you
is doused in your name
you fill his mouth
his teeth ache with memory of taste
his body just a long shadow seeking yours
but you are always too intense
frightening in the way you want him
unashamed and sacrificial
he tells you that no man can live up to the one who
lives in your head
and you tried to change didn’t you?
closed your mouth more
tried to be softer
less volatile, less awake
but even when sleeping you could feel
him travelling away from you in his dreams
so what did you want to do love
split his head open?
you can’t make homes out of human beings
someone should have already told you that
and if he wants to leave
then let him leave
you are terrifying
and strange and beautiful
something not everyone knows how to love.
So… a few thoughts. The moral of this story is:
What was I saying? Troubleshooting, right. I have to continuously remind myself that I have the skills to figure out any problem I encounter. Last week it was completely uninstalling mySql from my Mac. Not as easy as it sounds, I first had to figure out that the problem I was having had to do with machine migration and how mySql doesn’t like to do this. Am I digressing again? Maybe I’m postgressing? Maybe I should have been postgressing.
Working from home makes you kinda loopy.
Yesterday I broke one of my dev environments. I really broke it good. And I was kind of afraid I’d have to rebuild the whole environment from scratch. I have an itchy trigger finger and if things aren’t working, I’m liable to just chuck it and start over. This time, my friends, I kept my cool. I just sat on it for a while. I thought about all the ways it was broken, and I had a lightbulb moment where I figured out how to fix it. See? I got this. Easy peezy.
I really need to remember that I have the skills to do this. My ego has been messing with me something fierce. I think it’s time to put the “Don’t Panic” sign up behind my desk.
Deep breath, go do a head stand. put the code down and go hug your child. The code isn’t going to get more broken if you ignore it for a day.
This person is hilarious. It’s also a great perspective on what React is and isn’t.
Laughing outloud to this little tidbit:
There are three separate, competing quickstart guides. I’m overwhelmed and I’m not even drunk. The sidebar below that is straight out of my nightmares, with sections that obviously shouldn’t be there, like “More About Refs” and “PureRenderMixin”.
I had a smiley face, sad face one the other day that I need to dig up again.
A Handy-dandy, simple tutorial on learning what you need to know to get working with git.
Also comes with a 1-page pdf git cheat sheet which is awesomely awesome
I’ve been spending a great deal of time with BASH lately and I’m confused about best practices on the mac. I found this helpful article.
Why two different files?
Say, you’d like to print some lengthy diagnostic information about your machine each time you login (load average, memory usage, current users, etc). You only want to see it on login, so you only want to place this in your .bash_profile. If you put it in your .bashrc, you’d see it every time you open a new terminal window.
Another thing to keep in mind is that MAC OSX keeps it’s .bashrc file (located at ~/.bashrc on linux/unix) in a file located at /etc/bashrc
source .bashrc or
source .bash_profile will switch back and forth
This post has a nice table of escaped special characters you can use in your prompt. https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
Also helpful is the sequence in which MacOSX and unix look for bash setup files and how to set up an if statement http://apple.stackexchange.com/questions/119711/why-doesnt-mac-os-x-source-bashrc