Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
| cy.visit('/404') | |
| //=> Test fails | |
| cy.visit('/404', {failOnStatusCode: false}) | |
| //=> Test passes but does not test the HTTP code was 404 | |
| cy.request({url: '/404', failOnStatusCode: false}).its('status').should('equal', 404) | |
| cy.visit('/404', {failOnStatusCode: false}) | |
| //=> Test passes, tests that the HTTP code was 404, and tests page was visited |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
| { | |
| "countries": { | |
| "country": [ | |
| { | |
| "countryCode": "AD", | |
| "countryName": "Andorra", | |
| "currencyCode": "EUR", | |
| "population": "84000", | |
| "capital": "Andorra la Vella", | |
| "continentName": "Europe" |
| function slugify(value) { | |
| /* | |
| * Convert the the vs in a range of cells into slugs. | |
| */ | |
| slug = ''; | |
| slug = value.substring(0, 30).toLowerCase(); | |
| slug = slug.replace(/[^\w\s-]/g, ''); | |
| slug = slug.replace(/\s+/g, '-'); | |
| Logger.log(slug); |
| /** | |
| * | |
| * Add to bookmark | |
| * Several tests are necessary in order for this "simple" action to work in most of the browsers | |
| * | |
| */ | |
| // First, we define the element where the "Add to bookmark" action will trigger | |
| var triggerBookmark = $(".js-bookmark"); // It must be an `a` tag |
| /* | |
| * Taken from http://stackoverflow.com/questions/5867534/how-to-save-canvas-data-to-file/5971674#5971674 | |
| */ | |
| var fs = require('fs'); | |
| // string generated by canvas.toDataURL() | |
| var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0" | |
| + "NAAAAKElEQVQ4jWNgYGD4Twzu6FhFFGYYNXDUwGFpIAk2E4dHDRw1cDgaCAASFOffhEIO" | |
| + "3gAAAABJRU5ErkJggg=="; | |
| // strip off the data: url prefix to get just the base64-encoded bytes |
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
| var myConfObj = { | |
| iframeMouseOver : false | |
| } | |
| window.addEventListener('blur',function(){ | |
| if(myConfObj.iframeMouseOver){ | |
| console.log('Wow! Iframe Click!'); | |
| } | |
| }); | |
| document.getElementById('YOUR_CONTAINER_ID').addEventListener('mouseover',function(){ |
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |