Tutorial by Examples: al

Most of the tools are standardized with the exception of the name of the operator to throw an error. In Adobe interpreters, it is called .error. In ghostscript, it is called signalerror. So with this line you can use signalerror in postscript code for Adobe interpreters or ghostscript or xpost. /.e...
Puppet provide official documention for both open-source and enterprise versions. you can find it here
System Requirements However, the Puppet master service is fairly resource intensive, and should be installed on a robust dedicated server. At a minimum, your Puppet master server should have two processor cores and at least 1 GB of RAM. To comfortably serve at least 1,000 nodes, it should have ...
// Mixin to generate hidden classes @mixin generate-hidden-classes { @each $bp in map-keys($grid-breakpoints) { .hidden-#{$bp} { @include media-breakpoint-only($bp) { display: none !important; } } } } // Call to the mixin @include generate-hidden-classes(...
Complete the Installation and setup to connect your app to Firebase. This will create the project in Firebase. Add the dependency for Firebase Realtime Database to your module-level build.gradle file: compile 'com.google.firebase:firebase-database:9.2.1' Configure Firebase Databa...
ThesetValue() method overwrites data at the specified location, including any child nodes. You can use this method to: Pass types that correspond to the available JSON types as follows: String Long Double Boolean Map<String, Object> List Pass a custom Java object, if the cla...
@Configuration // @Lazy - For all Beans to load lazily public class AppConf { @Bean @Lazy public Demo demo() { return new Demo(); } }
If you want to use "cmake" (see www.cmake.org), type cd [your libpng source directory] cmake . -DCMAKE_INSTALL_PREFIX=/path make make install where "/path" points to the installation directory where you want to put the libpng "lib", "include", and &quot...
This will download libpng from the official "git" repository and build it in your "libpng" directory. git clone https://github.com/glennrp/libpng.git libpng cd libpng ./autogen.sh ./configure [--prefix=/path] make install where "/path" points to the installation...
To select an element by an exact HTML attribute use the css locator pattern [attribute=value] //selects the first element with href value '/contact' element(by.css('[href="/contact"]')); //selects the first element with tag option and value 'foo' element(by.css('option[value="f...
To select an element by an HTML attribute that contains a specified value use the css locator pattern [attribute*=value] //selects the first element with href value that contains'cont' element(by.css('[href*="cont"]')); //selects the first element with tag h1 and class attribute that...
One of most common use cases of Gitflow Initialize repo and define branches $ git flow init # if you use default setup, you'll define six types of branches: # # main branches (lives forever) # # 1. master: for production releases # 2. develop: for "next ...
$rootScope.$on listeners will remain in memory if you navigate to another controller. This will create a memory leak if the controller falls out of scope. Don't angular.module('app').controller('badExampleController', badExample); badExample.$inject = ['$scope', '$rootScope']; function badExam...
Once you have access to the host-manager, the GUI will let you add a virtual host. Note: In Tomcat 7 and 8, adding a virtual host via the GUI does not write the vhost to config files. You will need to manually edit the server.xml file to have the vhost available after a restart. See http://tomc...
Once a virtual host has been added via the web application, directories will exist at: {CATALINA_HOME}\conf\Catalina\{Name} {CATALINA_HOME}\{App Base} To persist the virtual host after a restart, the server.xml file must be updated with the configuration. A Host element needs to be added inside...
Load an image from an asset catalog using UIImage.FromBundle(string imageName) UIImage image = UIImage.FromBundle("ImageName"); // use the name of the image set from the asset catalog You can use the image for a UIImageView or anything else you need to do.
Asset catalogs allow managing images, app icons, and launch images. Image Set is used for images which are displayed in the app. Universal images are usually the best option. You can either use a vector based image (such as PDF) which will scale for all screens, or include a 1x, 2x, and 3x variant...
Asset catalog images can be used from storyboards like any other kind of image added to the project. They will be automatically populated as an option in UIImageView and other views which support adding an image.
Installers are custom types that implement the IWindsorInstaller interface and are used to register Components to the container, using the fluent registration API. public class MyInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) {...
When registering types to the container Castle uses the type of the class in order to resolve. In the case that there is more than one registration for a specific type the Name property must be set: public void Install(IWindsorContainer container, IConfigurationStore store) { container.Regist...

Page 168 of 269