Export MySQL Query Results to CSV

If you’re SSH’d into a MySQL server and want to export MySQL query results to CSV (readable by Excel), simply add the below snippet to the end of your query.

Note that '/tmp/results.csv' in the code above should correspond to a writeable destination, and the file can’t already exist.

How Long Is This Essay Supposed to Be?

A short essay I typed up during my senior year of high school for an A.P. Language course. The assignment required a personal narrative from my past.

Perhaps I am not well suited for A.P. Language.

I questioned the validity of that statement as I sat staring blankly at my empty word document.

Mr. Silvidi had assigned another essay, making the running total two papers within the first three weeks of school. It was definitely a rate I hoped would not endure. Feeling the weight of the assignment like a ten ton writer’s block, I attempted to dream up a legitimate topic on which I could elaborate sufficiently enough to create an essay. A personal narrative was this week’s poison of choice for the professor, and I hoped my lack of storytelling skills verbally would not transfer over to paper.

Read more at unwordinary.com

“when do you know?”

a smitten friend of mine once asked,
“when do you know if she’s the one?”

i laughed and made eyes with my shoes.
i could tell that he was hoping
for a clearer answer than i could muster.


“i believe you know…” i would reply:

…when your search for the answer
stops being defined by your options,
and starts being defined by your choices.

the moment you know, is the moment
that question – and its answer – become irrelevant.