how do I pass a range of values on the command line – passing an expression as an argument

Your problem is that argument 29..30+40+50..52 is treated as a string literal in your .\eraseme.ps1 29..30+40+50..52 call – it is not recognized as an expression. To force recognition as an expression, enclose the argument in (…), the grouping operator: .\eraseme.ps1 (29..30+40+50..52) The same applies if you want to use output from (another) command as a … Read more

Comments in Markdown

I believe that all the previously proposed solutions (apart from those that require specific implementations) result in the comments being included in the output HTML, even if they are not displayed. If you want a comment that is strictly for yourself (readers of the converted document should not be able to see it, even with … Read more

1064 error in CREATE TABLE … TYPE=MYISAM

As documented under CREATE TABLE Syntax: Note The older TYPE option was synonymous with ENGINE. TYPE was deprecated in MySQL 4.0 and removed in MySQL 5.5. When upgrading to MySQL 5.5 or later, you must convert existing applications that rely on TYPE to use ENGINE instead. Therefore, you want: CREATE TABLE dave_bannedwords( id INT(11) NOT … Read more

Method Syntax in Objective-C

Objective-C methods are designed to be self documenting, and they borrow from the rich tradition of Smalltalk. I’ll try to explain what you have here, -(NSInteger) pickerView:(UIPickerView*)pickerView numberOfRowsInComponent:(NSInteger)component. – (NSInteger) This first portion indicates that this is an Objective C instance method that returns a NSInteger object. the – (dash) indicates that this is an … Read more