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
#.ebextensions/04_sidekiq.config | |
commands: | |
create_post_dir: | |
command: "mkdir /opt/elasticbeanstalk/hooks/appdeploy/post" | |
ignoreErrors: true | |
files: |
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
#!/usr/bin/env bash | |
# Generates gource video out of multiple repositories. | |
# First, get a local branch/clone of each repository. | |
# Then, pass the repositories as command line arguments. | |
# | |
# Example: | |
# $ multi-gource.sh /path/to/repo1 /path/to/repo2 | |
outfile="gource.mp4" |
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
.CodeMirror-line { | |
padding-left: 24px !important; | |
} | |
#wl-navbar { | |
display: none; | |
} | |
#wl_main_container { | |
top: 0; |
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
using BenchmarkTools | |
cur_count = 10 | |
cur_time = 0.0 | |
for cur_index in 1:cur_count | |
tic() | |
map(rm, Base.find_all_in_cache_path(:Boot)) ; reload("Boot") ; | |
cur_time += toc() | |
end |
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
[ | |
"about", | |
"about-u", | |
"about-us", | |
"abouts", | |
"abuse", | |
"abuses", | |
"access", | |
"accesses", | |
"account", |
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
Playlist | Daft Punk | Bonobo | Hans Zimmer | ... | Billie Eilish | |
---|---|---|---|---|---|---|
Coding 💻 | 13 | 6 | 2 | ... | 0 | |
Pop Programming | 0 | 0 | 0 | ... | 3 | |
... | ... | ... | ... | ... | ... | |
Night Coding | 1 | 2 | 0 | ... | 0 |
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
from bs4 import BeautifulSoup | |
import pandas as pd | |
import requests | |
import datetime | |
def get_airbnb_links(): | |
cur_url = "http://insideairbnb.com/get-the-data.html" | |
cur_response = requests.get(cur_url) |
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
month | year | url | |
---|---|---|---|
11 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-12-04/data/listings.csv.gz | |
10 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-11-01/data/listings.csv.gz | |
9 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-10-14/data/listings.csv.gz | |
8 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-09-12/data/listings.csv.gz | |
7 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-08-06/data/listings.csv.gz | |
6 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-07-08/data/listings.csv.gz | |
5 | 2019 | http://data.insideairbnb.com/united-states/ny/new-york-city/2019-06-02/data/listings.csv.gz |
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
id | zipcode | price | month | year | accommodates | bathrooms | bedrooms | beds | geometry | is_brooklyn | |
---|---|---|---|---|---|---|---|---|---|---|---|
38553206 | 10002 | 160 | 11 | 2019 | 4 | 1 | 1 | 2 | POINT (-73.99462 40.71355) | False | |
38553206 | 10002 | 160 | 10 | 2019 | 4 | 1 | 1 | 2 | POINT (-73.99462 40.71355) | False | |
38553206 | 10002 | 160 | 9 | 2019 | 4 | 1 | 1 | 2 | POINT (-73.99462 40.71355) | False | |
38553206 | 10002 | 160 | 8 | 2019 | 4 | 1 | 1 | 2 | POINT (-73.99462 40.71355) | False | |
38529246 | 10036 | 450 | 11 | 2019 | 6 | 1 | 2 | 2 | POINT (-73.98781 40.7588) | False | |
38529246 | 10036 | 450 | 10 | 2019 | 6 | 1 | 2 | 2 | POINT (-73.98781 40.7588) | False | |
38529246 | 10036 | 450 | 9 | 2019 | 6 | 1 | 2 | 2 | POINT (-73.98781 40.7588) | 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
variable | $/unit | |
---|---|---|
bathrooms | 110.28 | |
bedrooms | 27.12 | |
accommodates | 10.95 | |
year_2019 | -6.48 | |
month_12 | -2.25 | |
beds | -1.99 |
OlderNewer