Tutorial by Examples

wxPython Phoenix is the latest version of wxPython, (currently Sept 2016 without an official release). It supports both Python 2 and Python 3. You can download a snapshot build (i.e. a Python wheel) for your platform and Python version here. wxPython Phoenix utilizes a largely automated mechanism ...
The CEILING function rounds a number up, away from zero, to the nearest multiple of significance. The FLOOR function does the same by rounds the number down towards zero. An example of when CEILING could be be used is if you want to avoid using pennies in your prices and your product is priced at $...
The FIXED function rounds a number to the specified number of decimals defined by the decimals parameter, formats the number in decimal format using a comma as a separator unless specified as not required defined by the parameter no_commas, and returns the result as text. The decimals parameter is o...
The where construct, available in Fortran90 onwards represents a masked do construct. The masking statement follows the same rules of the if statement, but is applied to all the elements of the given array. Using where allows operations to be carried out on an array (or multiple arrays of the same s...
Consider a structure of the following classes should be constructed in XAML an then read into a CLR object: namespace CustomXaml { public class Test { public string Value { get; set; } public List<TestChild> Children { get; set; } = new List<TestChild>(); ...
Consider a structure of the following classes should be constructed in XAML an then read into a CLR object: namespace CustomXaml { public class Test { public string Value { get; set; } public List<TestChild> Children { get; set; } = new List<TestChild>(); ...
sed -i -e cmd file will modify file even if its permissions are set to read-only. This command behaves similarly to sed -e cmd file > tmp; mv -f tmp file rather than sed -e cmd file > tmp; cat tmp > file; rm tmp The following example uses gnu sed: $ echo 'Extremely important data' &gt...
printf will output a formatted string using placeholders sprintf will return the formatted string $name = 'Jeff'; // The `%s` tells PHP to expect a string // ↓ `%s` is replaced by ↓ printf("Hello %s, How's it going?", $name); #> Hello Jeff, How's it going? // Ins...
You can use concatenation to join strings "end to end" while outputting them (with echo or print for example). You can concatenate variables using a . (period/dot). // String variable $name = 'Joel'; // Concatenate multiple strings (3 in this example) into one and echo it once done. ...
You can also use interpolation to interpolate (insert) a variable within a string. Interpolation works in double quoted strings and the heredoc syntax only. $name = 'Joel'; // $name will be replaced with `Joel` echo "<p>Hello $name, Nice to see you.</p>"; # ...
AWS Lambda supports Transparent scalability and availability Developer friendly operations and no need to manage servers Native integration to AWS services No need to pay for idle time RESTful integration Monitoring the RESTful interface using AWS API gateway
This is one of the simplest lambda function. It is equivalent to Hello World program. To create your first program follow the below mentioned steps. Login to AWS Console Click Lambda under compute Click create a Lambda Function Skip select blueprint section In configure trigger click on the...
Hello everyone, This first article help some people to install bash on windows 10. In first step you need uninstall all antivirus that you have, for example, I use Avast, I needed to uninstall this to install the bash. If you use windows protection, unable this to forward.
Open the prompt on Windows. Than you will run: lxrun /install If this is the first time, you will inform a user to Bash console. Or you can just use lxrun /install /y To do this step automatically.
You just need run on prompt: lxrun /uninstall /full
If A is a complex and quadratic matrix there exists a unitary Q such that Q*AQ = T = D + N with D being the diagonal matrix consisting of the eigenvalues and N being strictly upper tridiagonal. A = [3 6 1 23 13 1 0 3 4]; T = schur(A); We also display the runtime of schur dependent on ...
T qobject_cast(QObject *object) A functionality which is added by deriving from QObject and using the Q_OBJECT macro is the ability to use the qobject_cast. Example: class myObject : public QObject { Q_OBJECT //... }; QObject* obj = new myObject(); To check whether obj is a my...
The purpose of this documentation is to use a scanner without any user interface. A common use is to upload a PDF scanned file directly to Google Drive or Dropbox just by pressing scanner-buttons. scanbd permits to trigger actions from the scanner buttons, it uses sane. What make things a little b...
QObjects come with their own alternative lifetime concept compared to native C++'s raw,unique or shared pointers. QObjects have the possibility to build an objecttree by declaring parent/child relationships. The simplest way to declare this relationship is by passing the parent object in the const...
There are a number of available routing verbs in Sinatra, they correspond directly to http verbs get '/' do .. get some data, a view, json, etc .. end post '/' do .. create a resource .. end put '/' do .. replace a resource .. end patch '/' do .. change a resource .. end ...

Page 912 of 1336