Tutorial by Examples

If you prefer to keep the declaration of the URL mapping in your UrlMappings.groovy file then simply removing the uri attribute of the Resource transformation and adding the following line to UrlMappings.groovy will suffice: "/books"(resources:"book") Extending your API to in...
# for use in npm scripts npm install electron-packager --save-dev # for use from cli npm install electron-packager -g
electron-packager C:/my-app MyApp
var packager = require('electron-packager'); packager({ dir: '/', }, function(err, path){ if(err) throw err; // Application has been packaged });
Detailed instructions on getting alfresco-share set up or installed.
Detailed instructions on getting fonts set up or installed.
The Icomoon App is a web based tool that's especially useful for creating custom icon fonts on a per project basis. The Icomoon App allows you to do each of the following : Get one or more icons from several popular icon fonts Upload other fonts, which may be icon fonts but also regular fonts ...
To include an icon font in your CSS, you can include the following code : @font-face { font-family: 'myfont'; src:url('fonts/myfont.eot?-td2xif'); src:url('fonts/myfont.eot?#iefix-td2xif') format('embedded-opentype'), url('fonts/myfont.woff?-td2xif') format('woff'), ...
To use an icon in your HTML, you can do each of the following : <!-- Method 1 --> <!--- * * * * * * * * * * * * --> <!-- Set a font-family for an entire HTML element --> <!-- Define your icon fonts in your CSS font-family after your regular fonts --> <!-- This means ...
Consider a down-pointing triangle. There are several correct ways to display this symbol on a web page. Method 1 : use decimal HTML entity HTML : ▼ Method 2 : use hexidecimal HTML entity HTML : ▼ Method 3 : use character directly HTML : ▼ Method 4 : use CS...
The following is a list of popular icon fonts: Font Awesome Fontello Modern Pictograms Typicons Foundation Icon Fonts Pictonic Pictos
To include a webfont in your CSS, you can include the following code: @font-face { font-family: 'myfont'; src:url('fonts/myfont.eot?-td2xif'); src:url('fonts/myfont.eot?#iefix-td2xif') format('embedded-opentype'), url('fonts/myfont.woff?-td2xif') format('woff'), url...
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'even' }) export class EvenPipe implements PipeTransform { transform(value: string): string { if(value && value %2 === 0){ return value; } } } @Component({ selector: '...
When investigating some geometric problem, there are a number of questions you might want to ask yourself to narrow down the scope of the question. How many dimensions are you dealing with? Is it 2d, 3d, a specific number of higher dimensions, or without respect to dimensionality? In case of a 2...
Overall you have two ways to monitor processes at linux host Static monitoring Most widely used command is ps (i.e., process status) command is used to provide information about the currently running processes, including their process identification numbers (PIDs). Here few useful options to gath...
To get general statistics about main components of Linux family of stat commands are extremely useful CPU To get processors related statistics you can use mpstat command but with some options it will provide better visibility: $ mpstat 2 10 Memory We all know command free to show amount of (r...
One can describe a line in the plane as y = a*x + b so that the line is essentially controlled by two parameters a, b. For a given line, the choice of these parameters is unique. But vertical lines cannot be described like this.
One can describe a line in arbitrary dimensions as X = A + t*D where A and D are both vectors of suitably many dimensions. So in 2d this would be x = Ax + t*Dx y = Ay + t*Dy Now as t assumes any real value, this equation will produce all points along the line. The representation is not uniq...
Given a pair of points A and B in a vector space of arbitrary dimension, one can describe the line between them as X = A + t*(B - A) = (1 - t)*A + t*B so in 2d this would be x = Ax + t*(Bx - Ax) = (1 - t)*Ax + t*Bx y = Ay + t*(By - Ay) = (1 - t)*Ay + t*By As t assumes any real value, this w...
A line in the plane can be described as a*x + b*y + c = 0 This uses a three-element parameter vector [a, b, c] to describe the line. Sometimes the constant term c is moved to the right hand side of the equation instead. The representation is not unique, since the length of that vector is arbitra...

Page 1124 of 1336