sudo apt update && sudo apt upgrade -y
sudo apt install python3.7-minimal
Register both Python 3.7 and and preinstalled Python 3.6 to python3
alternatives.
# Configuration file for jupyter-notebook. | |
#------------------------------------------------------------------------------ | |
# Application(SingletonConfigurable) configuration | |
#------------------------------------------------------------------------------ | |
## This is an application. | |
## The date format used by logging formatters for %(asctime)s | |
# Default: '%Y-%m-%d %H:%M:%S' | |
# c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S' |
#!/bin/bash | |
# Examples: | |
# resolve_path "/abc/xyz" | |
# resolve_path "./abc/xyz" | |
# resolve_path "./abc/../xyz" | |
resolve_path() { | |
retval= | |
while read -r pathseg; do |
function Set-Wallpaper { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $true)] | |
[ValidateScript( { Test-Path -Path $_ })] | |
[String] $Path | |
) | |
$Definition = @" | |
using System; |
function Set-Wallpaper { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $true)] | |
[ValidateScript( { Test-Path -Path $_ })] | |
[String] $Path | |
) | |
$Definition = @" | |
using System; |