- Python 3
- Pip 3
$ brew install python3| # See list of docker virtual machines on the local box | |
| $ docker-machine ls | |
| NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
| default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
| # Note the host URL 192.168.99.100 - it will be used later! | |
| # Build an image from current folder under given image name | |
| $ docker build -t gleb/demo-app . |
| import javax.validation.Constraint; | |
| import javax.validation.Payload; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.Target; | |
| import static java.lang.annotation.ElementType.FIELD; | |
| import static java.lang.annotation.ElementType.PARAMETER; | |
| import static java.lang.annotation.RetentionPolicy.RUNTIME; | |
| /** |
| // usage: $('.container').shiftSelectable() to select all checkboxes in container $('.cont') | |
| // or $('.container').shiftSelectable({items: '.shift-selectable'}) to select only checkboxes with shift-selectable class | |
| $.fn.shiftSelectable = function(config) { | |
| config = $.extend({ | |
| items: 'input[type="checkbox"]' | |
| }, config); | |
| var $container = this; | |
| var lastChecked; | |
| $container.on('click', config.items, function(evt) { |
| package com.rich.api.config; | |
| import java.util.Arrays; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import springfox.documentation.builders.ApiInfoBuilder; | |
| import springfox.documentation.builders.PathSelectors; | |
| import springfox.documentation.builders.RequestHandlerSelectors; |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
$ ssh [email protected]
$ mkdir test
$ cd test
| # Configure blob storage account access key globally | |
| spark.conf.set( | |
| "fs.azure.account.key.%s.blob.core.windows.net" % storage_name, | |
| sas_key) | |
| output_container_path = "wasbs://%s@%s.blob.core.windows.net" % (output_container_name, storage_name) | |
| output_blob_folder = "%s/wrangled_data_folder" % output_container_path | |
| # write the dataframe as a single file to blob storage | |
| (dataframe |