First: install the CLI program for your distribution: https://cloud.google.com/sdk/install
Modify accordingly:
export REGION='us-central1'
export ZONE='us-central1-f'
export PROJECT_NAME='proj'
First: install the CLI program for your distribution: https://cloud.google.com/sdk/install
Modify accordingly:
export REGION='us-central1'
export ZONE='us-central1-f'
export PROJECT_NAME='proj'
name: "GTANet" | |
# Can be used with pretrained Caffenet (AlexNet architecture). | |
# Layers with names containing 'gtanet' are not transferred from Caffenet. | |
layer { | |
name: "gta_frames_input_layer" | |
type: "HDF5Data" | |
top: "images" | |
top: "targets" |
<!-- Declare the permission for body sensor --> | |
<uses-permission android:name="android.permission.BODY_SENSORS" /> |
Simple R script that grabs the opened issues from a github repo :
$ github_issues hadley/dplyr
number user title labels
1 98 hadley Setup databases with travis enhancement
2 97 hadley Unique operator enhancement
3 96 hadley Implement right join and outer join enhancement
4 95 romainfrancois Hybrid evaluation enhancement, internal
5 94 hadley Make sure all vignettes work from R CMD check bug
function onOpen() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var menuEntries = [ {name: "Run Query", functionName: "runQuery"} ]; | |
ss.addMenu("HTTP Archive + BigQuery", menuEntries); | |
} | |
function runQuery() { | |
var projectNumber = 'httparchive'; | |
var sheet = SpreadsheetApp.getActiveSheet(); |
max_plots <- 5 | |
ui <- fluidPage( | |
headerPanel("Dynamic number of plots"), | |
sidebarPanel( | |
sliderInput("n", "Number of plots", value=1, min=1, max=5) | |
), |
ackage com.twitter.ads.batch.experimental.oscar | |
import com.twitter.scalding._ | |
import com.twitter.pluck.job._ | |
import com.twitter.pluck.source._ | |
import com.twitter.pluck.source.matrix._ | |
import com.twitter.pluck.mathematics._ | |
import com.twitter.scalding.mathematics.Monoid | |
/* |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |