5,280 reputation
11726
bio website mikelward.com
location Mountain View, CA
age 34
visits member for 5 years, 2 months
seen Dec 12 at 15:17

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


Jan
14
revised Change Shortcut for closing windows
added 49 characters in body
Jan
14
revised Change Shortcut for closing windows
added 113 characters in body; added 195 characters in body; added 38 characters in body
Jan
14
answered Change Shortcut for closing windows
Jan
12
comment How do I make sudo preserve my environment variables?
Try changing an unimportant setting like editor or passprompt to see if you have the correct file. Or use strace, dtrace, truss, or similar and see what files it opens.
Jan
12
revised How do I make sudo preserve my environment variables?
added 511 characters in body
Jan
12
answered How do I make sudo preserve my environment variables?
Jan
12
answered Improved APA citation format in Word 2007/2010?
Jan
12
comment How to convert from day of year and year to a date YYYYMMDD?
Yes, but not typeset IIRC. All others have typeset. If dash had typeset too, I would have used that in the example.
Jan
12
comment How to convert from day of year and year to a date YYYYMMDD?
IIRC local isn't specified by POSIX, but absolutely, if using ksh has typeset, zsh has local, and zsh has declare IIRC. I think typeset works in all 3, but doesn't work in ash/dash. I do tend to underuse ksh-style for. Thanks for the thoughts.
Jan
12
comment How to convert from day of year and year to a date YYYYMMDD?
That's an awesome solution. GNU date only, but so much shorter.
Jan
12
comment Ubuntu/ Gnome : Open an application in a specific workspace
Try wmctrl. I added a link in my answer above.
Jan
12
revised Ubuntu/ Gnome : Open an application in a specific workspace
mebtion wmctrl
Jan
12
answered Ubuntu/ Gnome : Open an application in a specific workspace
Jan
12
answered Should I install antivirus software on my SSD?
Jan
12
comment What are the Windows A: and B: drives used for?
3.5" floppies were 1440 KB (1474560 bytes), which is 1.40625 MB (MiB strictly speaking), but most people called them 1.44 MB due to 1024 versus 1000 confusion.
Jan
11
comment How to convert from day of year and year to a date YYYYMMDD?
Using the date command can be done. See my answer. But the Perl way is much easier and faster.
Jan
11
comment How to convert from day of year and year to a date YYYYMMDD?
last_day_of_month_jday could also be implemented using e.g. date -d "$yyyymm01 -1 day" (GNU date only) or $(($(date +"%s" -d "$yyyymm01") - 86400)).
Jan
11
comment How to convert from day of year and year to a date YYYYMMDD?
What day does day 0 represent? Normally it's 1-366.
Jan
11
answered Stop music playback when I lock the screen
Jan
11
revised How to convert from day of year and year to a date YYYYMMDD?
add more efficient bash+date implementation