See: https://ubuntuforums.org/showthread.php?t=1234983&p=8387532#post8387532
Edit: /etc/default/grub
From:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To:
See: https://ubuntuforums.org/showthread.php?t=1234983&p=8387532#post8387532
Edit: /etc/default/grub
From:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To:
import math | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import logging | |
p_dropout = 0.1 |
chartOption: { | |
tooltip: { | |
trigger: 'axis' | |
}, | |
toolbox: { | |
show: false, | |
}, | |
grid: { | |
// top: 60, |
hadoop package: | |
org.apache.hadoop:hadoop-aws:3.1.1 |
curl -s -S --connect-timeout 1 https://www.google.com >/dev/null 2>&1 | |
ret=$? | |
if [ $ret -eq 0 ] ; then | |
echo OK | |
else | |
echo "FAIL:$ret" | |
fi | |
if [ $ret -ne 0 ] ; then | |
echo "FAIL:$ret" |
https://github.com/settings/tokens/new?scopes=repo,read:user,user:email,write:repo_hook |
blk = [] | |
def devo_blk(): | |
blk.append([i for i in range(1024)]) | |
def devo(): | |
while True: | |
devo_blk() |
# /etc/nginx/nginx.conf | |
# see: https://www.nginx.com/resources/wiki/start/topics/examples/full/ | |
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
# ref : http://springdale.math.ias.edu/wiki/YumRepositories6 | |
# to impport gpg-key , you should : | |
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-puias | |
# or : | |
# rpm --import http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-puias | |
# additional , you may also use : | |
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-springdale http://springdale.math.ias.edu/data/puias/7/x86_64/os/RPM-GPG-KEY-springdale | |