Tutorial by Examples: on

Probably the easiest choice, but beware, the version is not always the newest one. Just open up terminal and type (depending on your distribution) in Debian or Ubuntu using apt $> sudo apt install ruby in CentOS, openSUSE or Fedora $> sudo yum install ruby You can use the -y option so...
Probably the easies way to set up ruby on windows is to go to http://rubyinstaller.org/ and from there donwload an executable that you will install. You don't have to set almost anything, but there will be one important window. It will have a check box saying Add ruby executable to your PATH. Confi...
Go to https://bitbucket.org/dashboard/overview Login to your Bitbucket account Choose repositories from the top menu, then choose Create Repository Choose the owner, enter the repository name and select if you want to have it public or private repository Choose the repository type (Git or Merc...
Go to the repository you want to clone (something like: https://bitbucket.org/username/repo) On the left side, click on ... and choose Clone A small window will appear, copy the url (something like: git clone https://[email protected]/hamzawey/vm_dop_experiment.git) Open a terminal windo...
In [1]: import pandas as pd import numpy as np arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] idx_row = pd.MultiIndex.from_arrays(arrays, names=['Row_First', 'Row_Second']) idx_col = pd.MultiIndex.from_pro...
Add the autodoc module in the extensions list present in the conf.py file at the root of your documentation: extensions = [ 'sphinx.ext.autodoc', ... ]
Autodoc needs to imports your modules to work. You can include your code path in your conf.py file. For instance: import os sys.path.insert(0, os.path.abspath('../src'))
Detailed instructions on getting uikit set up or installed.
Once a model is built predict is the main function to test with new data. Our example will use the mtcars built-in dataset to regress miles per gallon against displacement: my_mdl <- lm(mpg ~ disp, data=mtcars) my_mdl Call: lm(formula = mpg ~ disp, data = mtcars) Coefficients: (Intercep...
A simple multiwindow example using signals and slots. There is a MainWindow class that controls the Main Window view. A second window controlled by Website class. The two classes are connected so that when you click a button on the Website window something happens in the MainWindow (a text label i...
Use the config.frameworks option to get an array of Symbols that represent each framework.
ActionMailer ActionPack ActionWebService ActiveRecord ActiveSupport Railties
There are currently three topics introducing Outlook VBA and at least three more are planned. Part 1 describes how to get access to the Visual Basic Editor. If you are a user of Outlook 2003 and a user of Excel VBA, you will learn little for this part since accessing the Outlook Visual Basic Edito...
MongoDB supports multiple authentication mechanisms. Client and User Authentication Mechanisms SCRAM-SHA-1 X.509 Certificate Authentication MongoDB Challenge and Response (MONGODB-CR) LDAP proxy authentication, and Kerberos authentication Internal Authentication Mechan...
Detailed instructions on getting arraylist set up or installed.
Detailed instructions on getting Flash set up or installed.
We now illustrate the functions dbinom,pbinom,qbinom and rbinom defined for Binomial distribution. The dbinom() function gives the probabilities for various values of the binomial variable. Minimally it requires three arguments. The first argument for this function must be a vector of quantiles(the...
Since Ruby 2.0, Ruby allows to have safer Monkey Patching with refinements. Basically it allows to limit the Monkey Patched code to only apply when it is requested. First we create a refinement in a module: module RefiningString refine String do def reverse "Hell riders" ...
Installing Progress Download your distribution from Progress. If you want a demo license you need to contact them. Make sure you download a 64-bit and not a 32-bit tar file (unless you happen to run a 32-bit machine). Windows The download will be a zip archive. Unpack it and simply run setup.exe....
Read a 16-bit unsigned integer from input. This function uses the interrupt service Int 21/AH=0Ah for reading a buffered string. The use of a buffered string let the user review what they had typed before passing it to the program for processing. Up to six digits are read (as 65535 = 216 - 1 has ...

Page 368 of 475