I hereby claim:
- I am sitwon on github.
- I am sitwon (https://keybase.io/sitwon) on keybase.
- I have a public key whose fingerprint is 016D 2854 B61F 1154 50BA EC08 C728 E6C6 3233 ED30
To claim this, I am signing this object:
@ECHO OFF | |
if -%2-==-- exit /b | |
set last="" | |
for %%i in (%*) do set last=%%i | |
for %%i in (%*) do ( | |
if %%i==%last% exit /b | |
move %%i %last% | |
) |
#!/bin/bash | |
bitsToMask(){ | |
trace_log "bitsToMask" "$@" | |
if [ "$#" -eq 1 ]; then | |
bitsToMask "${1}" 0 "" | |
elif [ "${2}" -eq 4 ]; then | |
echo "${3%.}" | |
else | |
local BITS=${1} |
#!/bin/bash | |
wget() { | |
local PROTO=${1%%://*} | |
local NOPROTO=${1#*://} | |
local HOST=${NOPROTO%%/*} | |
local PORT=${HOST#*:} | |
[ "${HOST}" = "${PORT}" ] && PORT=80 | |
HOST=${HOST%:*} | |
local URI=${NOPROTO#*/} |
I hereby claim:
To claim this, I am signing this object:
from __future__ import print_function | |
from itertools import starmap | |
def format_table(table, delim='|'): | |
""" | |
:param list table: 2D list, with inner lists of strings as rows. | |
:param str delim: Used to define table cell borders. | |
:return list: Containing formatted string elements representing each row, | |
ready to be written to a file. |
FROM python:3 | |
WORKDIR /usr/src/latency-sensor | |
# COPY requirements.txt ./ | |
# RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
ENTRYPOINT [ "bash", "./entrypoint.sh" ] |