Skip to content

Instantly share code, notes, and snippets.

View dpliakos's full-sized avatar

Dimitrios Pliakos dpliakos

View GitHub Profile
@dpliakos
dpliakos / exitedCells.py
Created January 27, 2018 19:26
Excited cells challenge code for 300/300 in python3
for j in range(0, steps):
tempState = []
for i in range(0,len(initialState)):
if len(initialState)-1 != i:
right = initialState[i+1]
else:
right = initialState[0]
if initialState[i-1] + right == 1:
Containers: 5
Running: 5
Paused: 0
Stopped: 0
Images: 32
Server Version: 17.09.1-ce
Storage Driver: btrfs
Build Version: Btrfs v4.5.3+20160729
Library Version: 101
Logging Driver: json-file
version: "2"
services:
mariadb:
image: wodby/mariadb:$MARIADB_TAG
container_name: "${PROJECT_NAME}_mariadb"
stop_grace_period: 30s
environment:
MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
MYSQL_DATABASE: $DB_NAME
### Documentation available at https://wodby.com/stacks/drupal/docs/local
### Changelog can be found at https://github.com/wodby/docker4drupal/releases
###
### Images tags format is [VERSION]-[STABILITY_TAG]
###
### [VERSION] is usually a version of application running in a container
### [VERSION] sometimes additionally includes major drupal version (see nginx)
### [STABILITY_TAG] is a version of an image (not application)
### [STABILITY_TAG] correspond to a git tag of corresponding image repository
###
Attaching to my_drupal8_project_apache, my_drupal8_project_php, my_drupal8_project_mariadb, my_drupal8_project_traefik, my_drupal8_project_portainer
my_drupal8_project_php | [29-Jul-2018 14:41:05] NOTICE: fpm is running, pid 1
my_drupal8_project_php | [29-Jul-2018 14:41:05] NOTICE: ready to handle connections
my_drupal8_project_apache | [Sun Jul 29 14:41:15.974674 2018] [ssl:info] [pid 1:tid 140035335199624] AH01887: Init: Initializing (virtual) servers for SSL
my_drupal8_project_apache | [Sun Jul 29 14:41:15.974702 2018] [ssl:info] [pid 1:tid 140035335199624] AH01876: mod_ssl/2.4.33 compiled against Server: Apache/2.4.33, Library: LibreSSL/2.6.3
my_drupal8_project_apache | [Sun Jul 29 14:41:15.974725 2018] [http2:debug] [pid 1:tid 140035335199624] mod_http2.c(112): AH03089: initializing post config dry run
my_drupal8_project_apache | [Sun Jul 29 14:41:15.979353 2018] [ssl:warn] [pid 1:tid 140035335199624] AH01873: Init: Session Cache is not configured [hi
# define DEBUG false
# define DEBUG_BTN false
# define DEBUG_STATE false
# define DEBUG_BTN_STATUS false
# define BTN_LEFT 0
# define BTN_RIGHT 1
# define LED_LEFT 2
# define LED_RIGHT 3k

Keybase proof

I hereby claim:

  • I am dpliakos on github.
  • I am dpliakos (https://keybase.io/dpliakos) on keybase.
  • I have a public key ASDH0O_BHX8UxrEppLtEAFuPRh9c-qGJaZKZpM_jA_hPewo

To claim this, I am signing this object: