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
#FROM python:3.7.0-alpine3.8 | |
FROM python:3.7.1-stretch | |
# Create user that will be used in this image | |
RUN groupadd -g 1000 appuser && \ | |
useradd -r -u 1000 -g appuser appuser | |
# Install tools | |
RUN apt-get update \ |
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
#!/usr/bin/env python3 | |
import numpy as np | |
import pandas as pd | |
from sklearn.model_selection import train_test_split | |
from sklearn.metrics import accuracy_score | |
url = "https://raw.githubusercontent.com/jadeyee/r2d3-part-1-data/master/part_1_data.csv" | |
df = pd.read_csv(url, header=2) | |
#print(df.describe()) |
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
# /etc/inittab: init(8) configuration. | |
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ | |
# The default runlevel. | |
id:5:initdefault: | |
# Boot-time system configuration/initialization script. | |
# This is run first except when booting in emergency (-b) mode. | |
si::sysinit:/etc/init.d/rcS |
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 $this->start('myblock'); ?> | |
<li><?= $this->Form->postLink(__('Postlink index'), ['action' => 'index']) ?> </li> | |
<?php $this->end(); ?> | |
<nav class="large-3 medium-4 columns" id="actions-sidebar"> | |
<ul class="side-nav"> | |
<li class="heading"><?= __('Actions') ?></li> | |
<li><?= $this->Html->link(__('New User'), ['action' => 'add']) ?></li> | |
<?php echo $this->fetch('myblock'); ?> | |
<?php echo $this->fetch('myblock'); ?> |