Tutorial by Examples

GitHub expands Markdown syntax to provide new useful features. Header # Header1 ## Header2 ### Header3 #### Header4 ##### Header5 ###### Header6 H1 === H2 --- Emphasis *Italic1* _Italic2_ **Bold1** __Bold2__ ***Bold_Italic*** ~~Strikethrough~~ Horizontal Line --- *** ___ ...
Go to the GitHub page for the project where you want to create an issue. Click on Issues . On the top right, click on New Issue. Enter the title of the issue. Enter the body of the issue (including logs, code snippets, etc.) Optional: To view the issue before submitting it, click on preview. ...
Config a remote for my fork $ cd my_local_repo $ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git # Specify a new remote upstream repository that will be synced with the fork $ git remote -v # Verify the new upstream repository specified for my f...
Go to the GitHub website Open your repository Click Settings Under GitHub Pages, click "Launch Automatic Page Generator" Follow the instructions
Run the following command, replacing username with the username, to clone all of the GitHub repositories for that user to the current directory. curl "https://api.github.com/users/username/repos?page=1&per_page=100" | grep -e 'git_url*' | cut -d \" -f 4 | xargs -L1 git clone T...
Testing without installing For new users who wish to start testing Coq without installing it on their machine, there is an online IDE called JsCoq (presentation here). The package sub-window allows testing various well-known additional packages. Installation The download page contains installers ...
Node modules import url from 'url'; import moment from 'moment'; Meteor packages import { Meteor } from 'meteor/meteor'; import { SimpleSchema } from 'meteor/aldeed:simple-schema';
In package.js: Npm.depends({ moment: "2.8.3" }); In a package file: import moment from 'moment';
// Default export export default {}; // Named export export const SomeVariable = {};
In your mainModule file: export const SomeVar = {};
A struct type is a value type that is typically used to encapsulate small groups of related variables, such as the coordinates of a rectangle or the characteristics of an item in an inventory. Classes are reference types, structs are value types. using static System.Console; namespace Conso...
From highest to lowest, this is the precedence table for Ruby. High precedence operations happen before low precedence operations. ╔═══════════════════════╦════════════════════════════════════════╦═════════╗ ║ Operators ║ Operations ║ Method? ║ ╠═══════════...
If a class raises a large the number of events, the storage cost of one field per delegate may not be acceptable. The .NET Framework provides event properties for these cases. This way you can use another data structure like EventHandlerList to store event delegates: public class SampleClass { ...
You can launch an application in several ways, depending on how you create you app. If your app is divided in two files ui.R and server.R or if all of your app is in one file. 1. Two files app Your two files ui.R and server.Rhave to be in the same folder. You could then launch your app by running ...
OperatorDescription==true if the two values are equal.!=true if the two values are not equal.<true if the value of the operand on the left is less than the value on the right.>true if the value of the operand on the left is greater than the value on the right.>=true if the value of the oper...
There are three possibilities to insert Elm code into a existing HTML page. Embed into the body tag Supposing you have compiled the Hello World example into elm.js file, you can let Elm take over the <body> tag like so: <!DOCTYPE html> <html> <body> <scri...
Placing date_default_timezone_set('Asia/Kolkata'); on config.php above base URL also works. PHP List of Supported Time Zones application/config.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); date_default_timezone_set('Asia/Kolkata'); Another way I have found...
The best way to get started with Salesforce is to get your own Developer Edition. Developer Edition (often referred to as a "DE org") is a fully-featured development environment with limits on data and users. Developer Edition is where you can get familiar with the environment, try out st...
The following functions allow you to build SQL SELECT statements. $this->db->get() This runs the selection query and returns the result. Can be used by itself to retrieve all records from a table: $query = $this->db->get('tablename'); // Produces: SELECT * FROM tablename The sec...
In order to use libraries in CodeIgniter, you need to create a library. class Pro { function show_hello_world() { return 'Hello World'; } } In this library, which is called is pro.php, this file must be added to the following path. Path: \xampp\htdocs\project\application\librarie...

Page 503 of 1336