- Fill the gaps in d3.js knowledge
- Get comfortable generating maps in d3.js
- Get comfortable associating data with world map points in d3.js
- Get comfortable generating map overlay visualizations based on data
- Get comfortable generating events based on map interactions
- Build an HTTP server for hosting shape files
They have extrinsic, not intrinsic, value. Tools increase produced value per expended effort.
Tools do not form spontaneously; they are designed. Toolmakers have particular tasks in mind.
As rational actors, we seek to maximize value per effort. We choose between various approaches accordingly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace App.Web.Controllers | |
| { | |
| [Route("api/[controller]")] | |
| public class AttachmentController : Controller | |
| { | |
| private AppDbContext db; | |
| public AttachmentController(AppDbContext db) | |
| { | |
| this.db = db; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // User entity class added for convenience. All other entities removed for clarity | |
| namespace App.Data | |
| { | |
| public class AppDbContext : DbContext | |
| { | |
| public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } | |
| public DbSet<User> Users { get; set; } | |
| protected override void OnModelCreating(ModelBuilder modelBuilder) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Copy-NewGitRepo { | |
| [CmdletBinding()] | |
| Param( | |
| [Parameter(Mandatory=$true, Position = 0)] | |
| [string]$directory, | |
| [Parameter(Mandatory=$true, Position = 1)] | |
| [string]$origin, | |
| [Parameter(Mandatory=$true, Position = 2)] | |
| [string]$destination | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <hosted-code url="https://gist.githubusercontent.com/JaimeStill/6e9b232f308119855a38430e9e3d0015/raw/1b055d095dc256cb67d86d4a9d18c08a292f9a5d/hosted-code.html" language="markup"></hosted-code> |
Download Git from the above link, and install with the following settings:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| filter<T1, T2>(fn: (value: T1) => T2) { | |
| return (ary: T1[]) => ary.filter(fn); | |
| } | |
| match = (what: RegExp) => (str: string) => str.match(what); | |
| matchT = match(/t/ig); | |
| findT = filter(matchT); |