Category: programming languages
You can use Start-Process in Powershell to run an external program. And you can use runas to specify running as administrator. One example to run notepad as administrator in …
The matlab variables (matrices, arrays) can be stored in *.mat files, in order to read this data in Python, you would need a scipy.io package. import scipy.io And, after …
Sometimes you just want to show some links on the home page of blog but not other pages, then the following trick is useful. First of all, you can …
At .NET 4.0 or .NET 4.5, you can write simple Parallel For Loop, which is useful if you have SIMD (Single Instruction Multiple Data). Instead of hard-coded threads, putting …
Code Review is very important, because it will help to get rid of those low quality code, which may not be easily identified. The low quality code may pass …