'분류 전체보기'에 해당되는 글 471건

  1. 2014.10.07 MIME타입
  2. 2014.10.02 수영강습 1day째 오늘 포인트
  3. 2014.09.22 수영 배워볼까?
  4. 2014.09.22 SKY TV, H.264 채널 시청 예제
  5. 2014.09.22 [펌] Vista/7/8에서 MAC 주소 변경(Clone) 하는 방법
  6. 2014.09.22 안드로이드 Tasker앱를 이용한 갤s3 운전모드 on/off
  7. 2014.09.11 맥 OS X 화면공유(VNC)서비스 커맨드 창에서 활성화하기
  8. 2014.09.05 모의해킹 시 유용한 크롬 플러그인
  9. 2014.09.04 크롬 URL 리스트(Chrome URLs)
  10. 2014.09.04 Selenium에서 파일 다운로드 - 열기선택 팝업
  11. 2014.08.19 크롬 앱중에 분명히 스토어에 있는데 검색이 안되는 앱들은 뭘까....
  12. 2014.06.11 ALM(Application LifeCycle Management) 위한 소프트웨어
  13. 2014.06.05 맥에서 root 패스워드 설정하기
  14. 2014.05.30 VMware VIX API / vmrun 을 이용해서 vmware이미지를 커맨드라인이나 원격으로 제어하기
  15. 2014.05.28 구글 간편 검색기
  16. 2014.05.27 Doxygen 기본 설정법
  17. 2014.05.27 명령어(wevtutil.exe)를 사용하여 윈도우 이벤트 로그 지우는 방법
  18. 2014.05.23 NutchTutorial
  19. 2014.05.20 win-get(windows-get / 윈도우에서 apt-get 대체 프로그램)
  20. 2014.05.20 Python 추천 라이브러리
  21. 2014.05.19 BRUTE FORCE 사전공격 단어리스트
  22. 2014.05.15 HtmlUnit 사용하기
  23. 2014.05.12 Htmlunit 을 이용한 Facebook 로그인, 글 등록 구현
  24. 2014.05.12 Controller 영역인 브라우저에서의 단위테스트를 위한 HtmlUnit 사용하기
  25. 2014.05.02 나눔 웹폰트 적용하기
  26. 2014.04.11 [HTML] href 와 src 의 차이?
  27. 2014.04.09 JSON
  28. 2014.04.07 [펌자료] "웹을 지탱하는 기술" 내용정리
  29. 2014.04.07 x86기반 오픈소스 PC, ‘기즈모스피어’
  30. 2014.03.31 USB 메모리 초기화 방법 윈도우 CMD창 활용


List of MIME types / Internet Media Types


NameMIME Type / Internet Media TypeFile ExtensionMore Details
3D Crossword Pluginapplication/vnd.hzn-3d-crossword.x3dIANA: 3D Crossword Plugin
3GPvideo/3gpp.3gpWikipedia: 3GP
3GP2video/3gpp2.3g2Wikipedia: 3G2
3GPP MSEQ Fileapplication/vnd.mseq.mseqIANA: 3GPP MSEQ File
3M Post It Notesapplication/vnd.3m.post-it-notes.pwnIANA: 3M Post It Notes
3rd Generation Partnership Project - Pic Largeapplication/vnd.3gpp.pic-bw-large.plb3GPP
3rd Generation Partnership Project - Pic Smallapplication/vnd.3gpp.pic-bw-small.psb3GPP
3rd Generation Partnership Project - Pic Varapplication/vnd.3gpp.pic-bw-var.pvb3GPP
3rd Generation Partnership Project - Transaction Capabilities Application Partapplication/vnd.3gpp2.tcap.tcap3GPP
7-Zipapplication/x-7z-compressed.7zWikipedia: 7-Zip
AbiWordapplication/x-abiword.abwWikipedia: AbiWord
Ace Archiveapplication/x-ace-compressed.aceWikipedia: ACE
Active Content Compressionapplication/vnd.americandynamics.acc.accIANA: Active Content Compression
ACU Cobolapplication/vnd.acucobol.acuIANA: ACU Cobol
ACU Cobolapplication/vnd.acucorp.atcIANA: ACU Cobol
Adaptive differential pulse-code modulationaudio/adpcm.adpWikipedia: ADPCM
Adobe (Macropedia) Authorware - Binary Fileapplication/x-authorware-bin.aabWikipedia: Authorware
Adobe (Macropedia) Authorware - Mapapplication/x-authorware-map.aamWikipedia: Authorware
Adobe (Macropedia) Authorware - Segment Fileapplication/x-authorware-seg.aasWikipedia: Authorware
Adobe AIR Applicationapplication/vnd.adobe.air-application-installer-package+zip.airBuilding AIR Applications
Adobe Flashapplication/x-shockwave-flash.swfWikipedia: Adobe Flash
Adobe Flex Projectapplication/vnd.adobe.fxp.fxpIANA: Adobe Flex Project
Adobe Portable Document Formatapplication/pdf.pdfAdobe PDF
Adobe PostScript Printer Description File Formatapplication/vnd.cups-ppd.ppdIANA: Cups
Adobe Shockwave Playerapplication/x-director.dirWikipedia: Adobe Shockwave Player
Adobe XML Data Packageapplication/vnd.adobe.xdp+xml.xdpWikipedia: XML Data Package
Adobe XML Forms Data Formatapplication/vnd.adobe.xfdf.xfdfWikipedia: XML Portable Document Format
Advanced Audio Coding (AAC)audio/x-aac.aacWikipedia: AAC
Ahead AIR Applicationapplication/vnd.ahead.space.aheadIANA: Ahead AIR Application
AirZip FileSECUREapplication/vnd.airzip.filesecure.azf.azfIANA: AirZip
AirZip FileSECUREapplication/vnd.airzip.filesecure.azs.azsIANA: AirZip
Amazon Kindle eBook formatapplication/vnd.amazon.ebook.azwKindle Direct Publishing
AmigaDEapplication/vnd.amiga.ami.amiIANA: Amiga
Andrew Toolkitapplication/andrew-insetN/AIANA - Andrew Inset
Android Package Archiveapplication/vnd.android.package-archive.apkWikipedia: APK File Format
ANSER-WEB Terminal Client - Certificate Issueapplication/vnd.anser-web-certificate-issue-initiation.ciiIANA: ANSWER-WEB
ANSER-WEB Terminal Client - Web Funds Transferapplication/vnd.anser-web-funds-transfer-initiation.ftiIANA: ANSWER-WEB
Antix Game Playerapplication/vnd.antix.game-component.atxIANA: Antix Game Component
Apple Installer Packageapplication/vnd.apple.installer+xml.mpkgIANA: Apple Installer
Applixwareapplication/applixware.awVistasource
Archipelago Lesson Playerapplication/vnd.hhe.lesson-player.lesIANA: Archipelago Lesson Player
Arista Networks Software Imageapplication/vnd.aristanetworks.swi.swiIANA: Arista Networks Software Image
Assembler Source Filetext/x-asm.sWikipedia: Assembly
Atom Publishing Protocolapplication/atomcat+xml.atomcatRFC 5023
Atom Publishing Protocol Service Documentapplication/atomsvc+xml.atomsvcRFC 5023
Atom Syndication Formatapplication/atom+xml.atom, .xmlRFC 4287
Attribute Certificateapplication/pkix-attr-cert.acRFC 5877
Audio Interchange File Formataudio/x-aiff.aifWikipedia: Audio Interchange File Format
Audio Video Interleave (AVI)video/x-msvideo.aviWikipedia: AVI
Audiographapplication/vnd.audiograph.aepIANA: Audiograph
AutoCAD DXFimage/vnd.dxf.dxfWikipedia: AutoCAD DXF
Autodesk Design Web Format (DWF)model/vnd.dwf.dwfWikipedia: Design Web Format
BAS Partitur Formattext/plain-bas.parPhonetik BAS
Binary CPIO Archiveapplication/x-bcpio.bcpioWikipedia: cpio
Binary Dataapplication/octet-stream.bin
Bitmap Image Fileimage/bmp.bmpWikipedia: BMP File Format
BitTorrentapplication/x-bittorrent.torrentWikipedia: BitTorrent
Blackberry COD Fileapplication/vnd.rim.cod.cod
Blueice Research Multipassapplication/vnd.blueice.multipass.mpmIANA: Multipass
BMI Drawing Data Interchangeapplication/vnd.bmi.bmiIANA: BMI
Bourne Shell Scriptapplication/x-sh.shWikipedia: Bourne Shell
BTIFimage/prs.btif.btifIANA: BTIF
BusinessObjectsapplication/vnd.businessobjects.repIANA: BusinessObjects
Bzip Archiveapplication/x-bzip.bzWikipedia: Bzip
Bzip2 Archiveapplication/x-bzip2.bz2Wikipedia: Bzip
C Shell Scriptapplication/x-csh.cshWikipedia: C Shell
C Source Filetext/x-c.cWikipedia: C Programming Language
CambridgeSoft Chem Drawapplication/vnd.chemdraw+xml.cdxmlIANA: Chem Draw
Cascading Style Sheets (CSS)text/css.cssWikipedia: CSS
ChemDraw eXchange filechemical/x-cdx.cdxChemDraw eXchange file
Chemical Markup Languagechemical/x-cml.cmlWikipedia: Chemical Markup Language
Chemical Style Markup Languagechemical/x-csml.csmlWikipedia: Chemical Style Markup Language
CIM Databaseapplication/vnd.contact.cmsg.cdbcmsgIANA: CIM Database
Claymore Data Filesapplication/vnd.claymore.claIANA: Claymore
Clonk Gameapplication/vnd.clonk.c4group.c4gIANA: Clonk
Close Captioning - Subtitleimage/vnd.dvb.subtitle.subWikipedia: Closed Captioning
Cloud Data Management Interface (CDMI) - Capabilityapplication/cdmi-capability.cdmiaRFC 6208
Cloud Data Management Interface (CDMI) - Contaimerapplication/cdmi-container.cdmicRFC 6209
Cloud Data Management Interface (CDMI) - Domainapplication/cdmi-domain.cdmidRFC 6210
Cloud Data Management Interface (CDMI) - Objectapplication/cdmi-object.cdmioRFC 6211
Cloud Data Management Interface (CDMI) - Queueapplication/cdmi-queue.cdmiqRFC 6212
ClueTrust CartoMobile - Configapplication/vnd.cluetrust.cartomobile-config.c11amcIANA: CartoMobile
ClueTrust CartoMobile - Config Packageapplication/vnd.cluetrust.cartomobile-config-pkg.c11amzIANA: CartoMobile
CMU Imageimage/x-cmu-raster.ras
COLLADAmodel/vnd.collada+xml.daeIANA: COLLADA
Comma-Seperated Valuestext/csv.csvWikipedia: CSV
Compact Proapplication/mac-compactpro.cptCompact Pro
Compiled Wireless Markup Language (WMLC)application/vnd.wap.wmlc.wmlcIANA: WMLC
Computer Graphics Metafileimage/cgm.cgmWikipedia: Computer Graphics Metafile
CoolTalkx-conference/x-cooltalk.iceWikipedia: CoolTalk
Corel Metafile Exchange (CMX)image/x-cmx.cmxWikipedia: CorelDRAW
CorelXARAapplication/vnd.xara.xarIANA: CorelXARA
CosmoCallerapplication/vnd.cosmocaller.cmcIANA: CosmoCaller
CPIO Archiveapplication/x-cpio.cpioWikipedia: cpio
CrickSoftware - Clickerapplication/vnd.crick.clicker.clkxIANA: Clicker
CrickSoftware - Clicker - Keyboardapplication/vnd.crick.clicker.keyboard.clkkIANA: Clicker
CrickSoftware - Clicker - Paletteapplication/vnd.crick.clicker.palette.clkpIANA: Clicker
CrickSoftware - Clicker - Templateapplication/vnd.crick.clicker.template.clktIANA: Clicker
CrickSoftware - Clicker - Wordbankapplication/vnd.crick.clicker.wordbank.clkwIANA: Clicker
Critical Tools - PERT Chart EXPERTapplication/vnd.criticaltools.wbs+xml.wbsIANA: Critical Tools
CryptoNoteapplication/vnd.rig.cryptonote.cryptonoteIANA: CryptoNote
Crystallographic Interchange Formatchemical/x-cif.cifCrystallographic Interchange Format
CrystalMaker Data Formatchemical/x-cmdf.cmdfCrystalMaker Data Format
CU-SeeMeapplication/cu-seeme.cuWhite Pine
CU-Writerapplication/prs.cww.cww
Curl - Applettext/vnd.curl.curlCurl Applet
Curl - Detached Applettext/vnd.curl.dcurl.dcurlCurl Detached Applet
Curl - Manifest Filetext/vnd.curl.mcurl.mcurlCurl Manifest File
Curl - Source Codetext/vnd.curl.scurl.scurlCurl Source Code
CURL Appletapplication/vnd.curl.car.carIANA: CURL Applet
CURL Appletapplication/vnd.curl.pcurl.pcurlIANA: CURL Applet
CustomMenuapplication/vnd.yellowriver-custom-menu.cmpIANA: CustomMenu
Data Structure for the Security Suitability of Cryptographic Algorithmsapplication/dssc+der.dsscRFC 5698
Data Structure for the Security Suitability of Cryptographic Algorithmsapplication/dssc+xml.xdsscRFC 5698
Debian Packageapplication/x-debian-package.debWikipedia: Debian Package
DECE Audioaudio/vnd.dece.audio.uvaIANA: Dece Audio
DECE Graphicimage/vnd.dece.graphic.uviIANA: DECE Graphic
DECE High Definition Videovideo/vnd.dece.hd.uvhIANA: DECE HD Video
DECE Mobile Videovideo/vnd.dece.mobile.uvmIANA: DECE Mobile Video
DECE MP4video/vnd.uvvu.mp4.uvuIANA: DECE MP4
DECE PD Videovideo/vnd.dece.pd.uvpIANA: DECE PD Video
DECE SD Videovideo/vnd.dece.sd.uvsIANA: DECE SD Video
DECE Videovideo/vnd.dece.video.uvvIANA: DECE Video
Device Independent File Format (DVI)application/x-dvi.dviWikipedia: DVI
Digital Siesmograph Networks - SEED Datafilesapplication/vnd.fdsn.seed.seedIANA: SEED
Digital Talking Bookapplication/x-dtbook+xml.dtbWikipedia: EPUB
Digital Talking Book - Resource Fileapplication/x-dtbresource+xml.resDigital Talking Book
Digital Video Broadcastingapplication/vnd.dvb.ait.aitIANA: Digital Video Broadcasting
Digital Video Broadcastingapplication/vnd.dvb.service.svcIANA: Digital Video Broadcasting
Digital Winds Musicaudio/vnd.digital-winds.eolIANA: Digital Winds
DjVuimage/vnd.djvu.djvuWikipedia: DjVu
Document Type Definitionapplication/xml-dtd.dtdW3C DTD
Dolby Meridian Lossless Packingapplication/vnd.dolby.mlp.mlpIANA: Dolby Meridian Lossless Packing
Doom Video Gameapplication/x-doom.wadWikipedia: Doom WAD
DPGraphapplication/vnd.dpgraph.dpgIANA: DPGraph
DRA Audioaudio/vnd.dra.draIANA: DRA
DreamFactoryapplication/vnd.dreamfactory.dfacIANA: DreamFactory
DTS Audioaudio/vnd.dts.dtsIANA: DTS
DTS High Definition Audioaudio/vnd.dts.hd.dtshdIANA: DTS HD
DWG Drawingimage/vnd.dwg.dwgWikipedia: DWG
DynaGeoapplication/vnd.dynageo.geoIANA: DynaGeo
ECMAScriptapplication/ecmascript.esECMA-357
EcoWin Chartapplication/vnd.ecowin.chart.magIANA: EcoWin Chart
EDMICS 2000image/vnd.fujixerox.edmics-mmr.mmrIANA: EDMICS 2000
EDMICS 2000image/vnd.fujixerox.edmics-rlc.rlcIANA: EDMICS 2000
Efficient XML Interchangeapplication/exi.exiEfficient XML Interchange (EXI) Best Practices
EFI Proteusapplication/vnd.proteus.magazine.mgzIANA: EFI Proteus
Electronic Publicationapplication/epub+zip.epubWikipedia: EPUB
Email Messagemessage/rfc822.emlRFC 2822
Enliven Viewerapplication/vnd.enliven.nmlIANA: Enliven Viewer
Express by Infoseekapplication/vnd.is-xpr.xprIANA: Express by Infoseek
eXtended Image File Format (XIFF)image/vnd.xiff.xifIANA: XIFF
Extensible Forms Description Languageapplication/vnd.xfdl.xfdlIANA: Extensible Forms Description Language
Extensible MultiModal Annotationapplication/emma+xml.emmaEMMA: Extensible MultiModal Annotation markup language
EZPix Secure Photo Albumapplication/vnd.ezpix-album.ez2IANA: EZPix Secure Photo Album
EZPix Secure Photo Albumapplication/vnd.ezpix-package.ez3IANA: EZPix Secure Photo Album
FAST Search & Transfer ASAimage/vnd.fst.fstIANA: FAST Search & Transfer ASA
FAST Search & Transfer ASAvideo/vnd.fvt.fvtIANA: FVT
FastBid Sheetimage/vnd.fastbidsheet.fbsIANA: FastBid Sheet
FCS Express Layout Linkapplication/vnd.denovo.fcselayout-link.fe_launchIANA: FCS Express Layout Link
Flash Videovideo/x-f4v.f4vWikipedia: Flash Video
Flash Videovideo/x-flv.flvWikipedia: Flash Video
FlashPiximage/vnd.fpx.fpxIANA: FPX
FlashPiximage/vnd.net-fpx.npxIANA: FPX
FLEXSTORtext/vnd.fmi.flexstor.flxIANA: FLEXSTOR
FLI/FLC Animation Formatvideo/x-fli.fliFLI/FLC Animation Format
FluxTime Clipapplication/vnd.fluxtime.clip.ftcIANA: FluxTime Clip
Forms Data Formatapplication/vnd.fdf.fdfIANA: Forms Data Format
Fortran Source Filetext/x-fortran.fWikipedia: Fortran
FrameMaker Interchange Formatapplication/vnd.mif.mifIANA: FrameMaker Interchange Format
FrameMaker Normal Formatapplication/vnd.framemaker.fmIANA: FrameMaker
FreeHand MXimage/x-freehand.fhWikipedia: Macromedia Freehand
Friendly Software Corporationapplication/vnd.fsc.weblaunch.fscIANA: Friendly Software Corporation
Frogans Playerapplication/vnd.frogans.fnc.fncIANA: Frogans Player
Frogans Playerapplication/vnd.frogans.ltf.ltfIANA: Frogans Player
Fujitsu - Xerox 2D CAD Dataapplication/vnd.fujixerox.ddd.dddIANA: Fujitsu DDD
Fujitsu - Xerox DocuWorksapplication/vnd.fujixerox.docuworks.xdwIANA: Docuworks
Fujitsu - Xerox DocuWorks Binderapplication/vnd.fujixerox.docuworks.binder.xbdIANA: Docuworks Binder
Fujitsu Oasysapplication/vnd.fujitsu.oasys.oasIANA: Fujitsu Oasys
Fujitsu Oasysapplication/vnd.fujitsu.oasys2.oa2IANA: Fujitsu Oasys
Fujitsu Oasysapplication/vnd.fujitsu.oasys3.oa3IANA: Fujitsu Oasys
Fujitsu Oasysapplication/vnd.fujitsu.oasysgp.fg5IANA: Fujitsu Oasys
Fujitsu Oasysapplication/vnd.fujitsu.oasysprs.bh2IANA: Fujitsu Oasys
FutureSplash Animatorapplication/x-futuresplash.splWikipedia: FutureSplash Animator
FuzzySheetapplication/vnd.fuzzysheet.fzsIANA: FuzySheet
G3 Fax Imageimage/g3fax.g3Wikipedia: G3 Fax Image
GameMaker ActiveXapplication/vnd.gmx.gmxIANA: GameMaker ActiveX
Gen-Trix Studiomodel/vnd.gtw.gtwIANA: GTW
Genomatix Tuxedo Frameworkapplication/vnd.genomatix.tuxedo.txdIANA: Genomatix Tuxedo Framework
GeoGebraapplication/vnd.geogebra.file.ggbIANA: GeoGebra
GeoGebraapplication/vnd.geogebra.tool.ggtIANA: GeoGebra
Geometric Description Language (GDL)model/vnd.gdl.gdlIANA: GDL
GeoMetry Explorerapplication/vnd.geometry-explorer.gexIANA: GeoMetry Explorer
GEONExT and JSXGraphapplication/vnd.geonext.gxtIANA: GEONExT and JSXGraph
GeoplanWapplication/vnd.geoplan.g2wIANA: GeoplanW
GeospacWapplication/vnd.geospace.g3wIANA: GeospacW
Ghostscript Fontapplication/x-font-ghostscript.gsfWikipedia: Ghostscript
Glyph Bitmap Distribution Formatapplication/x-font-bdf.bdfWikipedia: Glyph Bitmap Distribution Format
GNU Tar Filesapplication/x-gtar.gtarGNU Tar
GNU Texinfo Documentapplication/x-texinfo.texinfoWikipedia: Texinfo
Gnumericapplication/x-gnumeric.gnumericWikipedia: Gnumeric
Google Earth - KMLapplication/vnd.google-earth.kml+xml.kmlIANA: Google Earth
Google Earth - Zipped KMLapplication/vnd.google-earth.kmz.kmzIANA: Google Earth
GrafEqapplication/vnd.grafeq.gqfIANA: GrafEq
Graphics Interchange Formatimage/gif.gifWikipedia: Graphics Interchange Format
Graphviztext/vnd.graphviz.gvIANA: Graphviz
Groove - Accountapplication/vnd.groove-account.gacIANA: Groove
Groove - Helpapplication/vnd.groove-help.ghfIANA: Groove
Groove - Identity Messageapplication/vnd.groove-identity-message.gimIANA: Groove
Groove - Injectorapplication/vnd.groove-injector.grvIANA: Groove
Groove - Tool Messageapplication/vnd.groove-tool-message.gtmIANA: Groove
Groove - Tool Templateapplication/vnd.groove-tool-template.tplIANA: Groove
Groove - Vcardapplication/vnd.groove-vcard.vcgIANA: Groove
H.261video/h261.h261Wikipedia: H.261
H.263video/h263.h263Wikipedia: H.263
H.264video/h264.h264Wikipedia: H.264
Hewlett Packard Instant Deliveryapplication/vnd.hp-hpid.hpidIANA: Hewlett Packard Instant Delivery
Hewlett-Packard's WebPrintSmartapplication/vnd.hp-hps.hpsIANA: Hewlett-Packard's WebPrintSmart
Hierarchical Data Formatapplication/x-hdf.hdfWikipedia: Hierarchical Data Format
Hit'n'Mixaudio/vnd.rip.ripIANA: Hit'n'Mix
Homebanking Computer Interface (HBCI)application/vnd.hbci.hbciIANA: HBCI
HP Indigo Digital Press - Job Layout Languateapplication/vnd.hp-jlyt.jltIANA: HP Job Layout Language
HP Printer Command Languageapplication/vnd.hp-pcl.pclIANA: HP Printer Command Language
HP-GL/2 and HP RTLapplication/vnd.hp-hpgl.hpglIANA: HP-GL/2 and HP RTL
HV Scriptapplication/vnd.yamaha.hv-script.hvsIANA: HV Script
HV Voice Dictionaryapplication/vnd.yamaha.hv-dic.hvdIANA: HV Voice Dictionary
HV Voice Parameterapplication/vnd.yamaha.hv-voice.hvpIANA: HV Voice Parameter
Hydrostatix Master Suiteapplication/vnd.hydrostatix.sof-data.sfd-hdstxIANA: Hydrostatix Master Suite
Hyperstudioapplication/hyperstudio.stkIANA - Hyperstudio
Hypertext Application Languageapplication/vnd.hal+xml.halIANA: HAL
HyperText Markup Language (HTML)text/html.htmlWikipedia: HTML
IBM DB2 Rights Managerapplication/vnd.ibm.rights-management.irmIANA: IBM DB2 Rights Manager
IBM Electronic Media Management System - Secure Containerapplication/vnd.ibm.secure-container.scIANA: EMMS
iCalendartext/calendar.icsWikipedia: iCalendar
ICC profileapplication/vnd.iccprofile.iccIANA: ICC profile
Icon Imageimage/x-icon.icoWikipedia: ICO File Format
igLoaderapplication/vnd.igloader.iglIANA: igLoader
Image Exchange Formatimage/ief.iefRFC 1314
ImmerVision PURE Playersapplication/vnd.immervision-ivp.ivpIANA: ImmerVision PURE Players
ImmerVision PURE Playersapplication/vnd.immervision-ivu.ivuIANA: ImmerVision PURE Players
IMS Networksapplication/reginfo+xml.rif
In3D - 3DMLtext/vnd.in3d.3dml.3dmlIANA: In3D
In3D - 3DMLtext/vnd.in3d.spot.spotIANA: In3D
Initial Graphics Exchange Specification (IGES)model/iges.igsWikipedia: IGES
Interactive Geometry Softwareapplication/vnd.intergeo.i2gIANA: Interactive Geometry Software
Interactive Geometry Software Cinderellaapplication/vnd.cinderella.cdyIANA: Cinderella
Intercon FormNetapplication/vnd.intercon.formnet.xpwIANA: Intercon FormNet
International Society for Advancement of Cytometryapplication/vnd.isac.fcs.fcsIANA: International Society for Advancement of Cytometry
Internet Protocol Flow Information Exportapplication/ipfix.ipfixRFC 3917
Internet Public Key Infrastructure - Certificateapplication/pkix-cert.cerRFC 2585
Internet Public Key Infrastructure - Certificate Management Protocoleapplication/pkixcmp.pkiRFC 2585
Internet Public Key Infrastructure - Certificate Revocation Listsapplication/pkix-crl.crlRFC 2585
Internet Public Key Infrastructure - Certification Pathapplication/pkix-pkipath.pkipathRFC 2585
IOCOM Visimeetapplication/vnd.insors.igm.igmIANA: IOCOM Visimeet
IP Unplugged Roaming Clientapplication/vnd.ipunplugged.rcprofile.rcprofileIANA: IP Unplugged Roaming Client
iRepository / Lucidoc Editorapplication/vnd.irepository.package+xml.irpIANA: iRepository / Lucidoc Editor
J2ME App Descriptortext/vnd.sun.j2me.app-descriptor.jadIANA: J2ME App Descriptor
Java Archiveapplication/java-archive.jarWikipedia: JAR file format
Java Bytecode Fileapplication/java-vm.classWikipedia: Java Bytecode
Java Network Launching Protocolapplication/x-java-jnlp-file.jnlpWikipedia: Java Web Start
Java Serialized Objectapplication/java-serialized-object.serJava Serialization API
Java Source Filetext/x-java-source,java.javaWikipedia: Java
JavaScriptapplication/javascript.jsJavaScript
JavaScript Object Notation (JSON)application/json.jsonWikipedia: JSON
Joda Archiveapplication/vnd.joost.joda-archive.jodaIANA: Joda Archive
JPEG 2000 Compound Image File Formatvideo/jpm.jpmIANA: JPM
JPEG Imageimage/jpeg.jpeg, .jpgRFC 1314
JPGVideovideo/jpeg.jpgvRFC 3555
Kahootzapplication/vnd.kahootz.ktzIANA: Kahootz
Karaoke on Chipnuts Chipsetsapplication/vnd.chipnuts.karaoke-mmd.mmdIANA: Chipnuts Karaoke
KDE KOffice Office Suite - Karbonapplication/vnd.kde.karbon.karbonIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - KChartapplication/vnd.kde.kchart.chrtIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kformulaapplication/vnd.kde.kformula.kfoIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kivioapplication/vnd.kde.kivio.flwIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kontourapplication/vnd.kde.kontour.konIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kpresenterapplication/vnd.kde.kpresenter.kprIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kspreadapplication/vnd.kde.kspread.kspIANA: KDE KOffice Office Suite
KDE KOffice Office Suite - Kwordapplication/vnd.kde.kword.kwdIANA: KDE KOffice Office Suite
Kenamea Appapplication/vnd.kenameaapp.htkeIANA: Kenamea App
Kidspirationapplication/vnd.kidspiration.kiaIANA: Kidspiration
Kinar Applicationsapplication/vnd.kinar.kneIANA: Kina Applications
Kodak Storyshareapplication/vnd.kodak-descriptor.sseIANA: Kodak Storyshare
Laser App Enterpriseapplication/vnd.las.las+xml.lasxmlIANA: Laser App Enterprise
LaTeXapplication/x-latex.latexWikipedia: LaTeX
Life Balance - Desktop Editionapplication/vnd.llamagraphics.life-balance.desktop.lbdIANA: Life Balance
Life Balance - Exchange Formatapplication/vnd.llamagraphics.life-balance.exchange+xml.lbeIANA: Life Balance
Lightspeed Audio Labapplication/vnd.jam.jamIANA: Lightspeed Audio Lab
Lotus 1-2-3application/vnd.lotus-1-2-3.123IANA: Lotus 1-2-3
Lotus Approachapplication/vnd.lotus-approach.aprIANA: Lotus Approach
Lotus Freelanceapplication/vnd.lotus-freelance.preIANA: Lotus Freelance
Lotus Notesapplication/vnd.lotus-notes.nsfIANA: Lotus Notes
Lotus Organizerapplication/vnd.lotus-organizer.orgIANA: Lotus Organizer
Lotus Screencamapplication/vnd.lotus-screencam.scmIANA: Lotus Screencam
Lotus Wordproapplication/vnd.lotus-wordpro.lwpIANA: Lotus Wordpro
Lucent Voiceaudio/vnd.lucent.voice.lvpIANA: Lucent Voice
M3U (Multimedia Playlist)audio/x-mpegurl.m3uWikipedia: M3U
M4vvideo/x-m4v.m4vWikipedia: M4v
Macintosh BinHex 4.0application/mac-binhex40.hqxMacMIME
MacPorts Port Systemapplication/vnd.macports.portpkg.portpkgIANA: MacPorts Port System
MapGuide DBXMLapplication/vnd.osgeo.mapguide.package.mgpIANA: MapGuide DBXML
MARC Formatsapplication/marc.mrcRFC 2220
MARC21 XML Schemaapplication/marcxml+xml.mrcxRFC 6207
Material Exchange Formatapplication/mxf.mxfRFC 4539
Mathematica Notebook Playerapplication/vnd.wolfram.player.nbpIANA: Mathematica Notebook Player
Mathematica Notebooksapplication/mathematica.maIANA - Mathematica
Mathematical Markup Languageapplication/mathml+xml.mathmlW3C Math Home
Mbox database filesapplication/mbox.mboxRFC 4155
MedCalcapplication/vnd.medcalcdata.mc1IANA: MedCalc
Media Server Control Markup Languageapplication/mediaservercontrol+xml.mscmlRFC 5022
MediaRemoteapplication/vnd.mediastation.cdkey.cdkeyIANA: MediaRemote
Medical Waveform Encoding Formatapplication/vnd.mfer.mwfIANA: Medical Waveform Encoding Format
Melody Format for Mobile Platformapplication/vnd.mfmp.mfmIANA: Melody Format for Mobile Platform
Mesh Data Typemodel/mesh.mshRFC 2077
Metadata Authority Description Schemaapplication/mads+xml.madsRFC 6207
Metadata Encoding and Transmission Standardapplication/mets+xml.metsRFC 6207
Metadata Object Description Schemaapplication/mods+xml.modsRFC 6207
Metalinkapplication/metalink4+xml.meta4Wikipedia: Metalink
Micosoft PowerPoint - Macro-Enabled Template Fileapplication/vnd.ms-powerpoint.template.macroenabled.12.potmIANA: MS PowerPoint
Micosoft Word - Macro-Enabled Documentapplication/vnd.ms-word.document.macroenabled.12.docmIANA: MS Word
Micosoft Word - Macro-Enabled Templateapplication/vnd.ms-word.template.macroenabled.12.dotmIANA: MS Word
Micro CADAM Helix D&Dapplication/vnd.mcd.mcdIANA: Micro CADAM Helix D&D
Micrografxapplication/vnd.micrografx.flo.floIANA: Micrografx
Micrografx iGrafx Professionalapplication/vnd.micrografx.igx.igxIANA: Micrografx
MICROSEC e-Szign¢application/vnd.eszigno3+xml.es3IANA: MICROSEC e-Szign¢
Microsoft Accessapplication/x-msaccess.mdbWikipedia: Microsoft Access
Microsoft Advanced Systems Format (ASF)video/x-ms-asf.asfWikipedia: Advanced Systems Format (ASF)
Microsoft Applicationapplication/x-msdownload.exeWikipedia: EXE
Microsoft Artgalryapplication/vnd.ms-artgalry.cilIANA: MS Artgalry
Microsoft Cabinet Fileapplication/vnd.ms-cab-compressed.cabIANA: MS Cabinet File
Microsoft Class Serverapplication/vnd.ms-ims.imsIANA: MS Class Server
Microsoft ClickOnceapplication/x-ms-application.applicationWikipedia: ClickOnce
Microsoft Clipboard Clipapplication/x-msclip.clpWikipedia: Clipboard
Microsoft Document Imaging Formatimage/vnd.ms-modi.mdiWikipedia: Microsoft Document Image Format
Microsoft Embedded OpenTypeapplication/vnd.ms-fontobject.eotIANA: MS Embedded OpenType
Microsoft Excelapplication/vnd.ms-excel.xlsIANA: MS Excel
Microsoft Excel - Add-In Fileapplication/vnd.ms-excel.addin.macroenabled.12.xlamIANA: MS Excel
Microsoft Excel - Binary Workbookapplication/vnd.ms-excel.sheet.binary.macroenabled.12.xlsbIANA: MS Excel
Microsoft Excel - Macro-Enabled Template Fileapplication/vnd.ms-excel.template.macroenabled.12.xltmIANA: MS Excel
Microsoft Excel - Macro-Enabled Workbookapplication/vnd.ms-excel.sheet.macroenabled.12.xlsmIANA: MS Excel
Microsoft Html Help Fileapplication/vnd.ms-htmlhelp.chmIANA:MS Html Help File
Microsoft Information Cardapplication/x-mscardfile.crdWikipedia: Information Card
Microsoft Learning Resource Moduleapplication/vnd.ms-lrm.lrmIANA: MS Learning Resource Module
Microsoft MediaViewapplication/x-msmediaview.mvbWindows Help
Microsoft Moneyapplication/x-msmoney.mnyWikipedia: Microsoft Money
Microsoft Office - OOXML - Presentationapplication/vnd.openxmlformats-officedocument.presentationml.presentation.pptxIANA: OOXML - Presentation
Microsoft Office - OOXML - Presentation (Slide)application/vnd.openxmlformats-officedocument.presentationml.slide.sldxIANA: OOXML - Presentation
Microsoft Office - OOXML - Presentation (Slideshow)application/vnd.openxmlformats-officedocument.presentationml.slideshow.ppsxIANA: OOXML - Presentation
Microsoft Office - OOXML - Presentation Templateapplication/vnd.openxmlformats-officedocument.presentationml.template.potxIANA: OOXML - Presentation Template
Microsoft Office - OOXML - Spreadsheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet.xlsxIANA: OOXML - Spreadsheet
Microsoft Office - OOXML - Spreadsheet Teplateapplication/vnd.openxmlformats-officedocument.spreadsheetml.template.xltxIANA: OOXML - Spreadsheet Template
Microsoft Office - OOXML - Word Documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document.docxIANA: OOXML - Word Document
Microsoft Office - OOXML - Word Document Templateapplication/vnd.openxmlformats-officedocument.wordprocessingml.template.dotxIANA: OOXML - Word Document Template
Microsoft Office Binderapplication/x-msbinder.obdWikipedia: Microsoft Shared Tools
Microsoft Office System Release Themeapplication/vnd.ms-officetheme.thmxIANA: MS Office System Release Theme
Microsoft OneNoteapplication/onenote.onetocMS OneNote 2010
Microsoft PlayReady Ecosystemaudio/vnd.ms-playready.media.pya.pyaIANA: Microsoft PlayReady Ecosystem
Microsoft PlayReady Ecosystem Videovideo/vnd.ms-playready.media.pyv.pyvIANA: Microsoft PlayReady Ecosystem
Microsoft PowerPointapplication/vnd.ms-powerpoint.pptIANA: MS PowerPoint
Microsoft PowerPoint - Add-in fileapplication/vnd.ms-powerpoint.addin.macroenabled.12.ppamIANA: MS PowerPoint
Microsoft PowerPoint - Macro-Enabled Open XML Slideapplication/vnd.ms-powerpoint.slide.macroenabled.12.sldmIANA: MS PowerPoint
Microsoft PowerPoint - Macro-Enabled Presentation Fileapplication/vnd.ms-powerpoint.presentation.macroenabled.12.pptmIANA: MS PowerPoint
Microsoft PowerPoint - Macro-Enabled Slide Show Fileapplication/vnd.ms-powerpoint.slideshow.macroenabled.12.ppsmIANA: MS PowerPoint
Microsoft Projectapplication/vnd.ms-project.mppIANA: MS PowerPoint
Microsoft Publisherapplication/x-mspublisher.pubWikipedia: Microsoft Publisher
Microsoft Schedule+application/x-msschedule.scdWikipedia: Microsoft Schedule Plus
Microsoft Silverlightapplication/x-silverlight-app.xapWikipedia: Silverlight
Microsoft Trust UI Provider - Certificate Trust Linkapplication/vnd.ms-pki.stl.stlIANA: MS Trust UI Provider
Microsoft Trust UI Provider - Security Catalogapplication/vnd.ms-pki.seccat.catIANA: MS Trust UI Provider
Microsoft Visioapplication/vnd.visio.vsdIANA: Visio
Microsoft Windows Mediavideo/x-ms-wm.wmWikipedia: Advanced Systems Format (ASF)
Microsoft Windows Media Audioaudio/x-ms-wma.wmaWikipedia: Windows Media Audio
Microsoft Windows Media Audio Redirectoraudio/x-ms-wax.waxWindows Media Metafiles
Microsoft Windows Media Audio/Video Playlistvideo/x-ms-wmx.wmxWikipedia: Advanced Systems Format (ASF)
Microsoft Windows Media Player Download Packageapplication/x-ms-wmd.wmdWikipedia: Windows Media Player
Microsoft Windows Media Player Playlistapplication/vnd.ms-wpl.wplIANA: MS Windows Media Player Playlist
Microsoft Windows Media Player Skin Packageapplication/x-ms-wmz.wmzWikipedia: Windows Media Player
Microsoft Windows Media Videovideo/x-ms-wmv.wmvWikipedia: Advanced Systems Format (ASF)
Microsoft Windows Media Video Playlistvideo/x-ms-wvx.wvxWikipedia: Advanced Systems Format (ASF)
Microsoft Windows Metafileapplication/x-msmetafile.wmfWikipedia: Windows Metafile
Microsoft Windows Terminal Servicesapplication/x-msterminal.trmWikipedia: Terminal Server
Microsoft Wordapplication/msword.docWikipedia: Microsoft Word
Microsoft Wordpadapplication/x-mswrite.wriWikipedia: Wordpad
Microsoft Worksapplication/vnd.ms-works.wpsIANA: MS Works
Microsoft XAML Browser Applicationapplication/x-ms-xbap.xbapWikipedia: XAML Browser
Microsoft XML Paper Specificationapplication/vnd.ms-xpsdocument.xpsIANA: MS XML Paper Specification
MIDI - Musical Instrument Digital Interfaceaudio/midi.midWikipedia: MIDI
MiniPayapplication/vnd.ibm.minipay.mpyIANA: MiniPay
MO:DCA-Papplication/vnd.ibm.modcap.afpIANA: MO:DCA-P
Mobile Information Device Profileapplication/vnd.jcp.javame.midlet-rms.rmsIANA: Mobile Information Device Profile
MobileTVapplication/vnd.tmobile-livetv.tmoIANA: MobileTV
Mobipocketapplication/x-mobipocket-ebook.prcWikipedia: Mobipocket
Mobius Management Systems - Basket fileapplication/vnd.mobius.mbk.mbkIANA: Mobius Management Systems
Mobius Management Systems - Distribution Databaseapplication/vnd.mobius.dis.disIANA: Mobius Management Systems
Mobius Management Systems - Policy Definition Language Fileapplication/vnd.mobius.plc.plcIANA: Mobius Management Systems
Mobius Management Systems - Query Fileapplication/vnd.mobius.mqy.mqyIANA: Mobius Management Systems
Mobius Management Systems - Script Languageapplication/vnd.mobius.msl.mslIANA: Mobius Management Systems
Mobius Management Systems - Topic Index Fileapplication/vnd.mobius.txf.txfIANA: Mobius Management Systems
Mobius Management Systems - UniversalArchiveapplication/vnd.mobius.daf.dafIANA: Mobius Management Systems
mod_fly / fly.cgitext/vnd.fly.flyIANA: Fly
Mophun Certificateapplication/vnd.mophun.certificate.mpcIANA: Mophun Certificate
Mophun VMapplication/vnd.mophun.application.mpnIANA: Mophun VM
Motion JPEG 2000video/mj2.mj2IANA: MJ2
MPEG Audioaudio/mpeg.mpgaWikipedia: MPGA
MPEG Urlvideo/vnd.mpegurl.mxuIANA: MPEG Url
MPEG Videovideo/mpeg.mpegWikipedia: MPEG
MPEG-21application/mp21.m21Wikipedia: MPEG-21
MPEG-4 Audioaudio/mp4.mp4aWikipedia: MP4A
MPEG-4 Videovideo/mp4.mp4Wikipedia: MP4
MPEG4application/mp4.mp4RFC 4337
Multimedia Playlist Unicodeapplication/vnd.apple.mpegurl.m3u8Wikipedia: M3U
MUsical Score Interpreted Code Invented for the ASCII designation of Notationapplication/vnd.musician.musIANA: MUSICIAN
Muvee Automatic Video Editingapplication/vnd.muvee.style.mstyIANA: Muvee
MXMLapplication/xv+xml.mxmlWikipedia: MXML
N-Gage Game Dataapplication/vnd.nokia.n-gage.data.ngdatIANA: N-Gage Game Data
N-Gage Game Installerapplication/vnd.nokia.n-gage.symbian.install.n-gageIANA: N-Gage Game Installer
Navigation Control file for XML (for ePub)application/x-dtbncx+xml.ncxWikipedia: EPUB
Network Common Data Form (NetCDF)application/x-netcdf.ncWikipedia: NetCDF
neuroLanguageapplication/vnd.neurolanguage.nlu.nluIANA: neuroLanguage
New Moon Liftoff/DNAapplication/vnd.dna.dnaIANA: New Moon Liftoff/DNA
NobleNet Directoryapplication/vnd.noblenet-directory.nndIANA: NobleNet Directory
NobleNet Sealerapplication/vnd.noblenet-sealer.nnsIANA: NobleNet Sealer
NobleNet Webapplication/vnd.noblenet-web.nnwIANA: NobleNet Web
Nokia Radio Application - Presetapplication/vnd.nokia.radio-preset.rpstIANA: Nokia Radio Application
Nokia Radio Application - Presetapplication/vnd.nokia.radio-presets.rpssIANA: Nokia Radio Application
Notation3text/n3.n3Wikipedia: Notation3
Novadigm's RADIA and EDM productsapplication/vnd.novadigm.edm.edmIANA: Novadigm's RADIA and EDM products
Novadigm's RADIA and EDM productsapplication/vnd.novadigm.edx.edxIANA: Novadigm's RADIA and EDM products
Novadigm's RADIA and EDM productsapplication/vnd.novadigm.ext.extIANA: Novadigm's RADIA and EDM products
NpGraphItapplication/vnd.flographit.gphIANA: FloGraphIt
Nuera ECELP 4800audio/vnd.nuera.ecelp4800.ecelp4800IANA: ECELP 4800
Nuera ECELP 7470audio/vnd.nuera.ecelp7470.ecelp7470IANA: ECELP 7470
Nuera ECELP 9600audio/vnd.nuera.ecelp9600.ecelp9600IANA: ECELP 9600
Office Document Architectureapplication/oda.odaRFC 2161
Oggapplication/ogg.ogxWikipedia: Ogg
Ogg Audioaudio/ogg.ogaWikipedia: Ogg
Ogg Videovideo/ogg.ogvWikipedia: Ogg
OMA Download Agentsapplication/vnd.oma.dd2+xml.dd2IANA: OMA Download Agents
Open Document Text Webapplication/vnd.oasis.opendocument.text-web.othIANA: OpenDocument Text Web
Open eBook Publication Structureapplication/oebps-package+xml.opfWikipedia: Open eBook
Open Financial Exchangeapplication/vnd.intu.qbo.qboIANA: Open Financial Exchange
Open Office Extensionapplication/vnd.openofficeorg.extension.oxtIANA: Open Office Extension
Open Score Formatapplication/vnd.yamaha.openscoreformat.osfIANA: Open Score Format
Open Web Media Project - Audioaudio/webm.webaWebM Project
Open Web Media Project - Videovideo/webm.webmWebM Project
OpenDocument Chartapplication/vnd.oasis.opendocument.chart.odcIANA: OpenDocument Chart
OpenDocument Chart Templateapplication/vnd.oasis.opendocument.chart-template.otcIANA: OpenDocument Chart Template
OpenDocument Databaseapplication/vnd.oasis.opendocument.database.odbIANA: OpenDocument Database
OpenDocument Formulaapplication/vnd.oasis.opendocument.formula.odfIANA: OpenDocument Formula
OpenDocument Formula Templateapplication/vnd.oasis.opendocument.formula-template.odftIANA: OpenDocument Formula Template
OpenDocument Graphicsapplication/vnd.oasis.opendocument.graphics.odgIANA: OpenDocument Graphics
OpenDocument Graphics Templateapplication/vnd.oasis.opendocument.graphics-template.otgIANA: OpenDocument Graphics Template
OpenDocument Imageapplication/vnd.oasis.opendocument.image.odiIANA: OpenDocument Image
OpenDocument Image Templateapplication/vnd.oasis.opendocument.image-template.otiIANA: OpenDocument Image Template
OpenDocument Presentationapplication/vnd.oasis.opendocument.presentation.odpIANA: OpenDocument Presentation
OpenDocument Presentation Templateapplication/vnd.oasis.opendocument.presentation-template.otpIANA: OpenDocument Presentation Template
OpenDocument Spreadsheetapplication/vnd.oasis.opendocument.spreadsheet.odsIANA: OpenDocument Spreadsheet
OpenDocument Spreadsheet Templateapplication/vnd.oasis.opendocument.spreadsheet-template.otsIANA: OpenDocument Spreadsheet Template
OpenDocument Textapplication/vnd.oasis.opendocument.text.odtIANA: OpenDocument Text
OpenDocument Text Masterapplication/vnd.oasis.opendocument.text-master.odmIANA: OpenDocument Text Master
OpenDocument Text Templateapplication/vnd.oasis.opendocument.text-template.ottIANA: OpenDocument Text Template
OpenGL Textures (KTX)image/ktx.ktxKTX File Format
OpenOffice - Calc (Spreadsheet)application/vnd.sun.xml.calc.sxcWikipedia: OpenOffice
OpenOffice - Calc Template (Spreadsheet)application/vnd.sun.xml.calc.template.stcWikipedia: OpenOffice
OpenOffice - Draw (Graphics)application/vnd.sun.xml.draw.sxdWikipedia: OpenOffice
OpenOffice - Draw Template (Graphics)application/vnd.sun.xml.draw.template.stdWikipedia: OpenOffice
OpenOffice - Impress (Presentation)application/vnd.sun.xml.impress.sxiWikipedia: OpenOffice
OpenOffice - Impress Template (Presentation)application/vnd.sun.xml.impress.template.stiWikipedia: OpenOffice
OpenOffice - Math (Formula)application/vnd.sun.xml.math.sxmWikipedia: OpenOffice
OpenOffice - Writer (Text - HTML)application/vnd.sun.xml.writer.sxwWikipedia: OpenOffice
OpenOffice - Writer (Text - HTML)application/vnd.sun.xml.writer.global.sxgWikipedia: OpenOffice
OpenOffice - Writer Template (Text - HTML)application/vnd.sun.xml.writer.template.stwWikipedia: OpenOffice
OpenType Font Fileapplication/x-font-otf.otfOpenType Font File
OSFPVGapplication/vnd.yamaha.openscoreformat.osfpvg+xml.osfpvgIANA: OSFPVG
OSGi Deployment Packageapplication/vnd.osgi.dp.dpIANA: OSGi Deployment Package
PalmOS Dataapplication/vnd.palm.pdbIANA: PalmOS Data
Pascal Source Filetext/x-pascal.pWikipedia: Pascal
PawaaFILEapplication/vnd.pawaafile.pawIANA: PawaaFILE
PCL 6 Enhanced (Formely PCL XL)application/vnd.hp-pclxl.pclxlIANA: HP PCL XL
Pcsel eFIF Fileapplication/vnd.picsel.efifIANA: Picsel eFIF File
PCX Imageimage/x-pcx.pcxWikipedia: PCX
Photoshop Documentimage/vnd.adobe.photoshop.psdWikipedia: Photoshop Document
PICSRulesapplication/pics-rules.prfW3C PICSRules
PICT Imageimage/x-pict.picWikipedia: PICT
pIRChapplication/x-chat.chatWikipedia: pIRCh
PKCS #10 - Certification Request Standardapplication/pkcs10.p10RFC 2986
PKCS #12 - Personal Information Exchange Syntax Standardapplication/x-pkcs12.p12RFC 2986
PKCS #7 - Cryptographic Message Syntax Standardapplication/pkcs7-mime.p7mRFC 2315
PKCS #7 - Cryptographic Message Syntax Standardapplication/pkcs7-signature.p7sRFC 2315
PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)application/x-pkcs7-certreqresp.p7rRFC 2986
PKCS #7 - Cryptographic Message Syntax Standard (Certificates)application/x-pkcs7-certificates.p7bRFC 2986
PKCS #8 - Private-Key Information Syntax Standardapplication/pkcs8.p8RFC 5208
PocketLearn Viewersapplication/vnd.pocketlearn.plfIANA: PocketLearn Viewers
Portable Anymap Imageimage/x-portable-anymap.pnmWikipedia: Netpbm Format
Portable Bitmap Formatimage/x-portable-bitmap.pbmWikipedia: Netpbm Format
Portable Compiled Formatapplication/x-font-pcf.pcfWikipedia: Portable Compiled Format
Portable Font Resourceapplication/font-tdpfr.pfrRFC 3073
Portable Game Notation (Chess Games)application/x-chess-pgn.pgnWikipedia: Portable Game Notationb
Portable Graymap Formatimage/x-portable-graymap.pgmWikipedia: Netpbm Format
Portable Network Graphics (PNG)image/png.pngRFC 2083
Portable Pixmap Formatimage/x-portable-pixmap.ppmWikipedia: Netpbm Format
Portable Symmetric Key Containerapplication/pskc+xml.pskcxmlRFC 6030
PosMLapplication/vnd.ctc-posml.pmlIANA: PosML
PostScriptapplication/postscript.aiWikipedia: PostScript
PostScript Fontsapplication/x-font-type1.pfaWikipedia: PostScript Fonts
PowerBuilderapplication/vnd.powerbuilder6.pbdIANA: PowerBuilder
Pretty Good Privacyapplication/pgp-encryptedRFC 2015
Pretty Good Privacy - Signatureapplication/pgp-signature.pgpRFC 2015
Preview Systems ZipLock/VBoxapplication/vnd.previewsystems.box.boxIANA: Preview Systems ZipLock/Vbox
Princeton Video Imageapplication/vnd.pvi.ptid1.ptidIANA: Princeton Video Image
Pronunciation Lexicon Specificationapplication/pls+xml.plsRFC 4267
Proprietary P&G Standard Reporting Systemapplication/vnd.pg.format.strIANA: Proprietary P&G Standard Reporting System
Proprietary P&G Standard Reporting Systemapplication/vnd.pg.osasli.ei6IANA: Proprietary P&G Standard Reporting System
PRS Lines Tagtext/prs.lines.tag.dscIANA: PRS Lines Tag
PSF Fontsapplication/x-font-linux-psf.psfPSF Fonts
PubliShare Objectsapplication/vnd.publishare-delta-tree.qpsIANA: PubliShare Objects
Qualcomm's Plaza Mobile Internetapplication/vnd.pmi.widget.wgIANA: Qualcomm's Plaza Mobile Internet
QuarkXpressapplication/vnd.quark.quarkxpress.qxdIANA: QuarkXPress
QUASS Stream Playerapplication/vnd.epson.esf.esfIANA: QUASS Stream Player
QUASS Stream Playerapplication/vnd.epson.msf.msfIANA: QUASS Stream Player
QUASS Stream Playerapplication/vnd.epson.ssf.ssfIANA: QUASS Stream Player
QuickAnime Playerapplication/vnd.epson.quickanime.qamIANA: QuickAnime Player
Quickenapplication/vnd.intu.qfx.qfxIANA: Quicken
Quicktime Videovideo/quicktime.qtWikipedia: Quicktime
RAR Archiveapplication/x-rar-compressed.rarWikipedia: RAR
Real Audio Soundaudio/x-pn-realaudio.ramWikipedia: RealPlayer
Real Audio Soundaudio/x-pn-realaudio-plugin.rmpWikipedia: RealPlayer
Really Simple Discoveryapplication/rsd+xml.rsdWikipedia: Really Simple Discovery
RealMediaapplication/vnd.rn-realmedia.rm
RealVNCapplication/vnd.realvnc.bed.bedIANA: RealVNC
Recordare Applicationsapplication/vnd.recordare.musicxml.mxlIANA: Recordare Apps
Recordare Applicationsapplication/vnd.recordare.musicxml+xml.musicxmlIANA: Recordare Apps
Relax NG Compact Syntaxapplication/relax-ng-compact-syntax.rncRelax NG
RemoteDocs R-Viewerapplication/vnd.data-vision.rdz.rdzIANA: Data-Vision
Resource Description Frameworkapplication/rdf+xml.rdfRFC 3870
RetroPlatform Playerapplication/vnd.cloanto.rp9.rp9IANA: RetroPlatform Player
RhymBoxapplication/vnd.jisp.jispIANA: RhymBox
Rich Text Formatapplication/rtf.rtfWikipedia: Rich Text Format
Rich Text Format (RTF)text/richtext.rtxWikipedia: Rich Text Format
ROUTE 66 Location Based Servicesapplication/vnd.route66.link66+xml.link66IANA: ROUTE 66
RSS - Really Simple Syndicationapplication/rss+xml.rss, .xmlWikipedia: RSS
S Hexdump Formatapplication/shf+xml.shfRFC 4194
SailingTrackerapplication/vnd.sailingtracker.track.stIANA: SailingTracker
Scalable Vector Graphics (SVG)image/svg+xml.svgWikipedia: SVG
ScheduleUsapplication/vnd.sus-calendar.susIANA: ScheduleUs
Search/Retrieve via URL Response Formatapplication/sru+xml.sruRFC 6207
Secure Electronic Transaction - Paymentapplication/set-payment-initiation.setpayIANA: SET Payment
Secure Electronic Transaction - Registrationapplication/set-registration-initiation.setregIANA: SET Registration
Secured eMailapplication/vnd.sema.semaIANA: Secured eMail
Secured eMailapplication/vnd.semd.semdIANA: Secured eMail
Secured eMailapplication/vnd.semf.semfIANA: Secured eMail
SeeMailapplication/vnd.seemail.seeIANA: SeeMail
Server Normal Formatapplication/x-font-snf.snfWikipedia: Server Normal Format
Server-Based Certificate Validation Protocol - Validation Policies - Requestapplication/scvp-vp-request.spqRFC 5055
Server-Based Certificate Validation Protocol - Validation Policies - Responseapplication/scvp-vp-response.sppRFC 5055
Server-Based Certificate Validation Protocol - Validation Requestapplication/scvp-cv-request.scqRFC 5055
Server-Based Certificate Validation Protocol - Validation Responseapplication/scvp-cv-response.scsRFC 5055
Session Description Protocolapplication/sdp.sdpRFC 2327
Setexttext/x-setext.etxWikipedia: Setext
SGI Movievideo/x-sgi-movie.movieSGI Facts
Shana Informed Fillerapplication/vnd.shana.informed.formdata.ifmIANA: Shana Informed Filler
Shana Informed Fillerapplication/vnd.shana.informed.formtemplate.itpIANA: Shana Informed Filler
Shana Informed Fillerapplication/vnd.shana.informed.interchange.iifIANA: Shana Informed Filler
Shana Informed Fillerapplication/vnd.shana.informed.package.ipkIANA: Shana Informed Filler
Sharing Transaction Fraud Dataapplication/thraud+xml.tfiRFC 5941
Shell Archiveapplication/x-shar.sharWikipedia: Shell Archie
Silicon Graphics RGB Bitmapimage/x-rgb.rgbRGB Image Format
SimpleAnimeLite Playerapplication/vnd.epson.salt.sltIANA: SimpleAnimeLite Player
Simply Accountingapplication/vnd.accpac.simply.aso.asoIANA: Simply Accounting
Simply Accounting - Data Importapplication/vnd.accpac.simply.imp.impIANA: Simply Accounting
SimTech MindMapperapplication/vnd.simtech-mindmapper.twdIANA: SimTech MindMapper
Sixth Floor Media - CommonSpaceapplication/vnd.commonspace.cspIANA: CommonSpace
SMAF Audioapplication/vnd.yamaha.smaf-audio.safIANA: SMAF Audio
SMAF Fileapplication/vnd.smaf.mmfIANA: SMAF File
SMAF Phraseapplication/vnd.yamaha.smaf-phrase.spfIANA: SMAF Phrase
SMART Technologies Appsapplication/vnd.smart.teacher.teacherIANA: SMART Technologies Apps
SourceView Documentapplication/vnd.svd.svdIANA: SourceView Document
SPARQL - Queryapplication/sparql-query.rqW3C SPARQL
SPARQL - Resultsapplication/sparql-results+xml.srxW3C SPARQL
Speech Recognition Grammar Specificationapplication/srgs.gramW3C Speech Grammar
Speech Recognition Grammar Specification - XMLapplication/srgs+xml.grxmlW3C Speech Grammar
Speech Synthesis Markup Languageapplication/ssml+xml.ssmlW3C Speech Synthesis
SSEYO Koan Play Fileapplication/vnd.koan.skpIANA: SSEYO Koan Play File
Standard Generalized Markup Language (SGML)text/sgml.sgmlWikipedia: SGML
StarOffice - Calcapplication/vnd.stardivision.calc.sdc
StarOffice - Drawapplication/vnd.stardivision.draw.sda
StarOffice - Impressapplication/vnd.stardivision.impress.sdd
StarOffice - Mathapplication/vnd.stardivision.math.smf
StarOffice - Writerapplication/vnd.stardivision.writer.sdw
StarOffice - Writer (Global)application/vnd.stardivision.writer-global.sgl
StepManiaapplication/vnd.stepmania.stepchart.smIANA: StepMania
Stuffit Archiveapplication/x-stuffit.sitWikipedia: Stuffit
Stuffit Archiveapplication/x-stuffitx.sitxWikipedia: Stuffit
SudokuMagicapplication/vnd.solent.sdkm+xml.sdkmIANA: SudokuMagic
Sugar Linux Application Bundleapplication/vnd.olpc-sugar.xoIANA: Sugar Linux App Bundle
Sun Audio - Au file formataudio/basic.auWikipedia: Sun audio
SundaHus WQapplication/vnd.wqd.wqdIANA: SundaHus WQ
Symbian Install Packageapplication/vnd.symbian.install.sisIANA: Symbian Install
Synchronized Multimedia Integration Languageapplication/smil+xml.smiRFC 4536
SyncMLapplication/vnd.syncml+xml.xsmIANA: SyncML
SyncML - Device Managementapplication/vnd.syncml.dm+wbxml.bdmIANA: SyncML
SyncML - Device Managementapplication/vnd.syncml.dm+xml.xdmIANA: SyncML
System V Release 4 CPIO Archiveapplication/x-sv4cpio.sv4cpioWikipedia: pax
System V Release 4 CPIO Checksum Dataapplication/x-sv4crc.sv4crcWikipedia: pax
Systems Biology Markup Languageapplication/sbml+xml.sbmlRFC 3823
Tab Seperated Valuestext/tab-separated-values.tsvWikipedia: TSV
Tagged Image File Formatimage/tiff.tiffWikipedia: TIFF
Tao Intentapplication/vnd.tao.intent-module-archive.taoIANA: Tao Intent
Tar File (Tape Archive)application/x-tar.tarWikipedia: Tar
Tcl Scriptapplication/x-tcl.tclWikipedia: Tcl
TeXapplication/x-tex.texWikipedia: TeX
TeX Font Metricapplication/x-tex-tfm.tfmWikipedia: TeX Font Metric
Text Encoding and Interchangeapplication/tei+xml.teiRFC 6129
Text Filetext/plain.txtWikipedia: Text File
TIBCO Spotfireapplication/vnd.spotfire.dxp.dxpIANA: TIBCO Spotfire
TIBCO Spotfireapplication/vnd.spotfire.sfs.sfsIANA: TIBCO Spotfire
Time Stamped Data Envelopeapplication/timestamped-data.tsdRFC 5955
TRI Systems Configapplication/vnd.trid.tpt.tptIANA: TRI Systems
Triscape Map Explorerapplication/vnd.triscape.mxs.mxsIANA: Triscape Map Explorer
trofftext/troff.tWikipedia: troff
True BASICapplication/vnd.trueapp.traIANA: True BASIC
TrueType Fontapplication/x-font-ttf.ttfWikipedia: TrueType
Turtle (Terse RDF Triple Language)text/turtle.ttlWikipedia: Turtle
UMAJINapplication/vnd.umajin.umjIANA: UMAJIN
Unique Object Markup Languageapplication/vnd.uoml+xml.uomlIANA: UOML
Unity 3dapplication/vnd.unity.unitywebIANA: Unity 3d
Universal Forms Description Languageapplication/vnd.ufdl.ufdIANA: Universal Forms Description Language
URI Resolution Servicestext/uri-list.uriRFC 2483
User Interface Quartz - Theme (Symbian)application/vnd.uiq.theme.utzIANA: User Interface Quartz
Ustar (Uniform Standard Tape Archive)application/x-ustar.ustarWikipedia: Ustar
UUEncodetext/x-uuencode.uuWikipedia: UUEncode
vCalendartext/x-vcalendar.vcsWikipedia: vCalendar
vCardtext/x-vcard.vcfWikipedia: vCard
Video CDapplication/x-cdlink.vcdWikipedia: Video CD
Viewport+application/vnd.vsf.vsfIANA: Viewport+
Virtual Reality Modeling Languagemodel/vrml.wrlWikipedia: VRML
VirtualCatalogapplication/vnd.vcx.vcxIANA: VirtualCatalog
Virtue MTSmodel/vnd.mts.mtsIANA: MTS
Virtue VTUmodel/vnd.vtu.vtuIANA: VTU
Visionaryapplication/vnd.visionary.visIANA: Visionary
Vivovideo/vnd.vivo.vivIANA: Vivo
Voice Browser Call Controlapplication/ccxml+xml,.ccxmlVoice Browser Call Control: CCXML Version 1.0
VoiceXMLapplication/voicexml+xml.vxmlRFC 4267
WAIS Sourceapplication/x-wais-source.srcYoLinux
WAP Binary XML (WBXML)application/vnd.wap.wbxml.wbxmlIANA: WBXML
WAP Bitamp (WBMP)image/vnd.wap.wbmp.wbmpIANA: WBMP
Waveform Audio File Format (WAV)audio/x-wav.wavWikipedia: WAV
Web Distributed Authoring and Versioningapplication/davmount+xml.davmountRFC 4918
Web Open Font Formatapplication/x-font-woff.woffWikipedia: Web Open Font Format
Web Services Policyapplication/wspolicy+xml.wspolicyW3C Web Services Policy
WebP Imageimage/webp.webpWikipedia: WebP
WebTurboapplication/vnd.webturbo.wtbIANA: WebTurbo
Widget Packaging and XML Configurationapplication/widget.wgtW3C Widget Packaging and XML Configuration
WinHelpapplication/winhlp.hlpWikipedia: WinHelp
Wireless Markup Language (WML)text/vnd.wap.wml.wmlWikipedia: WML
Wireless Markup Language Script (WMLScript)text/vnd.wap.wmlscript.wmlsWikipedia: WMLScript
WMLScriptapplication/vnd.wap.wmlscriptc.wmlscIANA: WMLScript
Wordperfectapplication/vnd.wordperfect.wpdIANA: Wordperfect
Worldtalkapplication/vnd.wt.stf.stfIANA: Worldtalk
WSDL - Web Services Description Languageapplication/wsdl+xml.wsdlW3C Web Service Description Language
X BitMapimage/x-xbitmap.xbmWikipedia: X BitMap
X PixMapimage/x-xpixmap.xpmWikipedia: X PixMap
X Window Dumpimage/x-xwindowdump.xwdWikipedia: X Window Dump
X.509 Certificateapplication/x-x509-ca-cert.derWikipedia: X.509
Xfigapplication/x-xfig.figWikipedia: Xfig
XHTML - The Extensible HyperText Markup Languageapplication/xhtml+xml.xhtmlW3C XHTML
XML - Extensible Markup Languageapplication/xml.xmlW3C XML
XML Configuration Access Protocol - XCAP Diffapplication/xcap-diff+xml.xdfWikipedia: XCAP
XML Encryption Syntax and Processingapplication/xenc+xml.xencW3C XML Encryption Syntax and Processing
XML Patch Frameworkapplication/patch-ops-error+xml.xerRFC 5261
XML Resource Listsapplication/resource-lists+xml.rlRFC 4826
XML Resource Listsapplication/rls-services+xml.rsRFC 4826
XML Resource Lists Diffapplication/resource-lists-diff+xml.rldRFC 4826
XML Transformationsapplication/xslt+xml.xsltW3C XSLT
XML-Binary Optimized Packagingapplication/xop+xml.xopW3C XOP
XPInstall - Mozillaapplication/x-xpinstall.xpiWikipedia: XPI
XSPF - XML Shareable Playlist Formatapplication/xspf+xml.xspfXML Shareable Playlist Format
XUL - XML User Interface Languageapplication/vnd.mozilla.xul+xml.xulIANA: XUL
XYZ File Formatchemical/x-xyz.xyzWikipedia: XYZ File Format
YAML Ain't Markup Language / Yet Another Markup Languagetext/yaml.yamlYAML: YAML Ain't Markup Language
YANG Data Modeling Languageapplication/yang.yangWikipedia: YANG
YIN (YANG - XML)application/yin+xml.yinWikipedia: YANG
Z.U.L. Geometryapplication/vnd.zul.zirIANA: Z.U.L.
Zip Archiveapplication/zip.zipWikipedia: Zip
ZVUE Media Managerapplication/vnd.handheld-entertainment+xml.zmmIANA: ZVUE Media Manager
Zzazz Deckapplication/vnd.zzazz.deck+xml.zazIANA: Zzazz

 


 http://www.freeformatter.com/mime-types-list.html

 




Posted by 장안동베짱e :


1day 오늘의 포인트

부력>=중력

뜨는힘이 가라않는 힘보다 크거나 같아야 물에 가라않지 않음

최대한 뜨는 힘을 더 받으려면 부력을 받는 범위를 늘려야

-> 고개를 들거나 숙이면 무게는 동일한데 부력을 받는 범위가 줄어들어서 무게균형이 깨져서 가라 앉음


앞으로 갈때는 

손과 발을 최대한 모으고(최대한 슬림하게)

발목을 곧게펴고 무릎은 굽히지 말고★

공기를 차지말고 물을 차내야함.

빠르게 크게.

고개를 너무 많이 숙이면 무게가 앞으로 쏠려서 밑으로 들어감.

고개들 들면 가라앉음


일어날때는

양 다리를 올리고 팔은 내리고 몸이 "-"모양에서 "^"모양으로 또 ">"모양이 되게끔하면 서진다.




Posted by 장안동베짱e :


음.. 원래 내가 아난히 먹고 사는 생존에 관심이 많다 보니 오토바이면허증(보통소형2종/긴급상황때 치킨배달로 생존해야 될지도 모르니깐?)도 따고 대형면허(긴급상황때  버스기사라도 할지도 모르니깐!?)도 따고 싶은데 

사실 그런것보단 예전부터 수영을 할줄 알고(잘하는거 말고)싶었는데 영~ 배울 기회가 나지 않았다.


마침 이번에 보라카이 놀러가서 느낀건데 튜브끼고 구명조끼입고 수영하고 노는 사람은 한국 사람 밖에 없는것 같다.

외국에는 어릴 때 학교에서 배우는듯 하던데, 가만 생각해보면 언제 어떤 일이 생길지도 모르는데 이 정도 생존기(!)는 배워야 하는게 아닐까 싶은 생각이 들었다.


탄천 운동장 수영장을 찾아보니 1시간씩 주3회! 아 내가 주3일씩이나 갈려나..

헉 무려 아침 6시?! 그럼 5시에 일어나야 하는데 과연...

왜 오후반이 없는거지?


일단 오늘 퇴사(아니 퇴근...)하고 집에가는 길에 물어보고 확 저질러볼까 고민중..

  


Posted by 장안동베짱e :


디지털 방송 시청시 아래 그림과 같은 에러가 뜨는 채널들은 케이블 방송사에서 H.264 방식으로 송출되는 채널들이며, 이 채널들을 시청하기 위해서는 H.264 디코더가 필요합니다.


SKY TV 프로그램

SKY Capture 프로그램



다만, H.264 디코더는 당사에서 별도의 라이선스(저작권)를 보유하고 있지 않기 때문에 플레이어에 기본 제공해 드리지 못하고 있습니다. H.264 디코더는 고객님께서 별도로 구하셔서 구하셔서 설치하셔야 합니다.

H.264 디코더의 경우 몇몇 소프트웨어 제조사에서 제공하고 있으며 대표적으로 많이 사용되는 디코더로는 파워 DVD 7.3 이상(10 버전 이하) 버전과 CoreAVC 정도가 있습니다.

당사에서 주로 테스트하거나 또는 다른 고객님께서 많이 사용하시는 H.264 디코더는 Power DVD에 포함된 Cyberlink H.264 Video Decoder 이오니 가급적 이 코덱을 설정하셔서 사용해 보실 것을 권해 드립니다.
 
유료 디코더는 해당 디코더 제조사에서 비용을 지불하고 사용하여야 하여 저희가 제공할 수가 없고, 무료 디코더들도 보통 상업적인 용도가 아닌 개인 사용에 한해서 무료 제공하는 것이 일반적이라 저희가 제공하기가 어려운 점은 양해 바랍니다.


아래의 설정 방법은 Cyberlink PowerDVD8을 설치한 후에 Cyberlink H.264 Video Decoder를 설정하는
예 이오니 참조하시기 바랍니다.


1. Cyberlink PowerDVD8  등의 프로그램을 설치하셨다면 플레이어의 환경설정에서 설치한 디코더를 설정해 주시면 됩니다.

SKY TV 프로그램
(1) 환경설정  ☞  디코더/렌더러  ☞  비디오 디코더 선택 중에 H.264의  선택 후   선택합니다.

 (2) 필터 선택창에서 필터 리스트에서 "Cyberlink H.264/AVC Decoder" 를 선택합니다.



SKY Capture 프로그램
(1) 환경설정  ☞  디코더 항목으로 가서 H.264/AVC1 항목에서  선택 후 USER_define 을 선택합니다.


(2) 스크롤바를 내려서 "CyberLInk H.264/AVC Decoder" 를 찾아 선택한 후 하단의 OK를 누릅니다.


 
 http://skyok.co.kr/board/index.html?imode=view&D=5&c_id=188922&my_mode=&search_1=&search_2=&start=0

 




Posted by 장안동베짱e :


안녕하세요? 간만에 강좌 남깁니다.

Windows Vista 이후 버전부터 무선랜(WLAN)에 아래와 같이 제약을 넣어두었습니다.


00 - 00 - 00 - 00 - 00 - 00


MAC 주소의 두 번째는 숫자는 무조건 2, 6, A, E 중에 하나가 되어야 한다.


이 조항 때문에 해당 운영체제 부터는 MAC 변경 시 위 조건을 충족하지 않으면 절대 변경되지 않습니다.

예를 들어 설명하자면.. 아래 두 개는 변경이 허용 되지만, 그 밑에 두 개는 변경되지 않습니다.


86 - 22 - AA - BB - CC - DD (O)

02 - GF - 00 - 8A - FF - CC (O)

80 - 99 - FF - CC - 00 - 66 (X)

79 - 42 - 88 - 99 - 00 - 12 (X)


그런데, 내가 원하는 MAC 주소의 두 번째가 2, 6, A, E를 제외한 값이다? (저는 0을 넣어야 했습니다.)

이러면 어떻게 해야 될까요? 인터넷을 찾아 이에 대한 해결책을 찾아보았습니다.


 1) Windows XP 이하 운영체제를 설치한다. (단, 인텔 무선랜은 12.x 버전대만 변경이 가능함.)

 2) WLAN의 실제 MAC 주소를 해당 주소로 재 Writing 한다.

 3) MAC Clone이 되는 공유기 혹은 휴대용 공유기를 사용하여 연결한다.


각각 살펴보면.. 


 1) 은 요즘 노트북 사양에 따라 지원 안 되는 모델이 많아졌기에 힘들다고 할 수 있고,

 2) 는 무선랜 제조사에 요구하거나 인터넷에 찾아 작업을 해야 합니다.. 실패하면 A/S 받아야 하고, Writing 횟수도 제한이 있습니다.

 3) 은 추가 비용이 발생하고 휴대용 공유기 찾기가 쉽지 않습니다. 특히, 배터리로 가는 녀석은요..


그래서 일단 제가 가진 무선랜 중에 Realtek WLAN USB 동글을 사용하여 몇 가지 실험을 해보기로 했습니다.


 1) Vista 용 드라이버(64bit)를 설치하고, 레지스트리 수동 변경 -> X

 2) 7 용 드라이버(64bit)를 설치하고, 레지스트리 수동 변경 -> X

 3) Windows XP/2003까지 지원하는 무선랜 MAC 변경툴 사용 - > X (변경되었다 나오나 실제 변경 안 됨.)

 4) Windows 7 지원하는 무선랜 MAC 변경툴 사용 -> X (일부 프로그램은 위 제약 사항을 경고하기도 함.)

 5) XP 용 드라이버(64bit) 강제 설치 후, 레지스트리 변경 -> O


헐! XP용 드라이버를 강제 설치하니 MAC 변경이 자유롭게 가능합니다.. ㅡㅡ;

가끔 오작동을 하기는 하지만, 뽑았다 다시 꽂으면 정상 작동합니다.


속도는 Vista/7용 드라이버와 크게 차이가 없었습니다.

만약, 저처럼 변경이 된다면 3) 번 툴을 사용해도 마찬가지로 변경이 됩니다.


 결론 : Windows XP 용 무선랜 드라이버를 깔고 시도하라. 지원되지 않으면 지원하는 USB 동글을 구입하라.


끝으로 무선랜 MAC을 레지스트리로 변경하는 방법입니다.


시작 - 실행 - regedit 을 눌러 레지스트리 편집기로 이동합니다.


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}


위 주소를 찾아 주세요.

항목을 펼치면 0000부터 장치들이 쭉 나열 되어 있습니다.


여기서 장치 관리자 - 무선랜 모델을 찾습니다. (CTRL+F 검색창으로 찾으면 금방 찾아집니다.)

마우스 우측 버튼 - 새로 만들기 - 문자열 값(S)를 선택하고, NetworkAddress 라고 칩니다. (대소문자 유의!)


그리고 그 값에 바꾸고 싶은 MAC 주소를 - 없이 연달아 입력합니다.

(예) 001234567890


무선랜 드라이버를 사용 안 함 - 사용함으로 전환하면 해당 MAC 주소로 변경이 됩니다.

명령 콘솔창에서 IPCONFIG /ALL 명령으로 확인 가능합니다.

 


 http://windowsforum.kr/lecture/4906950

 




Posted by 장안동베짱e :



   

혼자 인터넷 뒤져보고 삽질하다가 기록 차원에서 남겨봅니다.

 

갤s3에서 tasker를 이용하여 운전모드를 자동으로 on/off하기

 

Tasker에서 car mode가 기본적으로 있지만 갤럭시s에서는 동작이 안되더군요.

먼저 구글플레이에서 갤s전용 운전모드 위젯을 설치

https://play.google.com/store/apps/details?id=com.arnab.drivingmode&hl=en

이 위젯을 실행해 on/off할 수 있습니다.

 

Task만들기

새 task -> 이름은 "운전모드 On" -> 하단 + 누르고 Misc -> Send Intent 선택

아래 항목 입력합니다 (따옴표 없이 입력, 대소문자 가림)

Action = "_drv_on"

Cat 비워둠

Mime Type 비워둠

Data 비워둠

Extra 비워둠

Package = "com.arnab.drivingmode"

Class = "com.arnab.drivingmode.DWidget"

Target = Broadcast Receiver

 

Profile만들기

새 profile-> 이름 "운전모드 On"

* 각자 알아서 조건을 만드세요. 저의 경우는 화면 가로모드 + GPS ON 일 경우 운전모드가 켜지게 했습니다.

Add -> State -> Display -> Display Orientation -> is "Portrait" 선택

Task는 미리 만들어 놓은 "운전모드 On" 을 선택

다시 좌측의 조건을 꾹 눌러서 Add -> State -> Varibles -> Variable Value ->

Name = "%GPS"

Op = "Matches"

Value = "on"

 

 

 

운전모드 Off는 같은 설정이나, Task의 intent에 Action = "_drv_off"로 만들면 됩니다.

운전모드 Off의 조건은 저의 경우는 그냥 단순하게 display off 일 경우 바로 꺼지게 했네요.

 
 http://www.clien.net/cs2/bbs/board.php?bo_table=cm_andro&wr_id=119709

 




Posted by 장안동베짱e :


Enabling OS X Screen Sharing from the Command Line

There are several ways to enable screen sharing on OS X Mountain Lion from the command line.  The first method is an old standby:

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers

This will work in 99% of the cases, but there may be some situations when it’s not quite enough.  The above command enables Screen Sharing by enabling Remote Management; however, we lose the ability to add fine-grained control to who can connect & those who can’t.

Here’s another way to enable screen sharing from the command line:

sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist

In the second example, we enable only Screen Sharing, not Remote Management. This allows us to use System Preferences to restrict who can screen share to our machine (e.g. local administrators, network administrators). We use the second example when configuring our authentication servers remotely.


 

http://pivotallabs.com/enabling-os-x-screen-sharing-from-the-command-line/

 


Posted by 장안동베짱e :


Shordan 웹사이트의 열려있는 포트 확인

https://chrome.google.com/webstore/detail/shodan/jjalcfnidlmpjhdfepjhjbhnhkbgleap?hl=ko

 

 

크롬에서 proxy 사용하기 위한 플러그인

https://chrome.google.com/webstore/detail/proxy-switchysharp/dpplabbmogkhghncfbfdeeokoefdjegm

 

 

쿠키 확인 및 변경

https://chrome.google.com/webstore/detail/edit-this-cookie/fngmhnnpilhplaeedifhccceomclgfbg

 

 

웹페이지 헤더 확인

https://chrome.google.com/webstore/detail/http-headers/hplfkkmefamockhligfdcfgfnbcdddbg

 

 

그외 추천 플러그인

https://www.novainfosec.com/2013/04/02/pimp-my-chrome-pen-testing-style/ 



 http://blog.naver.com/kyaru/220113882610

 


Posted by 장안동베짱e :

List of Chrome URLs



For Debug

The following pages are for debugging purposes only. Because they crash or hang the renderer, they're not linked directly; you can type them into the address bar if you need them.

  • chrome://crash
  • chrome://kill
  • chrome://hang
  • chrome://shorthang
  • chrome://gpuclean
  • chrome://gpucrash
  • chrome://gpuhang
  • chrome://ppapiflashcrash
  • chrome://ppapiflashhang
  • chrome://quit/
  • chrome://restart/
※ 위 내용은 chrome://chrome-urls 에서 확인할 수 있음


Posted by 장안동베짱e :


Here is a small code snippet allowing to skip Open/Save us popup downloading a .zip file:

Set Firefox Preference
1
2
3
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("browser.helperApps.neverAsk.saveToDisk","application/zip");
driver = new FirefoxDriver(profile);

In case we download .csv file:

Set Firefox Preference fo CSV File
1
profile.setPreference("browser.helperApps.neverAsk.saveToDisk","text/csv");

..or pdf file:

title: Set Firefox Preference for PDF File
1
profile.setPreference("browser.helperApps.neverAsk.saveToDisk","application/pdf");

We can also apply settings for a list of all downloadable files:
(application/... 부분은 엔터없이 "application/x-xpinstall;application/x-zip;application/x-zip-compressed;application/octet-stream;application/zip;application/pdf;application/msword;text/plain;application/octet"같이 붙여 쓸 것)

