mvc pdf viewer free : Best pdf to jpg converter online Library software class asp.net windows .net ajax h1-part2087

TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
Pleasenotethatinaproductionenvironmentthereareseveraladditionalstepsyoushouldtake.First,thereareseveral
importantenvironmentvariablesyoushouldset:
• APP_URLthebaseURLoftheapplication
• SECRET_KEYasecretkeyforuseincryptographicoperations
Note: Youcangenerateanappropriatesecretkeyasfollows:
$ python n -c c 'import base64; import os; ; print(base64.b64encode(os.urandom(64))).strip(b"=")'
Youwillprobablyalsowanttosetoneormoreofthefollowingconfigurationoptions:
• ALLOWED_ORIGINSoriginsallowedtoconnectovertheWebSocketprotocol
• CLIENT_IDauniqueAPIkeyforauthentication
• CLIENT_SECRETauniqueAPIsecretforsigningauthenticationrequests
• ELASTICSEARCH_INDEXtheElasticsearchindexnameforannotationstorage
• MAIL_DEFAULT_SENDERasenderaddressforoutboundmail
Inaddition,thereareseveralimportantcomponentsofaproductionHypothesisinstallationwhichwillneedtoberun
intheirowncontainers.Forexample,aworkerprocess:
$ docker r run n --name h-worker \
[...additional config...] ] \
hypothesis/hypothesis \
hypothesis-celery worker
And,possibly,awebsocketserver:
$ docker r run n --name h-websocket t \
[...additional config...] ] \
-p 5001:5001 \
hypothesis/hypothesis \
gunicorn --paste e conf/websocket.ini
1.4. Runningthecontainer
5
Best pdf to jpg converter online - Convert PDF to JPEG images in C#.net, ASP.NET MVC, WinForms, WPF project
How to convert PDF to JPEG using C#.NET PDF to JPEG conversion / converter library control SDK
conversion pdf to jpg; change pdf file to jpg
Best pdf to jpg converter online - VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.net, ASP.NET MVC, WinForms, WPF project
Online Tutorial for PDF to JPEG (JPG) Conversion in VB.NET Image Application
convert pdf to jpeg on; convert pdf into jpg
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
6
Chapter1. Deployingtoaproductionenvironment
Online Convert PDF to Jpeg images. Best free online PDF JPEG
Online PDF to JPEG Converter. Download Free Trial. Convert a PDF File to JPG. Drag and drop your PDF in the box above and we'll convert the files for you.
.pdf to jpg; convert pdf picture to jpg
Online Convert Jpeg to PDF file. Best free online export Jpg image
Online JPEG to PDF Converter. Download Free Trial. Convert a JPG to PDF. You can drag and drop your JPG file in the box, and then start
.net pdf to jpg; convert pdf to gif or jpg
CHAPTER
2
Administration
Toaccesstheadmininterface,ausermustbeloggedinandhaveadminpermissions.Tograntadminpermissionstoa
user,runthefollowingcommand:
hypothesis admin <config_uri> <username>
Forexample,tomakesomeoneanadmininthedevelopmentenvironment:
hypothesis admin conf/development-app.ini usernamehere
Whenthisusersignsintheycannowaccesstheadminstrationpanelat/admin.Theadministrationpanelhasoptions
formanagingusersandoptionalfeatures.
7
C# WPF PDF Viewer SDK to convert and export PDF document to other
Best PDF Viewer control as well as a powerful .NET WinForms application to image file formats with high quality, support converting PDF to PNG, JPG, BMP and
bulk pdf to jpg; convert pdf to jpg converter
C# PDF Convert to Images SDK: Convert PDF to png, gif images in C#
Best PDF converter SDK for Visual Studio .NET for converting PDF to image in C#.NET Support exporting PDF to multiple image forms, including Jpg, Png, Bmp
convert pdf image to jpg online; changing pdf file to jpg
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
8
Chapter2. Administration
VB.NET PDF - Convert PDF with VB.NET WPF PDF Viewer
Best WPF PDF Viewer control as well as a powerful PDF converter. PDF to image file formats with high quality, support converting PDF to PNG, JPG, BMP and GIF.
change pdf into jpg; batch convert pdf to jpg
VB.NET Create PDF from images Library to convert Jpeg, png images
Best and professional image to PDF converter SDK for Visual Studio .NET. Support create PDF from multiple image formats in VB.NET, including Jpg, Png, Bmp
convert pdf file to jpg online; batch pdf to jpg converter
CHAPTER
3
Contributor’sguide
Thefollowingsectionsdocumenthowtosetupadevelopmentenvironmentforhandhowtocontributecodeordocu-
mentationtotheproject.
3.1 Communications
PleasebecourteousandrespectfulinyourcommunicationonIRC(#hypothes.isonfreenode.net), themailinglist
(subscribe,archive),andGithub. Humorisappreciated,butrememberthatsomenuancemaybelostinthemedium
andplanaccordingly.
Ifyouplantobeanactivecontributorpleasejoinourmailinglisttocoordinatedevelopmenteffort.Thiscoordination
helpsusavoidduplicatingeffortsandraisesthelevelofcollaboration.Forsmallfixes,feelfreetoopenapullrequest
withoutanypriordiscussion.
3.2 ContributorLicenseAgreement
Beforesubmittingsignificantcontributions,weaskthatyousignoneofourContributorLicenseAgreements. This
practiceensuresthattherightsofcontributorstotheircontributionsarepreservedandprotectstheongoingavailability
oftheprojectandacommitmenttomakeitavailableforanyonetousewithasfewrestrictionsaspossible.
IfcontributingasanindividualpleasesigntheCLAforindividuals:
• CLAforindividuals,HTML
• CLAforindividuals,PDF
Ifmakingcontributionsonbehalfofanemployer,pleasesigntheCLAforemployees:
• CLAforemployers,HTML
• CLAforemployers,PDF
Acompletedformcaneitherbesentbyelectronicmailtolicense@hypothes.isorviaconventionalmailattheaddress
below.Ifyouhaveanyquestions,pleasecontactus.
Hypothes.is Project
2261 Market St t #632
SF, CA A 94114
9
C# Create PDF from images Library to convert Jpeg, png images to
Best and professional C# image to PDF converter SDK for Visual Studio .NET. Batch convert PDF documents from multiple image formats, including Jpg, Png, Bmp, Gif
convert .pdf to .jpg online; convert pdf to jpg batch
VB.NET PDF Convert to Images SDK: Convert PDF to png, gif images
Best adobe PDF to image converter SDK for Visual Studio .NET. Convert PDF documents to multiple image formats, including Jpg, Png, Bmp, Gif, Tiff, Bitmap
convert pdf to jpg 300 dpi; conversion of pdf to jpg
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
3.3 Installinghinadevelopmentenvironment
Thisdocumentcontainsinstructionsonsettingupadevelopmentenvironmentforh.Ifyouarelookingforinstructions
ondeployinghinaproductionenvironment,pleaseconsulttheDeployingtoaproductionenvironmentinstead.
3.3.1 GetthehsourcecodefromGitHub
Usegittodownloadthehsourcecode:
git clone https://github.com/hypothesis/h.git
Thiswilldownloadthecodeintoanhdirectoryinyourcurrentworkingdirectory.
3.3.2 Requirements
Torunhinadevelopmentenvironmentyou’llneedthesesystemdependenciesinstalled:
• Pythonv2.7
• Nodev4+anditspackagemanager,npm
You’llalsoneedtorun,ataminimum,theseexternalservices:
• Elasticsearchv1.0+,withtheElasticsearchICUAnalysisplugininstalled
• NSQv0.3+
• Redisv2.4+
Thefollowingsectionswillexplainhowtoinstallthesesystemdependenciesandservices.
3.3.3 Installingthesystemdependencies
Installingh’ssystemdependenciesisdifferentondifferentoperatingsystems.FolloweithertheInstallingthesystem
dependenciesonUbuntu14.04ortheInstallingthesystemdependenciesonOSXsectionbelow.
InstallingthesystemdependenciesonUbuntu14.04
Thissectiondescribeshowtoinstallh’ssystemdependenciesonUbuntu14.04.Thesestepswillalsoprobablywork
withlittleornochangesonotherversionsofUbuntu,Debian,orotherDebian-basedGNU/Linuxdistributions.
Installthefollowingpackages:
sudo apt-get install l -y y --no-install-recommends \
build-essential \
git \
libevent-dev \
libffi-dev \
libpq-dev \
npm \
python-dev \
python-pip \
python-virtualenv
10
Chapter3. Contributor’sguide
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
Installnodebyfollowingtheinstructionsonnodejs.org(theversionofthenodejspackageinthestandardUbuntu
repositoriesistooold).
Upgradepipandnpm:
sudo pip p install l -U pip virtualenv
sudo npm m install l -g npm
InstallingthesystemdependenciesonOSX
Thissectiondescribeshowtoinstallh’ssystemdependenciesonMacOSX.
TheinstructionsthatfollowassumeyouhavepreviouslyinstalledHomebrew.
Installthefollowingpackages:
brew install \
libevent \
libffi \
node \
python
3.3.4 Installingtheservices
hrequiresElasticsearch1.0+withtheElasticsearchICUAnalysisplugin,NSQ0.3+andPostgreSQL9.4+.Youcan
installtheseserviceshoweveryouwant,buttheeasiestwayisbyusingDocker. Thisshouldworkonanyoperating
systemthatDockercanbeinstalledon:
1. InstallDockerbyfollowingtheinstructionsontheDockerwebsite.
2. DownloadandruntheofficialNSQimage, theofficialPostgreSQLimage,theofficialRedisimage,andour
customElasticsearchwithICUimage:
docker run -d d --name nsqd -p p 4150:4150 -p 4151:4151 nsqio/nsq /nsqd
docker run -d d --name postgres s -p 5432:5432 2 postgres
docker run -d d --name redis s -p 6379:6379 redis
docker run -d d --name elasticsearch h -p p 9200:9200 -p p 9300:9300 0 nickstenning/elasticsearch-icu
You’llnowhavefourDockercontainersnamednsqd,postgres,redisandelasticsearchrunning
andexposingthensqdserviceonports4150and4151,Elasticsearchon9200and9300,Redison6379,and
PostgreSQLon5432.Youshouldbeabletoseethembyrunningdocker ps.Youshouldalsobeabletovisit
yourElasticsearchservicebyopeninghttp://127.0.0.1:9200/inabrowser,andconnecttoyourPostgreSQLby
runningpsql postgresql://postgres@localhost/postgres(ifyouhavepsqlinstalled).
Note: Youonlyneedtoruntheabovedocker r runcommandsonce.Ifyouneedtostartthecontainersagain
(forexampleafterrestartingyourcomputer),youcanjustrun:
docker start postgres elasticsearch nsqd redis
3. Createthehtestdatabaseinthepostgrescontainer.Thisisneededtorunthehtests:
docker run -it t --link k postgres:postgres --rm postgres s sh h -c 'exec psql -h h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U U postgres s -c "CREATE DATABASE E htest;"'
Tip: YoucanusethePostgreSQLDockerimagetoopenapsqlshelltoyourDockerizeddatabasewithouthavingto
installpsqlonyourhostmachine.Do:
3.3. Installinghinadevelopmentenvironment
11
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
docker run -it t --link postgres:postgres s --rm m postgres s sh -c 'exec psql -h h "$POSTGRES_PORT_5432_TCP_ADDR" " -p p "$POSTGRES_PORT_5432_TCP_PORT" " -U U postgres'
ThisrunspsqlinafourthDockercontainer(fromthesameofficialPostgreSQLimage, whichalsocontainspsql)
andlinksittoyournamedpostgrescontainerusingDocker’scontainerlinkingsystem. Thepsqlcontaineris
automaticallyremoved(--rm)whenyouexitthepsqlshell.
Tip: Usethedocker logscommandtoseewhat’sgoingoninsideyourDockercontainers,forexample:
docker logs nsqd
FormoreonhowtouseDockerseetheDockerwebsite.
3.3.5 Runningh
RunthefollowingcommandtostarttheHypothesiswebservice.Ifthisisafreshcloneoftherepository,thismaytake
sometimetorun,asitwillneedtoinstalltheapplicationdependenciesandbuildtheclientassets.
Note: Althoughitisstrictlyoptional,wehighlyrecommendthatyouinstallhinsideaPython“virtualenv”. . Please
refertothevirtualenvenvironmentsectionfeaturedintheHitchhiker’sguidetoPythonforacomprehensiveintroduc-
tion.
make dev
Thiswillstarttheserveronport5000(http://localhost:5000),reloadtheapplicationwheneverchangesaremadetothe
sourcecode,andrestartitshoulditcrashforsomereason.
Note: Usingthebookmarkletorotherwiseembeddingtheapplicationmaynotbepossibleonsitesaccessedvia
HTTPSduetobrowserpolicyrestrictingtheinclusionofnon-SSLcontent.
Ifyouaremakingchangestotheclient,ortheJavaScriptcodeorstylesfortheservice,youmayfinditusefultoinstall
Gulpandrunthewatchtask.Thiswillautomaticallyrebuildtheassetswheneverthesourcefileschange.
npm install l -g g gulp-cli
gulp watch
Whengulpwatchisrunning,youcanvisithttp://localhost:3000toseeapagewithanembeddedHypothesisclient
whichwillautomaticallyreloadwhenstyles,templatesorJavaScriptsourcefilesarechanged.
Ifyouarerunningbackgroundtasks,youmusthaveaCeleryworkerrunning.TorunaCeleryworkerindevelopment,
run:
CONFIG_URI=conf/development-app.ini hypothesis-celery worker
3.3.6 Runningthetests
Therearetestsuitesforboththefrontendandbackendcode.Torunthecompletesetoftests,run:
make test
Torunthefrontendtestsuiteonly,installGulpandruntheappropriatetesttask.Forexample:
12
Chapter3. Contributor’sguide
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
npm install l -g g gulp-cli
gulp test-app
Whenworkingonthefront-endcode,youcanruntheKarmatestrunnerinauto-watchmodewhichwillre-runthe
testswheneverachangeismadetothesourcecode.Tostartthetestrunnerinauto-watchmode,run:
gulp test-watch-app
Torunonlyasubsetoftestsforfront-endcode,usethe--grepargumentormocha’s.only()modifier.
gulp test-watch-app --grep p <pattern>
3.3.7 Debuggingh
Thepyramid_debugtoolbarpackageisloadedbydefaultinthedevelopmentenvironment. Thiswillprovidestack
tracesforexceptionsandallowbasicdebugging.Amoreadvancedprofilercanalsobeaccessedatthe/_debug_toolbar
path.
http://localhost:5000/_debug_toolbar/
Checkoutthepyramid_debugtoolbardocumentationforinformationonhowtouseandconfigureit.
YoucanturnonSQLqueryloggingbysettingtheDEBUG_QUERYenvironmentvariable(toanyvalue).Setittothe
specialvaluetracetoturnonresultsetloggingaswell.
3.3.8 FeatureFlags
Featuresflagsallowadminstoenableordisablefeaturesforcertaingroupsofusers. Youcanenableordisablethem
fromtheAdministrationDashboard.
ToaccesstheAdministrationDashboard,youwillneedtofirstcreateauseraccountinyourlocalinstanceofHand
thengivethataccountadminaccessrightsusingH’scommand-linetools.
SeetheAdministrationdocumentationforinformationonhowtogivetheinitialuseradminrightsandaccessthe
AdministrationDashboard.
3.4 BuildingtheChromeextension
ThisdocumentdescribeshowtobuildaninstanceoftheHypothesisChromeextensionbasedonthecurrentcontents
ofyourworkingtreeandinstallitinChrome.
3.4.1 BuildingtheChromeextensionfordevelopment
TobuildandinstalltheChromeextension:
1. Doanhdevelopmentinstall.
2. RunthiscommandtobuildtheChromeextension:
hypothesis-buildext chrome e --debug --service 'http://127.0.0.1:5000' --bouncer 'http://127.0.0.1:8000/'
Note: The e --service URLspecifies theHypothesisservicewhichthe extensionshouldcommunicate
with. This s can n eitherpoint toyour local Hinstance, ifyouhave one e setup, or r the public instance at
https://hypothes.is‘.
3.4. BuildingtheChromeextension
13
TheHypothesisAnnotationFrameworkDocumentation,Release0.0.2
IfyouwanttotesttheextensiononpagesservedviaHTTPS,youwillneedtoconfiguretheextensiontocom-
municatewithaHypothesisservicethatisalsoservedoverHTTPS.SeeServinghoverSSLforinstructions
onservingalocalinstanceofHviaSSL.
3. Gotochrome://extensions/inChrome.
4. TickDevelopermode.
5. ClickLoadunpackedextension.
6. Browsetotheh/build/chrome/directorywheretheextensionwasbuiltandselectit.
Yourextensionshouldbeworkingnow!Rememberthatifyouset--servicetotheURLofyourlocalHinstance,
youneedtohaveHrunninginordertousetheextension.
3.4.2 BuildingtheChromeextensionforproduction
ForproductionbuildsoftheChromeextension,omitthe--debugflagandpointittoaservicewhichisservedvia
HTTPS.Youmayalsowishtoenableclienterrorreportingbysettingthe--sentry-public-dsnargument.
hypothesis-buildext chrome e --service 'https://hypothes.is'
3.4.3 ServingthesidebarfromyourlocalHinstance
Indevelopment,youmayfinditconvenienttoconfiguretheextensiontoloadthesidebarappfromtheURLspecified
with--serviceinsteadofbundlingitintotheextension.Buildingtheextensionthiswayallowsyoutotestchanges
tothesidebarcodewithouthavingtore-runthehypothesis-buildextcommand.
Todothis,runhypothesis-buildextwiththe--no-bundle-sidebarflag.
Thereareissueswithbuildingtheextensionthiswaythatyoushouldbeawareof:
1. Theextensionwillfailtoloadonhttps://pagesunlesstheHypothesisservicespecifiedwith--service
alsousesanhttpsURL.
2. TheextensionwillfailtoloadonsomesitesthatuseContentSecurityPolicy. Totesttheextensiononthese
sitesyou’llneedtobuildwithoutthe--no-bundle-sidebaroption.
3.4.4 Chromeversionsupport
Wecurrentlysupportatleastthelast10stablereleasesofGoogleChrome,whichequatestoreleasesinthelast~14
months.
SeeWikipedia’sChromeReleaseHistorypageforahistoryofrecentreleases.
3.4.5 Troubleshooting
MixedContenterrorsintheconsole
TheextensionfailstoloadandyouseeMixedContenterrorsintheconsole. WhenusingtheChromeextensionon
sitesservedoverHTTPS,theextensionmustbeconfiguredtouseanHTTPS--serviceURL.
14
Chapter3. Contributor’sguide
Documents you may be interested
Documents you may be interested