Skip to content

Instantly share code, notes, and snippets.

@wzulfikar
wzulfikar / .drone.yml
Last active August 26, 2021 17:51
Drone CI slack template. more on drone.io + slack integration: http://plugins.drone.io/drone-plugins/drone-slack/
pipeline:
build:
image: alpine
commands:
- echo "do something :v"
slack:
image: plugins/slack
channel: dev__builds
webhook: https://hooks.slack.com/services/...
@Leen15
Leen15 / MOVE_FILES_BETWEEN_HOSTS.md
Last active January 23, 2018 09:44
Commands for easily copy a file between hosts

LISTEN ON PORT 5555 OF TARGET SERVER FOR RECEIVE THE file.dat

nc -l 5555 > file.dat

SEND THE file.dat FROM THE SOURCE SERVER to TARGET SERVER

apt install pv
pv file.dat | nc server_target_ip 5555