$ scp source_file_path destination_file_path
Single file
# define base image as python slim-buster. | |
FROM python:3.7-slim-buster as base | |
## start builder stage. | |
# this is the first stage of the build. | |
# it will install all requirements. | |
FROM base as builder | |
# install all packages for chromedriver: https://gist.github.com/varyonic/dea40abcf3dd891d204ef235c6e8dd79 |
# | |
# Oracle Java 7 Dockerfile | |
# | |
# https://github.com/dockerfile/java | |
# https://github.com/dockerfile/java/tree/master/oracle-java7 | |
# | |
# Pull base image. | |
FROM alpine as build |
# From https://github.com/github/gitignore/blob/master/Gradle.gitignore | |
.gradle | |
/build/ | |
# Ignore Gradle GUI config | |
gradle-app.setting | |
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | |
!gradle-wrapper.jar |
configurations { | |
mavenEmbedder | |
} | |
dependencies { | |
compile "org.apache.maven:maven-core:$mavenVersion" | |
compile "org.apache.maven:maven-plugin-api:$mavenVersion" | |
compile 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.4' | |
mavenEmbedder "org.apache.maven:maven-embedder:$mavenVersion" |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/vendor/jquery.ui.widget.js"></script> | |
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script> | |
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/jquery.iframe-transport.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/jquery.fileupload.js"></script> |
Often referred to as the "swiss army of knife" for TCP/IP networking, [Netcat][1] is an extremely versatile Linux utility that allows you to do anything under the sun using TCP/UDP sockets. It is one of the most favorite tools for system admins when they need to do networking related troubleshooting and experimentation.
In this tutorial, I am sharing a few useful netcat examples, although the sky is the limit when it comes to possible netcat
use cases. If you are using netcat
regularly, feel free to share your use case.
Note that when you are binding to well-known ports (0-1023) with nc
, you need root privilege. Otherwise, run nc
as a normal user.
$ nc -vn 192.168.233.208 5000
FILE SPACING: | |
# double space a file | |
sed G | |
# double space a file which already has blank lines in it. Output file | |
# should contain no more than one blank line between lines of text. | |
sed '/^$/d;G' |
NAME=project | |
VERSION=0.0.1 | |
DIRS=etc lib bin sbin share | |
INSTALL_DIRS=`find $(DIRS) -type d 2>/dev/null` | |
INSTALL_FILES=`find $(DIRS) -type f 2>/dev/null` | |
DOC_FILES=*.md *.txt | |
PKG_DIR=pkg | |
PKG_NAME=$(NAME)-$(VERSION) |