Tutorial by Examples: all

Detailed instructions on getting couchbase set up or installed.
Getting the Constructor Object You can obtain Constructor class from the Class object like this: Class myClass = ... // get a class object Constructor[] constructors = myClass.getConstructors(); Where the constructors variable will have one Constructor instance for each public constructor decl...
Functions are only useful if we can call them. To call a function the following syntax is used: print("Hello, World!") We're calling the print function. Using the argument "Hello, World". As is obvious, this will print Hello, World to the output stream. The returned value is ...
git clean -fd Will remove all untracked directories and the files within them. It will start at the current working directory and will iterate through all subdirectories. git clean -dn Will preview all directories that will be cleaned.
If you are running Docker on OS X or Windows, docker-compose should be included in your Docker for Windows or Docker Toolbox installation. On Linux you can get the latest binaries straight from the GitHub release page: https://github.com/docker/compose/releases You can install the specific releas...
On OS X and MacOS, Elixir can be installed via the common package managers: Homebrew $ brew update $ brew install elixir Macports $ sudo port install elixir
If you want to use the latest code, you can install it from the repository. While you potentially get new features and fixes, only numbered releases are officially supported. pip install https://github.com/pallets/flask/tarball/master
If you want to develop and contribute to the Flask project, clone the repository and install the code in development mode. git clone ssh://github.com/pallets/flask cd flask python3 -m venv env source env/bin/activate pip install -e . There are some extra dependencies and tools to be aware ...
Ajax Get: Solution 1: $.get('url.html', function(data){ $('#update-box').html(data); }); Solution 2: $.ajax({ type: 'GET', url: 'url.php', }).done(function(data){ $('#update-box').html(data); }).fail(function(jqXHR, textStatus){ alert('Error occured: ' + te...
Using the apt package manager sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm sudo ln -s /usr/bin/nodejs /usr/bin/node # the node & npm versions in apt are outdated. This is how you can update them: sudo npm install -g npm sudo npm install -g n sudo n stabl...
First download anaconda from the Continuum site. Either via the graphical installer (Windows/OSX) or running a shell script (OSX/Linux). This includes pandas! If you don't want the 150 packages conveniently bundled in anaconda, you can install miniconda. Either via the graphical installer (Window...
Installing Jasmine standalone Download the latest Jasmine release from the Jasmine release page: Running Jasmine locally Run Jasmine in the browser by downloading the zip file, extracting it, the referencing the files as follows: <link rel="shortcut icon" type="image/png&qu...
Detailed instructions on getting Zend Framework 2 set up or installed. There are various ways of installing the framework. Below are some of them: Using Composer - Recommended way Assuming composer is installed on the target box. To install a skeleton MVC application, run in your terminal to crea...
composer require laravel/socialite This installation assumes you're using Composer for managing your dependencies with Laravel, which is a great way to deal with it.
Maven <dependency> <groupId>ch.acra</groupId> <artifactId>acra</artifactId> <version>4.9.2</version> <type>aar</type> </dependency> Gradle compile 'ch.acra:acra:4.9.2'
Reactive Extensions are published on both NuGet and MyGet. Installing and using them is therefore the same as any other NuGet package: Install-Package System.Reactive NB package names changed between v2 and v3. See the README on Github for more info Breaking changes The NuGet packages have...
You may need to expand or shrink your pointer storage space after you have allocated memory to it. The void *realloc(void *ptr, size_t size) function deallocates the old object pointed to by ptr and returns a pointer to an object that has the size specified by size. ptr is the pointer to a memory b...
git difftool -t meld --dir-diff will show the working directory changes. Alternatively, git difftool -t meld --dir-diff [COMMIT_A] [COMMIT_B] will show the differences between 2 specific commits.
Standard installation All Node.js binaries, installers, and source files can be downloaded here. You can download just the node.exe runtime or use the Windows installer (.msi), which will also install npm, the recommended package manager for Node.js, and configure paths. Installation by package m...
Users of homebrew can install gradle by running brew install gradle

Page 13 of 113