Skip to content

Instantly share code, notes, and snippets.

View svenmueller's full-sized avatar

Sven Müller svenmueller

  • commercetools GmbH
  • Munich
View GitHub Profile
#standardSQL
CREATE MODEL `bqml_tutorial.natality_model`
OPTIONS
(model_type='linear_reg',
input_label_cols=['weight_pounds']) AS
SELECT
weight_pounds,
is_male,
gestation_weeks,
mother_age,
@svenmueller
svenmueller / play.rb
Last active August 29, 2015 13:57 — forked from dgouyette/play.rb
# Recipe for play-2.1.1
require 'formula'
class Play < Formula
homepage 'http://www.playframework.org/'
url 'http://downloads.typesafe.com/play/2.1.1/play-2.1.1.zip'
md5 '1ec0b736f9836f760b3c135154fd9a4b'
version '2.1.1'
@svenmueller
svenmueller / git-notes.md
Last active December 24, 2015 11:38
Some notes from our GIT session today...

Workflows

Story/Feature/Bugfix etc.

  • create a feature/bugfix branch to work on
$ git branch -b feature/scene7viewer   # create branch
$ git branch feature/scene7viewer      # switch to branch

$ git checkout -b feature/scene7viewer # create and checkout branch with one command
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {