- Gottino wine bar
- Bluestone Lane cafe for breakfast and coffee
- Woogies for wings and cheese steaks
- walk the highline - park along old railroad tracks. Beautiful day or night.
- Employees only cocktail bar
- Big Gay Ice cream
- Chelsea market for food
| function onOpen() { | |
| const ui = SlidesApp.getUi(); | |
| ui.createMenu('Timeline Tools') | |
| .addItem('Create Timeline', 'createTimelineInGoogleSlides') | |
| .addItem('Create Gantt Chart', 'createGanttChartInGoogleSlides') | |
| .addItem('Describe Selected Objects', 'describeSelectedObjects') | |
| .addToUi(); | |
| } | |
| // Function to create a timeline in Google Slides |
| --- | |
| - name: date and time demo | |
| hosts: localhost | |
| connection: local | |
| gather_facts: true | |
| tasks: | |
| - name: time of day | |
| vars: | |
| afternoon: 'afternoon' | |
| morning: "{{ 'morning' if ansible_date_time.hour < '12' else afternoon }}" |
| # source: https://stackoverflow.com/a/6873633 | |
| from __future__ import division # this is important, otherwise 1/2 will be 0 | |
| import matplotlib.pyplot | |
| from numpy import arange | |
| from numpy import meshgrid | |
| from numpy import sqrt | |
| from numpy import real | |
| delta = 0.01 |
| #!/usr/bin/env python | |
| sku = "ABCDEFG" | |
| def checksum(sku): | |
| sum = 0 | |
| for i,c in enumerate(sku): | |
| o = ord(c) | |
| #print("{},{}".format(c,o)) | |
| if i % 2 == 1: | |
| sum += o |
| function histogram(data, bins=5) { | |
| const min = Math.min(...data) | |
| const max = Math.max(...data) | |
| const size = Math.ceil((max-min)/bins) | |
| var histogram = new Array(bins).fill(0); | |
| for (const item of data) { |
| p <- ggplot(tset2, aes(x=weekweek, y=count, group = term)) + | |
| geom_line() + | |
| geom_segment(aes(xend = max(tset$weekweek), yend = count), linetype=2) + | |
| geom_point() + | |
| geom_text(aes(x = max(tset$weekweek)+1, label = term)) + | |
| scale_x_datetime() + | |
| scale_y_continuous(labels=comma) + | |
| transition_reveal(term, weekweek) + | |
| ease_aes('linear') + | |
| theme_tufte(base_family="Overpass") |
| search <- read.csv("latest.search.csv", stringsAsFactors = FALSE) | |
| openstack.month <- "2009-09" | |
| search <- search[which(search$Month == openstack.month):nrow(search),] | |
| search$austin <- 0 | |
| austin.month <- which(search$Month == "2016-04") | |
| search[austin.month:nrow(search),]$austin <- 1 | |
| # test for stationary data | |
| library(tseries) |
| function onOpen() { | |
| var menu = [{name: "Borders for nonempty cells", functionName: "borders"}]; | |
| SpreadsheetApp.getActiveSpreadsheet().addMenu("Custom", menu); | |
| } | |
| function borders() { | |
| var range = SpreadsheetApp.getActiveSheet().getRange("C2:O20"); | |
| range.setBorder(false, false, false, false, false, false); | |
| var values = range.getValues(); | |
| var borders = range.getValues(); |
| # Source: http://serverfault.com/a/532600 | |
| Floor () | |
| { | |
| DIVIDEND=${1}; | |
| DIVISOR=${2}; | |
| RESULT=$(( ( ${DIVIDEND} - ( ${DIVIDEND} % ${DIVISOR}) )/${DIVISOR} )); | |
| echo ${RESULT} | |
| } | |
| Timecount () | |
| { |