1d
comment Office365 REST API query calendar entries for only events outside of work hours
Yep, that's what I was trying to do and learned that it wasn't possible with the API atm. But, as I said, if regex was available, it'd be a simple enough one, r'(0[0-8]:\d{2}|17:[3-5]\d|(1[8-9]|2[0-3]):\d{2})' and shouldn't be that much worse, performance-wise, than the equals.
1d
comment Office365 REST API query calendar entries for only events outside of work hours
Same as what I've posted, that works on date-time instead of just time. If you can somehow point to how, using calendarview, to get all events after the end of a workday, 5.30PM and before the start of a workday, 9AM using this, I'll mark your answer correct.
1d
comment Office365 REST API query calendar entries for only events outside of work hours
After spending a good few hours on this over the weekend, I don't think this is possible. I ended up just getting all events, and filtering them locally after converting the date-times to times and working from there. Unfortunately I can't see any other way around. Would love a regex option though, would be simple enough with that.
Jul
26
asked Office365 REST API query calendar entries for only events outside of work hours
Jul
12
awarded Yearling
Jul
12
asked Any way to automate fading between a dynamic number of ul li child elements, with no Javascript, in pure CSS?
Jul
6
awarded Scholar
Jul
6
accepted Service to restart (safely, then if that fails, forcefully) a few different processes on a schedule
Jul
6
comment Service to restart (safely, then if that fails, forcefully) a few different processes on a schedule
Yer ok! I read it as "number of iterations in current runtime", which while may be implied anyway, still makes perfect sense. I already log current time, and total time running so this definitely is a useful one to check to see if there's a correlation.
Jul
6
comment Service to restart (safely, then if that fails, forcefully) a few different processes on a schedule
"specified number of iterations of total runtime" - Now that's something I just never thought to check at all. Will probably implement that straight away, before putting the full checker in place. The rest of your answer is definitely where my head was at, and I'll mark it correct if nothing better shows. Thanks Dan.
Jul
6
asked Service to restart (safely, then if that fails, forcefully) a few different processes on a schedule
Jun
29
revised Any way in git, to add all files with only whitespace changes to staging?
deleted 45 characters in body
Jun
24
revised Any way in git, to add all files with only whitespace changes to staging?
added 34 characters in body
Jun
24
comment Any way in git, to add all files with only whitespace changes to staging?
Your solution uses bash scripting to achieve staging files with only whitespace changes, mine uses Python. I kinda thought, and am looking for an option like git add -A with a filter, git add -AW, "Add all with whitespace changes only.".
Jun
24
comment Any way in git, to add all files with only whitespace changes to staging?
Yep, upvoted that now, and I've added my own solution in Python. I won't mark either as correct, as the question is about doing it with git directly, not via scripting.
Jun
24
answered Any way in git, to add all files with only whitespace changes to staging?
Jun
24
comment Any way in git, to add all files with only whitespace changes to staging?
Yeah, I'm bringing in external source (Amazon's mobile Unity SDK) manually and there is where the whitespace changes are coming from.
Jun
24
comment Any way in git, to add all files with only whitespace changes to staging?
Hmmm, so that's ignoring whitespace, similar to the git diff -w option, but that still doesn't give me any solution to stage those files, which is what I'd like to do. I also understand about the ignoring file endings, but again, that's not what I want to do either. I want to stage all files that have just whitespace changes, that are safe to commit, to be then left with a dirty workspace that has all the other changes for me to review.
Jun
24
comment Operate on all matches of Python's re.split / similar builtin on a single pass
Just an fyi, as with the other lines, while this is one-line, I've removed that from my question as that wasn't the important part, the important part was one-pass, which is why I haven't accepted any answer as correct. All are currently two-pass solutions.
Jun
24
asked Any way in git, to add all files with only whitespace changes to staging?
1 2 3 4 5