There are several options to make Date input in Rails application:
- Default inputs from simple_form
- HTML 5 date input
- Text input with jQuery UI Date time picker
- Other plugins for date input with Bootstrap 4
import dash_html_components as html | |
import dash_table | |
import pandas as pd | |
def data_table(df): | |
table = html.Div( | |
className='table table-responsive-md p-3', | |
children=dash_table.DataTable( | |
id='tabella-milano', |
#!/bin/bash | |
LOCATION=${HCLOUD_LOCATION:-nbg1-dc3} | |
if [ -z "$HCLOUD_TOKEN" ]; then | |
echo "You need to set HCLOUD_TOKEN to an Hetzner API token!"; | |
exit 1 | |
fi | |
if [ -z "$SSH_KEY" ]; then |
Useful links:
Make sure you have a Nvidia GPU that supports CUDA. You can do it by running these:
update-pciids
- updates the description of the hardwarelspci | grep -i nvidia
- find all nvidia hardware you haveThis will create a proxy server in whatever your availability zone your VPC is in. For me, that's us-east-1b
. For you, that may be something different. Steps 10+ should more or less work regardless of your provider since those steps cover the setup and configuration of TinyProxy.
Gitlab exports repositories to tar archive which contains .bundle files.
We have repo.bundle file and we want to restore files from it.
git clone --mirror myrepo.bundle my.git
#!/usr/bin/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |