Tutorial by Examples: st

To download Sublime Text, visit the download section on their website. There are various builds for different operating systems including: OXS Windows Ubuntu (64 & 32 bit) Once Sublime Text has been successfully downloaded, simply open the .dmg file to start the installation process. A...
To customize Sublime Text (including themes, syntax highlighting etc) you must have package control installed. To install package control visit www.packagecontrol.io/installation. Instead of following the above link, you can open the Sublime console to install it. The console is accessed via the c...
Generally, each model maps to a single database table.We to write the field type,limits,size,etc in model.py file of the app. This will create the necessary table and fields in the database. ''' models.py ''' from django.db import models class table_name(models.Model): fie...
The example allows you to upload .RData files. The approach with load and get allows you to assign the loaded data to a variable name of your choice. For the matter of the example being "standalone" I inserted the top section that stores two vectors to your disk in order to load and plot t...
Detailed instructions on getting telerik set up or installed.
UNSTRING Input-Address DELIMITED BY "," OR "/" INTO Street-Address DELIMITER D1 COUNT C1 Apt-Number DELIMITER D2 COUNT C2 City DELIMITER D3 COUNT C3 State DELIMITER D4 COUNT C4 Zip-Code DELIMITER D5 COUNT C5 WITH POINTER...
035700 PROCEDURE DIVISION. 035800 035900 DECLARATIVES. 036000 036100 DEPT-HEAD-USE SECTION. USE BEFORE REPORTING DEPT-HEAD. 036200 DEPT-HEAD-PROC. 036300 SET DE-IX TO +1. 036400 SEARCH DEPARTMENT-ENTRY 036500 WHEN DE-NUMBER (DE-IX) = PRR-DEPARTMENT-NUMBER 036600 ...
Few of the eclipse classic versions don't come pre-installed with marketplace, this maybe installed using the following steps: Goto Help → Install new Software Add new Repository(site specified below) General Purpose Tools → Marketplace Client Click Finish and you are done. Marketplace upda...
Before getting started on Processing for Android, make sure you have Processing installed. Open Processing Click on Add Mode... located in the top right of the window: Search for "android" in the Contribution Manager and choose the option that has the author "The Processing Fou...
Launch standalone player activity Intent standAlonePlayerIntent = YouTubeStandalonePlayer.createVideoIntent((Activity) context, Config.YOUTUBE_API_KEY, // which you have created in step 3 videoId, // video which is to be played 100, //The time,...
To be able to use the P3D renderer you must specify it in the size() function size(200, 200, P3D); Now, there are three axes: x, y and z. Now you can proceed in drawing in 3D.
One of the most interesting Number Patterns is Pascal's Triangle. The Name "Pascal's Triangle" named after Blaise Pascal, a famous French Mathematician and Philosopher. In Mathematics, Pascal's Triangle is a triangular array of binomial coefficients.The rows of Pascal's triangle are conve...
public class PascalsTriangle { static void PascalTriangle(int n) { for (int line = 1; line <= n; line++) { int c = 1; for (int i = 1; i <= line; i++) { Console.WriteLine(c); c = c * (line - i)...
When you install WordPress to your server, the installation script will place a prefix in front of all the WordPress MySQL table names. This prefix is set to 'wp_' by default. The WordPress posts table will be called wp_posts for example. By changing the table prefix you can create some security by ...
When someone registers with your application, a new ApplicationUser object will be stored in the database. By default the class is very barebones, but it can be customised - you can find it in Models > IdentityModels.cs. This is mine: public class ApplicationUser : IdentityUser { public ...
Here is the default flow of registering a user in Web API. All of these routes can be found in the AccountController: The user requests a list of the login providers using the GetExternalLogins route, passing a return URL as a parameter. This returns an array of provider objects, containing t...
I have found that the Web API template is broken - the default implementation relies on cookies in the final step, which you probably don't want to be using in a Rest API. Without a cookie, GetExternalLoginInfoAsync in RegisterExternal always returns null. I removed RegisterExternal entirely, inste...
The Shortest Common Super Sequence is a problem closely related to the longest common subsequence, which you can use as an external function for this task. The shortest common super sequence problem is a problem closely related to the longest common subsequence problem. A shortest common superseque...
public class ShortestCommonSupersequence { private static int Max(int a, int b) { return a > b ? a : b; } private static int Lcs(string x, string y, int m, int n) { var l = new int[m + 1, n + 1]; for (var i = 0; i <= m; i++) {...
Detailed instructions on getting systemjs set up or installed.

Page 274 of 369