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
有时候debian或ubuntu增加了ssh公钥后不生效,是因为文件权限问题,用这个命令解决: | |
chmod 600 $HOME/.ssh/authorized_keys |
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
sort mac_data_xianmian.txt > sort_mac_data_xianmian_1.txt | |
tr 'a-z' 'A-Z' < sort_mac_data_xianmian_1.txt | cat > sort_xianmian_1.txt | |
comm -12 sort_mac_data.txt sort_xianmian_1.txt | cat > rs_xianmian_1.txt |
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
http://blog.csdn.net/jiangbo_hit/article/details/6952151 | |
$ hdiutil convert -format UDRW -o /path/to/generate/img/file /path/to/your/iso/file #将iso转换为img.dmg文件 | |
$ diskutil list #查看USB的盘符 | |
$ diskutil unmountDisk /dev/diskN #卸载USB磁盘 | |
$ sudo dd if=ubuntu.img.dmg of=/dev/diskN bs=1m #将镜像写入USB | |
$ diskutil eject /dev/diskN #弹出USB |
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
root@YesRouter:~# df -h | |
Filesystem Size Used Available Use% Mounted on | |
rootfs 3.5M 320.0K 3.2M 9% / | |
/dev/root 3.5M 3.5M 0 100% /rom | |
tmpfs 30.0M 576.0K 29.5M 2% /tmp | |
/dev/mtdblock3 3.5M 320.0K 3.2M 9% /overlay | |
overlayfs:/overlay 3.5M 320.0K 3.2M 9% / | |
tmpfs 512.0K 0 512.0K 0% /dev |
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
<div id="app"> | |
<v-app id="sandbox" :dark="dark"> | |
<v-navigation-drawer | |
v-model="primaryDrawer.model" | |
:permanent="primaryDrawer.type === 'permanent'" | |
:temporary="primaryDrawer.type === 'temporary'" | |
:clipped="primaryDrawer.clipped" | |
:floating="primaryDrawer.floating" | |
:mini-variant="primaryDrawer.mini" | |
absolute |