[PHP]구글드라이브를 이용한 OCR 기능 본글은 PHPSCHOOL 오랜만에 들어갔다가 Tip&Tech에 유용해 보이는 정보가 있어 일단 스크랩 목적으로 글을 가져와 봅니다. 자세한 글이나, 댓글들을 보실려면 출처로 들어가 확인해보시길 추천합니다. 출처 : 구글드라이브를 이용한 OCR 기능(PHP) (https://phpschool.com/link/tipntech/82695) ===================================== Language/PHP 2021.09.09
[HTML/PHP] 웹페이지 캐시 사용하지 않기(항상 초기화) 웹을 가끔 하다보면, 새로고침해도 제대로 반영되지 않는 경우 "Ctrl + F5"로 갱신하거나, 아래 코딩맛집님의 글을 보시고 해당 페이지에 코딩해주시면 됩니다. 가끔 웹 유지관리하다가 필요하여 글을 복사하여 둡니다. PHP 출처: https://coding-restaurant.tistory.com/339 [코딩맛집]===================================== 로그아웃 후 뒤로가기 클릭 시 그대로 남아있는 캐시를 초기화하는 등에 쓸 수 있겠습니다. html로 브라우저 캐시를 초기화하기 : 캐시를 사용하지 않도록 하는 메타태그 no-cahe pragma : no-cache는 캐싱을 방지하는 메타태그입니다.Expires: -1는 캐시된 페이지를 즉시 만료합니다. # 위의 명시된 날짜 .. Web(HTML,CSS,Script) 2021.09.09
[Devexpress/WinForm/C#] XtraGrid (GridView) Record 단위 Checkbox (CheckBoxRowSelect) 설정 void SetMultiSelectMode(GridView view, DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode multiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect) { view.OptionsSelection.MultiSelectMode = multiSelectMode; } string GetSelectedRows(GridView view) { //출처 : DevExpress - "Demo Center 19.2" / WinForms Demos / Data Grid and Editors / UI CUSTOMIZATION / Cell Selection str.. Language/SDK,Component 2021.09.03
[ORALCE/PLAN] 오라클 Plan Table(실행계획) 생성 및 권한 부여 --//Oracle 11.2.0 for Windows 버전 기준 --//SYSDBA로 접속 ex) C:\>SQLPLUS "/as sysdba" --//이하 SQL-Plus : SQL> @"C:\oracle\product\11.2.0\dbhome_1\sqlplus\admin\plustrce.sql" grant plustrace to [사용자]; --//======================================= conn [사용자]/[패스워드]; @"C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\utlxplan.sql" --//PLAN 확인 set linesize 120; set autot on; select * from tab where rownum=1; ==.. DBMS/Oracle 2021.08.19
[PDF/Javascript] Run JavaScript on Document Open // variable to store whether document has been opened already or not var bAlreadyOpened; function docOpened() { if(bAlreadyOpened != "true") { // document has just been opened var d = new Date(); var sDate = util.printd("mm/dd/yyyy", d); // set date now app.alert("About to insert date into field now"); this.getField("todaysDate").value = sDate; // now set bAlreadyOpened to true so it doesn’t // .. S.W./PDF 2021.08.06
[PDF/Javascript] addSubMenu, AddMenuItem, addToolButton /******************************** RSCivilTools by Andrew Binning Version 01, 2-15-2012 ********************************/ //Some code by: // InDesign Fixups by Dave Merchant - Creative Commons Share-alike license // version 02, November 2010 // http://www.uvsar.com/go/indesignfixups //create new submenu for the Acrobat 8/9 or X menus //Determine version, assign menu location var menuParent = (app.. S.W./PDF 2021.08.06
[PDF/Javascript] FDF/XFDF - Import / Export String/File syncAnnotScan(); var strFDF = exportAsFDFStr({bAllFields: 'true', bFlags: 'true', bAnnotations: 'true'}); //exportAsXFDFStr(true, true, null, true, 1);"; var strXFDF = exportAsXFDFStr(true, true, true, true, 1); //exportAsXFDFStr(true, true, null, true, 1); exportAsFDF({ bAnnotations: 'true', cPath: '/d/export.fdf'}); importAnFDF("/d/import.fdf"); importAnXFDF("/d/import.xfdf"); S.W./PDF 2021.08.06
[PDF/Javascript] Add Navigation Buttons To All Pages // Add navigation buttons to the page // This script puts 3 buttons on top of every page (except the first one that has one button) // First button "" : takes to the next page in the document (does not exists on the last page) var inch = 72; try { nLastPage = this.numPages - 1; for (var p = 0; p 0) { AddButton(p,x,0.5,0.25,0.25,"PrevPage","","Next Pag.. S.W./PDF 2021.08.06
[PDF/Javascript] getAnnots (Annotion, Comment, Markup, 주석) var annots = this.getAnnots(); console.clear(); for (var i = 0; i < annots.length; i++) { //console.println(annots[i].toString()); //if (annots[i].type == "PolyLine") { var a = annots[i].getProps(); for(var o in a) { console.println( "annots." + o + "=" + a[o]); } console.println( "==========================") ++counter; } } app.alert("Total comments count: " + annots.length + " / : " + counter); S.W./PDF 2021.08.06