What is wrong with my recurrence data string? - google-calendar-api

I'm trying to create recurrence rule to export my timetable to Google Calendar, but I'm doing something wrong.
The string is the following:
'DTSTART;TZID=Europe/London:20100822T080000\r\nRRULE:FREQ=WEEKLY;COUNT=5;BYDAY=Mo,Tu,We,Th,Fr;UNTIL=20100827T164500Z\r\nDTEND;TZID=Europe/London:20100822T180000\r\n'
It is working fine if you will take off the part with UNTIL (this part which I hard coded for test: ;UNTIL=20100827T164500Z) but with UNTIL there it's not working(and I need that UNTIL to be there).
I was looking to the document RFC2445 and I don't find what can be wrong with until.
Thanks for any help!

COUNT and UNTIL are mutually exclusive. See Recurrence Rule definition.

Related

How can sort data datewise in Appmekar?

In Google Appmekar i need to sort data in datewise so i used below line but didn't work.
myDataSource1.query.sorting.inwarddate._ascending();
anyone have idea about appmekar?
That should work, except that each time you want to sort the datasource, you have to load it. Hence, it should look like this:
myDatasource1.query.sorting.inwarddate._ascending();
myDatasource1.load();
You should take a look at the official documentation for more details.

Formulating Boolean Queries on Lemur Indri

I am unable to write the following boolean query, using Indri Query Language. THe query I need to write is the following:
(Stana or Katic) AND (Jon or Huertas) AND (co-stars or colleagues)
I need the list of all documents, containing the above. How can I go about doing this?
I asked this question on SourceForge, where the author helped me solve this.
#band(#syn(Stana katic) #syn(jon huertas) #syn(co-stars colleague))
For more information, see the original discussion here.

How can I except some kind of errors on sass-lint?

I've been refactoring the CSS with sass on our project.
So I wanna fixing by the sass-lint, but it's so hard cause it have so many errors.
For example, 'Avoid using id selectors' or 'Selector 'mainFooter' should be written in lowercase with hyphens' like that.
These things can't be fixed now.
So I've found the document below, but they have only about 'BorderZero', 'StringQuotes' and 'all'.
https://github.com/brigade/scss-lint#disabling-linters-via-source
How can I except my errors?
and where is the document about keywords list of sass-lint disable?
Oh, I found it!
https://github.com/brigade/scss-lint/blob/master/config/default.yml
// scss-lint:disable IdSelector, SelectorFormat
Thanks :)

Use two taxonomy terms in one URL WP-API

At the moment I'm calling taxonomy term data using URL's like this -
http://scd.blaze.wpengine.com/wp-json/posts?type=listings&filter[listing_area]=northwest
Is there a way I can call two taxonomy terms at the same time, something like this? -
http://scd.blaze.wpengine.com/wp-json/posts?type=listings&filter[listing_area]=northwest&filter[listing_area]=northeast
I've read through all documentation but I'm struggling to find a solution, andy help would be much appreciated, thanks in advance!
Without knowing the full code in place its hard to be 100% but try...
http://scd.blaze.wpengine.com/wp-json/posts?type=listings&filter[listing_area][]=northwest&filter[listing_area][]=northeast
By adding [ ] to the end of each reference to listing_area you are now passing through an array of values. Otherwise you just pass through the last value in the query string.

Simian multiple excludes option

I use Simian to analyze the duplicate codes in my c# project.
But I want to exclude two kind of situations.
One is unit test files shouldn't be analyzed, the other is auto-generated file (such as Microsoft.Moles auto produces m.g.cs files)
My arguments are fine as following when I only have one kind of file excludes
-formatter=vs:c:\temp\SimianResult.log -language=cs $(SolutionDir)//*.cs -excludes=/*Test.cs -threshold=15
But when I add the second situtions, I don't know how to put them together, I search it on the web ,but cannot find samples, even the offical site http://www.harukizaemon.com/simian/ doesn't show it.
I try the following combination but all fails
(1)... -excludes=/*Test.cs,/*m.g.cs -threshold=15
(2)... -excludes=/*Test.cs;/m.g.cs -threshold=15
(3)... -excludes=*/Test.cs */*m.g.cs -threshold=15
Does anybody know how to solve it ?
thanks
My co-worker has try the correct syntax for me and it works.
The key is your have to put the keyword "excludes" twice. So the answer of my question is
-formatter=vs:c:\temp\SimianResult.log -language=cs $(SolutionDir)//*.cs -excludes=/Test.cs -excludes=*/m.g.cs -threshold=15

Resources