- Apple Developer Tools
- Note: this is like 2GB. You might be better off simply installing
the
gcc
compiler from here. I actually have no idea if this will work but if somebody is brave enough to try, that'd be awesome.
- Note: this is like 2GB. You might be better off simply installing
the
- Slight knowledge of the command line (or at least a little bravery and some faith).
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
This file contains 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
fullname,wait_time,last_reported,address,lat,lng,borough,location | |
Former Saint John Villa HS,Not Reported Yet,,"57 Cleveland Pl, Staten Island, NY 10305",40.6012163,-74.0687077,Staten Island,57 Cleveland Place | |
Bay Ridge 5th Avenue,Not Reported Yet,,"8511 & 8515 5th Ave., Brooklyn, NY 11209",40.6215669,-74.0259145,Brooklyn,Bay Ridge 5th Avenue | |
NYC Health + Hospitals / Bellevue,No Wait Time*,11:55 AM,"462 1st Ave., New York, NY 10016",40.7397258,-73.976201,Manhattan,Bellevue Hospital Cent... | |
"NYC Health + Hospitals/Gotham Health, Belvis",Not Reported Yet,,"545 E 142nd St., Bronx, NY 10454",40.8104385,-73.9159236,Bronx,Belvis Diagnostic & Tr... | |
NYC Health + Hospitals Bensonhurst 14th Ave,No Wait Time*,11:12 AM,"6315 14th Ave., Brooklyn, NY 11219",40.625407,-73.9979369,Brooklyn,Bensonhurst 14th Avenue | |
NYC Health + Hospitals/Coney Island,Not Reported Yet,,"2601 Ocean Pkwy, Brooklyn, NY 11235",40.5850562,-73.96546049999999,Brooklyn,Coney Island Hospital ... | |
CLOSED?,Not Reported Yet,,"1601 Ave. S, Brooklyn, NY 11229 |
- Documentation is clear, if a little poorly formatted.
- Not the biggest fan of the monospace type as body copy.
- I like the queries tab but it's not immediately obvious that it's something that I can interact with.
- Document the data that gets returned!
- Correct types.
- Numbers should be unquoted
- Are all the "note on count/percentage"s the same for every endpoint? If
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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 m(n, d) { | |
P = Math.pow; | |
R = Math.round | |
d = P(10, d); | |
i = 7; | |
while(i) { | |
(s = P(10, i-- * 3)) <= n && (n = R(n * d / s) / d + "KMGTPE"[i]) | |
} |
This file contains 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
var $createContext = function (context) { return function(selector) { return $(selector, context) }; }; |
This file contains 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
import operator | |
def do_this (operation, a, b): | |
return getattr(operator, operation)(a, b) | |
do_this('eq', 1, 1) # returns True | |
do_this('gt', 1, 0) # returns True | |
do_this('le', 1, 0) # returns False |
This file contains 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
root = exports ? window | |
Number::toPaddedString = (radix, digits=2) -> | |
str = this.toString(radix) | |
while str.length < digits | |
str = "0" + str | |
str |
This file contains 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
Number::toPaddedString = (radix, digits=2) -> | |
str = this.toString(radix) | |
while str.length < digits | |
str = "0" + str | |
str |
This file contains 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
# hw4prob1.r | |
# 2d ising model | |
hamiltonian <- function (E, J, sig, N) { | |
nearest_neighbor_sum = sum(sig[1:N-1,]*sig[2:N,], sig[,1:N-1]*sig[,2:N]) | |
return(-E * nearest_neighbor_sum - J * sum(sig)) | |
} | |
ising <- function (E, J, N, beta, iterations) { | |
number = N*N |
NewerOlder