Please go to Enable Docker Remote API with TLS client verification.
'use strict'; | |
const fs = require('fs'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const resolve = require('resolve'); | |
const PnpWebpackPlugin = require('pnp-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); | |
const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin'); |
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
def label = "mypod-${UUID.randomUUID().toString()}" | |
podTemplate(label: label, yaml: """ | |
spec: | |
containers: | |
- name: mvn | |
image: maven:3.3.9-jdk-8 |
FROM tomcat:8.0.38 | |
# Place the code version inside the webapps directory | |
ARG PACKAGE_VERSION | |
RUN echo "${PACKAGE_VERSION}" >> /usr/local/tomcat/webapps/version.txt | |
COPY project.war /usr/local/tomcat/webapps/project.war | |
COPY docker-entrypoint.sh / | |
RUN chmod +x /docker-entrypoint.sh | |
ENTRYPOINT ["/docker-entrypoint.sh"] |
#![feature(asm)] | |
#![feature(lang_items)] | |
#![crate_type = "staticlib"] | |
#![no_std] | |
const GPIO_BASE: u32 = 0x3F200000; // base address for Pi 2 and Pi 3 | |
fn sleep(value: u32){ | |
for _ in 1..value { | |
unsafe { asm!("");} |
Since I wrote this originally, Docker on Windows has become a first-class supported tool, with a Windows Installer and well-documented installation processes from docker and from Microsoft.
Today, I actually install docker using boxstarter scripts where I can Enable-WindowsOptionalFeature -Online -FeatureName containers -All
and then choco upgrade -y docker-desktop
as well as installing tooling for VS Code code --install-extension "ms-azuretools.vscode-docker"
.
I've left the rest of these notes here as a historical record, more than anything else. You should not expect the script below to work, but you certainly don
#!/bin/bash | |
# These variables can be overwritten using the arguments below | |
VERSION="1.1.463" | |
# drwho is listed as user in YARN's Resource Manager UI. | |
USER="drwho" | |
# Depending on where the EMR cluster lives, you might have to change this to avoid security issues. | |
# To change the default password (and user), use the arguments bellow. | |
# If the cluster is not visible on the Internet, you can just leave the defaults for convenience. | |
PASS="tardis" |
Go to: chrome://settings/searchEngines | |
Add a new search engine with the following settings | |
Gif | Gif | https://www.google.com/search?q=%s&tbm=isch&tbs=itp:animated | |
Type gif in the address bar press TAB and enter your search query |
More details - http://blog.gbaman.info/?p=791
For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt
file dtoverlay=dwc2
on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh
in the SD card as well. By default SSH i