diff --git a/src/hi/cmds.sh b/src/hi/cmds.sh deleted file mode 100644 index ecf37327..00000000 --- a/src/hi/cmds.sh +++ /dev/null @@ -1,411 +0,0 @@ -[ -[[ -bc -expr -test -true -false -printf -clear -echo -time -flock -getopt -script -scriptreplay -usleep -sleep -timeout -nohup -xargs -tee -env -printenv -tty -stty -busybox -add-shell -remove-shell -ash -sh - -ps -top -watch -pidof -pstree -renice -nice -setsid -setuidgid -kill -pkill -pgrep -killall -killall5 -free -lsof -fuser - -ls -ln -cp -mv -rm -rmdir -mkdir -mknod -mktemp -mkfifo -touch -truncate -link -unlink -readlink -stat -pwd -dirname -basename - -vi -ed -tr -wc -od -seq -factor -cat -tac -rev -cut -sed -awk -cmp -comm -head -tail -more -less -sort -diff -fold -uniq -paste -split -ascii -expand -unexpand -xxd -hexdump -hexedit -strings -patch -sum -crc32 -base32 -base64 -md5sum -sha1sum -sha3sum -sha256sum -sha512sum -uudecode -uuencode -dos2unix -unix2dos - -df -du -dd -hd -cpio -find -grep -egrep -fgrep -fsync -cksum -eject -mount -umount -mountpoint -findfs -mkdosfs -fdisk -mke2fs -fsck -fsfreeze -fsck.minix -freeramdisk -mkfs.ext2 -mkfs.minix -mkfs.vfat -chattr -iostat -xz -xzcat -bzcat -zcat -unzip -bzip2 -bunzip2 -gunzip -gzip -unxz -arch -tar -ar - -ifconfig -ifdown -ifup -arp -arping -ping -ping6 -traceroute -traceroute6 -route -ntpd -dnsd -dnsdomainname -nslookup -ipaddr -ip -nc -netstat -hostname -telnetd -telnet -whois -tftp -tftpd -ftpd -ftpget -ftpput -wget - -blkdiscard -blkid -chat -blockdev - -id -adduser -addgroup -delgroup -deluser -passwd -chpasswd -whoami -groups -users -su -w -who -last -login -logname -sendmail -mesg -chown -chgrp -chmod -getty - -beep -init -halt -reboot -runlevel -adjtimex -hwclock -uptime -logger -dmesg -syslogd -sysctl -chroot -crond -crontab -lsmod -rmmod -insmod -depmod -modinfo -modprobe -cal -date -uname -which -man - -acpid -bootchartd -brctl -chpst -chrt -chvt -conspy -cryptpw -cttyhack -dc -deallocvt -devmem -dhcprelay -dpkg -dpkg-deb -dumpkmap -dumpleases -envdir -envuidgid -ether-wake -fakeidentd -fallocate -fatattr -fbset -fbsplash -fdflush -fdformat -fgconsole -fstrim -getconf -hdparm -hostid -httpd -hush -i2cdetect -i2cdump -i2cget -i2cset -i2ctransfer -ifenslave -ifplugd -inetd -install -ionice -ipcalc -ipcrm -ipcs -iplink -ipneigh -iproute -iprule -iptunnel -kbd_mode -klogd -linux32 -linux64 -linuxrc -loadfont -loadkmap -logread -losetup -lpd -lpq -lpr -lsattr -lspci -lsscsi -lsusb -lzcat -lzma -lzop -makedevs -makemime -mdev -microcom -mim -mkpasswd -mkswap -mpstat -mt -nameif -nanddump -nandwrite -nbd-client -nl -nmeter -nologin -nproc -nsenter -openvt -partprobe -pipe_progress -pivot_root -pmap -popmaildir -poweroff -powertop -pscan -pwdx -raidautorun -rdate -rdev -readahead -readprofile -realpath -reformime -reset -resize -resume -rpm -rpm2cpio -rtcwake -run-init -run-parts -runsv -runsvdir -rx -setarch -setconsole -setfattr -setfont -setkeycodes -setlogcons -setpriv -setserial -showkey -shred -shuf -slattach -smemcap -softlimit -ssl_client -start-stop-daemon -sulogin -sv -svc -svlogd -svok -swapoff -swapon -switch_root -sync -taskset -tc -tcpsvd -ts -ttysize -tunctl -ubiattach -ubidetach -ubimkvol -ubirename -ubirmvol -ubirsvol -ubiupdatevol -udhcpc -udhcpc6 -udhcpd -udpsvd -uevent -unlzma -unshare -vconfig -vlock -volname -wall -watchdog -yes -zcip diff --git a/src/hi/he.js b/src/hi/he.js deleted file mode 100644 index 0fd2a5ef..00000000 --- a/src/hi/he.js +++ /dev/null @@ -1,22 +0,0 @@ -Volcanos(chat.ONIMPORT, {_init: function(can, msg) { - function degToRad(n) { return n * 2 * Math.PI / 360 } - function drawFill(ctx, cb) { ctx.beginPath(), cb(), ctx.fill() } - var ctx = can.page.Append(can, can._output, [{type: html.CANVAS, height: can.ConfHeight(), width: can.ConfWidth()}])._target.getContext("2d") - drawFill(ctx, function() { - ctx.strokeStyle = "red" - ctx.fillStyle = "green" - ctx.lineWidth = 2 - ctx.fillRect(0, 0, 200, 200) - ctx.moveTo(200, 200), ctx.arc(200, 200, 100, degToRad(-45), degToRad(90), false), ctx.lineTo(200, 200) - can.misc.Debug("what", 123) - - ctx.strokeStyle = "white" - ctx.lineWidth = 2 - ctx.font = "36px arial" - ctx.strokeText("Canvas text", 50, 50) - - ctx.fillStyle = "red" - ctx.font = "48px georgia" - ctx.fillText("Canvas text", 50, 150) - }) -}}) diff --git a/src/hi/he.sh b/src/hi/he.sh deleted file mode 100755 index 7fea5e14..00000000 --- a/src/hi/he.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -show() { - echo "$SHELL $TERM $PWD $HOME" - echo "hello world $content $@" - ish_sys_path_list -} -show diff --git a/src/hi/hi.css b/src/hi/hi.css deleted file mode 100644 index aaffedc9..00000000 --- a/src/hi/hi.css +++ /dev/null @@ -1,3 +0,0 @@ -p { - color: red; -} \ No newline at end of file diff --git a/src/hi/hi.go b/src/hi/hi.go deleted file mode 100644 index a9360db3..00000000 --- a/src/hi/hi.go +++ /dev/null @@ -1,26 +0,0 @@ -package hi - -import ( - "shylinux.com/x/ice" - "shylinux.com/x/icebergs/base/ctx" -) - -type hi struct { - ice.Zone - - list string `name:"list zone id auto insert" help:"示例"` -} - -func (s hi) Show(m *ice.Message, arg ...string) { - m.Echo("hello world").StatusTime() -} - -func (s hi) List(m *ice.Message, arg ...string) { - // ctx.Display(m, "hi.js") - // ctx.Display(m, "/require/shylinux.com/x/contexts@v2.9.2/src/hi/hi.js") - // ctx.Display(m, "http://localhost:9020/require/shylinux.com/x/contexts@v2.9.2/src/hi/hi.js") - ctx.Display(m, "https://shylinux.com/x/contexts@v2.9.2/src/hi/hi.js?content=what") - s.Zone.ListPage(m, arg...) -} - -func init() { ice.Cmd("web.code.hi.hi", hi{}) } diff --git a/src/hi/hi.html b/src/hi/hi.html deleted file mode 100644 index 954ac0d2..00000000 --- a/src/hi/hi.html +++ /dev/null @@ -1,125 +0,0 @@ - - -
- - - - - - - - - - - - - - - - -hello world
- hello world - hello world - hello world - hello world - hello world - baidu - contacts -hello world-
hello world- hello world - hello world -
- package main
- func init() {
- println("hello world")
- }
-
- msgCtrl+V
- hello world
-
- hello world
-
-
- he | -hi | -he | -||
---|---|---|---|---|
he | -he | -he | -||
hi | -hi | -he | -he | -he | -
hi | -he | -he | -he | -