Tutorial by Examples: a

AmCharts provides a load-balanced, reliable CDN for loading the libraries directly from our web server. Use https://www.amcharts.com/lib/3/ as a base URL for includes. <script src="https://www.amcharts.com/lib/3/amcharts.js"></script> <script src="https://www.amcharts...
To do that, [download][1] a required amCharts product ZIP archive. Unzip it and place somewhere on your web server. I.e. in /amcharts/ sub-directory. Then simply load them using <script> tags: <script src="amcharts/amcharts.js"></script> <script src="amcharts/...
Besides main required functional includes, you may need other includes, like themes and plugins. Those reside in /themes/ and /plugins/ sub-directories respectively. I.e.: <script src="https://www.amcharts.com/lib/3/amcharts.js"></script> <script src="https://www.amc...
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 ...
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...
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...
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
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 ...
Of course you can pass data to Sinatra routes, to accept data in your routes you can add route paremeters. You can then access a params hash: get '/hello/:name' do # matches "GET /hello/foo" and "GET /hello/bar" # params['name'] is 'foo' or 'bar' "Hello #{params['...
To create a user dev with password password123 MongoClient mongo = new MongoClient("localhost", 27017); MongoDatabase db = mongo.getDatabase("testDB"); Map<String, Object> commandArguments = new BasicDBObject(); commandArguments.put("createUser", "dev&qu...
To get data from testcollection collection in testdb database where name=dev import org.bson.Document; import com.mongodb.BasicDBObject; import com.mongodb.MongoClient; import com.mongodb.ServerAddress; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; import c...

Page 744 of 1099