Using date ranges in mysql...
select * from sale where date_begin between '2016-08-01' AND '2016-08-31';
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. :-)
Thursday, March 31, 2016
Monday, March 28, 2016
Editing in hex mode in Vim
Native Vim doesn’t have a hex editing mode built in, however it is
possible to edit a file in hex by converting the file back and forth
using
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.
Subscribe to:
Posts (Atom)