Set Preferences for All Types of Files
1
2
3
4
5
6
7
8
9
10
profile.SetPreference("browser.download.dir", downloadDir);
profile.SetPreference("browser.download.folderList", 2);
profile.SetPreference("browser.helperApps.neverAsk.saveToDisk",
"application/x-xpinstall;
application/x-zip;
application/x-zip-compressed;
application/octet-stream;
application/zip;application/pdf;
application/msword;
text/plain;application/octet");

The best place in code to apply setPreferences of Firefox is @BeforeClass:

Set Preferences for All Types of Files
1
2
3
4
5
6
7
8
9
10
11
12
13
@BeforeClass
public static void initializeClass() throws FileNotFoundException,
          IOException {
profile = new FirefoxProfile();
profile.setPreference("browser.helperApps.neverAsk.saveToDisk","application/zip");
driver = new FirefoxDriver(profile);
      
properties = new PropertiesUtil(PROPERTIES_FILE);
driver.get(properties.getValue("URL"));
driver.manage().window().maximize();
      
screenshot = new ScreenshotUtil(driver);
}
※ 주의 : setPreference의 ""따움표안에 인자값은 오타를 적을경우 별다른 에러메시지 없이 동작하지 않으니 오타를 내지 않도록 주의

※참고 : MIME types( http://help.dottoro.com/lapuadlp.php )


 http://dataqzone.com/download-file-with-selenium-save-as-popup/

 



Posted by 장안동베짱e :

공통점은 제목에 괄호인가??!


Pig Toolbox (Super Gestures)

https://chrome.google.com/webstore/detail/pig-toolbox-super-gesture/oiplkfaidhjklglajdpfehoagkmlcakh


IE Tab Multi (Enhance)

https://chrome.google.com/webstore/detail/fnfnbeppfinmnjnjhedifcfllpcfgeea

Posted by 장안동베짱e :

항목

제품명

작업, 이슈 관리

Redmine, Trac, JIRA, bugzilla

소스 제어 관리

CVS, Subversion, Git, Visual Sourcesafe

단위 테스트

xUnit, Selenium

코드 커버리지

EMMA, Cobertura, Clover

부하 테스트

Load Runner, Apache JMeter

빌드 자동화

Ant, Maven

지속적인 통합(CI)

Hudson/Jenkins, Bamboo


Posted by 장안동베짱e :




맥에서 root 패스워드 설정하기

리눅스나 유닉스에서  su 명령어를 사용하여 root계정으로 전환하려고해도,

기본적으로 root의 패스워드가 설정되어 있지 않아서 마음대로 되지 않는다.


따라서 다음의 명령어를 순서대로 입력하면 root 패스워드 설정 및 root로의 전환을 쉽게 할 수 있다.


터미널을 수행시키고

$ sudo -s 

를 입력하고 엔터를 치면, 패스워드를 물어보는데,

현재 사용하는 패스워드를 입력하면 된다.

그러면 다음과 같은 bash 프롬프트가 나오며,

다음과 같이 입력하면 된다.


bash-3.2# passwd root

Changing password for root.

New password:

Retype new password:

bash-3.2#

이렇게 새로운 패스워드를 입력한 후,

su 명령어를 입력하고 패스워드를 입력하면 마음대로 root계정으로 터미널을 수행할 수 있다.

 
 http://www.tuning-java.com/328

 


Posted by 장안동베짱e :


VMware VIX API / vmrun

나는 VMware Workstation이나 Fusion을 띄워놓고 VM에 원격으로 접속하는 일이 잦은데

VMware이미지를 제어 할때 꼭 VMware가 설치되어 있는 OS에 먼저 원격으로 접속해야 되어서 번거로웠다.


어떻게 이걸 원격으로 제어 할수 없을까 싶어서 찾아보던 중에

VMware VIX API libraries라는걸 발견했다.


그안에 보면 vmrun이라는 명령어가 있는데

이걸 이용해서 굳이 귀찮게 GUI 를 거치지 않고 터미널 상에서 이미지들을 부팅, 재부팅, 셧다운, 스냅샷제어, 

파일을 vmware로 카피하고 파일을 원격에서 실행하고 데이타를 카피 아웃해 오는 것 등 여러가지 동작을 할수 있다.


vmrun 은 앞서말한 VMware VIX API libraries 에 포함된 유틸리티로, VMware Server 및 Workstation 버전에는 기본 포함되어 있다. VMware Fusion 이나 Player 사용자들의 경우 VIX API 다운로드 페이지를 통해 SDK 를 다운받아 설치하면 된다고 한다.(맥은 /Applications/VMware Fusion.app/Contents/Library/vmrun 에 있고 윈도우는 C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe 에 있음)



상세한 사용 방법은 아래의 URI를 참고하면 된다. vmware.com에 vmrun을 검색해보니 아래 버전외에는 검색이 안되는거 보니 추후버전에는 큰 변경사항은 없을 것 같다.

VMware Workstation 6.5, VMware Fusion 2.0, and VMware Server 2.0 http://www.vmware.com/pdf/vix162_vmrun_command.pdf VMware Workstation 7.0, VMware Fusion 3.0, VMware vSphere 4, VMware Server 2.0 http://www.vmware.com/pdf/vix180_vmrun_command.pdf


 

[VMware Workstation 기준 간단한 제어 요령]

[Workstation] 부팅: vmrun -T ws start /vm_folder/vm.vmx nogui 재부팅: vmrun -T ws reset /vm_folder/vm.vmx soft 셧다운: vmrun -T ws stop /vm_folder/vm.vmx soft 스냅샷 생성: vmrun -T ws snapshop /vm_folder/vm.vmx my_snapshot suspend : vmrun -T ws suspend /vm_folder/vm.vmx soft

[Fusion] 부팅: vmrun -T fusion start /vm_folder/vm.vmx nogui 재부팅: vmrun -T fusion reset /vm_folder/vm.vmx soft 셧다운: vmrun -T fusion stop /vm_folder/vm.vmx soft 스냅샷 생성: vmrun -T fusion snapshop /vm_folder/vm.vmx my_snapshot suspend : vmrun -T fusion suspend /vm_folder/vm.vmx soft

p.s 스냅샷 관련 기능들은 VMware Player 등에는 원래 없는 기능이기 때문에 당연히 동작하지 않는다. 

그 외에도 VMware 종류에 따라 지원되는 기능의 종류 및 범위가 한정되어 있다는 점도 잊지 말자.



결론) 커맨드라인상에서의 동작을 지원하니 원격에서 ssh로 붙어서 하던, 별도 스크립트나 프로그램을 짜던지 하면 간단하게 원격에서도 vmware이미지를 제어 할 수 있을듯하다.(..는 아마 안 바쁘면 내가 만들거라는 얘기, 혹시 만들면 올릴게요)


http://katselphrime.com/2014/03/16/vmrun/

http://bugtruck.blogspot.kr/2009/02/vmrun-vmware.html

http://www.vmware.com/kr/support-search.html?cc=www&client=VMware_Site_support_center&site=VMware_Site_support_center&cn=vmware&num=20&output=xml_no_dtd&ie=UTF-8&oe=UTF-8&q=Using+vmrun+to+Control+Virtual+Machines#client=VMware_Site_support_center&numgm=4&getfields=*&filter=0&site=VMware_Site_support_center&cc=en&ie=UTF-8&oe=UTF-8&start=0&num=20&cid=&tid=&cn=vmware&output=xml_no_dtd&q=Using vmrun to Control Virtual Machines


 


Posted by 장안동베짱e :


구글 간편 검색기


가끔 문서 검색할일이 있는데 주로 filetype:pdf검색을 많이 사용한다 

근데 문서가 PDF일수도 있고 ppt일때도 있고 pptx일때도 있고

아니면 파일타입 관계없이 필요할때도 많다


그럴때 마다 filetype: ... filetype:... 을 계속 하기 귀찮아서 검색기를 만들었다.

필요하신분은 수정해서 사용하시면 됩니다.


 
참고 : http://prattler22.tistory.com/21

 


Posted by 장안동베짱e :


Doxygen은 C, C++. C#, Objective-C, PHP, Java,Python, VHDL, Fortran, Tcl 등의 소스코드에서 주석을 약속된 문법대로 작성하면 주석을 분석해 HTML 또는 LATEX, PDF 형태로 소스코드를 문서화 해줍니다.

 따라서  Doxygen 을 사용하시면 소스코드의 분석 및 유지 보수에도 도움이 됩니다. 

 

우선 Doxygen 설치에 앞서 함수 구조도, 클래스 구조도등의 그래프를 무선에 포함시키기 위하여 Graphviz 를 설치하는게 좋습니다.

Graphviz은 http://www.graphviz.org/Download_windows.php 에서 받아 설치하면 됩니다.

 

다음으로 http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc 에서 OS에 맞는 Doxygen을 다운받아 설치합니다. 

 

Doxygen의 주석은 /**  */ 모양의 주석 안에 약속된 형태의 태그를 명시하고 그에대한 설명을 추가하는 형식으로 되어 있습니다. 문법에 대한 설명과 팁들을 보려면 공식 홈페이지 매뉴얼http://www.stack.nl/~dimitri/doxygen/manual.html 을 참고하시기 바랍니다.

  

다음 설명은 doxygen 1.8.2 버전을 기준으로 설명합니다. 

 

Doxygen-1.8.2 를 설치 후에 Doxywizard를 실행하시면 다음과 같은 화면이 뜹니다. 

 

 

 

 

[ Wizard >> Project ]

 

Specify the working directory from which doxygen will run 

프로젝트 루트 폴더를 지정합니다.  이 폴더 안에 소스코드와 Doxygen 결과가 저장될 폴더등이 이안에 있어야 합니다.

 

Project name
프로젝트 이름을 넣습니다.

 

Project verion or id
프로젝트 버전이나 다른 프로젝트와 구별할 수 있는 식별 번호를 입력합니다. 정해진 형식은 없으며 자유롭게 입력하시면 됩니다.

 

Source code directory
소스 파일이 있는 디렉토리를 지정해 줍니다.

 

Scan recursively
소스 파일이 소스 디렉토리 안에 또 다른 디렉토리 안에 작성되어 있다면, 모든 하위 디렉토리까지 뒤져가면서 문서를 작성할지의 여부를 지정합니다.

 

Destination diectory
Doxygen이 문서를 어디에 생성할지를 정해 줍니다. 이 디렉토리 및에 자동으로 “html”디렉토리를 생성하므로 Doxygen을 위한 디렉토리만 정해주시면 됩니다.


 

 

 

[ Wizard >> Mode ]

 

Include cross-refeenced source code in the output
이 옵션을 체크하면 각 함수마다 사용한 함수 코드로 바로 Jump할 수 있는 링크를 생성해 줍니다. 

 

Select progrmming language to optimize the results for

해당 프로그램 언어를 선택하시면 됩니다. 

 

 

 

 

 

[ Wizard >> Output ]

 

with navigation panel

출력 형식을 선언하는 것이며 문서 왼쪽에 탐색 트리가 있는 것이 편하므로 “with navigation panel”에 체크를 했습니다.

 

 

 

 

[ Wizard >> Diagrams ]

 

Use dot tool from the GraphViz package

 Doxygen에서 소스간의 관계를 그래프로 출력해 주는 기능이 있습니다. 그래프로 출력해주는 기능을 Dot Tool 이라고 하더군요. 당연히 관계 그래프가 출력되는 것이 좋으므로 모든 옵션을 체크했습니다

 

 

 

 

[ Expert >> Project ]

 

DOXYFILE_ENCODING

한글사용시 한글이 깨지는 것을 막기 위해 “EUC-KR”로 변경합니다.

 

OUTPUT_LANGUAGE

출력 결과에 쓰여질 언어를 선택합니다.

 

ALWAYS_DETAILED_SEC

항상 상세정보를 보여줍니다. REPEAT_BRIEF와 같이 선택하게되면 개략 정보가 없어도 상세정보 영역을 생성하게 됩니다.

 

INLINE_INHERITED_MEMB

생성자와 소멸자를 제외한 상속된 모든 멤버들을 보여줍니다.

 

 

 

 

[ Expert >> Build ]

 

EXTRACT_ALL

이 항목을 체크 하시면 소스코드 내의 모든 요소가 문서화 대상이 됩니다.

하지만 EXTRACT_PRIVATE EXTRACT_STATIC에 체크돼 있지 않으면 private 멤버와 static 멤버는 문서화 되지 않습니다.

 

EXTRACT_PRIVATE

이 항목을 체크 하시면 클래스내의 모든 private 멤버가 문서화 대상이 됩니다.

 

EXTRACT_STATIC

이 항목을 체크 하시면 클래스내의 모든 static 멤버가 문서화 대상이 됩니다.

 

 

 

 

[ Expert >> Input ]

 

INPUT_ENCODING
한글이 깨지는 문제를 피하기 위해 “EUC-KR”로 변경합니다.

 

 

 

 

[ Expert >> Source Browser ]

 

INLINE_SOURCES 

이 항목을 체크 하시면 함수 설명에서 함수 소스코드가 들어가게 됩니다.

 

 

 

 

[ Expert >> Dot ]

 

ClASS_DIAGRAMS

클래스의 상속구조 다이어그램으로 그립니다.

 

UML_LOOK

다이어그램을 UML 형식으로 그립니다.

 

 

 

 

Run ]

 

Run doxygen

이 버튼을 클릭하시면 Doxygen 문서가 생성됩니다.

 

Show HTML output

Doxygen has finished 가 되었다면 이버튼을 통해 HTML을 볼수 있습니다.

이미 새성된 HTML은 Destinatione diectory 로 지정한 디렉토리 밑에 “html” 디렉토리가 있으며, 그안의 "index.html" 을 이용하여 HTML을 보셔도 됩니다.

 

 

이 설정 내용은 Doxygen 메뉴의 File >> Save 를 통해 저장하시면 소스 코드 변경후에 File >> Open 을 통하여 설정내용을 불러와서 그대로 다시 문서를 생성할수 있습니다.

 

이상 Doxygen 설정 방법 및 문서생성에 관한 글을 마치도록 하겠습니다. 


http://blog.naver.com/gepanow/130147573849

 


Posted by 장안동베짱e :



- 명령어 wevtutil.exe cl <LogName>


- 사용방법 wevtutil.exe cl "Application" & wevtutil.exe cl "Security" & wevtutil.exe cl "Setup" & wevtutil.exe cl "System" & wevtutil.exe cl "Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational"


 

http://cleverdj.tistory.com/102

 


Posted by 장안동베짱e :


Introduction

Apache Nutch is an open source Web crawler written in Java. By using it, we can find Web page hyperlinks in an automated manner, reduce lots of maintenance work, for example checking broken links, and create a copy of all the visited pages for searching over. That’s where Apache Solr comes in. Solr is an open source full text search framework, with Solr we can search the visited pages from Nutch. Luckily, integration between Nutch and Solr is pretty straightforward as explained below.

Apache Nutch supports Solr out-the-box, greatly simplifying Nutch-Solr integration. It also removes the legacy dependence upon both Apache Tomcat for running the old Nutch Web Application and upon Apache Lucene for indexing. Just download a binary release from here.


Table of Contents

Steps

This tutorial describes the installation and use of Nutch 1.x (current release is 1.7). How to compile and set up Nutch 2.x with HBase, see Nutch2Tutorial.


1. Setup Nutch from binary distribution

  • Download a binary package (apache-nutch-1.X-bin.zip) from here.

  • Unzip your binary Nutch package. There should be a folder apache-nutch-1.X.

  • cd apache-nutch-1.X/

From now on, we are going to use ${NUTCH_RUNTIME_HOME} to refer to the current directory (apache-nutch-1.X/).

Set up from the source distribution

Advanced users may also use the source distribution:

  • Download a source package (apache-nutch-1.X-src.zip)

  • Unzip
  • cd apache-nutch-1.X/

  • Run ant in this folder (cf. RunNutchInEclipse)

  • Now there is a directory runtime/local which contains a ready to use Nutch installation.

When the source distribution is used ${NUTCH_RUNTIME_HOME} refers to apache-nutch-1.X/runtime/local/. Note that

  • config files should be modified in apache-nutch-1.X/runtime/local/conf/

  • ant clean will remove this directory (keep copies of modified config files)


2. Verify your Nutch installation

  • run "bin/nutch" - You can confirm a correct installation if you seeing similar to the following:

Usage: nutch COMMAND where command is one of:
crawl             one-step crawler for intranets (DEPRECATED)
readdb            read / dump crawl db
mergedb           merge crawldb-s, with optional filtering
readlinkdb        read / dump link db
inject            inject new urls into the database
generate          generate new segments to fetch from crawl db
freegen           generate new segments to fetch from text files
fetch             fetch a segment's pages

Some troubleshooting tips:

  • Run the following command if you are seeing "Permission denied":

chmod +x bin/nutch
  • Setup JAVA_HOME if you are seeing JAVA_HOME not set. On Mac, you can run the following command or add it to ~/.bashrc:

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

On Debian or Ubuntu, you can run the following command or add it to ~/.bashrc:

export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")


3. Crawl your first website

  • Add your agent name in the value field of the http.agent.name property in conf/nutch-site.xml, for example:

<property>
 <name>http.agent.name</name>
 <value>My Nutch Spider</value>
</property>
  • mkdir -p urls

  • cd urls

  • touch seed.txt to create a text file seed.txt under urls/ with the following content (one URL per line for each site you want Nutch to crawl).

http://nutch.apache.org/
  • Edit the file conf/regex-urlfilter.txt and replace

# accept anything else
+.

with a regular expression matching the domain you wish to crawl. For example, if you wished to limit the crawl to the nutch.apache.org domain, the line should read:

 +^http://([a-z0-9]*\.)*nutch.apache.org/

This will include any URL in the domain nutch.apache.org.


3.1 Using the Crawl Command

The crawl command is deprecated. Please see section 3.3 on how to use the crawl script that is intended to replace the crawl command.

Now we are ready to initiate a crawl, use the following parameters:

  • -dir dir names the directory to put the crawl in.

  • -threads threads determines the number of threads that will fetch in parallel.

  • -depth depth indicates the link depth from the root page that should be crawled.

  • -topN N determines the maximum number of pages that will be retrieved at each level up to the depth.

  • Run the following command:

bin/nutch crawl urls -dir crawl -depth 3 -topN 5
  • Now you should be able to see the following directories created:

crawl/crawldb
crawl/linkdb
crawl/segments

NOTE: If you have a Solr core already set up and wish to index to it, you are required to add the -solr <solrUrl> parameter to your crawl command e.g.

bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5

If not then please skip to here for how to set up your Solr instance and index your crawl data.

Typically one starts testing one's configuration by crawling at shallow depths, sharply limiting the number of pages fetched at each level (-topN), and watching the output to check that desired pages are fetched and undesirable pages are not. Once one is confident of the configuration, then an appropriate depth for a full crawl is around 10. The number of pages per level (-topN) for a full crawl can be from tens of thousands to millions, depending on your resources.


3.2 Using Individual Commands for Whole-Web Crawling

NOTE: If you previously modified the file conf/regex-urlfilter.txt as covered here you will need to change it back.

Whole-Web crawling is designed to handle very large crawls which may take weeks to complete, running on multiple machines. This also permits more control over the crawl process, and incremental crawling. It is important to note that whole Web crawling does not necessarily mean crawling the entire World Wide Web. We can limit a whole Web crawl to just a list of the URLs we want to crawl. This is done by using a filter just like we the one we used when we did the crawl command (above).

Step-by-Step: Concepts

Nutch data is composed of:

  1. The crawl database, or crawldb. This contains information about every URL known to Nutch, including whether it was fetched, and, if so, when.
  2. The link database, or linkdb. This contains the list of known links to each URL, including both the source URL and anchor text of the link.
  3. A set of segments. Each segment is a set of URLs that are fetched as a unit. Segments are directories with the following subdirectories:
    • crawl_generate names a set of URLs to be fetched

    • crawl_fetch contains the status of fetching each URL

    • content contains the raw content retrieved from each URL

    • parse_text contains the parsed text of each URL

    • parse_data contains outlinks and metadata parsed from each URL

    • crawl_parse contains the outlink URLs, used to update the crawldb

Step-by-Step: Seeding the crawldb with a list of URLs

Option 1: Bootstrapping from the DMOZ database.

The injector adds URLs to the crawldb. Let's inject URLs from the DMOZ Open Directory. First we must download and uncompress the file listing all of the DMOZ pages. (This is a 200+ MB file, so this will take a few minutes.)

wget http://rdf.dmoz.org/rdf/content.rdf.u8.gz
gunzip content.rdf.u8.gz

Next we select a random subset of these pages. (We use a random subset so that everyone who runs this tutorial doesn't hammer the same sites.) DMOZ contains around three million URLs. We select one out of every 5,000, so that we end up with around 1,000 URLs:

mkdir dmoz
bin/nutch org.apache.nutch.tools.DmozParser content.rdf.u8 -subset 5000 > dmoz/urls

The parser also takes a few minutes, as it must parse the full file. Finally, we initialize the crawldb with the selected URLs.

bin/nutch inject crawl/crawldb dmoz

Now we have a Web database with around 1,000 as-yet unfetched URLs in it.

Option 2. Bootstrapping from an initial seed list.

This option shadows the creation of the seed list as covered here.

bin/nutch inject crawl/crawldb urls

Step-by-Step: Fetching

To fetch, we first generate a fetch list from the database:

bin/nutch generate crawl/crawldb crawl/segments

This generates a fetch list for all of the pages due to be fetched. The fetch list is placed in a newly created segment directory. The segment directory is named by the time it's created. We save the name of this segment in the shell variable s1:

s1=`ls -d crawl/segments/2* | tail -1`
echo $s1

Now we run the fetcher on this segment with:

bin/nutch fetch $s1

Then we parse the entries:

bin/nutch parse $s1

When this is complete, we update the database with the results of the fetch:

bin/nutch updatedb crawl/crawldb $s1

Now the database contains both updated entries for all initial pages as well as new entries that correspond to newly discovered pages linked from the initial set.

Now we generate and fetch a new segment containing the top-scoring 1,000 pages:

bin/nutch generate crawl/crawldb crawl/segments -topN 1000
s2=`ls -d crawl/segments/2* | tail -1`
echo $s2

bin/nutch fetch $s2
bin/nutch parse $s2
bin/nutch updatedb crawl/crawldb $s2

Let's fetch one more round:

bin/nutch generate crawl/crawldb crawl/segments -topN 1000
s3=`ls -d crawl/segments/2* | tail -1`
echo $s3

bin/nutch fetch $s3
bin/nutch parse $s3
bin/nutch updatedb crawl/crawldb $s3

By this point we've fetched a few thousand pages. Let's invert links and index them!

Before indexing we first invert all of the links, so that we may index incoming anchor text with the pages.

bin/nutch invertlinks crawl/linkdb -dir crawl/segments

We are now ready to search with Apache Solr.

Step-by-Step: Indexing into Apache Solr

Note: For this step you should have Solr installation. If you didn't integrate Nutch with Solr. You should read here.

Now we are ready!!! To go on and index the all the resources. For more information see this paper

     Usage: bin/nutch solrindex <solr url> <crawldb> [-linkdb <linkdb>][-params k1=v1&k2=v2...] (<segment> ...| -dir <segments>) [-noCommit] [-deleteGone] [-filter] [-normalize]
     Example: bin/nutch solrindex http://localhost:8983/solr crawl/crawldb/ -linkdb crawl/linkdb/ crawl/segments/20131108063838/ -filter -normalize

Step-by-Step: Deleting Duplicates

Once indexed the entire contents, it must be disposed of duplicate urls in this way ensures that the urls are unique.

MapReduce:

  • Map: Identity map where keys are digests and values are SolrRecord instances (which contain id, boost and timestamp)

  • Reduce: After map, SolrRecords with the same digest will be grouped together. Now, of these documents with the same digests, delete all of them except the one with the highest score (boost field). If two (or more) documents have the same score, then the document with the latest timestamp is kept. Again, every other is deleted from solr index.

     Usage: bin/nutch solrdedup <solr url>
     Example: /bin/nutch solrdedup http://localhost:8983/solr

Step-by-Step: Cleaning Solr

The class scans a crawldb directory looking for entries with status DB_GONE (404) and sends delete requests to Solr for those documents. Once Solr receives the request the aforementioned documents are duly deleted. This maintains a healthier quality of Solr index.

     Usage: bin/nutch solrclean <crawldb> <solrurl>
     Example: /bin/nutch solrclean crawl/crawldb/ http://localhost:8983/solr


3.3. Using the crawl script

If you have followed the 3.2 section above on how the crawling can be done step by step, you might be wondering how a bash script can be written to automate all the process described above.

Nutch developers have written one for you :), and it is available at bin/crawl.

     Usage: bin/crawl <seedDir> <crawlID> <solrURL> <numberOfRounds>
     Example: bin/crawl urls/seed.txt TestCrawl http://localhost:8983/solr/ 2
     Or you can use:
     Example: bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5

The crawl script has lot of parameters set, and you can modify the parameters to your needs. It would be ideal to understand the parameters before setting up big crawls.

  • download binary file from here

  • unzip to $HOME/apache-solr-3.X, we will now refer to this as ${APACHE_SOLR_HOME}

  • cd ${APACHE_SOLR_HOME}/example

  • java -jar start.jar


5. Verify Solr installation

After you started Solr admin console, you should be able to access the following links:

http://localhost:8983/solr/#/


6. Integrate Solr with Nutch

We have both Nutch and Solr installed and setup correctly. And Nutch already created crawl data from the seed URL(s). Below are the steps to delegate searching to Solr for links to be searchable:

  • mv ${APACHE_SOLR_HOME}/example/solr/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/schema.xml.org
  • cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/example/solr/conf/

  • vi ${APACHE_SOLR_HOME}/example/solr/conf/schema.xml
  • Copy exactly in 351 line: <field name="_version_" type="long" indexed="true" stored="true"/>

  • restart Solr with the command “java -jar start.jar” under ${APACHE_SOLR_HOME}/example

  • run the Solr Index command:

bin/nutch solrindex http://127.0.0.1:8983/solr/ crawl/crawldb -linkdb crawl/linkdb crawl/segments/*

The call signature for running the solrindex has changed. The linkdb is now optional, so you need to denote it with a "-linkdb" flag on the command line.

This will send all crawl data to Solr for indexing. For more information please see bin/nutch solrindex

If all has gone to plan, we are now ready to search with http://localhost:8983/solr/admin/. If you want to see the raw HTML indexed by Solr, change the content field definition in schema.xml to:

<field name="content" type="text" stored="true" indexed="true"/>

NutchTutorial (last edited 2013-11-30 11:02:17 by talat)




 

http://wiki.apache.org/nutch/NutchTutorial

 

Posted by 장안동베짱e :


win-get(windows-get)

win-get is an automated install system and software repository for Microsoft Windows written in pascal (for the command line client) and php for the online repository. The ideas for its creation come from apt-get and other related tools for the *nix platforms.


The system works by connecting to a link repository. Finding an application and downloading it from the stored link using wget.exe . Then performing the installation routine (silent or standard). And finnally deleting the install file.


Installation: 1. Download wget.exe 2. Download win-get.exe (version 1.01) 3. Put the 2 files some where on your system (I like in the c:\windows so they are system wide accessible). *** If you are upgrading to the 1.x version from any previous version you must delete your win-get.conf file and allow win-get to recreate it!! *** Questions, Comments, Bug-reports? visit the sourceforge site at: http://sourceforge.net/projects/windows-get or email me ryan.proctor@gmail.com You can view the current changelog here: changelog.txt

내용

 

http://windows-get.sourceforge.net/

 


Posted by 장안동베짱e :


# Python 라이브러리

optparse : 커멘드라인에서 옵션을 처리하기 위한 라이브러리

