'웹페이지'에 해당되는 글 1건

라즈베리파이를 이용하여 이것저것 해볼 때 터미털 창에 표시되는 명령어 또는 출력물들을 웹페이지에 넣어야 한다. 스크린 캡처는 보는 것은 좋지만, COPY & PASTE는 할 수 없고 텍스트만 넣으면 그 반대의 상황이 된다. 

 

이럴 땐 자바스크립트(with jQuery & CSS)로 만들어진  -> CSSTerm <-를 이용하면 된다.

$ uname -a Linux ThinkPad-X230.localdomain 3.9.6-301.fc19.x86_64 #1 SMP Mon Jun 17 14:26:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux # dmesg | grep sd [135587.413741] sd 27:0:0:0: Attached scsi generic sg1 type 0 [135587.416697] sd 27:0:0:0: [sdb] 2007040 512-byte logical blocks: (1.02 GB/980 MiB) [135587.418130] sd 27:0:0:0: [sdb] Write Protect is off [135587.418140] sd 27:0:0:0: [sdb] Mode Sense: 03 00 00 00 [135587.418944] sd 27:0:0:0: [sdb] No Caching mode page present [135587.418947] sd 27:0:0:0: [sdb] Assuming drive cache: write through [135587.423205] sd 27:0:0:0: [sdb] No Caching mode page present [135587.423211] sd 27:0:0:0: [sdb] Assuming drive cache: write through [135587.424119] sdb: sdb1 sdb2 [135587.428088] sd 27:0:0:0: [sdb] No Caching mode page present [135587.428094] sd 27:0:0:0: [sdb] Assuming drive cache: write through [135587.428098] sd 27:0:0:0: [sdb] Attached SCSI removable disk [135588.336077] SELinux: initialized (dev sdb1, type iso9660), uses genfs_contexts # mkfs.ext4 /dev/sdb1 mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 245280 inodes, 979456 blocks 48972 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=1006632960 30 block groups 32768 blocks per group, 32768 fragments per group 8176 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 20 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.

 

설치 가이드를 보면 <head></head> 안에 css와 js를 코드를 넣고, 관련 파일을 복사한 후에 사용하면 된다. 하지만 가이드처럼 티스토리에 적용을 하려고 하니, 적용이 되지 않았다.

 

'나 자바스크립트 잘 모르고, jQuery도 모르는데 ㅠㅠ'

 

관련 파일들이 로드되면서 충돌이 있는 거 같다. 그래서 필요한 속성들을 사용할 수가 없다. 그래서 <head></head> 부분이 아닌 마지막 부분에 필요한 코드를 넣었더니 잘 동작하였다.

 

p.s 이보다 좋은 해결 방법이 있다면 댓글로 알려 주세요. ^^/

 

반응형
블로그 이미지

두리뭉실:해피파인더그룹

컴퓨터 코치 두리뭉실

,