Skip to content

Instantly share code, notes, and snippets.

Avatar

Douglas Starnes douglasstarnes

View GitHub Profile
@douglasstarnes
douglasstarnes / gist:f29a5e9c02bfcf69265cd44f3167af2e
Last active Sep 2, 2020
TDevConf interview questions .. not set in stone
View gist:f29a5e9c02bfcf69265cd44f3167af2e
What is your 60-90 second elevator pitch about yourself?
What was your first computer?
What is your favorite code/text editor?
What is your least favorite programming language? What would improve it?
How would you explain your job to an elementary school student? A a high school student? A professional outside of technology?
View gist:495e0f6c329b2c87851b0afef597d32d
<li class="nav-item">
<a class="nav-link text-dark"
asp-area="" asp-page="/Questions/Index">Questions</a>
</li>
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Question>().HasData(
new List<Question>() {
@douglasstarnes
douglasstarnes / night_light.py
Created Apr 16, 2020
Adaptive Night Light for BBC microBit using Micropython
View night_light.py
from microbit import *
LIGHT_LEVEL = 255 / 4
ALL_PIXELS = set(list(range(25)))
def square(x, y, side):
pixels_on = set()
for x_offset in range(side):
for y_offset in range(side):
View DataScience.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MatrixClass.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.