Tutorial by Examples

Highcharts.setOptions({ lang: { loading: 'Chargement...', months: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'], weekdays: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vend...
Highcharts.setOptions({ lang: { loading: 'Sto caricando...', months: ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'], weekdays: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì'...
Highcharts.setOptions({ lang: { loading: '加载中...', months: ['1月', '2月', '3月', '4月', '5月', '6月', '7月','8月', '9月', '10月', '11月', '12月'], shortMonths: ['1月', '2月', '3月', '4月', '5月', '6月', '7月','8月', '9月', '10月', '11月', '12月'], weekdays: ['星期日', '...
Highcharts.setOptions({ lang: { contextButtonTitle: "Menú contextual del diagrama", decimalPoint: ",", downloadJPEG: "Desa com a imatge JPEG", downloadPDF: "Desa com a document PDF", downloa...
Highcharts.setOptions({ lang: { loading: 'Načítavam...', months: ['Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December'], weekdays: ['Nedeľa', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok...
An XML document can contain a DTD. DTD stands for Document Type Declaration. A DTD begins with <!DOCTYPE root-element-name > where doc-element-name must match the name of the so-called document element (the one element at the top-level). <?xml version="1.0"?> <!DOCTYPE doc...
A DTD can contain entity declarations. <?xml version="1.0"?> <!DOCTYPE document [ <!ENTITY my-entity "This is the replacement text"> ]> <document> <!-- the rest of the document --> </document> Entities are described in details in ...
To view line numbers from Default view enter :set number To hide line numbers :set nonumber There is also a shortcut for above. nu is same as number. :set nonu To hide line numbers, we can also use :set nu!
int main (void) { const int foo_readonly = 10; int *foo_ptr; foo_ptr = (int *)&foo_readonly; /* (1) This casts away the const qualifier */ *foo_ptr = 20; /* This is undefined behavior */ return 0; } Quoting ISO/IEC 9899:201x, section 6.7.3 §2: If an attempt i...
Add-ons: Firefox add-ons are generally grouped into Extensions, and then "other types" of Firefox add-ons. Extensions Extensions allow Firefox to be customized by adding to or modifying the functionality of Firefox. Some of the types of things which can be done with extensions include:...
@Test public void testUpNavigation() { intending(hasComponent(ParentActivity.class.getName())).respondWith(new Instrumentation.ActivityResult(0, null)); onView(withContentDescription("Navigate up")).perform(click()); intended(hasComponent(ParentActivity.class.getName())...
Format strings may contain named placeholders that are interpolated using keyword arguments to format. Using a dictionary (Python 2.x) >>> data = {'first': 'Hodor', 'last': 'Hodor!'} >>> '{first} {last}'.format(**data) 'Hodor Hodor!' Using a dictionary (Python 3.2+) >&gt...
installing npm install web-component-tester --save-dev setting up wct.conf.js module.exports = { verbose: true, plugins: { local: { browsers: ['chrome'] } } }; running node node_modules/web-component-tester/bin/wct test/index.html <html...
A variable declared constexpr is implicitly const and its value may be used as a constant expression. Comparison with #define A constexpr is type-safe replacement for #define based compile-time expressions. With constexpr the compile-time evaluated expression is replaced with the result. For examp...
Ada is a programming language for which there exists multiple compilers. One of these compilers, and perhaps the most used, is GNAT. It is part of the GCC toolchain. It can be installed from several sources: The yearly GPL release done by AdaCore, available for free on libre site. This ver...
Note: This example is based on the Oracle JVM implementation. Built-in tools like jmap, jconsole, and jvisualvm are available in a JDK and can be used to generate and analyze heap memory dumps taken from a running JVM application. However, one option to generate a heap dump without using JDK tools ...
class Foldable t where {-# MINIMAL foldMap | foldr #-} foldMap :: Monoid m => (a -> m) -> t a -> m foldMap f = foldr (mappend . f) mempty foldr :: (a -> b -> b) -> b -> t a -> b foldr f z t = appEndo (foldMap (Endo #. f) t) z -- and a nu...
class (Functor t, Foldable t) => Traversable t where {-# MINIMAL traverse | sequenceA #-} traverse :: Applicative f => (a -> f b) -> t a -> f (t b) traverse f = sequenceA . fmap f sequenceA :: Applicative f => t (f a) -> f (t a) sequenceA = t...
<?xml version="1.0" encoding="UTF-8"?> <Configuration> <Appenders> <Console name="STDOUT" target="SYSTEM_OUT"> <PatternLayout pattern="%d %-5p [%t] %C{2} %m%n"/> </Console> </Appenders&gt...
A method can take an array parameter and destructure it immediately into named local variables. Found on Mathias Meyer's blog. def feed( amount, (animal, food) ) p "#{amount} #{animal}s chew some #{food}" end feed 3, [ 'rabbit', 'grass' ] # => "3 rabbits chew some gra...

Page 523 of 1336