$ docker run [options] IMAGE [command] [arguments]
$ docker stop [name]
$ docker start [name]
$ docker attache [name]
$ docker ps -a
$ docker rm -f [name]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Given an address, return the longitude and latitude using The Google Geocoding API V3 | |
* | |
*/ | |
function Get_LatLng_From_Google_Maps($address) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp-cli.phar search-replace 'http://example.dev' 'http://example.com' --skip-columns=guid | |
Or, if you only want to change the option, you can do: | |
wp-cli.phar option update home 'http://example.com' | |
wp-cli.phar option update siteurl 'http://example.com' |
- To list all running and stopped containers
$ docker ps -a
- To list all running containers (just stating the obvious and also example use of -f filtering option)
$ docker ps -a -f status=running
- To list all running and stopped containers, showing only their container id
ok
A Pen by Peter Csontos on CodePen.
Cartoon of Bart Simpson drawn with HTML and CSS.
This week's CodePen challenge is about primary colors (in the shades #F44336, #1E88E5, #FDD835), so I remembered a certain cartoon character that basically matched those colors :P
I tested the drawing on Chrome, Firefox, and Safari, where it seems to look the same. Only a simulation was done for IE/Edge so, although it looked Ok, I don't know if that's the case.