Tutorial by Examples

play-json uses implicit formats as other json frameworks SBT dependency: libraryDependencies += ""com.typesafe.play" %% "play-json" % "2.4.8" import play.api.libs.json._ import play.api.libs.functional.syntax._ // if you need DSL DefaultFormat contains defaul...
json4s uses implicit formats as other json frameworks. SBT dependency: libraryDependencies += "org.json4s" %% "json4s-native" % "3.4.0" //or libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.4.0" Imports import org.json4s...
Enabling gzip compression can reduce the size of the transferred response by up to 90%, which can significantly reduce the amount of time to download the resource, reduce data usage for the client, and improve the time to first render of your pages. — PageSpeed Insights Compression can be ena...
Fetching resources over the network is both slow and expensive: the download may require multiple roundtrips between the client and server, which delays processing and may block rendering of page content, and also incurs data costs for the visitor. All server responses should specify a caching p...
Arithmetic operators in C++ have the same precedence as they do in mathematics: Multiplication and division have left associativity(meaning that they will be evaluated from left to right) and they have higher precedence than addition and subtraction, which also have left associativity. We can also...
These operators have the usual precedence in C++: AND before OR. // You can drive with a foreign license for up to 60 days bool can_drive = has_domestic_license || has_foreign_license && num_days <= 60; This code is equivalent to the following: // You can drive with a foreign licens...
template< class Iterator > bool next_permutation( Iterator first, Iterator last ); template< class Iterator, class Compare > bool next_permutation( Iterator first, Iterator last, Compare cmpFun ); Effects: Sift the data sequence of the range [first, last) into the next lexicograph...
A condition variable is a primitive used in conjunction with a mutex to orchestrate communication between threads. While it is neither the exclusive or most efficient way to accomplish this, it can be among the simplest to those familiar with the pattern. One waits on a std::condition_variable with...
Passing a pointer argument to a T* parameter, if possible, is better than passing it to a const T* parameter. struct Base {}; struct Derived : Base {}; void f(Base* pb); void f(const Base* pb); void f(const Derived* pd); void f(bool b); Base b; f(&b); // f(Base*) is better than f(const...
java -jar [Path to client JAR] -s [Server address] install-plugin [Plugin ID] The client JAR must be the CLI JAR file, not the same JAR/WAR that runs Jenkins itself. Unique IDs can be found on a plugins respective page on the Jenkins CLI wiki (https://wiki.jenkins-ci.org/display/JENKINS/Plugins) ...
An object pointer (including void*) or function pointer can be converted to an integer type using reinterpret_cast. This will only compile if the destination type is long enough. The result is implementation-defined and typically yields the numeric address of the byte in memory that the pointer poin...
Highcharts.setOptions({ lang: { loading: 'Aguarde...', months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'], weekdays: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sex...
Highcharts.setOptions({ lang: { loading: 'Загрузка...', months: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'], weekdays: ['Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'П...
Highcharts.setOptions({ lang: { loading: 'Cargando...', months: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'], weekdays: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', '...
Highcharts.setOptions({ lang: { decimalPoint: ',', thousandsSep: '.', loading: 'Daten werden geladen...', months: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'], ...
Highcharts.setOptions({ lang: { loading: 'Wordt geladen...', months: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], weekdays: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donde...
Highcharts.setOptions({ lang: { loading: 'Yükleniyor...', months: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'], weekdays: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cum...
Highcharts.setOptions({ lang: { loading: 'Ładowanie...', months: ['Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'], weekdays: ['Niedziela', 'Poniedziałek', 'Wtorek', 'Ś...
Highcharts.setOptions({ lang: { loading: 'Betöltés...', months: ['január', 'február', 'március', 'április', 'május','június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december'], shortMonths: ['jan', 'febr', 'márc', 'ápr', 'má...
Highcharts.setOptions({ lang: { loading: 'Načítám...', months: ['Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'], weekdays: ['Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'S...

Page 522 of 1336