Below is how tables should look like.
Thanks Thomas Mueller (dummzeuch) for pointing me to André Vatter – Google+ – Wie Tabellen eigentlich aussehen sollten: .
–jeroen
Posted by jpluimers on 2014/04/03
Below is how tables should look like.
Thanks Thomas Mueller (dummzeuch) for pointing me to André Vatter – Google+ – Wie Tabellen eigentlich aussehen sollten: .
–jeroen
Posted in Development, Software Development, UI Design | Leave a Comment »
Posted by jpluimers on 2014/04/03
Switching between many different languages, I tend to forget the exact names and symbols of the PowerShell operators.
Most of the ones I use have to do with comparison and logic, o here they are:
Operator | Description |
---|---|
-eq | Equal to |
-lt | Less than |
-gt | Greater than |
-ge | Greater than or Eqaul to |
-le | Less than or equal to |
-ne | Not equal to |
Operator | Description |
---|---|
-not | Not |
! | Not |
-and | And |
-or | Or |
I find it funny that you have ! and -not, but not -!. Oh well (:
Talking about logicals: PowerShell can coerce a couple of values to $false, but I’m ambivalent to use that: it does shorten code, but is very PowerShell specific.
Before I forget: an operator that is undervalued, is the -f operator that does formatting.
It uses the standard .NET formatting strings, so that is an easy way to put your .NET knowledge to use. Some further reading on the -f operator:
–jeroen
via: Conditional Logic | PowerShell Pro! :: PowerShell Pro!.
Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Tagged: comparison operators, Logical operators, PowerShell | Leave a Comment »
Posted by jpluimers on 2014/04/03
Somehow I always forget this:
The PowerShell escape character is the backtick “`” character.
Use it for escaping quotes within quotes, or inserting special characters.
Don’t abuse it (see the great debate: do not use it as a line continuation).
Often you can avoid line continuation characters by using splatting, which is one of the “best kept secrets” in PowerShell.
–jeroen
via: Escaping in PowerShell.
Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/03
If I ever get “R cannot be resolved to a variable” in an Android project again, then I should read these posts:
One of the quotes was the culprit:
*Note: Eclipse sometimes likes to add an “import android.R” statement at the top of your files that use resources, especially when you ask Eclipse to sort or otherwise manage imports. This will cause your make to break. Look out for these erroneous import statements and delete them.*
–jeroen
Posted in Android, Development, Mobile Development, Software Development | Leave a Comment »