Tutorial by Examples: n

$ jobs [1] Running sleep 500 & (wd: ~) [2]- Running sleep 600 & (wd: ~) [3]+ Running ./Fritzing & First field shows the job ids. The + and - sign that follows the job id for two jobs denote the default job and next candidate def...
$ fg %2 sleep 600 %2 specifies job no. 2. If fg is used without any arguments if brings the last process put in background to the foreground. $ fg %?sle sleep 500 ?sle refers to the baground process command containing "sle". If multiple background commands contain the string, it w...
Press Ctrl + Z to stop a foreground process and put it in background $ sleep 600 ^Z [8]+ Stopped sleep 600
$ bg [8]+ sleep 600 &
SELECT SERVERPROPERTY('ProductVersion') AS ProductVersion, SERVERPROPERTY('ProductLevel') AS ProductLevel, SERVERPROPERTY('Edition') AS Edition, SERVERPROPERTY('EngineEdition') AS EngineEdition;
SELECT DATEDIFF(DAY, login_time, getdate()) UpDays FROM master..sysprocesses WHERE spid = 1
Since a Vimscript file is a collection of Command mode actions, the user needs to specify that the desired actions should be executed in normal mode. Therefore executing a normal mode command like i, a, d etc. in Vimscript is done by prepending the command with normal: Going to the bottom of the f...
If you know you need a packet <packet>, but you don't know the exact name <packet-exact-name>, instead of searching with Google try with the following: sudo apt-get update apt-cache search <packet> This will return you a list of packets name with a description. Once you have i...
If you are running a command that returns hundreds of lines, but your interest is just on the lines that contains the word <word>, you should definitely use grep! For example try running: ifconfig -a Check the output, that could be only a few lines or quite long, if you have a server with ...
C# Suppose you want to test that when you hover over an element, a drop list is displayed. You may want to check the contents of this list, or perhaps select an option from the list. First create an Action, to hover over the element (e.g. my element has link text "Admin"): Actions mouse...
This tutorial will guide you through the process from scratch. Please note some preliminary notes about this particular setup, useful in case that you already have some requested package: Is needed a version of php >=5.0 (I had troubles with php 7.0) Is requested any version of perl Is need...
To target Internet Explorer 6 and Internet Explorer 7, start your properties with *: .hide-on-ie6-and-ie7 { *display : none; // This line is processed only on IE6 and IE7 } Non-alphanumeric prefixes (other than hyphens and underscores) are ignored in IE6 and IE7, so this hack works for any...
To target Internet Explorer 8, wrap your selectors inside @media \0 screen { }: @media \0 screen { .hide-on-ie8 { display : none; } } Everything between @media \0 screen { } is processed only by I
You can create and configure build types in the module-level build.gradle file inside the android {} block. android { ... defaultConfig {...} buildTypes { release { minifyEnabled true proguardFiles getDefaultProguar...
To create a blank image, use the imagecreatetruecolor function: $img = imagecreatetruecolor($width, $height); $img is now a resource variable for an image resource with $widthx$height pixels. Note that width counts from left to right, and height counts from top to bottom. Image resources can al...
<ItemGroup> <DataToCopy Include="*.cs;*.aspx" /> </ItemGroup> <Copy SourceFiles="@(DataToCopy)" DestinationFolder="SourceCopiedFolder" />
Software and hardware prerequisites for installation of BizTalk Server (All versions) Software requirements 1. Development environment Below software tools are required for BizTalk environment, not all of them are needed, but having all might add some advantage for developing BizTalk applications...
A Haskell's Functor allows one to map any type a (an object of Hask) to a type F a and also map a function a -> b (a morphism of Hask) to a function with type F a -> F b. This corresponds to a Category Theory definition in a sense that functor preserves basic category structure. A monoidal ca...
See discussions in "GRANT" and "Recovering root password".
Usually this means that the Master crashed and that sync_binlog was OFF. The solution is to CHANGE MASTER to POS=0 of the next binlog file (see the Master) on the Slave. The cause: The Master sends replication items to the Slave before flushing to its binlog (when sync_binlog=OFF). If the Master cr...

Page 583 of 1088