python-nmap : python에서 nmap 을 사용할수 있는 라이브러리

pexpect : 프로그램 작동, 프로그램의 결과 받아서 자동화를 할수 있는 라이브러리(이책에서는 ssh 접속 자동화를 위해 사용)

pxssh : pexpect라이브러리에 있는 ssh 세션과 직접 연동할 스크립트

ftplib : ftp라이브러리

_winreg : 윈도우 레지스트리를 읽기위한 라이브러리

mechanize : 웹 자동화 라이브러리

pyPDF : PDF 문서 관리 라이브러리

exiftool : Exif 정보 라이브러리

beutifulsoup4 : html, xml 의 구문분석 라이브러리

PIL : 파이선 이미지 라이브러리

sqlite3 : sqlite3 라이브러리

pyGeoIP : GeoLiteCity 데이터베이스를 쿼리 할수 있는 라이브러리

dpkt, scapy : 패킷분석을 위한 라이브러리

python-bluez : 파이선 블루투스 라이브러리

cookielib : 쿠키를 처리할수 있는 라이브러리

smtplib : smtp 라이브러리

ctype : C스타일 코드를 작성하기 위한 ctype 라이브러리


: python-nmap pexpect pxssh ftplib _winreg mechanize pyPDF exiftool beutifulsoup4 PIL sqlite3 pyGeoIP dpkt, scapy python-bluez cookielib smtplib ctype



Posted by 장안동베짱e :

 

Place

Web

Description

Formats

www.skullsecurity.org

On the web you can find the 500 pass most used variety of dictionaries (languages, actors, porn, etc ...), names from facebook, also lists the location of files (linux, windows), extensions of web applications (phpmyadmin, apache, phpbb etc ...), it is certainly the most comprehensive web I've seen to find the specific dictionary for brute force we seek.

*.txt.bz2 *.txt

www.insidepro.com

Brings dictionaries by language and some made by the same web site (InsidePro), also brings the mythical dictionary and one of hashkiller.com milw0rm.com, and also brings a compact with the names of Facebook. I personally really like that is neat and clear the site.

* Rar -.> * Dic.

packetstormsecurity.org

Here you can find dictionaries that comes to mind (asteroids, rock, myths and legends, cinema, jazz, names, etc ...). The only problem is you have to look at a long list with no logical order.

*.txt *.txt.gz

www.cotse.com (1) 
www.cotse.com (2)

A website that offers many topics: common passwords, the terms of Street Drugs, host names, the words of the King James Bible, Latin words, Minix / usr / dict, names of movies, classical music, country music, jazz, other music, rock music, musicals, myths and legends, names of players, player names, surnames whites, among many others. Just a bit annoying clutter.

*

ftp.ox.ac.uk

FTP bring a wide variety of dictionaries by language, some literature, movieTV, music, names, etc ...

*. Z *. Gz

ftp.openwall.com

This is the FTP known that brings Openwall passwords compact and a wide variety of dictionaries for languages.

*.gz

ftp.cerias.purdue.edu

FTP much like the previous two it brings among its varieties: language, literature, movieTV, places, names, random, religion, computer, science.

*.gz

vxchaos.official.ws

This is a server that collects many files relating to "hack", and in its wordlist section is extensive and varied a collection of dictionaries to brute force, the only problem is that you can download many at a time, have many formats and are very messy.

. * Zip *. Txt.gz *. Dic *. Txt *. Gz *. Rar. * Zip *. Z

ftp.zedz.net

FTP with varied number of dictionaries (languages, actors, movies, names, etc ...)

*

10°

contest.korelogic.com

Here you can locate an dictionaries with 2 letter combinations, city names, football teams, names from Facebook, Words from the Wiki (depending on language), etc ...

*. * December. Dic.gz *. Txt

11°

www.leetupload.com

This is another collection diccinarios server.

*. Zip *. Rare. Txt

12°

ftp.funet.fi

FTP with dictionaries for languages.

*. Z *

13°

wordlist.sourceforge.net

Here's a little collection complete, but equally useful.

*.tar.gz *.zip

14°

article7.org

Here you can find a handful of dictionaries.

*txt *.zip

15°

www.nomorecrypto.com

We provide a torrent with a dictionary of 31 GB or more, no less.

*txt *.zip



Bonus Track 1:

 

Well, no need to do brute force if they have the default passwords that come in router, telnet, HTTP, etc ... That are these 3 sites:

 

Place

Web

Description

www.vulnerabilityassessment.co.uk

The largest collection of default passwords on all services and models, and are ordered by alphabet: Z |Numeric | AS400 Default Accounts | Oracle Default Passwords

www.phenoelit-us.org

Default password list many authentication services. It ran a single list.

www.indianz.ch

List Previous much like, but it seems a little less full.

                                                                                                   
Bonus Track 2:

 

And there are not only gross Force passwords, but also for system files, Apache, Oracle, CGI, etc ... That's what this website brings many statements apart for SQLi and XSS:

http://yehg.net/



http://osysleo.blogspot.kr/2013/01/dictionaries-brute-force-brute-force.html

 




Posted by 장안동베짱e :

01 시작

The dependencies page lists all the jars that you will need to have in your classpath.

The class com.gargoylesoftware.htmlunit.WebClient is the main starting point. This simulates a web browser and will be used to execute all of the tests.

Most unit testing will be done within a framework like JUnit so all the examples here will assume that we are using that.

In the first sample, we create the web client and have it load the homepage from the HtmlUnit website. We then verify that this page has the correct title. Note that getPage() can return different types of pages based on the content type of the returned data. In this case we are expecting a content type of text/html so we cast the result to an com.gargoylesoftware.htmlunit.html.HtmlPage.


@Test

public void homePage() throws Exception {

    final WebClient webClient = new WebClient();

    final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");

    Assert.assertEquals("HtmlUnit - Welcome to HtmlUnit", page.getTitleText());

 

    final String pageAsXml = page.asXml();

    Assert.assertTrue(pageAsXml.contains("<body class=\"composite\">"));

 

    final String pageAsText = page.asText();

    Assert.assertTrue(pageAsText.contains("Support for the HTTP and HTTPS protocols"));

 

    webClient.closeAllWindows();

}


Often you will want to simulate a specific browser. This is done by passing a com.gargoylesoftware.htmlunit.BrowserVersion into the WebClient constructor. Constants have been provided for some common browsers but you can create your own specific version by instantiating a BrowserVersion.


@Test

public void homePage_Firefox() throws Exception {

    final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_17);

    final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");

    Assert.assertEquals("HtmlUnit - Welcome to HtmlUnit", page.getTitleText());

 

    webClient.closeAllWindows();

}


Specifying this BrowserVersion will change the user agent header that is sent up to the server and will change the behavior of some of the JavaScript.

Once you have a reference to an HtmlPage, you can search for a specific HtmlElement by one of 'get' methods, or by using XPath.

Below is an example of finding a 'div' by an ID, and getting an anchor by name:


@Test

public void getElements() throws Exception {

    final WebClient webClient = new WebClient();

    final HtmlPage page = webClient.getPage("http://some_url");

    final HtmlDivision div = page.getHtmlElementById("some_div_id");

    final HtmlAnchor anchor = page.getAnchorByName("anchor_name");

 

    webClient.closeAllWindows();

}


XPath is the suggested way for more complex searches, a brief tutorial can be found in W3Schools


@Test

public void xpath() throws Exception {

    final WebClient webClient = new WebClient();

    final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");

 

    //get list of all divs

    final List<?> divs = page.getByXPath("//div");

 

    //get div which has a 'name' attribute of 'John'

    final HtmlDivision div = (HtmlDivision) page.getByXPath("//div[@name='John']").get(0);

 

    webClient.closeAllWindows();

}


The last WebClient constructor allows you to specify proxy server information in those cases where you need to connect through one.


@Test

public void homePage_proxy() throws Exception {

    final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_10, "http://myproxyserver", myProxyPort);

 

    //set proxy username and password

    final DefaultCredentialsProvider credentialsProvider = (DefaultCredentialsProvider) webClient.getCredentialsProvider();

    credentialsProvider.addCredentials("username", "password");

 

    final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");

    Assert.assertEquals("HtmlUnit - Welcome to HtmlUnit", page.getTitleText());

 

    webClient.closeAllWindows();

}


Specifying this BrowserVersion will change the user agent header that is sent up to the server and will change the behavior of some of the JavaScript.


Frequently we want to change values in a form and submit the form back to the server. The following example shows how you might do this.


@Test

public void submittingForm() throws Exception {

    final WebClient webClient = new WebClient();

 

    // Get the first page

    final HtmlPage page1 = webClient.getPage("http://some_url");

 

    // Get the form that we are dealing with and within that form,

    // find the submit button and the field that we want to change.

    final HtmlForm form = page1.getFormByName("myform");

 

    final HtmlSubmitInput button = form.getInputByName("submitbutton");

    final HtmlTextInput textField = form.getInputByName("userid");

 

    // Change the value of the text field

    textField.setValueAttribute("root");

 

    // Now submit the form by clicking the button and get back the second page.

    final HtmlPage page2 = button.click();

 

    webClient.closeAllWindows();

}


 

02 키보드 사용

For a given WebClient, the focus can be on at most one element at any given time. Focus doesn't have to be on any element within the WebClient.

There are several ways to move the focus from one element to another. The simplest is to call HtmlPage.setFocusedElement(HtmlElement). This method will remove focus from whatever element currently has it, if any, and will set it to the new component. Along the way, it will fire off any "onfocus" and "onblur" handlers that have been defined.

The element currently owning the focus can be determined with a call to HtmlPage.getFocusedElement().

To simulate keyboard navigation via the tab key, you can call HtmlPage.tabToNextElement() and HtmlPage.tabToPreviousElement() to cycle forward or backwards through the defined tab order. This tab order is defined by the tabindex attribute on the various elements as defined by the HTML specification. You can query the defined tab order with the method HtmlPage.getTabbableElements() which will return a list of all tabbable elements in defined tab order.

Access keys, often called keyboard mnemonics, can be simulated with the method HtmlPage.pressAccessKey(char).

To use special keys, you can use htmlElement.type(int) with KeyboardEvent.DOM_VK_PAGE_DOWN.

Finally, there is an assertion for testing that will verify that every tabbable element has a defined tabindex attribute. This is done with WebAssert.assertAllTabIndexAttributesSet().


 

03 테이블 사용

The first set of examples will use this simple html.


<html><head><title>Table sample</title></head><body>

    <table id="table1">

        <tr>

            <th>Number</th>

            <th>Description</th>

        </tr>

        <tr>

            <td>5</td>

            <td>Bicycle</td>

        </tr>

    </table>

</body></html>


This example shows how to iterate over all the rows and cells


final HtmlTable table = page.getHtmlElementById("table1");

for (final HtmlTableRow row : table.getRows()) {

    System.out.println("Found row");

    for (final HtmlTableCell cell : row.getCells()) {

        System.out.println("   Found cell: " + cell.asText());

    }

}


The following sample shows how to access specific cells by row and column


final WebClient webClient = new WebClient();

final HtmlPage page = webClient.getPage("http://foo.com");

 

final HtmlTable table = page.getHtmlElementById("table1");

System.out.println("Cell (1,2)=" + table.getCellAt(1,2));


The next examples will use a more complicated table that includes table header, footer and body sections as well as a caption


<html><head><title>Table sample</title></head><body>

    <table id="table1">

        <caption>My complex table</caption>

        <thead>

            <tr>

                <th>Number</th>

                <th>Description</th>

            </tr>

        </thead>

        <tfoot>

            <tr>

                <td>7</td>

                <td></td>

            </tr>

        </tfoot>

        <tbody>

            <tr>

                <td>5</td>

                <td>Bicycle</td>

            </tr>

        </tbody>

        <tbody>

            <tr>

                <td>2</td>

                <td>Tricycle</td>

            </tr>

        </tbody>

    </table>

</body></html>


HtmlTableHeader, HtmlTableFooter and HtmlTableBody sections are groupings of rows. There can be at most one header and one footer but there may be more than one body. Each one of these contains rows which can be accessed via getRows()


final HtmlTableHeader header = table.getHeader();

final List<HtmlTableRow> headerRows = header.getRows();

 

final HtmlTableFooter footer = table.getFooter();

final List<HtmlTableRow> footerRows = footer.getRows();

 

for (final HtmlTableBody body : table.getBodies()) {

    final List<HtmlTableRow> rows = body.getRows();

    ...

}

Every table may optionally have a caption element which describes it.

final String caption = table.getCaptionText()


 

04 프레임(frame / iframe)사용

Getting the page inside <frame> element or <iframe> element can be done by using HtmlPage.getFrames().
Suppose you have the following page:

<html>
  <body>
    <iframe src="two.html">
  </body>
</html>

You can use the following code to get the content of two.html:

final List<FrameWindow> window = page.getFrames();
final HtmlPage pageTwo = (HtmlPage) window.get(0).getEnclosedPage();

Another example that navigates API docs to get a desired page of a class:

final WebClient client = new WebClient();
final HtmlPage mainPage = client.getPage("http://htmlunit.sourceforge.net/apidocs/index.html");

To get the page of the first frame (at upper left) and click the sixth link:

final HtmlPage packageListPage = (HtmlPage) mainPage.getFrames().get(0).getEnclosedPage();
packageListPage.getAnchors().get(5).click();

To get the page of the frame named 'packageFrame' (at lower left) and click the second link:

final HtmlPage pakcagePage = (HtmlPage) mainPage.getFrameByName("packageFrame").getEnclosedPage();
pakcagePage.getAnchors().get(1).click();

To get the page of the frame named 'classFrame' (at right):

final HtmlPage classPage = (HtmlPage) mainPage.getFrameByName("classFrame").getEnclosedPage();


 

05 윈도우 사용

All pages are contained within WebWindow objects. This could be a TopLevelWindow representing an actual browser window, an HtmlFrame representing a <frame> element or an HtmlInlineFrame representing an <iframe> element.

When a WebClient is first instantiated, a TopLevelWindow is automatically created. You could think of this as being the first window displayed by a web browser. Calling WebClient.getPage(WebWindow, WebRequest) will load the new page into this window.

The JavaScript open() function can be used to load pages into other windows. New WebWindow objects will be created automatically by this function.


If you wish to be notified when windows are created or pages are loaded, you need to register a WebWindowListener with the WebClient via the method WebClient.addWebWindowListener(WebWindowListener)

When a window is opened either by JavaScript or through the WebClient, a WebWindowEvent will be fired and passed into the WebWindowListener.webWindowOpened(WebWindowEvent) method. Note that both the new and old pages in the event will be null as the window does not have any content loaded at this point. If a URL was specified during creation of the window then the page will be loaded and another event will be fired as described below.

When a new page is loaded into a specific window, a WebWindowEvent will be fired and passed into the WebWindowListener.webWindowContentChanged(WebWindowEvent) method.


 

06 JavaScript 사용

A frequent question we get is "how do I test my JavaScript?". There is nothing really specific for using JavaScript, it is automatically processed. So, you just need to .getPage(), find the element to click(), and then check the result. Tests for complex JavaScript libraries are included in HtmlUnit test base, you can find it here which is useful to get an idea.

Usually, you should wait() or sleep() a little, as HtmlUnit can finish before the AJAX response is retrieved from the server, please read this FAQ.

Below are some examples:


Lets say that we have a page containing JavaScript that will dynamically write content to the page. The following html will dynamically generate five textfields and place them inside a table. Each textfield will have a unique name created by appending the index to the string "textfield".

<html><head><title>Table sample</title></head><body>
    <form action='/foo' name='form1'>
    <table id="table1">
        <script type="text/javascript">
            for (i = 1; i <= 5; i++) {
                document.write("<tr><td>" + i
                    + "</td><td><input name='textfield" + i
                    + "' type='text'></td></tr>");
            }
        </script>
    </table></form>
</body></html>

We would likely want to test that the five text fields were created so we could start with this.

@Test
public void documentWrite() throws Exception {
    final WebClient webClient = new WebClient();
 
    final HtmlPage page = webClient.getPage("http://myserver/test.html");
    final HtmlForm form = page.getFormByName("form1");
    for (int i = 1; i <= 5; i++) {
        final String expectedName = "textfield" + i;
        Assert.assertEquals(
            "text", 
            form.<HtmlInput>getInputByName(expectedName).getTypeAttribute());
    }
}

We might also want to check off-by-one errors by ensuring that it didn't create "textfield0" or "textfield6". Trying to get an element that doesn't exist will cause an exception to be thrown so we could add this to the end of the previous test.

try {
    form.getInputByName("textfield0");
    fail("Expected an ElementNotFoundException");
}
catch (final ElementNotFoundException e) {
    // Expected path
}
 
try {
    form.getInputByName("textfield6");
    fail("Expected an ElementNotFoundException");
}
catch (final ElementNotFoundException e) {
    // Expected path
}

Often you want to watch alerts triggered by JavaScript.

<html><head><title>Alert sample</title></head>
<body onload='alert("foo");'>
</body></html>

Alerts are tracked by an AlertHandler which will be called whenever the JavaScript alert() function is called. In the following test, we register an alert handler which just saves all messages into a list. When the page load is complete, we compare that list of collected alerts with another list of expected alerts to ensure they are the same.

@Test
public void alerts() throws Exception {
    final WebClient webClient = new WebClient();
 
    final List collectedAlerts = new ArrayList();
    webClient.setAlertHandler(new CollectingAlertHandler(collectedAlerts));
 
    // Since we aren't actually manipulating the page, we don't assign
    // it to a variable - it's enough to know that it loaded.
    webClient.getPage("http://tciludev01/test.html");
 
    final List expectedAlerts = Collections.singletonList("foo");
    Assert.assertEquals(expectedAlerts, collectedAlerts);
}

Handling prompt dialogs, confirm dialogs and status line messages work in the same way as alerts. You register a handler of the appropriate type and it will get notified when that method is called. See WebClient.setPromptHandler(), WebClient.setConfirmHandler() and WebClient.setStatusHandler() for details on these.

Most event handlers are already implemented: onload, onclick, ondblclick, onmouseup, onsubmit, onreadystatechange, ... They will be triggered at the appropriate time just like in a "real browser".

If the event that you wish to test is not yet supported then you can directly invoke it through the ScriptEngine. Note that while the script engine is publicly accessible, we do not recommend using it directly unless you have no other choice. It is much better to manipulate the page as a user would by clicking on elements and shifting the focus around.


 

07 ActiveX 사용

Although HtmlUnit is a pure Java implementation that simulates browsers, there are some cases where platform-specific features require integration of other libraries, and ActiveX is one of them.

Internet Explorer on Windows can run arbitrary ActiveX components (provided that security level is lowered on purpose, if the user trusts the website). Neither HtmlUnit nor Internet Explorer has any control on the behavior of the run ActiveX, so you have to be careful before using that feature.


The current implementation depends on Jacob, and because it has .dll dependency, it was not uploaded to maven repository. The dependency is optional, i.e. Jacob jar is not needed for compiling or usual usage of HtmlUnit.

To use Jacob, add jacob.jar to the classpath and put the .dll in the path (java.library.path) so that the following code works for you:

final ActiveXComponent activeXComponent = new ActiveXComponent("InternetExplorer.Application");
final boolean busy = activeXComponent.getProperty("Busy").getBoolean();
System.out.println(busy);

The only thing needed is setting WebClient property:

webClient.getOptions().setActiveXNative(true);

and there you go!

 

Posted by 장안동베짱e :

1.Facebook api를 사용해서 글등록시 연속으로 등록 시 스팸방지 에러메세지가 뜨며 등록이 되지 않는다. 결국 Htmlunit 라이브러리를 이용하여 가상브라우져에서 등록하는 방식으로 구현하였슴


2. 개발에 유의한점은 

- html 을 단순화하여 분석하기 위해 모바일 페이지로 접속(m.facebook.com)

- 한글/영문등 언어별로 페이지가 다르게 나타나므로 한글페이지로 접속하도록 http header 강제 설정


3. 소스 

- 아래 소스에서 ID, PW를 facebook 계정으로 바꾸어 사용하면 됨

