defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
Hide them again with FALSE
I'm don't think any of this stuff will be interesting to anyone else, but it's just a place for me to write down things I want to remember. :-)
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
SELECT m.id, t.name,
group_concat(dir.name) AS directors, group_concat(act.name) AS actors
FROM movies AS m
JOIN titles AS t ON t.id = m.title_id
LEFT JOIN directors AS dir ON dir.id = m.director_id
LEFT JOIN movies_actors AS ma ON ma.movie_id = m.id
LEFT JOIN actors AS a ON ma.actor_id = a.id
GROUP BY t.name
It combines those columns as a comma-separated list. You can also define a
separator...
GROUP_CONCAT(dir.name SEPARATOR '; ')
Basic load, there's lots more options for column delimiters, line delimiters, etc...
LOAD DATA INFILE '/tmp/mydata.txt' INTO TABLE Test;
xxd
. To do this, open your file in Vim and run :%!xxd
. From here you can change the hex values and, when you’re done, run :%!xxd -r
to convert back.