Declare var for a mutable variable:
var name = "Mommy"
name = "Uma"
Declare val for a read-only constant:
{ | |
"data": | |
{ | |
"id":3, | |
"name":"Audrey Roy Greenfeld", | |
"coordinates": [ | |
{ | |
"timestamp":1572724399, | |
"lat":"29.664731", | |
"long":"-95.027364" |
<div id="observablehq-14b9698c"></div> | |
<script type="module"> | |
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js"; | |
import define from "https://api.observablehq.com/@tmcw/notebook-visualizer-elk-edition.js?v=3"; | |
const inspect = Inspector.into("#observablehq-14b9698c"); | |
(new Runtime).module(define, name => (name === "graph") && inspect()); | |
</script> |
""" | |
Based on CarlosFocil's mandalapy code: https://github.com/CarlosFocil/mandalapy | |
Which is an adaptation of Fronkonstin's R code: https://github.com/aschinchon/mandalas | |
""" | |
from scipy.spatial import Voronoi, voronoi_plot_2d | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import pandas as pd | |
from math import pi |
PythonAnywhere part should say to click "follow django girls tutorial" | |
References to other tutorials (Girl Geek Carrots, etc) appear to some beginners as links that should be followed. These should be made into bibliographical references to things at the bottom of the page rather than highlighted blocks. | |
The installation chapter windows section references 'previous chapters', but is the first chapter in the tutorial. | |
The installation chapter instructs on command-line operations, which occurs before Chapter 3, the command-line | |
The Python installation for windows and OSX instructions instruct students to go to https://www.python.org/downloads/release/python-343/, which has a confusing list of Python versions. It should direct to https://www.python.org/downloads/. |
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion minor
Create the mov:
ffmpeg -f image2 -r 4 -i PA02%04d.JPG -s 640x480 -b 5000k -vcodec mjpeg timelapse-large.mov
Bring into iMovie, snip to 10 sec, and add voiceover. Export at 640x480.
I hereby claim:
To claim this, I am signing this object:
Warning: This can be really bad to do. It changes your git history, which is bad and could affect other remotes. Don't do this to a project that other people are using too. Now that you've been warned, here's how to do some bad things to your repo. Do it quickly before anyone notices.
Roll back 1 commit locally:
git reset --hard HEAD~1
Roll back 6 commits locally:
git reset --hard HEAD~6