Prohibit password login for the 'root' account: PermitRootLogin prohibit-password
Use man
and search with less/vim command syntax
#!/usr/bin/env PYTHONIOENCODING=utf-8 python | |
# encoding: utf-8 | |
"""Git pre-commit hook which lints Python, JavaScript, SASS and CSS""" | |
from __future__ import absolute_import, print_function, unicode_literals | |
import os | |
import subprocess | |
import sys |
Prohibit password login for the 'root' account: PermitRootLogin prohibit-password
Use man
and search with less/vim command syntax
#!/bin/bash | |
# Script to download all the tiles of the AW3D30 v3.2 dataset | |
download () { | |
# I've noticed that non-existing tiles return a 302 response code. | |
# I assume all the tiles with data have a url that returns 200 response code. | |
local url=https://www.eorc.jaxa.jp/ALOS/aw3d30/data/release_v2012/$1 | |
echo Cheking $url | |
local respcode=$(curl -o /dev/null --silent -Iw '%{http_code}' $url) | |
echo Response code: $respcode |