$ docker stop $(docker ps -q)
$ cd /path/to/Dockerfile
DATA TRANSFER | |
The example in the previous section can be expanded to build a basic data transfer model. Any information input into one end of the connection will be output to the other end, and input and output can be easily captured in order to emulate file trans‐ | |
fer. | |
Start by using nc to listen on a specific port, with output captured into a file: | |
$ nc -l 1234 > filename.out | |
Using a second machine, connect to the listening nc process, feeding it the file which is to be transferred: |
import socket | |
UDP_IP = "::1" # localhost | |
UDP_PORT = 5005 | |
MESSAGE = "Hello, World!" | |
print "UDP target IP:", UDP_IP | |
print "UDP target port:", UDP_PORT | |
print "message:", MESSAGE |
/* This file is part of: | |
* Jalali, a Gregorian to Jalali and inverse date convertor | |
* Copyright (C) 2001 Roozbeh Pournader <roozbeh@sharif.edu> | |
* Copyright (C) 2001 Mohammad Toossi <mohammad@bamdad.org> | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either | |
* version 2.1 of the License, or (at your option) any later version. | |
* |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Table Cell Split Diagonally</title> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<td> | |
<div class="c1">A</div> |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Table Cell Split Diagonally</title> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<td> | |
<div class="c1">A</div> |