mirror of https://github.com/dirtbags/moth.git
Refresh sequence category
This commit is contained in:
parent
9e6421489d
commit
6470b30ba7
8
Makefile
8
Makefile
|
@ -14,11 +14,11 @@ BIN = bin
|
||||||
all: packages
|
all: packages
|
||||||
|
|
||||||
dist: ctf-install.zip
|
dist: ctf-install.zip
|
||||||
ctf-install.zip: packages.zip /usr/lib/syslinux/mbr.bin
|
ctf-install.zip: packages.zip bzImage rootfs.squashfs /usr/lib/syslinux/mbr.bin
|
||||||
zip --junk-paths $@ packages.zip /usr/lib/syslinux/mbr.bin install.sh
|
zip --junk-paths $@ packages.zip bzImage rootfs.squashfs /usr/lib/syslinux/mbr.bin install.sh
|
||||||
|
|
||||||
packages.zip: packages bzImage rootfs.squashfs
|
packages.zip: packages
|
||||||
zip --junk-paths $@ bin/*.pkg bzImage rootfs.squashfs
|
zip --junk-paths $@ bin/*.pkg
|
||||||
|
|
||||||
clean: packages-clean
|
clean: packages-clean
|
||||||
rm -rf $(BUILD) $(TARGET) $(BIN)
|
rm -rf $(BUILD) $(TARGET) $(BIN)
|
||||||
|
|
11
install.sh
11
install.sh
|
@ -8,12 +8,14 @@ if ! [ -b "$DRIVE" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
size=$(sfdisk -s $DRIVE)
|
||||||
|
fatsize=$(expr $size \* 95 / 100)
|
||||||
|
|
||||||
FATFS=${DRIVE}1
|
FATFS=${DRIVE}1
|
||||||
EXTFS=${DRIVE}2
|
EXTFS=${DRIVE}2
|
||||||
|
|
||||||
sfdisk $DRIVE <<EOF
|
sfdisk -uB $DRIVE <<EOF
|
||||||
0,60,6,*
|
,$fatsize,6,*
|
||||||
,,L
|
,,L
|
||||||
EOF
|
EOF
|
||||||
sync
|
sync
|
||||||
|
@ -38,6 +40,11 @@ DEFAULT ctf
|
||||||
LABEL ctf
|
LABEL ctf
|
||||||
KERNEL bzImage
|
KERNEL bzImage
|
||||||
INITRD dbtl.squashfs
|
INITRD dbtl.squashfs
|
||||||
|
|
||||||
|
LABEL dbtl
|
||||||
|
KERNEL bzImage
|
||||||
|
INITRD dbtl.squashfs
|
||||||
|
APPEND packages=disabled
|
||||||
EOD
|
EOD
|
||||||
|
|
||||||
cp $(basename $0)/../bin/*.pkg /mnt/ctf-install
|
cp $(basename $0)/../bin/*.pkg /mnt/ctf-install
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
shuf -n 2 /usr/share/dict/words | while read word; do
|
||||||
|
echo -n "$word "
|
||||||
|
done
|
||||||
|
echo
|
|
@ -1 +1,2 @@
|
||||||
21 22 25 2a 31 3a _
|
32 33 35 38 3c 41 _ _
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
45
|
47 4e
|
||||||
|
47 4E
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Geometric sequence in hex
|
f(n) = 0x32 + f(n-1) + n
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0000 0001 0011 0010 0110 0111 _
|
45 60 b1 a4 7d _ _
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
0101
|
A9 8C
|
||||||
|
a9 8c
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Gray sequence (really awful puzzle)
|
f(n) = f(n-1) + 3^n
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
04 aa 12 7f 99 03 ed c1 22 __ dc be e1 45 94
|
|
|
@ -1 +0,0 @@
|
||||||
05
|
|
|
@ -0,0 +1 @@
|
||||||
|
04 72 6f 61 64 03 6a 61 dc __ 43 72 6f 77 21 __ 41 6c 62 75 71 75 65 72 71 75 65
|
|
@ -0,0 +1 @@
|
||||||
|
05 09
|
Loading…
Reference in New Issue