What is GitHub? Is GitHub right for your government agency?
Git is a command-line tool that helps people who write software in several key ways:
- Git is a place to store all your code.
- Git tracks all your changes.
What is GitHub? Is GitHub right for your government agency?
Git is a command-line tool that helps people who write software in several key ways:
I want to re-watch all of the Doctor Who TV episodes with River Song, but from her timeline.
Beware, sometimes a single episode of Doctor Who shows River Song at two very different parts of her timeline. This is particularly true for the beginning of her timeline. The list below is the best we can do without breaking episodes into pieces.
Series | Story | Episode Name |
---|
""" | |
The Bresenham Algorithm creates a list of cells/pixels that a straight | |
line intersects in a grid/raster/bitmap. | |
This example script gives the Bresenham Algorithm in 2D and 3D. | |
""" | |
def main(): | |
points_2d = bresenham_line_2d(0, 0, 6, 2) |
This has been moved to a blog post.
/** | |
* A quick example of using Emoji in Java. | |
* compile with: javac HelloWorld.java | |
* run with: java HelloWorld | |
*/ | |
public class HelloWorld { | |
public static void main(String[] args) { | |
String \u0ca2 = "Hello, World 1"; |
''' | |
How far away is the horizon? | |
How far away is that mountain? | |
How far away can something (on the Earth) be that I can still see it? | |
All good questions. Let's answer them. | |
''' | |
from math import sqrt |
/** | |
* The basic class syntax. | |
*/ | |
public class BasicClass { | |
public BasicClass() { | |
// This is the constructor. | |
} |
Got a favorite web comic? Leave me a comic and I'll add it!
I had fun building my own LISP (Slow Loris). The project was extremely easy to get off the ground, because there a ton of resources to do just this. I thought it might be handy to have a little links round-up, based on my research.
There are already several good projects out there on writing your own LISP in Python.