Skip to content

Instantly share code, notes, and snippets.

@maciekrb
maciekrb / PubSub to BigQuery using Dataflow
Created December 25, 2017 12:25
Dataflow pipeline to read from a Google Pub/Sub topic and write into a BigQuery table
package com.healthifyme.dftrial;
import com.google.api.services.bigquery.model.TableRow;
import com.google.api.services.bigquery.model.TableSchema;
import com.google.api.services.bigquery.model.TableFieldSchema;
import com.healthifyme.dftrial.common.ExampleUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
@maciekrb
maciekrb / _INSTALL.md
Created October 20, 2016 23:21 — forked from robinsmidsrod/_INSTALL.md
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup

@maciekrb
maciekrb / 0_reuse_code.js
Last active August 29, 2015 14:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console