This sheet goes along with this SSH YouTube tutorial
$ ssh brad@192.168.1.29
$ mkdir test
$ cd test
// quite untested, adapted from BigstickCarpet's gist, attempt to make it simpler to use | |
function openIndexedDB (fileindex) { | |
// This works on all devices/browsers, and uses IndexedDBShim as a final fallback | |
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB; | |
var openDB = indexedDB.open("MyDatabase", 1); | |
openDB.onupgradeneeded = function() { | |
var db = {} |
FROM php:7.1.2-apache | |
RUN docker-php-ext-install mysqli |
function countryToFlag(isoCode) { | |
return typeof String.fromCodePoint !== 'undefined' | |
? isoCode | |
.toUpperCase() | |
.replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397)) | |
: isoCode; | |
} | |
// From https://bitbucket.org/atlassian/atlaskit-mk-2/raw/4ad0e56649c3e6c973e226b7efaeb28cb240ccb0/packages/core/select/src/data/countries.js | |
const countries = [ |
https://www.digitalocean.com/community/tutorials/how-to-set-up-laravel-nginx-and-mysql-with-docker-compose |
https://github.com/cypress-io/cypress-example-recipes |
match start and end index as same:- regex = /^(a|e|i|o|u).*\1$/ |
$ ssh brad@192.168.1.29
$ mkdir test
$ cd test