This file contains hidden or 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
| # MultiBoot USB with Grub2 | |
| # http://forums.kali.org/showthread.php?1025-Grub2-Loop-Boot-Solution | |
| # http://gist.github.com/Thermionix/1840478 | |
| # http://www.circuidipity.com/multi-boot-usb.html | |
| # http://www.panticz.de/MultiBootUSB | |
| # Config for GNU GRand Unified Bootloader (GRUB) | |
| # /boot/grub/grub.cfg | |
| insmod font |
This file contains hidden or 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
| var cv = document.getElementById('cv'); | |
| var c = cv.getContext('2d'); | |
| var txtDiv = document.getElementById('txt'); | |
| var fileBtn = document.getElementById("up-button"); | |
| var img = new Image(); | |
| img.src = 'a.jpg'; | |
| img.onload = init; // 图片加载完开始转换 | |
| fileBtn.onchange = getImg; | |
| // 根据灰度生成相应字符 |