This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UI /slax/boot/vesamenu.c32 | |
PROMPT 0 | |
TIMEOUT 40 | |
MENU CLEAR | |
MENU HIDDEN | |
MENU HIDDENKEY Enter default | |
MENU BACKGROUND /slax/boot/bootlogo.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget() { | |
local PROTO=${1%%://*} | |
local NOPROTO=${1#*://} | |
local HOST=${NOPROTO%%/*} | |
local PORT=${HOST#*:} | |
[ "${HOST}" = "${PORT}" ] && PORT=80 | |
HOST=${HOST%:*} | |
local URI=${NOPROTO#*/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# == Bucket Finder - Trawl Amazon S3 buckets for interesting files | |
# | |
# Each group of files on Amazon S3 have to be contained in a bucket and each bucket has to have a unique | |
# name across the system. This means that it is possible to bruteforce names, this script does this and more | |
# | |
# For more information on how this works see my blog post "Whats in Amazon's buckets?" at | |
# http://www.digininja.org/blog/whats_in_amazons_buckets.php | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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% | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bitsToMask(){ | |
trace_log "bitsToMask" "$@" | |
if [ "$#" -eq 1 ]; then | |
bitsToMask "${1}" 0 "" | |
elif [ "${2}" -eq 4 ]; then | |
echo "${3%.}" | |
else | |
local BITS=${1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hacker Halfway House */ | |
#include <stdio.h> | |
int main(){int b,i=6,h[]={0xfffffbdf,0x7bde, | |
0x7bde,0,0x7bde,0x7bde,0xfffffbdf, | |
0x4861636b,0x65722048,0x616c6677,0x61792048, | |
0x6f757365,0};while(h[++i]&&ntohl(1)!=1) | |
h[i]=ntohl(h[i]);while(1){for(i=0;i<0xe0; | |
i++){if(!(i%32))puts("");b=(rand()>>(i%30)) | |
%2;if((((i%32)>7)&&!(h[i/32]&(1<<((i%32)-8)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PKGS= newfileA newfileB | |
DIRS= a b c | |
all: $(PKGS) | |
$(DIRS): | |
mkdir -p $@ | |
$(PKGS): %: c/% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
broadcom-sta-5.100.82.38-i486-1ftm | |
ndiswrapper-1.56-i486-1ftm | |
atmel-firmware-1.3-fw-1ftm | |
b43-firmware-4.174.64.19-fw-1ftm | |
extra-firmware-pack-0.1-fw-1ftm | |
ipw3945-ucode-1.14.2-fw-1ftm | |
libertas-firmware-20101019-fw-1ftm | |
p7zip-9.13-i486-1ftm | |
rar-4.0.0-i486-1ftm | |
slackyd-1.0-i486-1ftm |
NewerOlder