Activate SSH
Connect via SSH with either
ssh root@IP
or
ssh admin@IP
and sudo su
Change VERSION file as needed.
vi /etc.defaults/VERSION
Change:
#!/usr/bin/env python3 | |
from PIL import Image | |
import numpy as np | |
import tensorflow as tf | |
import tensorflow_hub as hub | |
# smooth values from point a to point b. | |
STEPS = 100 | |
pt_a = np.random.normal(size=(512)) |
Activate SSH
Connect via SSH with either
ssh root@IP
or
ssh admin@IP
and sudo su
Change VERSION file as needed.
vi /etc.defaults/VERSION
Change:
Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.
gituser
via Diskstation interface (with File Station and WebDAV privilages)git
(located at /volume1/git
) with read/write access for gituser
and admin
. This folder will hold all the repos.Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
# <pre> | |
# This file is in the public domain, so clarified as of | |
# 2009-05-17 by Arthur David Olson. | |
# So much for footnotes about Saudi Arabia. | |
# Apparent noon times below are for Riyadh; your mileage will vary. | |
# Times were computed using formulas in the U.S. Naval Observatory's | |
# Almanac for Computers 1987; the formulas "will give EqT to an accuracy of | |
# [plus or minus two] seconds during the current year." | |
# |
This article is now published on my website: Prefer Subshells for Context.
#!/usr/bin/python | |
# coding=utf-8 | |
# Python version of Zach Holman's "spark" | |
# https://github.com/holman/spark | |
# by Stefan van der Walt <[email protected]> | |
""" | |
USAGE: |