import java.util.List; import org.apache.log4j.Logger; import com.gargoylesoftware.htmlunit.BrowserVersion; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlElement; import com.gargoylesoftware.htmlunit.html.HtmlForm; import com.gargoylesoftware.htmlunit.html.HtmlInput; import com.gargoylesoftware.htmlunit.html.HtmlPage; public class FacebookPost2 { private static Logger log = Logger.getLogger("facebook2"); public static void main(String[] args) throws Exception { new FacebookPost2().reg("", "test"); } public void reg(String title, String content) throws Exception{ String message = ""; message = content; WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_8); //브라우져 Header 설정 webClient.addRequestHeader("Accept-Language", "ko-KR,ko;q=0.8,en-US;q=0.6,en;q=0.4, value"); webClient.addRequestHeader("Accept-Charset", "windows-949,utf-8;q=0.7,*;q=0.3"); webClient.setThrowExceptionOnScriptError(true); webClient.getCookieManager().setCookiesEnabled(true); webClient.setJavaScriptEnabled(true); //페이지 접속 HtmlPage page = (HtmlPage) webClient.getPage("http://m.facebook.com"); List<htmlform> htmlf = page.getForms(); //1번째 Form HtmlForm form = htmlf.get(0); //ID/PW 설정 form.<htmlinput> getInputByName("email").setValueAttribute(ID); form.<htmlinput> getInputByName("pass").setValueAttribute(PW); page = (HtmlPage) form.getInputByName("login").click(); Thread.sleep(100); log.error("button click"); //글 등록 page.<htmlelement> getElementByName("status").focus(); page.<htmlelement> getElementByName("status").setTextContent(message); page.<htmlelement> getElementByName("update").click(); //브라우져 닫기 webClient.closeAllWindows(); } }</htmlelement></htmlelement></htmlelement></htmlinput></htmlinput></htmlform>

<< 위코드는 약간의 수정이 필요합니다>>

 


http://krazyhe.tistory.com/23

 

Posted by 장안동베짱e :

개발환경 : JDK 1.5, Junit 3, HtmlUnit 2.7,  window XP

 

HtmlUnit 은 WebApplication 개발시 브라우저에서 테스트하지 않고 Java

프로그램을 단위 테스트 해볼수 있는 framework 이다. javascript, Ajax 를 완벽하게 지원할 뿐만 아니라 Internet Explorer, Firefox 두개의 브라우저에서 테스트 해볼수 있다.

 

(1) 환경설정

 

이것의 주요 목적은 개발된 웹사이트의 단위테스트와 정보를 리턴받기 위함이다.

http://htmlunit.sourceforge.net/ 에 주요내용이 있으므로 참고하기 바란다.

일단 왼쪽에 downloads 를 클릭해 파일을 다운받는다. 파일안 lib 폴더에

의존적인 class 들이 있으므로 그대로 복사해서 쓰면 된다.



HtmlUnit 을 돌리기 위해서 어떤 jar 버전이 의존적인지 확인해 볼려면 다음 페이지로 가서 확인하면된다. http://htmlunit.sourceforge.net/dependencies.html



다운받은 jar 파일을 복사해넣고 간단히 테스트 프로그램을 만들어서 실행해보자.

HtmlUnit 을 테스트하기위해서는 Junit 프레임웍을 사용해야한다.

windows > Preferences > Java Build Path 로 들어간다. Libraries 탭을 클릭해서 설정화면으로 들어가자. 화면에서 오른쪽 버튼중 Add Library 를 클릭하게 되면 eclipse 에서 제공하는 라이브러리 패키지 리스트가 제공된다. 그중 Junit 을 선택하게 되면 Junit3, Junit4 중 하나를 선택하게 되는데 나는 이전부터 Junit3 가 익숙해져 있어서 3 를 선택했다.



(2) 테스트 클래스 제작

 

이제 Junit 클래스를 하나 만든다. junit.framework.TestCase 클래스를 상속받아 만드는데 함수실행을 위해서는 함수명 앞에 testXXX 형태로 이름을 만들어야 framework 이 인식하게 된다. 사이트에서 사용한 예제는 Junit4 를 기반으로 했기 때문에 @Test 어노테이션을 사용할수 있지만 Juit3 에서는 못하기 때문에 함수명을 textXXX 로 만들수 밖에 없다.


import junit.framework.TestCase; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlPage; public class WebSubmit extends TestCase { public void testHomePage() throws Exception { final WebClient webClient = new WebClient(); final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net"); assertEquals("HtmlUnit - Welcome to HtmlUnit", page.getTitleText()); final String pageAsXml = page.asXml(); assertTrue(pageAsXml.contains("")); final String pageAsText = page.asText(); assertTrue(pageAsText.contains("Support for the HTTP and HTTPS protocols")); } }

위 소스를 테스트 한 결과이다. 왼쪽에 보면 문제 없이 진행된 것을 볼수 있다.



그리고 로그를 확인해 보면 사이트로 전송받은 HTML 내용이 DEBUG 모드로

출력되어있는 것을 볼수 있다. Junit 은 기본적으로 Log4j 를 사용하기 때문에log4j 설정값이 들어있는 properties 를 패키지 제일 상단에 복사해 넣는다.



만약 log4j.properties 가 없다면 아래와 같은 에러가 날것이다. 그리고 HtmlUnit 에서 출력하는 상세로그를 확인할수 없어 디버그 하기 힘들다.

log4j:WARN No appenders could be found for logger (com.gargoylesoftware.htmlunit.WebClient).

log4j:WARN Please initialize the log4j system properly.



다음 테스트 내용은 브라우저에서 실행할 내용을 단위테스트 함수에서 실행하는 것이다. 보통 브라우저에서 회원가입이나 데이터를 입력해서 submit 을 해야되는 경우 할 때 마다 수많은 입력값을 넣어 테스트를 하고 실패했을 경우 다시 재입력해야되는 귀찮은 작업을 해야한다. 하지만 단위테스트 함수를 만들어 놓고 그 안에 입력값을 고정으로 해서 작업한다면 다시 재입력해야 되는 수고는 덜수 있을 뿐만 아니라 값을 넘기고 난 이후의 비즈니스 로직을 효과적이고 빠르게 테스트 해볼수 있을 것이다


public void testSubmittingForm() throws Exception {               final WebClient webClient = new WebClient();       // WAS 를 띄운다. 테스트 하고자 하는 페이지로 접근하여 데이타를 받아온다       final HtmlPage page1 = webClient.getPage("http://localhost:8080/test.html");       // HTML 에서 form 객체를 가져온다.       final HtmlForm form = page1.getFormByName("myform");             // Button 객체를 가져온다.       final HtmlSubmitInput button = form.getInputByName("button");       // Input text 객체를 가져온다.       final HtmlTextInput textField = form.getInputByName("userid");       textField.setValueAttribute("값변경"); // Input text 값을 변경한다.  

      // 버튼 클릭과 같은 기능을 한다. javascript 함수 호출이나 submit 기능을       // 구현해 놓았다면 그대로 실행될 것이다.       final HtmlPage page2 = button.click(); }

 


 http://mainia.tistory.com/529

 

Posted by 장안동베짱e :
웹폰트는 구독자의 컴퓨터에서도 글쓴 이가 설정한 폰트로 볼 수 있어 가독성이 뛰어난 장점이 있습니다.
특히 네이버에서 아름다운 한글 알리기를 위해 보급중인 나눔고딕은 모바일에서도 가독성이 뛰어납니다.
한편 구글 크롬은 IE, 사파리 등 다양한 브라우저 가운데 속도가 빠르고 편의성이 뛰어나 국내에서도 꾸준하게 사용자가 늘어나고 있는데요 이러한 구글 크롬과 네이버 나눔고딕이 만났을 떄 PC나 모바일에서 구독자의 가독성을 도와줄 수 있습니다.
다만 설치형블로그에만 적용이 가능해 네이버나 다음 등에서 제공하는 블로그가 아닌 티스토리, 이글루스 등의 블로그에만 적용이 가능한 점이 단점입니다.
아직 구글크롬을 사용해보지 않으신 분들은 구글 크롬 브라우저를 다운 받아 설치해야 하며 간편하게 설치 가능합니다. 아직 한번도 사용해보지 않으셨다면 이번 기회에 구글 크롬을 다운받아 사용해보시기 바랍니다.


구글 크롬 웹폰트로 나눔고딕 또는 나눔 폰트 적용하기
구글에서는 구글폰트를 통해서 나눔폰트를 적용할 수 있습니다. ▷ 구글 폰트 바로가기 ---> https://www.google.com/fonts/earlyaccess
① 구글폰트 페이지에 접속한 후 'ctrl+F' 단축키를 이용해 'Nanum'을 입력해 나눔폰트체를 찾습니다.


② 위 이미지처럼 빨간 네모박스 속의 나눔고딕링크를 내블로그 관리자-->Html/css--> style/css 최상단에 삽입합니다.


③ 다시 'ctrl+F' 단축키를 이용해 css/style에서 'font-family'를 찾아 'Nanaum Gothic'을 입력한 후 저장을 눌러줍니다.


④ 미리보기를 통해 폰트적용이 되었는지 확인합니다.


미리보기를 통해 확인하니 PC상에서 적용이 잘 된 것을 볼 수 있습니다. 모바일에서는 어떻게 보이는지 확인해 보면 아래와 같이 모바일에서 더 선명하게 잘 보이고 있음을 알 수 있습니다.



이제 웹폰트로 나눔고딕을 적용하여 내 글을 보는 구독자에게 보다 편안하게 글을 볼 수 있도록 하세요.


출처 http://poto1.tistory.com/234



Posted by 장안동베짱e :



HTML에서 href와 src는 거의 유사한 작동을 한다.

href의 경우

<link rel="stylesheet" type="text/css" href="style.css"/>


이 와 같이 사용한다.

그런데 href 부분을 src로 사용해도 작동한다. 물론 결과도 동일하다.

자바스크립트 파일의 경우에 <script type="text/javascript" src="foobar.js"/> 와 같이 사용한다.


href 의 경우에는 브라우저의 html 파일 불러오기와 href에 링크된 파일을 가져오는 것을 병렬로 처리하고

src의 경우에는 src에 링크된 파일을 가져오는 동안 브라우저가 페이지를 불러오는 것을 일시 중지하고 가져온 후에 다시 페이지를 불러온다.

src에 링크된 파일이 모두 받아진 이후에 페이지가 불리워짐

그런데 왜 href와 src로 나누었을까?


w3c의 comment에 따르면

http://www.w3.org/TR/1999/REC-html401-19991224/index/attributes.html
URI for linked resource 라고 Comment가 되어있다

src는

script - URI for an external script
img - URI of image to embed

이렇게 적혀있다.

사용상의 결과적으로는 같은 외부의 무언가를 가져오는 것이다.


link 태그에서 이상한것은 약간 다른점은 stylesheet같은경우 외부 주소의 파일을 가져올 수 있고

a 태그에서는 외부의 것을 가져오는 것이아니라 그냥 연결을 위한 주소를 사용한다

보통 link태그에서는 href 속성이 다른 리소스를 연결하는 목적지를 나타낸다.

link 태그에서 href 속성이 없으면 link를 정의하지 않는다(src로 써도 되기는 함)

a 태그에서는 href 속성이이동할 URL을 정의한다.

갈수록 미궁으로..


stackoverflow에 보면 http://stackoverflow.com/questions/3395359/difference-between-src-and-href&usg=ALkJrhiOUA

여러가지 논쟁이 벌어진걸 알 수 있는데

href는 가져올 수 있는 리소스를 사용자가 요청
src는 브라우저가 가져와야 리소스를 보여줌

이렇다는데..

어찌 처리하는지 나중에 다시..

 


출처 http://parkcj.wordpress.com/2012/10/24/html-href-%EC%99%80-src-%EC%9D%98-%EC%B0%A8%EC%9D%B4/

 

 


Posted by 장안동베짱e :


소개

JSON은 JavaScript Object Notation의 약자입니다. JavaScript 문법으로 데이터를 기술한것이 특징인데 대부분의 브라우저는 JavaScript를 지원해 호환성이 좋고 XML과 비교하면 데이터 표현이 단순하기 때문에 기기간 통신에 사용하는 데이터 포맷으로 많이 쓰이고 있습니다.

Content-Type: application/json; charset=utf-8

JSON의 미디어 타입은 'application/json' 입니다. JSON은 스펙 상 UTF-8, UTF-16, UTF-32 중 하나로 인코딩하도록 되어 있기 때문에 최초의 4바이트를 검사하면 문자 인코딩을 알아낼 수 있지만, HTTP 헤더의 Content-Type에 charset으로 지정하는 것이 좋습니다. 특별한 이유가 없는 한 UTF-8을 사용하는것이 무난합니다.

문법

기본 자료형

JSON은 다음의 자료형을 지원합니다.

  • object
  • array
  • string
  • number
  • boolean
  • null

객체(Object)

{
	"name" : {
		"first": "Taewoo",
		"last": "Lee"
	},
	"site": "http://www.oiehot.com",
	"age": "31",
	"interests": {"Go", "Dart", "Html5", "CSS3", "Http"}
}

객체는 이름과 값의 집합입니다. 이름과 값의 세트를 객체에서는 '멤버'라고 부릅니다. 멤버의 이름은 항상 문자열입니다. 멤버의 값은 JSON이 지원하는 객체, 배열, 문자열, 숫자, 불린, NULL 자료형의 값을 가질 수 있습니다. 객체는 { }로 감싸주며 멤버는 쉼표(,)로 구분합니다. 멤버와 값은 콜론(:)으로 구분합니다.

배열(Array)

[ "foo", "bar", "baz" ]
[ {"foo":"bar"}, {"key":"value"} ]
[ [10, 10], [40, 50] ]
[ ]
[ {"foo":"bar"}, "baz", 100, true, null ]

배열은 [ ]로 감싸주고, 값은 쉼표(,)로 구분합니다.

문자열(String)

"가나다"
"\uAC00\uB098\uB2E4"
"foo\\bar\n"

문자열은 이중인용부호(")로 감싸줍니다. 유니코드를 숫자로 표현하기 위해서 \uXXXX 형식으로 Escape 할 수 있습니다. 백슬래시(\\)와 줄바꿈(\n) 같은 제어문자 Escape도 지원합니다.

수치(Number)

10
-100
30.1
1.0E-10

정수와 부동소수점 모두를 포함합니다. 표기는 10진법만 가능합니다.

불린(Boolean)

true
false

값이 참이냐 거짓인가를 취하는 불린형은 리터럴로 준비되어 있습니다. 반드시 소문자로 써야 합니다.

  • 리터럴 : 프로그램 소스코드에 직접 기술하는 변수와 상수 이외의 값을 말합니다.

Null

null

null값도 리터럴로 준비되어 있습니다. 반드시 소문자로 써야 합니다.

  • null값 : 프로그램 언어에서 값이 없음을 의미하는 값입니다.

자료형 응용

시간

시간은 기본적인 자료형으로 제공하지 않습니다. 개발자가 어떤 규칙을 정해서 사용해야 합니다. 가장 단순한것은 Unix 시간(Unix Epoch)으로 수치로 표현하는 방법입니다.

1234567890 // 2009년 2월 14일 08시 31분 30초
1382803323 // 2013년 10월 27일 01시 02분 03초

Unix 시간의 경우 타임 존을 다룰 수 없기 때문에 타임 존을 취급할 필요가 있을 때 JavaScript의 Date 클래스의 toString() 메서드로 출력한 문자열을 이용할 수 있습니다.

Mon Sep 23 2013 10:30:00 GMT+0900 // Firefox 23
Mon Sep 23 2013 10:30:00 GMT+0900 (대한민국 표준시) // Chrome 29
Mon Sep 23 2013 10:30:00 GMT+0900 (대한민국 표준시) // Opera 15
Mon Sep 23 10:30:00 UTC+0900 2013 // Internet Explorer 10

하지만 위 메소드는 브라우저마다 다른 결과를 보여주는 문제점이 있습니다. 따라서 좀 더 표준적인 포맷에 맞춰주는것이 바람직합니다. 다음은 ISO 8601 포맷의 예입니다.

2010-09-23T10:30:00+09:00

링크

링크를 표현하기 위해서는 단순히 URI를 문자열 값으로 사용하는게 가장 간편합니다.

{ "href": "http://example.com/foo/bar" }

멤버의 이름을 href, src 같이 HTML에서 자주 사용하는 태그로 맞춰두면 사용하는 사람은 이 멤버가 링크라는 것을 쉽게 파악할 수 있을것입니다.

JSONP

JSONP는 JSON with Padding 의 약자입니다.

(학습예정 - 웹을 지탱하는 기술 - 348p)

자료


 


원본 http://oiehot.com/it/language/json/

Posted by 장안동베짱e :



웹의 다양한 용도


1. 웹사이트


2. User Interface

HTML 도움말, 웹 UI for embedded systems


3. API

Web Service 라 부름




웹을 지탱하는 기술


1. HTTP, URI, HTML


2. 하이퍼미디어

비선형적 컨텐츠. 중간에 link 타고 갈 수 있고, 동영상, 다른 사이트 등을 껴 넣을 수 있다. (책은 선형)


3. 분산시스템

자료의 내용이 전세계적으로 퍼져있고, 자료의 처리도 서버와 클라이언트가 분담한다.




REST


* Architecture "Style"로 반드시 지켜야 하는게 아니라, 약간의 타협을 통해 운영 가능하다.

Server / Client

Stateless

Cache

Uniform Interface ( GET, POST, PUT, DELETE 등의 8개의 Method 만 사용 )

Layered System

Code On Demand ( Java Applet, Flash, JavaScript )




URI : Uniform Resource Identifier


ex) http://user:pass@blog.examples.com:8000/search?q=test&debug=true#n10

URI Scheme : http

User : user:pass

Host name : blog.examples.com

Port number : 8000

Path : /search

Query Parameter : q=test&debug=true

URI fragment : #n10


* URI 는 % encoding.

% encoding 에서는 대문자, 소문자 구별이 없다.

%xx 의 16진수를 기반으로 인코딩한다.


* 앞으로의 상황을 고려해서라도 UTF-8 이 가장 좋은 인코딩

UTF-8 은 한 글자가 3바이트로 세상의 모든 언어 표현가능.


* 스펙상 URI 의 길이 제한은 없으나, 대부분의 브라우저가 구현상 제한이 있다.


* URN 은 Uniform Resource Name 으로 도메인명에 종속적이지 않은 주소체계.

URL 이 영구적이라는 특성 때문에 사용하지 않는다.

URL 은 자료의 위치개념이 강하고, URI 는 specific 한 객체 자체 개념이 강하다.




URI 의 설계


* 좋은 URI 는 변하지 않는다.

프로그래밍 언어에 의존적인 확장자와 경로를 포함하지 않는다.

예) cgi-bin, .pl, servlet, .do 등


메서드명과 세션 ID 를 포함하지 않는다.

예) ?action=showPage, jsessionid=12345


URI는 리소스를 표현하는 명사로 한다.

해당 리소스를 취득할지 갱신할지 등은 HTTP 메서드로 결정한다.

리소스는 그 identification 만 표현할 수 있으면 된다.


* URI 를 변경하고 싶을 때는 301 Moved Permanently 와 함께 Location Header 에 redirect 되야 할 주소를 전달해 주어 client 에서 유기적으로 redirect 되도록 해야 한다.


* URI 설계 테크닉

구현에 의존적이지 않은 확장자로 표현을 지정한다.

언어를 지정하는 확장자( .ko, .fr )를 사용하여 불필요한 Content Negotiation 을 지양한다.

참고로 Content Negotiation 은 Accept 관련 Header 를 사용하여 한다.


계층구조를 적용하기 힘든 경우 매트릭스 URI 를 사용한다.

예) http://example.com/map/lat=35.7;lng=139.7 

     http://example.com/map/35.7, 139.75


불투명(Opaque)하게 설계해야 한다.

클라이언트 쪽에서 URI 를 구성하거나, 확장자로 리소스의 내용을 추단하거나 할 수 없게 해야 한다.


* URI 를 강하게 의식하기

URI 는 리소스 이름

URI 는 수명이 길다.

URI 는 브라우저가 어드레스 란에 표시한다.




HTTP


* HTTP 버전

0.9

팀 버너스리가 웹을 처음 발명했을 때 사용하던 녀석. 헤더가 없었고, HTTP Method 는 GET 뿐.

1.0

최초 표준화된 녀석으로, 헤더가 도입되고, HTTP Method 가 추가되었다.

1.1

현재 가장 많이 쓰이는 버전으로 Accept 헤더에 의한 Content Negotiation, Cache Control, 지속적 연결 등의 기능이 추가

이후

WebDAV 등 확장 스펙들이 공개되고, WS-* 규격이 난립. 하지만 REST 아키텍쳐로 1.1을 효과적으로 활용하자는 움직임이 강함.


* Client & Sever

클라이언트에서 일어나는 일

1. 요청 메세지 구축

2. 요청 메세지 송신

3. 응답이 돌아올 때까지 대기

4. 응답 메세지 수신

5. 응답 메세지 해석

6. 클라이언트의 목적 달성을 위한 처리





서버에서 일어나는 일

1. 요청을 대기

2. 요청 메세지 수신

3. 요청 메세지 해석

4. 적절한 애플리케이션으로 처리를 위임

5. 애플리케이션 프로그램으로부터 결과를 취득

6. 응답 메세지 구축

7. 응답 메세지 송신


* 요청 메세지

GET /test?q=test#n10 HTTP/1.1

Host:example.com:8080


POST 의 경우 Header 이후에 한 라인 CRCF 후 Body 내용이 들어갈 수 있다.


* 응답 메세지

HTTP1.1 200 OK

Content-Type:application/xhtml+xml; charset=utf-8


Body...


* Stateless 의 장점과 단점

장점

서버의 구현이 단순해진다.

단점

송신할 데이터 양이 많고, 인증과정 등이 있다면 부하가 걸리는 처리가 늘어나 퍼포먼스의 저하가 초래된다.

통신 에러에 대한 대처가 어렵다.




HTTP Method ( 총 8개 )


GET

POST

PUT

DELETE

HEAD : 헤더(메타 데이터)만 취득

OPTIONS : 서포트하는 메서드의 종류 취득

TRACE : Loop back 시험

CONNECT


* POST

POST는 보통 Resource Create 에 사용된다.

나머지 Method 로 처리불가능한 것은 모두 POST 처리 가능하긴 하다.

201 Created 를 return 할 경우 Header 의 Location 에 생성된 resource URI 를 넣어준다.


* PUT

PUT은 보통 Resource Update 와 Create 에 사용된다.

Create 에 사용되는 경우는 원하는 주소를 지정해야 한다.

Update 의 경우 변환된 내용을 반환하거나, 204 No Content 를 반환하고, Create 의 경우는 201 Created 만 반환한다.


* DELETE

Resource Delete 에 사용되며, 200 OK 나 204 No Content 를 반환한다.


* HEAD

바디부분은 받지 않는데, 네트워크 대역을 절약하면서 리소스의 크기를 비롯한 부가정보를 알기 쉽고, Content Negotiation를 수행할수도 있다.


* OPTIONS

해당 Resource 가 지원하는 메서드 목록을 받는다.

이 값은 Header 의 Allow 값에 Comma Separated 되어 전달되어온다.


* Form 태그와 HTTP Method

Form 태그의 경우 GET 과 POST 만을 지원한다.

하지만, HTTP Method 는 그 나름의 의미가 있기 때문에 Ruby 스타일의 _method 를 사용할 수 있다.

<form target="/item" action="POST">

<input type="hidden" id="_method" value="PUT"/>

...

</form>


또 다른 방법으로 X-HTTP-Method-Override 라는 방법이 있는데, 이는 POST 가 application/x-www-form-urlencoded 를 사용하여 일부 내용 전달에 어려움이 있을 때 사용된다.

이는 헤더에 내용을 전달하면 된다.


* 조건부 요청

If-Modified-Since 헤더를 이용하여, 내용이 변했을 때 GET 으로 내용을 추가 가져온다.


* 멱등성과 안정성

멱등성은 몇번을 수행해도 결과가 동일한 것을 말한다.

안정성은 리소스의 상태를 변경시키지 않는 것을 말한다.

GET, HEAD 는 멱등이고 안전.

PUT, DELETE 는 멱등이지만 안전하지 않다.

POST 는 멱등이지도 안전하지도 않다.

위의 설명은 원칙적으로 그렇지만, 메서드의 구현을 잘못 했을 경우 지켜지지 않을 수도 있다.







Status Code( 스테이터스 코드 )


* 스테이터스 코드의 분류와 의미

1xx : 처리중

처리가 계속되고 있음을 나타낸다. 클라이언트는 요청을 계속하던지 서버의 지시에 따라 업데이트하여 재전송한다.

2xx : 성공

3xx : 리다이렉트

다른 리소스로의 리다이렉트를 나타낸다. 보통 이 스테이터스 코드는 Location 헤더를 동반하고, 해당 주소로 리다이렉트한다.

4xx : 클라이언트 에러

클라이언트 요청에 에러가 있다. 에러를 해결하지 않으면 몇번을 요청해도 정상적인 결과를 얻을 수 없다.

5xx : 서버 에러

서버에 에러가 있다. 서버 측 원인이 해결되면, 동일한 요청에 정상적 결과를 얻을 수 있다.


코드의 첫글자를 통해 최소한의 처리가 가능하다.


* 자주 사용되는 스테이터스 코드

200 OK

201 Created

POST 의 경우 Location 헤더를 함께 return 한다.

301 Moved Permanently

Location 헤더를 함께 전달하여 리다이렉트를 가능하게 한다.

303 See Other

보통 POST 로 조작한 리소스를 GET 으로 가져올 때 사용

400 Bad Request

적절한 클라이언트 에러를 나타내는 코드가 없거나, 일반적인 클라이언트 에러를 나타낸다.

401 Unauthorized

인증이 실패하거나, 권한이 없는 리소스 접근할 때 발생한다. WWW-Authenticate 헤더를 통해 인증방식을 전달한다.

404 Not Found

리소스를 찾을 수 없을 때 발생

500 Internal Server Error

일반적인 서버 에러나 적절한 서버에러코드가 없을 때 사용된다.

503 Service Unavailable

서비스가 점검 등의 이유로 일시적으로 정지되었을 때 사용되며, Retry-After 헤더를 사용하여 다음 접속 시간을 권유한다.


* 각 프로그램이나 서버의 종류에 따라 스테이터스 코드를 조금씩 다르게 사용하는 경향이 있으니 주의한다.




HTTP Header ( HTTP 헤더 )


* HTTP 기본 헤더

Content-Type

미디어 타입을 지정한다.

예) application/xhtml+xml : / 왼편은 타입이고, 오른쪽은 서브타입이다.

