This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is a fork of the gist from this blog post.
Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
Single-line comments are started with //
. Multi-line comments are started with /*
and ended with */
.
C# uses braces ({
and }
) instead of indentation to organize code into blocks.
If a block is a single line, the braces can be omitted. For example,
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using Dicom.Imaging; | |
using Dicom.IO.Buffer; | |
namespace Dicom | |
{ |
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
Verifying my Blockstack ID is secured with the address 1Hkfbcr77Xi4TWZfv5SmxzSjtotpu18E3P https://explorer.blockstack.org/address/1Hkfbcr77Xi4TWZfv5SmxzSjtotpu18E3P |
#!/usr/bin/env python | |
graph = { | |
'N1': {'N2': 1}, | |
'N12':{'N13':1}, | |
'N2': {'N4': 1, 'N13':1}, | |
'N4': {'N5': 1, 'N12': 1}, | |
'N5': {'N6': 1}, | |
'N6': {'N7': 1}, |