Tutorial by Examples: at

Step 1: Download and extract Drupal Drupal is available in two supported versions: the most recent and the previous. Currently that is Drupal 8 (released November 2015) and Drupal 7. The Recommended releases are the latest stable releases of either version. To learn more about versions, see the Dru...
The PXDBDateAndTime attribute and the PXDateAndTime attribute are designed to work with a DAC field of the Nullable<DateTime> (DateTime?) type and store both date and time value parts inside a single field: #region UsrDateAndTime public abstract class usrDateAndTimeAttribute : IBqlField { }...
The PXDBTime attribute is designed to work with a DAC field of the Nullable<DateTime> (DateTime?) type and store only the time part without date inside a DAC field: #region UsrTime public abstract class usrTime : IBqlField { } [PXDBTime(DisplayMask = "t", InputMask = "t&qu...
The PXDBDate attribute and the PXDate attribute are designed to work with a DAC field of the Nullable<DateTime> (DateTime?) type and store date value with an optional time part inside a single field. Wheather PX(DB)DateAttribute should save time in addition to date in a DAC field is defined by...
The PXDBTimeSpan attribute is designed to work with a DAC field of the Nullable<int> (int?) type and store time value inside a DAC field as the number of minutes passed since midnight: #region UsrTimeInt public abstract class usrTimeInt : IBqlField { } [PXDBTimeSpan(DisplayMask = "t...
The PXTimeList attribute is designed to work with a DAC field of the Nullable<int> (int?) type and store time span value inside a DAC field as a number of minutes: #region UsrTimeSpan public abstract class usrTimeSpan : IBqlField { } [PXDBInt] [PXTimeList] [PXUIField(DisplayName = &quo...
This returns a map without the key-value pairs for the keys mentioned in the function argument. It can be used to remove information from existing map. (dissoc {:a 1 :b 2} :a) ;; {:b 2} It can also be used for dissocing multiple keys as: (dissoc {:a 1 :b 2 :c 3} :a :b) ;; {:c 3}
If the promise doesn't return anything, the async task can be completed using await. try{ await User.findByIdAndUpdate(user._id, { $push: { tokens: token } }).exec() }catch(e){ handleError(e) }
Valgrind is GPLv2-licensed collection of dynamic analysis tools, which uses binary instrumentation (dynamic recompilation). Six tools are included to detect memory management (Memcheck) and threading errors (Helgrind and DRD), to generate call-graph and profile programs (with optional cache and bran...
val re = """\((.*?)\)""".r val str = "(The)(example)(of)(repeating)(pattern)(in)(a)(single)(string)(I)(had)(some)(trouble)(with)(once)" re.findAllMatchIn(str).map(_.group(1)).toList res2: List[String] = List(The, example, of, repeating, pattern, in, a, ...
class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? var firstTabNavigationController : UINavigationController! var secondTabNavigationControoller : UINavigationController! var thirdTabNavigationController : UINavigationController! var fourth...
For this, we will use the function aggregate, which can be used as follows: aggregate(formula,function,data) The following code shows various ways of using the aggregate function. CODE: df = data.frame(group=c("Group 1","Group 1","Group 2","Group 2",&quo...
Aggregating with dplyr is easy! You can use the group_by() and the summarize() functions for this. Some examples are given below. CODE: # Aggregating with dplyr library(dplyr) df = data.frame(group=c("Group 1","Group 1","Group 2","Group 2","Group 2&...
Sometimes the download takes longer than the cell is being displayed. In this case it can happen, that the downloaded image is shown in the wrong cell. To fix this we can not use the UIImageView Extension. We still will be using Alamofire however we will use the completion handler to display the im...
Use .click() to simulate click Here is a code sample to click search button on Bing website private async void SimulateClickAsync() { var functionString = string.Format(@"document.getElementsByClassName('b_searchboxSubmit')[0].click();"); await webView.InvokeScriptAsync("...
Detailed instructions on getting graph set up or installed.
DOSKEY macros don't work in a batch script. However, we can use a little workaround. set DOSKEYMacro=echo Hello World %DOSKEYMacro% This script can simulate the macro function. One can also use ampersands(&) to join commands, like $T in DOSKEY. If you want a relatively large "macro&qu...
Rhas a vast collection of built-in datasets. Usually, they are used for teaching purposes to create quick and easily reproducible examples. There is a nice web-page listing the built-in datasets: https://vincentarelbundock.github.io/Rdatasets/datasets.html Example Swiss Fertility and Socioecono...
There are packages that include data or are created specifically to disseminate datasets. When such a package is loaded (library(pkg)), the attached datasets become available either as R objects; or they need to be called with the data() function. Gapminder A nice dataset on the development of c...
Numerous packages are created specifically to access some databases. Using them can save a bunch of time on reading/formating the data. Eurostat Even though eurostat package has a function search_eurostat(), it does not find all the relevant datasets available. This, it's more convenient to brow...

Page 434 of 442