charset 도 함께 정의하는데, 보통 UTF-8 을 사용한다.


Content-Language

예) ko-KR : - 왼편에 ISO 639 지정 언어코드가 들어가고, 오른편에는 ISO 3166 이 정의한 지역코드가 들어간다.


* Content Negotiation

Accept

예) Accept: text/html, application/xhtml+xml, application/xml; q=0.9, */*;q=0.8

q value 는 소수점 이하 세자리 이내의 0~1 사이의 수치가 들어간다.

text/html, application/xhtml+xml 의 경우 default인 1,

application/xml 은 0.9,

나머지는 0.8 의 우선순위를 가진다.


만약 클라이언트의 Aceept 헤더에 지정한 미디어 타입이 서버가 대응하는 내용이 아니면 406 Not Acceptable 을 반환한다.


Accept-Charset

예) Accept-Charset : EUC-KR,utf-8;q=0.7, */*;q=0.7


Accept-Language

예) Accept-Language: ko, en-us;q=0.7, en;q=0.3


* 기타 헤더

Content-Length

바디의 길이를 지정한다.


Transfer-Encoding:chunked

바디를 분할하여 전송한다.


* 인증 헤더

인증이 필요한 리소스를 권한 없이 접근하는 경우 401 Unauthorized 스테이터스 코드와 함께 WWW-Authenticate 헤더가 함께 리턴된다. WWW-Authenticate 에는 서버의 인증정보를 담고 있다.

예) WWW-Authenticate:Basic realm="example.com"


베이직 인증

유저 이름과 패스워드에 의한 인증방싣이다.

Authorization 헤더에 넣어 요청마다 전송해야 한다.

예) Authorization: Basc dXNlcjpwYXNzd29yZA==

Basic 인증 방식은 유저이름과 패스워드를 : 로 연결하고 Base64 로 인코딩한 문자열인데, Base64 방식은 디코딩이 간단히 된다. 따라서 Basic 인증을 사용할 경우에는 SSL, TLS 를 이용해 HTTPS 통신을 하고, 통신선로 상에서 암호화하는 것을 검토해야 한다. 이게 어렵다면 다른 인증방식을 사용해야 한다.


Digest 인증

Basic 인증보다 보안이 강화된 인증 방식이다.

메세지 다이제스트의 줄임말로 이는 어떤 메세지에 대해 해시 함수를 적용한 해시값을 말한다.

예) WWW-Authenticate: DIgest realm="example.com", nonce="1ac421d9e0a4k7q982z966p..", qop="auth", opaque="92eb5ffee5ae.."

WWW-Authenticate 의 값을 Challenge 라고 부르는데, 이 값을 이용하여 요청할 때 다시 authenticate 해서 보내야 한다.

nonce 는 number used once 의 약자로 한번만 사용되는 숫자이다. 모든 요청에 대해 매번 변한다. 이는 서버구현에 의존하는데 기본적으로 타임스탬프와 서버 고유의 어떤 값을 이용해 생성한다.

qop 는 quality of protection 의 줄임말로, auth 나 auth-init 값이 들어간다. auth의 경우 메서드와 URI로부터 다이제스트를 작성하고, auth-init 의 경우 메서드와 URI, 그리고 메세지 바디를 이용해 digest 를 작성한다. auth-init 의 경우는 메세지 전체의 보안도 보증된다.

opaque 는 클라이언트에서 추측할 수 없는 문자열이다.





(1)값 : 유저이름, realm, 패스워드는 : 로 연결하고 MD5 해시 값을 구한다.

(2)값 :메서드와 URI 패스를 : 로 연결하고 MD5 해시 값을 구한다.

(1)의 값, nonce, 클라이언트가 nonce를 보낸 횟수, cnonce, qop값, 2의 값을 : 로 연결하고 MD5 해시 값을 구한다.

이 값을 response 필드에 넣고 다시 송신해야 한다.

ex) Authorization:Digest username="user", realm="example.com", nonce="1ac421d9e...", uri="/test", qop="auth", nc=00000001, cnonce="900150983cd24fb...", response="0fde218e...", opaque="92eb5ffee5ae2..."


Digest 인증의 장점과 단점

서버에 패스워드의 해시값만 보관하면 되므로 보안 위험이 줄어든다.

Basic 인증의 경우 같은 URI 공간의 리소스라면 클라이언트는 한번 인증되면 계속 user:password 만 보내면 다시 리소스에 접근할 수 있지만, Digest 의 경우 서버로부터 nonce 를 부조건 다시 받아 계산해야 한다. 따라서 무조건 어떤 리소스든 401 Unauthorize 응답을 한번은 얻어야 한다. 그래서 Digest 인증의 경우 무거워서 보급이 잘 안 되어, 여러 서버에서 옵션으로 사용하곤 한다. https 를 대신 운영하는 곳이 많다.


WSSE 라는 표준 이외의 인증방식도 있다.


요즘은 통합 인증관리, 권한위임 등을 위한 OpenID 와 OAuth 등이 유행하고 있다.


* 캐시 해더

Pragma:no-cache

리소스를 캐시하지 말것을 말한다.


Expires

캐시의 유효기한을 나타낸다.


Cache-Control

상세한 캐시 방법을 지정한다.

예) Cache-Control:max-age:86400

86400 초 동안 캐시가 유효하다.


* 조건부 GET

If-Modified-Since 를 통해 해당 내용이 바뀌었다면 GET 해서 가져올 수 있다.

바뀌지 않았을 경우 304 Not Modified 와 Last-Modified 값이 return 된다.


If-Modified-Since 와 Last-Modified 헤더에 의존한 조건부 GET 은 편리하지만, 시계 표준차이문제나 시계기능 사용이 어려운 서버 등에서 사용하기가 어렵다. 이 때는 If-None-Match 와 ETag( 엔티티 태그) 헤더를 사용한다. ETag 는 어떤 조건에 의해 해당 파일의 변경여부를 문자열로 나타낸 값이다.


* 지속적 접속

HTTP 1.0에서는 응답이 올때마다 TCP 커넥션을 끊었지만, HTTP 1.1 에서는 접속상태를 유지한다.

Connection 헤더에 close 값을 전달했을 때 끊는 방식을 사용한다.

HTTP 1.0에서는 지속적 연결을 위해서 Keep-Alive 헤더를 사용했다.




Microformats 와 RDF

(Resource Description Framework)


* 시멘틱 웹을 위한 xml format.


* RDF 는 주어, 술어, 목적어를 이용해 웹의 리소스에 메타 데이터를 부여한다. 복잡하고, 통일성이 없고, 별도의 메타데이터 파일이나 구문에 기록이 필요하다.


* microformats 의 경우는 rel 속성을 이용하여 리소스에 메타 데이터를 부여하며, HTML 태그 안에 삽입 가능하다.


* microformats 에서 가장 많이 쓰이는 것들은 rel-license 와 rel-nofollow 이다.


* microformats 는 간단하지만, class 와 rel 속성에 값을 부여하기 때문에, 이름이 중복될 가능성이 있다.


* RDFa 는 RDF in Attribute 의 약자로 외형은 microformat 과 거의 동일하나, microformats 가 가진 이름충돌 문제를 xml의 이름공간으로 해결하는 방식이다.




ATOM


* RSS 스펙의 난립에 대응하여 확장성 있는 피드 표준 포맷을 책정한 것.


* RSS 는 주로 블로그의 신착정보를 전달하는 피드 목적으로 이용되지만, Atom 은 블로그 뿐 아니라 검색엔진이나 사진관리 등 다양한 웹 서비스의 웹 API 로 이용될 수 있다.




JSON을 이용한 크로스 도메인 통신


* JSONP

JSON with Padding 의 약자이다.

Ajax에서 이용하는 XMLHttpRequest 라는 JS 모듈은 보안상의 제한으로 인해, JS 파일을 가져왔던 동일 서버하고만 통신할 수 있다. JS 가 다른 서버와 통신할 수 있다면, 브라우저에서 입력한 정보를 부정하게 다른 서버에 전송할 수 있기 때문. 크로스 도메인 통신이란 이와는 반대되는, 불특정 다수의 도메인 서버에 접속하는 것을 말한다.

이 문제는 <script> 태그로 해결할 수 있는데, <script src="..."> 를 통해 여러 사이트의 JS 파일을 읽을 수 있다. 이는 보안제한에 해당하지 않는 문제이다. 이 성질을 이용해 callback 함수를 전달하여 다른 서버의 JS 를 통해 데이터를 받아올 수 있는데 이를 JSONP 라고 부른다.

예) <script src="http://example.com/data.json?callback=foo">




웹 서비스의 설계


* 읽기전용 웹 서비스의 설계 ( 리소스 지향 아키텍처 접근방법 )

1. 웹 서비스에서 제공할 데이터를 특정

2. 데이터를 리소스로 나눈다

3. 리소스에 URI 로 이름을 부여한다.

4. 클라이언트에 제공할 리소스의 표현을 설계한다. ( xml, json, xhtml 등 )

5. 링크와 폼을 이용해 리소스와 리소스를 연결한다.

6. 이벤트의 표준적인 코스를 검토한다.

7. 에러에 대해 검토한다. ( 존재하지 않는 URI 지정, 필수 파라미터 미지정, 지원하지 않는 메서드 사용 등 )


* 쓰기 가능한 웹 서비스의 설계

쓰기 가능한 웹 서비스는 트랜잭션, 일괄처리, 베타제어를 고려해야 해서 어렵다.

일괄처리의 경우 일부만 성공한 경우는 207 Multi-Status 와 함께 WebDAV 의 <D:multistatus>요소를 조합하는 방법과 200 OK 와 독자 포맷을 조합하는 방법으로 성공과 실패여부를 전송한다.

트랜잭션은 여러개의 처리를 Atomic 하게 처리해야 한다. 임시 Resource 에 여러차례 시도해서 모두 성공하면, 서버에 Transaction 을 하라는 명령을 내리는 방법과 서버에서 알아서 Transaction 을 구현하는 두 가지 방법이 있다.

DELETE 의 경우에 상위 리소스를 삭제했을 때, 하위리소스도 삭제할지 불가능하게 할지도 정해야 한다.

배타제어는 Mutual Exclusion 이라고 해서 Lock 을 거는 것과 같다. 이 잠금에는 비관적 잠금(Pessimistic Lock)과 낙관적 잠금(Optimistic Lock)이 있다.


Pessimistic Lock 은 경쟁상황이 아예 일어나지 않도록 하는 Lock이다.

잠금을 구현하는 방법은 WebDAV 의 LOCK/UNLOCK 을 이용하는 방법이 있다. HTTP Method로 LOCK 을 사용하는데, 이 방법으로 잠긴 리소스에 다른 user가 접속하면 423 LOCKED 가 return 된다. 잠금을 제대로 지정한 후 If 헤더로 Locktoken 을 지정하여야 해당 락을 제대로 사용할 수 있다. 잠금해제는 UNLOCK Method 를 이용해서 하며, 이 때 Lock-Token header 를 함께 전달한다. 

서버에서 Lock 을 구현하는 방법도 있는데, scope, timeout 과 같은 parameter 를 이용하는 것이 보통이다.

비관적 잠금은 시스템의 스케일이 커질수록 문제가 커진다.


Optimistic Lock 은 여러 사람이 항상 같은 리소스를 계속 편집하는 경우가 거의 없다는 전제하에 경쟁이 일어났을 때 합리적으로 대처하는 방식이다.

낙관적 잠금은 조건부 편집을 사용한다. 서버에서 전달되는 ETag 나 LastModified 값과 클라이언트에서 전달하는 If-Match Header 값을 이용하여 구현한다. If-Match 헤더를 통해 전달된 값이 valid 하지 않을 때는 412 Precondition Failed 를 return 한다. 이 때는 여러가지 처리방법이 있는데, 서버에서 리소스를 따로 저장했다가 merge 하는 방법, 클라이언트에서 reload 후 재시도 등의 방법이 대표적이다.


* 웹 서비스에서 제공하는 데이터를 특정하고 리소스로 나누는 방법.

관계 모델 ER 다이어그램 이용

중심이 되는 table 에서 정보를 추출

탑 레벨 리소스와 URI 계층구조 등을 설정하기가 어렵다.

객체 지향 모델의 클래스 다이어그램 이용

is-a, has-a 를 이용하면 탑 레벨 리소스와 URI 계층구조를 구하기 쉽다.

정보 아키텍처 이용

지식이나 데이터의 조직화를 통해 정보를 알기 쉽게 전달하는 표현기술.



출처 http://aroundck.tistory.com/2020


Posted by 장안동베짱e :





‘기즈모스피어(GizmoSphere)’는 AMD가 만든 64비트 G시리즈 프로세서(APU)를 탑재한 베어본 PC다. 기판에 PC 부품이 오밀조밀 탑재된 케이스 없는 베어본 PC라고 생각하면 된다. x86 프로세서가 탑재됐으니 윈도우 OS를 설치해 쓸 수 있다. 최신 ‘윈도우8′은 물론 ‘윈도우7′, ‘윈도우XP’ 등 옛 윈도우 OS도 얹을 수 있다. 윈도우뿐만이 아니다. 리눅스나 우분투, 안드로이드4.1(젤리빈) 등 흔히 쓰이는 오픈소스 OS를 모두 지원한다.

기즈모스피어에 쓰인 프로세서는 ‘AMD G-T40E’다. 1GHz 속도로 동작하는 듀얼코어 제품이다. DDR3 1GB 용량의 내장 램이 적용됐고, 캐시메모리는 1MB다. 기즈모스피어 설명에 따르면 최대 52.8기가플롭스(1기가플롭스는 1초에 10억회 부동소수점 연산) 수준의 부동소수점 연산 성능을 낸다.

PC라면 무릇 그래픽 처리장치(GPU)도 품고 있어야 한다. 기즈모스피어에는 AMD의 내장형 GPU ‘라데온 HD 6250′이 적용됐다. ‘다이렉트X 11’을 지원하는 것은 물론, 디스플레이포트와 HDMI 포트도 지원한다. 외부 모니터에 연결해 쓸 수 있다는 얘기다. 기즈모스피어가 지원하는 개발도구는 세이지 일렉트로닉 엔지니어링이 개발한 ‘세이지 EDK(Embedded Development Kit)’와 ‘스마트프로브(SmartProbe)’다.



예전부터 컴퓨터를 스마트폰처럼 주머니에 넣고 다니면서 쓰다가 

집이나 학교/회사 같은데서 모니터/키보드마우스만 있으면 도크같은데 꽂아 쓰는걸 상상해왔는데


일반 스마트폰들은 ARM기반이라 윈도우를 깔지 못해 실망하고 있었다.

ARM용 윈도우폰이 나오긴 했지만 x86기반 프로그램들이랑 호환이 당연히 안되고..


얼마전에 뒤늦게 라즈베리파이란걸 알게 되었는데

오늘 문득 x86기반 라이베리파이 비스무리 한것도 이제쯤이면 나오지 않았을까 해서 찾아낸 기즈모스피어!


물론 내 상상처럼 평소 스마트폰 처럼 쓰다가 집에선 도크에 꽂아쓰고.. 뭐 이런건 되지 않지만

이 정도면 들고다니다가 집이던 회사던 그냥 키보드/마우스/모니터만 꽂으면 쓸수 있을듯..


하긴, 요즘은 x86기반 테블릿pc들이 나와줘서 스마트폰처럼은 아니지만 내가 원하는걸 엇비슷하게 할 수 있긴하다.

언젠간 스마트폰도 지금 테블릿 pc처럼 쓸수 있게 되지 않을까?

아~~ 윈도우 깔린 테블릿 PC사고 싶다!!!!



원본 http://www.bloter.net/archives/161480

 

 


Posted by 장안동베짱e :

예상치 않은 USB 메모리 오류 해결 방법으로 CMD 창을 이용한 diskpart 윈도우 명령어를 통해 쉽게 해결 할 수 있습니다.

쿨펀치의 포스팅을 보시고 하나씩 따라 하시면 됩니다.

 

 

윈도우 시작 버튼 누른 후

" 실행 " 메뉴 또는 위 이미지처럼 " 검색창 " 에

1. CMD 입력.

2. 검색된 CMD 클릭.

 

 

CMD 프롬프트창이 열렸습니다.

diskpart 입력 후, 엔터키 입력.

 

 

위 순서대로 명령어 입력을 해주셔야 합니다.

중간 에 선택 적용해야 되는 부분이 있습니다.

꼭 설명을 잘 이해하신 후 따라 하셔야 USB 메모리 초기화에 큰 문제가 없습니다.

 

diskpart 명령어 설명

- list disk : 컴퓨터에 연결된 물리적인 하드디스크 & 메모리 디스크 등을 보여 줍니다.

- select disk 8 (선택 하고자 하는 디스크 숫자) : 물리적 하드디스크 & 메모리 디스크등 포맷 하고자 하는 디스크 선택.

- clean : 선택된 디스크 초기화

- create partition primary : 선택된 디스크의 전체공간을 주 파티션으로 만듭니다.

- format fs=ntfs quick : 선택된 디스크 ntfs로 빠른 포맷 합니다.

- format fs=fat32 quick : 선택된 디스크 fat32로 빠른 포맷 합니다.

- exit : 해당 명령어 밖으로 나가기 & 프롬프트 창 닫기.

 

USB 메모리 초기화 명령어 입력 순서

1. list disk

2. select disk 8 (초기화 하고자 하는 디스크 숫자를 선택 하시면 됩니다. 저는 디스크 8을 포맷하기 위해 8 선택)

3. clean

4. create partition primary

5. format fs=ntfs quick  (포맷 형식에 따라 NTFS 또는 FAT32 중 선택 포맷 하시면 됩니다.)

6. exit

7. exit

위 1. ~ 7. 순위로 명령을 입력 하시면 됩니다.

 

위 USB 메모리 초기화 명령어 입력 순서대로 따라 하셨다면.

USB 메모리 초기화 완료입니다.

 

참고!!

USB 메모리 초기화 이후 포맷 방식 변경하고자 할 때.

방법1

USB 메모리 초기화 방법 다시 실행 후 포맷 방식 변경

 

방법2

USB 메모리 초기화 이후 드라이브 속성에서 포맷 설정 변경하기

USB 메모리 초기화 이후 포맷 형식을 바꾸고 싶다면,

CMD 명령 프롬프트 창을 이용 하지 않고도 윈도우 탐색기에서 포맷 하고 하는 드라이브 마우스 우클릭 하시면 " 포맷 " 있습니다.

포맷 창이 열린 후 파일 시스템을 선택 사용자가 원하는 포맷 형식을 선택 포맷을 하시면 됩니다.

 

아참 이 방법은 USB 메모리 초기화 완료후 포맷 방식 변경 하는 법입니다.

USB 메모리 초기화 방법이 아님을 참고해 주세요. 

 

쿨펀치와 함께 USB 메모리 초기화 방법에 대해 알아봤습니다.

즐거운 컴퓨터 생활 할 수 있도록 최선을 다해 포스팅 하겠습니다.


 


출처 http://coolpunch.tistory.com/677

 


Posted by 장안동베짱e :