Skip to content

Instantly share code, notes, and snippets.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.10.25 23:56:35 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.01 21:26:53 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
13:19:23[0]root@sh4twbox ~ # mount /dev/sda1 /mnt/sda1
13:19:28[0]root@sh4twbox ~ # mount /dev/sdb2 /mnt/sdb2
13:19:41[0]root@sh4twbox ~ # du -hs /mnt/sdb2
537.2M /mnt/sdb2
13:19:51[0]root@sh4twbox ~ #
13:19:51[0]root@sh4twbox ~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/sda1 14.9G 7.3M 14.9G 0% /mnt/sda1
/dev/sdb2 7.3G 681.9M 6.3G 10% /mnt/sdb2
13:20:16[0]root@sh4twbox ~ #
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.20 21:29:49 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.21 00:06:38 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.22 17:29:25 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.22 18:03:10 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
@fuyuanli
fuyuanli / gist:8718411
Last active August 29, 2015 13:55
reset還原xbmc失敗
Factory reset mode
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
942848 inodes, 1882520 blocks
37650 blocks (2.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1929379840
NextVOD:~# cat /proc/meminfo
MemTotal: 83436 kB
MemFree: 69900 kB
Buffers: 72 kB
Cached: 1548 kB
SwapCached: 0 kB
Active: 2304 kB
Inactive: 680 kB
Active(anon): 1348 kB
Inactive(anon): 0 kB
@fuyuanli
fuyuanli / a003
Created June 28, 2014 16:52
a003
#include<iostream>
using namespace std;
int main()
{
int M,D,S;
while(cin>>M>>D){
S=(M*2+D)%3;
if(S==0){
cout<<"\n"<<"普通\n";