├── .gitignore ├── COPYING ├── LICENSE.txt ├── MANIFEST.in ├── README.rst ├── doc-images ├── gt-architecture.png ├── gt-contourplot.jpg ├── gt-contourplot.png ├── gt-create-session.png ├── gt-d3cloud.png ├── gt-ec2launch.png ├── gt-ec2list.png ├── gt-host-list.png ├── gt-idl.png ├── gt-inline-plot.png ├── gt-login.png ├── gt-login2.png ├── gt-login3.png ├── gt-metro.jpg ├── gt-metro.png ├── gt-nb.png ├── gt-nb2.png ├── gt-ncl.png ├── gt-new-acct.png ├── gt-new-session.png ├── gt-new-session2.png ├── gt-pandas.png ├── gt-pytutor.png ├── gt-r-nb.png ├── gt-r.png ├── gt-r2.png ├── gt-screen-collapsed.png ├── gt-screen-dark-theme.png ├── gt-screen-ec2launch1.png ├── gt-screen-emacs.png ├── gt-screen-embedded.png ├── gt-screen-fillable1.png ├── gt-screen-fillable2.png ├── gt-screen-gadmin-terminals.png ├── gt-screen-gadmin-users.png ├── gt-screen-giframe1.png ├── gt-screen-gmatplot1.png ├── gt-screen-gtweet1.png ├── gt-screen-gvi.png ├── gt-screen-gweather.png ├── gt-screen-ls-gls.png ├── gt-screen-raspberrypi1.png ├── gt-screen-split.png ├── gt-screen-stars3d.png ├── gt-screen-yweather1.png ├── gt-screen-yweather2.png ├── gt-ssh-plot.png └── helloworld1.png ├── docs ├── Makefile ├── R.rst ├── README.rst ├── UseAsRemoteTerminal.rst ├── UsingGraphicalFeatures.rst ├── _templates │ ├── index.html │ ├── indexsidebar.html │ └── layout.html ├── advanced.rst ├── conf.py ├── contact.rst ├── contents.rst ├── extend.rst ├── features.rst ├── format.rst ├── implementation.rst ├── progressive.rst ├── release-notes.rst ├── remote.rst ├── screenshots.rst ├── sphinx-build.py ├── start.rst ├── talks.rst ├── tracing.rst ├── troubleshooting.rst ├── virtual-lab.rst ├── virtual-setup.rst └── widgets.rst ├── graphterm ├── __init__.py ├── about.py ├── bin │ ├── __init__.py │ ├── bokeh_demo.py │ ├── d3cloud │ ├── ec2common.py │ ├── ec2launch │ ├── ec2list │ ├── ec2scp │ ├── ec2ssh │ ├── gadmin │ ├── galiases │ ├── gauth.py │ ├── gbrowse │ ├── gchat │ ├── gcp │ ├── gdownload │ ├── gfeed │ ├── gframe │ ├── gimage │ ├── gimg.sh │ ├── gipynb │ ├── gipython │ ├── gjs │ ├── gload │ ├── gls │ ├── gls.sh │ ├── gmatplot.py │ ├── gmenu │ ├── gnbserver │ ├── gncplot │ ├── gopen │ ├── gprofile │ ├── gpylab.py │ ├── gpython │ ├── gqrcode │ ├── graphtermd │ ├── greveal │ ├── gscript │ ├── gsh │ ├── gshow.ncl │ ├── gshow.pro │ ├── gsnowflake.py │ ├── gterm.R │ ├── gterm.py │ ├── gterm_user_setup │ ├── gterminal.py │ ├── gtweet │ ├── gupload │ ├── gvi │ ├── gvi.sh │ ├── hello_gterm.sh │ ├── landslide │ │ ├── __init__.py │ │ ├── generator.py │ │ ├── graphterm-talk1.md │ │ ├── landslides.md │ │ ├── macro.py │ │ ├── main.py │ │ ├── parser.py │ │ ├── rst.py │ │ ├── tests.py │ │ ├── themes │ │ │ ├── default │ │ │ │ ├── base.html │ │ │ │ ├── css │ │ │ │ │ ├── print.css │ │ │ │ │ └── screen.css │ │ │ │ └── js │ │ │ │ │ └── slides.js │ │ │ ├── light │ │ │ │ └── css │ │ │ │ │ └── screen.css │ │ │ └── tango │ │ │ │ └── css │ │ │ │ ├── background.png │ │ │ │ └── screen.css │ │ ├── tornado-talk.md │ │ └── utils.py │ ├── metro.sh │ ├── paginate │ ├── pdf2png │ ├── port_forward │ ├── pytutor │ │ ├── __init__.py │ │ ├── example-code │ │ │ ├── aliasing.txt │ │ │ ├── decorators.txt │ │ │ ├── example.py │ │ │ ├── fact.txt │ │ │ ├── fib.txt │ │ │ ├── filter.txt │ │ │ ├── for-else.txt │ │ │ ├── gen_primes.txt │ │ │ ├── genexpr.txt │ │ │ ├── happy.txt │ │ │ ├── ins_sort.txt │ │ │ ├── list-comp.txt │ │ │ ├── map.txt │ │ │ ├── memo_fib.txt │ │ │ ├── nonlocal.txt │ │ │ ├── oop_1.txt │ │ │ ├── oop_2.txt │ │ │ ├── oop_inherit.txt │ │ │ ├── oop_small.txt │ │ │ ├── py_tutorial.txt │ │ │ ├── sqrt.txt │ │ │ ├── strtok.txt │ │ │ ├── sum-cubes.txt │ │ │ ├── sum-list.txt │ │ │ ├── sum.txt │ │ │ ├── towers_of_hanoi.txt │ │ │ ├── varargs.txt │ │ │ ├── wentworth_gcd.txt │ │ │ ├── wentworth_sumList.txt │ │ │ └── wentworth_try_finally.txt │ │ ├── gtutor.py │ │ ├── pg_encoder.py │ │ └── pg_logger.py │ ├── ystock │ └── yweather ├── certs │ ├── cert_to_p12.csh │ ├── create_client_cert.csh │ ├── create_server_cert.csh │ └── mac_import_cert.sh ├── daemon.py ├── episode4.txt ├── examples │ └── mypres1.md ├── gotrace.py ├── gterm_setup.py ├── gtermhost.py ├── gtermserver.py ├── lineterm.py ├── notebooks │ ├── Bash-fill.sh.gnb.md │ ├── IndentationCheck.py.md │ ├── LeafletMap.py.gnb.md │ ├── Progressive-demo.py.gnb.md │ ├── Progressive-fill.py.gnb.md │ ├── R-ggplot.R.md │ ├── R-histogram.R.md │ ├── SciPy2014.py.gnb.md │ └── SineWave.ipynb ├── optconfig.py ├── ordereddict.py ├── otrace.py ├── packetserver.py ├── simplepam.py ├── testsslclient.py ├── version.py └── www │ ├── GTYY48.png │ ├── GTYY500.png │ ├── ace.html │ ├── ace │ ├── LICENSE │ ├── ace.js │ ├── mode-css.js │ ├── mode-html.js │ ├── mode-javascript.js │ ├── mode-python.js │ ├── mode-xml.js │ ├── test-ace.html │ ├── theme-twilight.js │ ├── theme-vibrant_ink.js │ └── worker-javascript.js │ ├── ckeditor.html │ ├── ckeditor │ ├── LICENSE.html │ ├── adapters │ │ └── jquery.js │ ├── ckeditor.js │ ├── config.js │ ├── contents.css │ ├── images │ │ └── spacer.gif │ ├── lang │ │ ├── _translationstatus.txt │ │ ├── de.js │ │ ├── en.js │ │ ├── es.js │ │ ├── fr.js │ │ ├── ja.js │ │ ├── ko.js │ │ ├── zh-cn.js │ │ └── zh.js │ ├── legal.txt │ ├── plugins │ │ ├── a11yhelp │ │ │ ├── dialogs │ │ │ │ └── a11yhelp.js │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── gu.js │ │ │ │ ├── he.js │ │ │ │ ├── it.js │ │ │ │ ├── mk.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── ro.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ ├── vi.js │ │ │ │ └── zh-cn.js │ │ ├── about │ │ │ └── dialogs │ │ │ │ ├── about.js │ │ │ │ └── logo_ckeditor.png │ │ ├── adobeair │ │ │ └── plugin.js │ │ ├── ajax │ │ │ └── plugin.js │ │ ├── autogrow │ │ │ └── plugin.js │ │ ├── bbcode │ │ │ └── plugin.js │ │ ├── clipboard │ │ │ └── dialogs │ │ │ │ └── paste.js │ │ ├── colordialog │ │ │ └── dialogs │ │ │ │ └── colordialog.js │ │ ├── devtools │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── bg.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── gu.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── it.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ └── zh-cn.js │ │ │ └── plugin.js │ │ ├── dialog │ │ │ └── dialogDefinition.js │ │ ├── div │ │ │ └── dialogs │ │ │ │ └── div.js │ │ ├── docprops │ │ │ ├── dialogs │ │ │ │ └── docprops.js │ │ │ └── plugin.js │ │ ├── find │ │ │ └── dialogs │ │ │ │ └── find.js │ │ ├── flash │ │ │ ├── dialogs │ │ │ │ └── flash.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── forms │ │ │ ├── dialogs │ │ │ │ ├── button.js │ │ │ │ ├── checkbox.js │ │ │ │ ├── form.js │ │ │ │ ├── hiddenfield.js │ │ │ │ ├── radio.js │ │ │ │ ├── select.js │ │ │ │ ├── textarea.js │ │ │ │ └── textfield.js │ │ │ └── images │ │ │ │ └── hiddenfield.gif │ │ ├── iframe │ │ │ ├── dialogs │ │ │ │ └── iframe.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── iframedialog │ │ │ └── plugin.js │ │ ├── image │ │ │ └── dialogs │ │ │ │ └── image.js │ │ ├── link │ │ │ ├── dialogs │ │ │ │ ├── anchor.js │ │ │ │ └── link.js │ │ │ └── images │ │ │ │ └── anchor.gif │ │ ├── liststyle │ │ │ └── dialogs │ │ │ │ └── liststyle.js │ │ ├── pagebreak │ │ │ └── images │ │ │ │ └── pagebreak.gif │ │ ├── pastefromword │ │ │ └── filter │ │ │ │ └── default.js │ │ ├── pastetext │ │ │ └── dialogs │ │ │ │ └── pastetext.js │ │ ├── placeholder │ │ │ ├── dialogs │ │ │ │ └── placeholder.js │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── bg.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── it.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ └── zh-cn.js │ │ │ ├── placeholder.gif │ │ │ └── plugin.js │ │ ├── preview │ │ │ └── preview.html │ │ ├── scayt │ │ │ └── dialogs │ │ │ │ ├── options.js │ │ │ │ └── toolbar.css │ │ ├── showblocks │ │ │ └── images │ │ │ │ ├── block_address.png │ │ │ │ ├── block_blockquote.png │ │ │ │ ├── block_div.png │ │ │ │ ├── block_h1.png │ │ │ │ ├── block_h2.png │ │ │ │ ├── block_h3.png │ │ │ │ ├── block_h4.png │ │ │ │ ├── block_h5.png │ │ │ │ ├── block_h6.png │ │ │ │ ├── block_p.png │ │ │ │ └── block_pre.png │ │ ├── smiley │ │ │ ├── dialogs │ │ │ │ └── smiley.js │ │ │ └── images │ │ │ │ ├── angel_smile.gif │ │ │ │ ├── angry_smile.gif │ │ │ │ ├── broken_heart.gif │ │ │ │ ├── confused_smile.gif │ │ │ │ ├── cry_smile.gif │ │ │ │ ├── devil_smile.gif │ │ │ │ ├── embaressed_smile.gif │ │ │ │ ├── envelope.gif │ │ │ │ ├── heart.gif │ │ │ │ ├── kiss.gif │ │ │ │ ├── lightbulb.gif │ │ │ │ ├── omg_smile.gif │ │ │ │ ├── regular_smile.gif │ │ │ │ ├── sad_smile.gif │ │ │ │ ├── shades_smile.gif │ │ │ │ ├── teeth_smile.gif │ │ │ │ ├── thumbs_down.gif │ │ │ │ ├── thumbs_up.gif │ │ │ │ ├── tounge_smile.gif │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ └── wink_smile.gif │ │ ├── specialchar │ │ │ ├── dialogs │ │ │ │ └── specialchar.js │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── it.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ └── zh-cn.js │ │ ├── styles │ │ │ └── styles │ │ │ │ └── default.js │ │ ├── stylesheetparser │ │ │ └── plugin.js │ │ ├── table │ │ │ └── dialogs │ │ │ │ └── table.js │ │ ├── tableresize │ │ │ └── plugin.js │ │ ├── tabletools │ │ │ └── dialogs │ │ │ │ └── tableCell.js │ │ ├── templates │ │ │ ├── dialogs │ │ │ │ └── templates.js │ │ │ └── templates │ │ │ │ ├── default.js │ │ │ │ └── images │ │ │ │ ├── template1.gif │ │ │ │ ├── template2.gif │ │ │ │ └── template3.gif │ │ ├── uicolor │ │ │ ├── dialogs │ │ │ │ └── uicolor.js │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── bg.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── it.js │ │ │ │ ├── mk.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ └── zh-cn.js │ │ │ ├── plugin.js │ │ │ ├── uicolor.gif │ │ │ └── yui │ │ │ │ ├── assets │ │ │ │ ├── hue_bg.png │ │ │ │ ├── hue_thumb.png │ │ │ │ ├── picker_mask.png │ │ │ │ ├── picker_thumb.png │ │ │ │ └── yui.css │ │ │ │ └── yui.js │ │ ├── wsc │ │ │ └── dialogs │ │ │ │ ├── ciframe.html │ │ │ │ ├── tmpFrameset.html │ │ │ │ ├── wsc.css │ │ │ │ └── wsc.js │ │ └── xml │ │ │ └── plugin.js │ ├── skins │ │ └── kama │ │ │ ├── dialog.css │ │ │ ├── editor.css │ │ │ ├── icons.png │ │ │ ├── icons_rtl.png │ │ │ ├── images │ │ │ ├── dialog_sides.gif │ │ │ ├── dialog_sides.png │ │ │ ├── dialog_sides_rtl.png │ │ │ ├── mini.gif │ │ │ ├── noimage.png │ │ │ ├── sprites.png │ │ │ ├── sprites_ie6.png │ │ │ └── toolbar_start.gif │ │ │ ├── skin.js │ │ │ └── templates.css │ └── themes │ │ └── default │ │ └── theme.js │ ├── css │ ├── superfish-navbar.css │ ├── superfish-vertical.css │ ├── superfish.css │ ├── tooltipster-light.css │ ├── tooltipster-noir.css │ ├── tooltipster-punk.css │ ├── tooltipster-shadow.css │ └── tooltipster.css │ ├── d3-3.1.6.min.js │ ├── d3.layout.cloud.js │ ├── favicon.png │ ├── graphterm.css │ ├── graphterm.js │ ├── help.html │ ├── help.rst │ ├── images │ ├── tango-application-x-executable.png │ ├── tango-audio-x-generic.png │ ├── tango-folder.png │ ├── tango-image-x-generic.png │ ├── tango-text-html.png │ ├── tango-text-x-generic-template.png │ ├── tango-text-x-generic.png │ ├── tango-text-x-script.png │ ├── tango-video-x-generic.png │ └── twitter_bird_32.png │ ├── index.html │ ├── jquery │ ├── 1.9.1 │ │ ├── jquery-migrate-1.1.1.js │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ └── jquery.min.map │ └── js-plugins │ │ ├── hoverIntent.js │ │ ├── jquery.autoresize.js │ │ ├── jquery.base64.js │ │ ├── jquery.base64.min.js │ │ ├── jquery.caret.js │ │ ├── jquery.cookie.js │ │ ├── jquery.tooltipster.js │ │ ├── jquery.tooltipster.min.js │ │ ├── rangy-core.js │ │ ├── superfish.js │ │ └── supersubs.js │ ├── perspective.css │ ├── reveal │ ├── css │ │ ├── print │ │ │ ├── paper.css │ │ │ └── pdf.css │ │ ├── reveal.min.css │ │ └── theme │ │ │ ├── README.md │ │ │ ├── beige.css │ │ │ ├── default.css │ │ │ ├── moon.css │ │ │ ├── night.css │ │ │ ├── serif.css │ │ │ ├── simple.css │ │ │ ├── sky.css │ │ │ ├── solarized.css │ │ │ ├── source │ │ │ ├── beige.scss │ │ │ ├── default.scss │ │ │ ├── moon.scss │ │ │ ├── night.scss │ │ │ ├── serif.scss │ │ │ ├── simple.scss │ │ │ ├── sky.scss │ │ │ └── solarized.scss │ │ │ └── template │ │ │ ├── mixins.scss │ │ │ ├── settings.scss │ │ │ └── theme.scss │ ├── js │ │ └── reveal.min.js │ ├── lib │ │ ├── css │ │ │ └── zenburn.css │ │ ├── font │ │ │ ├── league_gothic-webfont.eot │ │ │ ├── league_gothic-webfont.svg │ │ │ ├── league_gothic-webfont.ttf │ │ │ ├── league_gothic-webfont.woff │ │ │ └── league_gothic_license │ │ └── js │ │ │ ├── classList.js │ │ │ ├── head.min.js │ │ │ └── html5shiv.js │ └── plugin │ │ ├── highlight │ │ └── highlight.js │ │ ├── markdown │ │ ├── example.html │ │ ├── example.md │ │ ├── markdown.js │ │ └── marked.js │ │ ├── multiplex │ │ ├── client.js │ │ ├── index.js │ │ └── master.js │ │ ├── notes-server │ │ ├── client.js │ │ ├── index.js │ │ └── notes.html │ │ ├── notes │ │ ├── notes.html │ │ └── notes.js │ │ ├── postmessage │ │ ├── example.html │ │ └── postmessage.js │ │ ├── print-pdf │ │ └── print-pdf.js │ │ ├── remotes │ │ └── remotes.js │ │ ├── search │ │ └── search.js │ │ └── zoom-js │ │ └── zoom.js │ ├── themes │ ├── dark.css │ ├── stars-images │ │ └── starry-night-PublicDomain-VeraKratochvil.jpg │ └── stars.css │ └── utils │ ├── Markdown.Converter.js │ ├── Markdown.Sanitizer.js │ ├── hmac-sha256.js │ ├── underscore-min.js │ └── underscore.string.min.js ├── hello_gterm.sh └── setup.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *~ 3 | *.pyc 4 | *.prev 5 | *.sav 6 | *.old 7 | README.html 8 | RELEASE_NOTES.html 9 | SCREENSHOTS.html 10 | docs/*.html 11 | graphterm/www/docs/* 12 | build/* 13 | dist/* 14 | graphterm.egg-info/* 15 | local/* 16 | gterm-local 17 | BAK 18 | IGNORE 19 | SUBMIT 20 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | Unless otherwise indicated, GraphTerm files are distributed 2 | under the BSD License (see LICENSE.txt). 3 | 4 | This package also includes other bundled open source 5 | components which are governed by their own licenses, 6 | as indicated in the respective files. These include: 7 | 8 | Ajax.org Cloud9 Editor (ACE): MPL 9 | AjaxTerm: Public Domain 10 | CKEditor: MPL 11 | jQuery and plugins: MIT-type licenses 12 | Landslide: Apache 13 | OnlinePythonTutorial: MIT 14 | simplepam: MIT 15 | Tango icons: Public Domain 16 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | # GraphTerm: A Graphical Terminal Interface 2 | # 3 | # GraphTerm was developed as part of the Mindmeldr project. 4 | # Documentation can be found at http://code.mitotic.org/graphterm 5 | # 6 | # BSD License 7 | # 8 | # Copyright (c) 2012, Ramalingam Saravanan 9 | # All rights reserved. 10 | # 11 | # Redistribution and use in source and binary forms, with or without 12 | # modification, are permitted provided that the following conditions are met: 13 | # 14 | # 1. Redistributions of source code must retain the above copyright notice, this 15 | # list of conditions and the following disclaimer. 16 | # 2. Redistributions in binary form must reproduce the above copyright notice, 17 | # this list of conditions and the following disclaimer in the documentation 18 | # and/or other materials provided with the distribution. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 21 | # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 24 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26 | # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 27 | # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 29 | # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include COPYING LICENSE.txt *.rst *.html 2 | recursive-include graphterm *.py *.js *.css *.html *.ipynb *.ipynb.json *.md *.rst *.txt *.gif *.jpg *.png 3 | recursive-include docs *.md *.rst *.html 4 | graft graphterm/bin 5 | graft graphterm/certs 6 | prune gterm-local 7 | prune BAK 8 | prune graphterm/bin/IGNORE 9 | global-exclude *~ *.pyc test* 10 | -------------------------------------------------------------------------------- /doc-images/gt-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-architecture.png -------------------------------------------------------------------------------- /doc-images/gt-contourplot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-contourplot.jpg -------------------------------------------------------------------------------- /doc-images/gt-contourplot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-contourplot.png -------------------------------------------------------------------------------- /doc-images/gt-create-session.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-create-session.png -------------------------------------------------------------------------------- /doc-images/gt-d3cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-d3cloud.png -------------------------------------------------------------------------------- /doc-images/gt-ec2launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-ec2launch.png -------------------------------------------------------------------------------- /doc-images/gt-ec2list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-ec2list.png -------------------------------------------------------------------------------- /doc-images/gt-host-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-host-list.png -------------------------------------------------------------------------------- /doc-images/gt-idl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-idl.png -------------------------------------------------------------------------------- /doc-images/gt-inline-plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-inline-plot.png -------------------------------------------------------------------------------- /doc-images/gt-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-login.png -------------------------------------------------------------------------------- /doc-images/gt-login2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-login2.png -------------------------------------------------------------------------------- /doc-images/gt-login3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-login3.png -------------------------------------------------------------------------------- /doc-images/gt-metro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-metro.jpg -------------------------------------------------------------------------------- /doc-images/gt-metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-metro.png -------------------------------------------------------------------------------- /doc-images/gt-nb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-nb.png -------------------------------------------------------------------------------- /doc-images/gt-nb2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-nb2.png -------------------------------------------------------------------------------- /doc-images/gt-ncl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-ncl.png -------------------------------------------------------------------------------- /doc-images/gt-new-acct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-new-acct.png -------------------------------------------------------------------------------- /doc-images/gt-new-session.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-new-session.png -------------------------------------------------------------------------------- /doc-images/gt-new-session2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-new-session2.png -------------------------------------------------------------------------------- /doc-images/gt-pandas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-pandas.png -------------------------------------------------------------------------------- /doc-images/gt-pytutor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-pytutor.png -------------------------------------------------------------------------------- /doc-images/gt-r-nb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-r-nb.png -------------------------------------------------------------------------------- /doc-images/gt-r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-r.png -------------------------------------------------------------------------------- /doc-images/gt-r2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-r2.png -------------------------------------------------------------------------------- /doc-images/gt-screen-collapsed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-collapsed.png -------------------------------------------------------------------------------- /doc-images/gt-screen-dark-theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-dark-theme.png -------------------------------------------------------------------------------- /doc-images/gt-screen-ec2launch1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-ec2launch1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-emacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-emacs.png -------------------------------------------------------------------------------- /doc-images/gt-screen-embedded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-embedded.png -------------------------------------------------------------------------------- /doc-images/gt-screen-fillable1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-fillable1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-fillable2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-fillable2.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gadmin-terminals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gadmin-terminals.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gadmin-users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gadmin-users.png -------------------------------------------------------------------------------- /doc-images/gt-screen-giframe1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-giframe1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gmatplot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gmatplot1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gtweet1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gtweet1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gvi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gvi.png -------------------------------------------------------------------------------- /doc-images/gt-screen-gweather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-gweather.png -------------------------------------------------------------------------------- /doc-images/gt-screen-ls-gls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-ls-gls.png -------------------------------------------------------------------------------- /doc-images/gt-screen-raspberrypi1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-raspberrypi1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-split.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-split.png -------------------------------------------------------------------------------- /doc-images/gt-screen-stars3d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-stars3d.png -------------------------------------------------------------------------------- /doc-images/gt-screen-yweather1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-yweather1.png -------------------------------------------------------------------------------- /doc-images/gt-screen-yweather2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-screen-yweather2.png -------------------------------------------------------------------------------- /doc-images/gt-ssh-plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/gt-ssh-plot.png -------------------------------------------------------------------------------- /doc-images/helloworld1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/doc-images/helloworld1.png -------------------------------------------------------------------------------- /docs/README.rst: -------------------------------------------------------------------------------- 1 | ../README.rst -------------------------------------------------------------------------------- /docs/_templates/indexsidebar.html: -------------------------------------------------------------------------------- 1 | {% if version.endswith('(hg)') %} 2 |

This documentation is for version {{ version }}, which is 3 | not released yet.

4 | {% else %} 5 |

Current version: {{ version }}

6 | {% endif %} 7 | 8 | 11 | 12 | 17 | 18 | 19 | 20 |

Questions? Suggestions?

21 | 22 |

Join the Google group:

23 |
25 | 26 | 27 |
28 | 29 |

You can also open an issue at the 30 | tracker.

31 | -------------------------------------------------------------------------------- /docs/advanced.rst: -------------------------------------------------------------------------------- 1 | Advanced topics 2 | =================================== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | implementation 8 | format 9 | tracing 10 | widgets 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/contact.rst: -------------------------------------------------------------------------------- 1 | .. _contact: 2 | 3 | Contact 4 | ================================================= 5 | 6 | .. index:: contact 7 | 8 | 9 | R. Saravanan 10 | sarava@mitotic.org 11 | -------------------------------------------------------------------------------- /docs/contents.rst: -------------------------------------------------------------------------------- 1 | .. _contents: 2 | 3 | Documentation contents 4 | ============================= 5 | 6 | .. toctree:: 7 | :maxdepth: 1 8 | 9 | contact 10 | README 11 | start 12 | remote 13 | virtual-setup 14 | virtual-lab 15 | progressive 16 | R 17 | features 18 | extend 19 | troubleshooting 20 | screenshots 21 | talks 22 | advanced 23 | release-notes 24 | PyPI Package Index (for downloading and installing) 25 | Source code at Github 26 | 27 | Indices and tables 28 | ================== 29 | 30 | * :ref:`genindex` 31 | * :ref:`search` 32 | -------------------------------------------------------------------------------- /docs/sphinx-build.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Sphinx - Python documentation toolchain 5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | 7 | :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. 8 | :license: BSD, see LICENSE for details. 9 | """ 10 | 11 | import sys 12 | 13 | if __name__ == '__main__': 14 | from sphinx import main 15 | sys.exit(main(sys.argv)) 16 | -------------------------------------------------------------------------------- /docs/talks.rst: -------------------------------------------------------------------------------- 1 | Talks, tutorials, and videos 2 | =================================== 3 | 4 | .. index:: talks, tutorials, presentations, videos 5 | 6 | .. toctree:: 7 | :maxdepth: 1 8 | 9 | 10 | Tutorial on Setting up a Virtual Computer Lab 11 | 12 | Tutorial on Using the graphical features of GraphTerm 13 | 14 | Tutorial on Using GraphTerm as a remote terminal 15 | 16 | * *Creating a browser-based virtual computer lab for classroom 17 | instruction.* SciPy14 proceedings paper (draft) 18 | 19 | * *Creating a browser-based virtual computer lab for classroom 20 | instruction.* SciPy14 talk delivered as a live GraphTerm 21 | notebook slide show by opening 22 | `this Markdown file `_. 23 | 24 | * Paper (and YouTube video) describing GraphTerm from SciPy 2013 25 | 26 | * The following YouTube demo videos are available: 27 | 28 | * `GraphTerm - New features demo `_: This video demonstrates GraphTerm version 0.34.0, with features including inline images, inline SVG, inline plotting, inline version of Online Python Tutor and CSS perspective theming. 29 | 30 | * `GraphTerm - Basic demo `_: The video demonstrates the basic features of GraphTerm. 31 | 32 | * Old talks 33 | 34 | * Talk at 2013 AMS Symposium on Advances in Modeling and Analysis Using Python 35 | 36 | * Talk given at TexasLinuxFest 2012 (PDF) 37 | 38 | -------------------------------------------------------------------------------- /docs/tracing.rst: -------------------------------------------------------------------------------- 1 | ********************************************************************************* 2 | Using GraphTerm with OTrace 3 | ********************************************************************************* 4 | 5 | .. index:: debugging, otrace, tracing 6 | 7 | GraphTerm was originally developed as a graphical front-end for 8 | `otrace `_, 9 | an object-oriented python debugger. Any Python program 10 | can serve as a "host" and be connected to the GraphTerm server 11 | using the ``gotrace`` command:: 12 | 13 | gotrace example.py 14 | 15 | The above command loads ``example.py`` as a module and connects 16 | to the GraphTerm server for debugging. This program will appear in 17 | the list of hosts under the name ``example``. Open the terminal session 18 | ``example/osh`` to connect to the *otrace* console, and issue 19 | the ``run `` command to begin executing a function in 20 | ``example.py``. You can also initiate program execution 21 | directly from the command line as follows:: 22 | 23 | gotrace -f test example.py arg1 arg2 24 | 25 | The above command executes the function ``test(arg=[])`` in 26 | ``example.py``, where ``arg`` is a list of string arguments from 27 | the command line. 28 | 29 | If you wish to use the *otrace* console features for multiplexing, 30 | without actually needing to a debug a program, you can use 31 | the ``--oshell`` option when using ``gtermhost`` to connect 32 | to the server. 33 | 34 | (You can also embed code in a Python program to directly connect 35 | to the GraphTerm server for monitoring/debugging. See 36 | ``gotrace.py`` to find out how it can be done.) 37 | 38 | -------------------------------------------------------------------------------- /graphterm/about.py: -------------------------------------------------------------------------------- 1 | version = "0.57.0" 2 | 3 | min_version = "0.57" 4 | 5 | description = "GraphTerm: A Graphical Terminal Interface" 6 | 7 | authors = ["R. Saravanan ",] 8 | 9 | url = "http://code.mitotic.org/graphterm" 10 | -------------------------------------------------------------------------------- /graphterm/bin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/bin/__init__.py -------------------------------------------------------------------------------- /graphterm/bin/bokeh_demo.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | bokeh_demo: Output Bokeh Lorenz example HTML to stdout for viewing in GraphTerm 6 | 7 | Usage: bokeh_demo.py [sigma_value] | gframe -f 8 | """ 9 | 10 | import os, sys, tempfile 11 | 12 | import numpy as np 13 | from scipy.integrate import odeint 14 | from bokeh.plotting import * 15 | 16 | sigma = 10 if len(sys.argv) < 2 else float(sys.argv[1]) 17 | rho = 28 18 | beta = 8.0/3 19 | theta = 3 * np.pi / 4 20 | 21 | def lorenz(xyz, t): 22 | x, y, z = xyz 23 | x_dot = sigma * (y - x) 24 | y_dot = x * rho - x * z - y 25 | z_dot = x * y - beta* z 26 | return [x_dot, y_dot, z_dot] 27 | 28 | initial = (-10, -7, 35) 29 | t = np.arange(0, 100, 0.006) 30 | 31 | solution = odeint(lorenz, initial, t) 32 | 33 | x = solution[:, 0] 34 | y = solution[:, 1] 35 | z = solution[:, 2] 36 | xprime = np.cos(theta) * x - np.sin(theta) * y 37 | 38 | colors = ["#C6DBEF", "#9ECAE1", "#6BAED6", "#4292C6", "#2171B5", "#08519C", "#08306B",] 39 | 40 | tem_file = tempfile.NamedTemporaryFile(delete=False) if os.getenv("GTERM_COOKIE") or os.getenv("SSH_CLIENT") else None 41 | if tem_file: 42 | tem_name = tem_file.name 43 | tem_file.close() 44 | else: 45 | tem_name = "lorenz.html" 46 | 47 | try: 48 | 49 | output_file(tem_name, title="lorenz.py example") 50 | 51 | multi_line(np.array_split(xprime, 7), np.array_split(z, 7), 52 | line_color=colors, line_alpha=0.8, line_width=1.5, 53 | tools="pan,wheel_zoom,box_zoom,reset,previewsave", title="lorenz example", name="lorenz_example") 54 | 55 | show(browser="none" if tem_file else None) 56 | 57 | if tem_file: 58 | # Open temporary file and write to stdout 59 | with open(tem_name) as f: 60 | sys.stdout.write(f.read()) 61 | 62 | finally: 63 | if tem_file: 64 | os.remove(tem_name) 65 | -------------------------------------------------------------------------------- /graphterm/bin/ec2scp: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | scp -i ~/.ssh/ec2key.pem $* 4 | 5 | -------------------------------------------------------------------------------- /graphterm/bin/ec2ssh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ssh -i ~/.ssh/ec2key.pem $* 4 | 5 | -------------------------------------------------------------------------------- /graphterm/bin/galiases: -------------------------------------------------------------------------------- 1 | ############ start of galiases ####################### 2 | # galiases: graphterm aliases setup file 3 | # Execute as 4 | # source $GTERM_DIR/bin/galiases 5 | # or append to .bashrc 6 | 7 | [ $GTERM_DIR ] && alias gpython="python -i $GTERM_DIR/bin/gpylab.py" 8 | [ $GTERM_DIR ] && alias gipython="ipython -i $GTERM_DIR/bin/gpylab.py" 9 | 10 | alias gm=gmenu 11 | 12 | set -o ignoreeof 13 | 14 | ############# end of galiases ##################### 15 | -------------------------------------------------------------------------------- /graphterm/bin/gchat: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Capture chat and send it to stdout 4 | # Typical usage: gchat 2> $GTERM_SOCKET 0<&2 | gfeed > $GTERM_SOCKET & 5 | # The stderr is piped to the graphterm socket and stdin is also read from the socket. 6 | # stdout displays the captured chat, and can be piped to gfeed. 7 | 8 | echoerr() { echo -n "$@" 1>&2; } 9 | echoerrlf() { echo "$@" 1>&2; } 10 | 11 | headers='{"x_gterm_response": "capture_chat", "x_gterm_parameters": {"cookie": "'"${GTERM_COOKIE}"'"}}' 12 | 13 | esc=`printf "\033"` 14 | gterm_code="1155" 15 | gterm_cookie=${GTERM_COOKIE:-${LC_GTERM_COOKIE}} 16 | echoerr "${esc}[?${gterm_code};${gterm_cookie}h" 17 | 18 | echoerr "$headers" 19 | echoerrlf "" 20 | echoerrlf "" 21 | echoerr "${esc}[?${gterm_code}l" 22 | 23 | while true; do 24 | sleep 1 25 | read INPUT 26 | echo $INPUT 27 | done 28 | 29 | -------------------------------------------------------------------------------- /graphterm/bin/gimg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # gimg.sh: display PNG file inline 3 | 4 | esc=`printf "\033"` 5 | gterm_code="1155" 6 | gterm_cookie=${GTERM_COOKIE:-${LC_GTERM_COOKIE}} 7 | 8 | # Display image 9 | blob_id="${RANDOM}${RANDOM}" 10 | echo -n "${esc}[?${gterm_code};${gterm_cookie}h" 11 | echo -n 'image/png;base64,' 12 | base64 $1 13 | echo -n "${esc}[?${gterm_code}l" 14 | -------------------------------------------------------------------------------- /graphterm/bin/gipynb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # gipynb: Open notebook file using IPython server within GraphTerm 3 | # Usage: gipynb .ipynb 4 | 5 | if [ $# -eq 0 ]; then 6 | echo "Usage: gipython_nb .ipynb" 7 | exit 1 8 | fi 9 | 10 | if [[ -f ~/.graphterm/gterm_ipynb.txt ]]; then 11 | gframe --full --notebook $1 12 | else 13 | echo "File ~/.graphterm/gterm_ipynb.txt not found; start server with 'gnbserver' command" 14 | exit 1 15 | fi 16 | -------------------------------------------------------------------------------- /graphterm/bin/gipython: -------------------------------------------------------------------------------- 1 | # 2 | ipython -i $GTERM_DIR/bin/gpylab.py $* 3 | -------------------------------------------------------------------------------- /graphterm/bin/gjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | gjs: execute arbitrary Javascript in graphterm 6 | """ 7 | 8 | from __future__ import absolute_import, print_function 9 | 10 | import sys 11 | 12 | from optparse import OptionParser 13 | 14 | try: 15 | import gterm 16 | except ImportError: 17 | import graphterm.bin.gterm as gterm 18 | 19 | usage = "usage: %prog [-f file] [-e js_string] [js_func arg1 ...]" 20 | parser = OptionParser(usage=usage) 21 | parser.add_option("-f", "--file", 22 | action="store_true", dest="file", default=False, 23 | help="Read from file") 24 | parser.add_option("-v", "--verbose", 25 | action="store_true", dest="verbose", default=False, 26 | help="Verbose output") 27 | parser.add_option("-e", "--eval", dest="eval", default="", 28 | help="Evaluate string") 29 | 30 | (options, args) = parser.parse_args() 31 | 32 | if options.file: 33 | if not args: 34 | print("Please provide filename", file=sys.stderr) 35 | sys.exit(1) 36 | with open(args[0], "r") as f: 37 | js = "".join(f.readlines()) 38 | elif options.eval: 39 | js = options.eval 40 | elif args: 41 | if "=" in args[0] or (len(args) >= 2 and args[1].startswith("=")): 42 | js = " ".join(args) 43 | else: 44 | js = args[0] + "(" + ", ".join(arg if arg.isdigit() else '"'+arg+'"' for arg in args[1:]) + ")" 45 | else: 46 | print(parser.get_usage(), file=sys.stderr) 47 | sys.exit(1) 48 | 49 | if options.verbose: 50 | print(js) 51 | 52 | Headers = {"content_type": "text/plain"} 53 | Headers["x_gterm_response"] = "eval_js" 54 | Headers["x_gterm_parameters"] = {"echo": "terminal"} 55 | 56 | gterm.wrap_write(js, headers=Headers, stderr=True) 57 | 58 | try: 59 | lines = sys.stdin.readlines() 60 | if not sys.stdout.isatty(): 61 | print("".join(lines)) 62 | except KeyboardInterrupt: 63 | pass 64 | 65 | 66 | -------------------------------------------------------------------------------- /graphterm/bin/gload: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # gload: Load a terminal 3 | 4 | if [ $# -lt 1 ]; then 5 | echo "Usage: gload terminal_name" 6 | exit 1 7 | fi 8 | 9 | gjs load $1 10 | 11 | -------------------------------------------------------------------------------- /graphterm/bin/gmenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | gmenu: execute menu operation 6 | """ 7 | 8 | import sys 9 | 10 | from optparse import OptionParser 11 | 12 | try: 13 | import gterm 14 | except ImportError: 15 | import graphterm.bin.gterm as gterm 16 | 17 | usage = "usage: %prog ... [on/off]" 18 | parser = OptionParser(usage=usage) 19 | 20 | (options, args) = parser.parse_args() 21 | 22 | if not args: 23 | sys.exit(0) 24 | 25 | if args[-1].lower() in ("on", "off", "true", "false"): 26 | value = args[-1].lower() in ("on", "true") 27 | args = args[:-1] 28 | else: 29 | value = None 30 | 31 | if not args: 32 | sys.exit(0) 33 | 34 | target = "_".join(args) 35 | 36 | gterm.menu_op(target, value) 37 | 38 | -------------------------------------------------------------------------------- /graphterm/bin/gopen: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # gopen: open a file using appropriate program 3 | # Usage: gopen 4 | 5 | if [ $# -eq 0 ]; then 6 | echo "Usage: gopen " 7 | exit 1 8 | fi 9 | 10 | if [[ "$1" == *.py.gnb.md ]]; then 11 | python -i $GTERM_DIR/bin/gpylab.py $1 12 | 13 | elif [[ "$1" == *.ipynb ]]; then 14 | if [[ -f ~/.graphterm/gterm_ipynb.txt ]]; then 15 | gframe --full --notebook $1 16 | else 17 | python -i $GTERM_DIR/bin/gpylab.py $1 18 | fi 19 | else 20 | if which xdg-open > /dev/null; then 21 | xdg-open "$1" &> /dev/null & 22 | elif which gnome-open > /dev/null; then 23 | gnome-open "$1" 24 | elif which open > /dev/null; then 25 | open "$1" 26 | else 27 | echo "No open command found!" 28 | exit 1 29 | fi 30 | fi 31 | -------------------------------------------------------------------------------- /graphterm/bin/gprofile: -------------------------------------------------------------------------------- 1 | ############ start of gprofile ####################### 2 | # gprofile: graphterm bash setup file 3 | # Execute as 4 | # source $GTERM_DIR/bin/gprofile 5 | # or append to .bash_profile 6 | 7 | if [[ -z "$GTERM_COOKIE" ]]; then 8 | if [[ "$LC_GRAPHTERM" =~ "GTERM_EXPORT=" ]]; then 9 | gterm_vars="$LC_GRAPHTERM" 10 | elif [[ "$LC_TELEPHONE" =~ "GTERM_EXPORT=" ]]; then 11 | gterm_vars="$LC_TELEPHONE" 12 | else 13 | gterm_vars="" 14 | fi 15 | 16 | if [[ -n "$gterm_vars" ]]; then 17 | vardefs=(${gterm_vars//|/ }) 18 | for vardef in "${vardefs[@]}"; do 19 | comps=(${vardef//=/ }) 20 | export ${comps[0]}="${comps[1]}" 21 | done 22 | 23 | if [[ -n "$LC_PROMPT_COMMAND" ]] && [[ -n "$LC_GTERM_PROMPT" ]]; then 24 | # Set prompt command 25 | export GTERM_PROMPT="$LC_GTERM_PROMPT" 26 | export PROMPT_COMMAND="$LC_PROMPT_COMMAND" 27 | else 28 | export GTERM_PROMPT='\h:\W$ ' 29 | export PROMPT_COMMAND='export PS1=$GTERM_PROMPT; echo -n `printf "\033"`"[?1150;0h$PWD"`printf "\033"`"[?1150;l"' 30 | fi 31 | fi 32 | fi 33 | 34 | ## To access the graphterm toolchain across SSH, install graphterm on the remote machine and then 35 | ## uncomment the following line and set GTERM_DIR to the graphterm installation directory (if need be) 36 | 37 | # export GTERM_DIR=graphterm_directory 38 | 39 | if [[ -z "$GTERM_DIR" ]]; then 40 | if [ -d "$HOME/graphterm" ]; then 41 | export GTERM_DIR="$HOME/graphterm" 42 | else 43 | export GTERM_DIR=$(python -c 'import graphterm, os; print os.path.dirname(graphterm.__file__)' 2>/dev/null) 44 | fi 45 | fi 46 | 47 | if [[ -n "$GTERM_DIR" ]]; then 48 | [[ "$PATH" != */graphterm/* ]] && PATH="$GTERM_DIR/bin:$PATH" 49 | fi 50 | 51 | ############# end of gprofile ##################### 52 | -------------------------------------------------------------------------------- /graphterm/bin/gpython: -------------------------------------------------------------------------------- 1 | # 2 | python -i $GTERM_DIR/bin/gpylab.py $* 3 | -------------------------------------------------------------------------------- /graphterm/bin/graphtermd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # graphterm daemon service script 4 | # 5 | # /etc/init.d/graphtermd 6 | 7 | GTERMD=gtermserver 8 | GTARGS="--auth_type=multiuser --user_setup=manual --users_dir=/home --nb_server --logging --port=8900 --host=localhost" 9 | 10 | case "$1" in 11 | start) 12 | echo -n "Starting GraphTerm server: " 13 | $GTERMD --daemon=start $GTARGS 14 | ;; 15 | restart) 16 | echo -n "Restarting GraphTerm server: " 17 | $GTERMD --daemon=restart $GTARGS 18 | ;; 19 | activate) 20 | # Activate => start if not already running 21 | echo -n "Activating GraphTerm server: " 22 | $GTERMD --daemon=activate $GTARGS 23 | ;; 24 | stop) 25 | echo -n "Shutting down GraphTerm server: " 26 | $GTERMD --daemon=stop 27 | ;; 28 | status) 29 | echo -n "Status of GraphTerm server: " 30 | $GTERMD --daemon=status 31 | ;; 32 | *) 33 | echo "Usage: $0 {start|restart|activate|stop|status}" 34 | exit 1 35 | ;; 36 | esac 37 | 38 | exit 0 39 | -------------------------------------------------------------------------------- /graphterm/bin/gshow.ncl: -------------------------------------------------------------------------------- 1 | ;; Demo for embedded graphics using NCL 2 | 3 | load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ; Load the NCL file that contains the 4 | ; gsn_* functions used below. 5 | begin 6 | x = new(9,float) ; Define two 1D arrays of 9 elements each. 7 | y = new(9,float) 8 | 9 | x = (/10.,20.,30.,40.,50.,60.,70.,80.,90./) 10 | y = (/0.,0.71,1.,0.7,0.002,-0.71,-1.,-0.71,-0.003/) 11 | y2 = (/(/0., 0.7, 1., 0.7, 0., -0.7, -1., -0.7, 0./),\ 12 | (/2., 2.7, 3., 2.7, 2., 1.3, 1., 1.3, 2./),\ 13 | (/4., 4.7, 5., 4.7, 4., 3.3, 3., 3.3, 4./)/) 14 | 15 | wks_type = "png" 16 | wks_type@wkWidth = 500 17 | wks_type@wkHeight = 300 18 | wks = gsn_open_wks(wks_type,"ncloutput") ; Open an PNG workstation. 19 | 20 | resources = True ; Indicate you want to 21 | ; set some resources. 22 | 23 | resources@xyLineColors = (/2,3,4/) ; Define line colors. 24 | resources@xyLineThicknesses = (/1.,2.,5./) ; Define line thicknesses 25 | ; (1.0 is the default). 26 | 27 | plot = gsn_xy(wks,x,y2,resources) ; Draw an XY plot. 28 | 29 | system("./gimg.sh ncloutput.png") ; Display it inline 30 | delete(plot) ; Clean up. 31 | end 32 | -------------------------------------------------------------------------------- /graphterm/bin/gvi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | gvi: graphterm-aware visual editor 6 | """ 7 | 8 | from __future__ import absolute_import, print_function 9 | 10 | import os 11 | import sys 12 | 13 | from optparse import OptionParser 14 | 15 | try: 16 | import gterm 17 | except ImportError: 18 | import graphterm.bin.gterm as gterm 19 | 20 | Work_dir = os.getenv("PWD", "") or os.getcwd() 21 | 22 | usage = "usage: %prog [-e ace/ckeditor] filename" 23 | parser = OptionParser(usage=usage) 24 | parser.add_option("-e", "--editor", dest="editor", default="ace", 25 | help="Editor: ace/ckeditor") 26 | 27 | (options, args) = parser.parse_args() 28 | 29 | if len(args) != 1: 30 | print(parser.get_usage(), file=sys.stderr) 31 | sys.exit(1) 32 | 33 | if gterm.Export_host: 34 | assert sys.stdin.isatty() 35 | 36 | gterm.edit_file(args[0], dir=Work_dir, create=True, editor=options.editor) 37 | -------------------------------------------------------------------------------- /graphterm/bin/gvi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # gvi: a GraphTerm shell wrapper for editing files 3 | # Usage: gvi 4 | 5 | options="" 6 | file="" 7 | editor="" 8 | for arg in $*; do 9 | if [ "$arg" == "--ace" ]; then 10 | editor="ace" 11 | elif [ "$arg" == "--ckeditor" ]; then 12 | editor="ckeditor" 13 | elif [[ "$arg" == -* ]]; then 14 | options="$options $arg" 15 | else 16 | file="$arg" 17 | fi 18 | done 19 | 20 | if [ "$file" == "" ]; then 21 | echo "Usage: gvi [--ace|--ckeditor] " 22 | exit 1 23 | fi 24 | 25 | if [[ "$file" == /* ]]; then 26 | # Absolute path 27 | file="$file" 28 | else 29 | # Relative path 30 | file="$PWD/$file" 31 | fi 32 | 33 | tailname=$(basename "$file") 34 | filename="${tailname%.*}" 35 | extension="${tailname##*.}" 36 | 37 | echocmd1="echo -n" 38 | ##echocmd1="/bin/echo -e" 39 | echocmd2="echo" 40 | 41 | headers='{"content_type": "text/html", "x_gterm_response": "edit_file", "x_gterm_parameters": {"filepath": "'"${file}"'", "editor": "'"${editor}"'", "modify": "true", "command": "", "current_directory": "'"${PWD}"'"}}' 42 | 43 | esc=`printf "\033"` 44 | nl=`printf "\012"` 45 | cr=`printf "\015"` 46 | gterm_code="1155" 47 | gterm_cookie=${GTERM_COOKIE:-${LC_GTERM_COOKIE}} 48 | $echocmd1 "${esc}[?${gterm_code};${gterm_cookie}h" 49 | 50 | $echocmd1 "$headers" 51 | $echocmd2 "" 52 | $echocmd2 "" 53 | $echocmd1 "${esc}[?${gterm_code}l" 54 | echo 55 | -------------------------------------------------------------------------------- /graphterm/bin/hello_gterm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # A Hello World program using the GraphTerm API 3 | 4 | prefix=https://raw.github.com/mitotic/graphterm 5 | url=$prefix/master/graphterm/www/GTYY500.png 6 | esc=`printf "\033"` 7 | code="1155" 8 | # Prefix escape sequence 9 | echo "${esc}[?${code};${GTERM_COOKIE}h" 10 | # Display text with HTML markup 11 | echo 'Hello' 12 | echo 'World!

' 13 | # Display inline image 14 | echo "" 15 | # Suffix escape sequence 16 | echo "${esc}[?${code}l" 17 | 18 | # Display clickable link that executes a command 19 | echo "${esc}[?${code};${GTERM_COOKIE}h" 20 | echo '


Clickable Command
' 21 | echo "${esc}[?${code}l" 22 | 23 | # Pretend we do not have a valid GTERM cookie 24 | DUMMY_COOKIE=0 25 | 26 | # Display blob showing red dot 27 | echo "${esc}[?${code};${DUMMY_COOKIE}himage/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==${esc}[?${code}l" 28 | 29 | -------------------------------------------------------------------------------- /graphterm/bin/landslide/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/bin/landslide/__init__.py -------------------------------------------------------------------------------- /graphterm/bin/landslide/themes/default/css/print.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | @page { 7 | size: landscape; 8 | } 9 | 10 | body { 11 | font: 100% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; 12 | padding: 0; 13 | margin: 0; 14 | } 15 | 16 | div.slide { 17 | min-width: 800px; 18 | min-height: 600px; 19 | padding: 1em; 20 | overflow: hidden; 21 | page-break-after: always; 22 | border: 1px solid black; 23 | border-radius: 20px; 24 | } 25 | 26 | div.slide div.inner { 27 | width: 800px; 28 | height: 600px; 29 | margin: auto; 30 | display: table-cell; 31 | } 32 | 33 | h1 { 34 | font-size: 2.4em; 35 | } 36 | 37 | h2 { 38 | font-size: 1.4em; 39 | } 40 | 41 | h3 { 42 | margin: 1em 0; 43 | } 44 | 45 | ul { 46 | margin: 0; 47 | padding: 0; 48 | } 49 | 50 | p, li, pre { 51 | margin: 1em 0; 52 | } 53 | 54 | li { 55 | margin-left: 2em; 56 | } 57 | 58 | a { 59 | color: #000000; 60 | } 61 | 62 | pre, code { 63 | max-width: 800px; 64 | background: #eee; 65 | font-family: Monaco, monospace; 66 | font-size: 90%; 67 | } 68 | 69 | pre { 70 | padding: .2em .5em; 71 | overflow: hidden; 72 | border-radius: .8em; 73 | } 74 | 75 | code { 76 | padding: 0 .2em; 77 | } 78 | 79 | .slide header:only-child h1 { 80 | line-height: 180%; 81 | text-align: center; 82 | display: table-cell; 83 | vertical-align: middle; 84 | height: 600px; 85 | width: 800px; 86 | font-size: 48px; 87 | margin-top:100px; 88 | margin-bottom:100px; 89 | } 90 | 91 | #toc, #help, .slide aside, .slide footer, .slide .notes, 92 | .presenter_notes, #current_presenter_notes, #presenter_note { 93 | display: none; 94 | } 95 | -------------------------------------------------------------------------------- /graphterm/bin/landslide/themes/tango/css/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/bin/landslide/themes/tango/css/background.png -------------------------------------------------------------------------------- /graphterm/bin/metro.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # metro.sh: "Metro" style demo of GraphTerm features 3 | 4 | # Create 3x3 frames, with borders and 240px row height, to display six terminals 5 | gframe -c 3 -b -r 240 -t tweetwin weatherwin slidewin cloudwin matplotwin notewin 6 | sleep 5 7 | 8 | # Tweet stream, fullscreen, search for keyword "science" 9 | gsh -c tweetwin gtweet -f -s science 10 | 11 | # Display weather for Austin (using Yahoo weather API) 12 | gsh -c weatherwin yweather -f austin 13 | 14 | # Looping slide show using reveal.js 15 | gsh -c slidewin greveal -l -t 2500 '$GTERM_DIR/examples/mypres1.md' '|' gframe -f 16 | 17 | # Generate and display wordcloud using d3.js 18 | gsh -c cloudwin d3cloud '$GTERM_DIR/bin/d3cloud' '|' gframe -f 19 | 20 | # Draw snowflakes using inline SVG 21 | gsh -c matplotwin sleep 4 22 | gsh matplotwin gsnowflake.py 23 | gsh matplotwin sleep 4 24 | 25 | # Animate inline matplotlib graph in the same window 26 | gsh matplotwin gmatplot.py --animate 27 | 28 | # Start a notebook 29 | gsh -c notewin python -i '$GTERM_DIR/bin/gpylab.py' '$GTERM_DIR/notebooks/SineWave.ipynb' 30 | -------------------------------------------------------------------------------- /graphterm/bin/paginate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | paginate: Paginate Markdown file by inserting page breaks after output cells 6 | 7 | Example: 8 | paginate < infile > outfile 9 | """ 10 | 11 | import os 12 | import re 13 | import sys 14 | 15 | try: 16 | import gterm 17 | except ImportError: 18 | import graphterm.bin.gterm as gterm 19 | 20 | usage = "usage: %prog file ..." 21 | 22 | form_parser = gterm.FormParser(usage=usage, title="Paginate Markdown file", command="paginate") 23 | 24 | START_FENCE_RE = re.compile(r"^```(expect|output)") 25 | END_FENCE_RE = re.compile(r"^```\s*$") 26 | IMAGE_RE = re.compile(r"^\s*!\[([^\]]*)\]\s*\[(expect|output)-([^\]]+)\]") 27 | 28 | try: 29 | fenced = False 30 | page = True 31 | for line in sys.stdin.readlines(): 32 | if fenced: 33 | if END_FENCE_RE.match(line): 34 | fenced = False 35 | elif START_FENCE_RE.match(line): 36 | fenced = True 37 | page = False 38 | elif IMAGE_RE.match(line): 39 | page = False 40 | elif not page and line.strip(): 41 | # Non-fenced Non-blank non-image line 42 | sys.stdout.write("\n---\n\n") 43 | page = True 44 | sys.stdout.write(line) 45 | except EOFError: 46 | pass 47 | -------------------------------------------------------------------------------- /graphterm/bin/pdf2png: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Convert PDF file to set of PNG image files 4 | 5 | if [ $# -lt 1 ]; then 6 | echo "Usage: pdf2png pdf_file [dest_dir [convert_args]]" 7 | exit 1 8 | fi 9 | 10 | filepath=$1 11 | shift 12 | filename=$(basename $filepath .pdf) 13 | 14 | dest_prefix="" 15 | if [ $# -gt 0 ]; then 16 | if [ ! -d $1 ]; then 17 | echo "Destination directory $1 does not exist" 18 | exit 1 19 | fi 20 | dest_prefix="$1/" 21 | shift 22 | fi 23 | 24 | convert_args="-density 150 -quality 85" 25 | if [ $# -gt 0 ]; then 26 | convert_args="$*" 27 | fi 28 | 29 | echo convert $convert_args $filepath "${dest_prefix}${filename}-%02d.png" 30 | convert $convert_args $filepath "${dest_prefix}${filename}-%02d.png" 31 | -------------------------------------------------------------------------------- /graphterm/bin/port_forward: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Forward specified port to 8900 3 | # 4 | 5 | if [ $# -ne 1 ]; then 6 | echo "Usage: port_forward <80|443>" 7 | exit 1 8 | fi 9 | 10 | iptables -t nat -A PREROUTING -p tcp --dport $1 -j REDIRECT --to 8900 11 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/bin/pytutor/__init__.py -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/aliasing.txt: -------------------------------------------------------------------------------- 1 | x = [1, 2, 3] 2 | y = [4, 5, 6] 3 | z = y 4 | y = x 5 | x = z 6 | 7 | x = [1, 2, 3] # a different [1, 2, 3] list! 8 | y = x 9 | x.append(4) 10 | y.append(5) 11 | z = [1, 2, 3, 4, 5] # a different list! 12 | x.append(6) 13 | y.append(7) 14 | y = "hello" 15 | 16 | 17 | def foo(lst): 18 | lst.append("hello") 19 | bar(lst) 20 | 21 | def bar(myLst): 22 | print(myLst) 23 | 24 | foo(x) 25 | foo(z) 26 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/decorators.txt: -------------------------------------------------------------------------------- 1 | def make_bold(fn): 2 | return lambda : "" + fn() + "" 3 | 4 | def make_italic(fn): 5 | return lambda : "" + fn() + "" 6 | 7 | @make_bold 8 | @make_italic 9 | def hello(): 10 | return "hello world" 11 | 12 | helloHTML = hello() 13 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/example.py: -------------------------------------------------------------------------------- 1 | def listSum(numbers): 2 | if not numbers: 3 | return 0 4 | else: 5 | (f, rest) = numbers 6 | return f + listSum(rest) 7 | 8 | myList = (1, (2, (3, None))) 9 | total = listSum(myList) 10 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/fact.txt: -------------------------------------------------------------------------------- 1 | # dumb recursive factorial 2 | def fact(n): 3 | if (n <= 1): 4 | return 1 5 | else: 6 | return n * fact(n - 1) 7 | 8 | print(fact(6)) 9 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/fib.txt: -------------------------------------------------------------------------------- 1 | # Infinite Fibonacci!!! 2 | 3 | arr = [1, 1] 4 | 5 | print(arr[0]) 6 | 7 | while True: 8 | print(arr[-1]) 9 | tmp = sum(arr) 10 | arr.append(tmp) 11 | del arr[0] 12 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/filter.txt: -------------------------------------------------------------------------------- 1 | input = [("Mary", 27), ("Joe", 30), ("Ruth", 43), ("Bob", 17), ("Jenny", 22)] 2 | 3 | youngPeople = [] 4 | 5 | for (person, age) in input: 6 | if age < 30: 7 | youngPeople.append(person) 8 | else: 9 | print("HAHA " + person + " is too old!") 10 | 11 | print("There are " + str(len(youngPeople)) + " young people") 12 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/for-else.txt: -------------------------------------------------------------------------------- 1 | # find primes using a for-else construct 2 | for n in range(2, 10): 3 | x_range = range(2, n) 4 | for x in x_range: 5 | if n % x == 0: 6 | break 7 | else: 8 | # loop fell through without finding a factor 9 | print(n) 10 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/gen_primes.txt: -------------------------------------------------------------------------------- 1 | # Use generator to generate a stream of primes 2 | def gen_primes(): 3 | n = 2 4 | while True: 5 | for x in range(2, n): 6 | if n % x == 0: 7 | break 8 | else: 9 | yield n 10 | n += 1 11 | 12 | for p in gen_primes(): 13 | print(p) 14 | 15 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/genexpr.txt: -------------------------------------------------------------------------------- 1 | # NB: there's a known bug when frames of exited functions are displayed 2 | x = (i for i in range(10)) 3 | 4 | for e in x: 5 | print(e) 6 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/happy.txt: -------------------------------------------------------------------------------- 1 | # From "Teaching with Python" by John Zelle 2 | def happy(): 3 | print("Happy Birthday to you!") 4 | 5 | def sing(P): 6 | happy() 7 | happy() 8 | print("Happy Birthday dear " + P + "!") 9 | happy() 10 | 11 | # main 12 | sing("Fred") 13 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/ins_sort.txt: -------------------------------------------------------------------------------- 1 | # from: http://www.ece.uci.edu/~chou/py02/python.html 2 | def InsertionSort(A): 3 | for j in range(1, len(A)): 4 | key = A[j] 5 | i = j - 1 6 | while (i >= 0) and (A[i] > key): 7 | A[i+1] = A[i] 8 | i = i - 1 9 | A[i+1] = key 10 | 11 | input = [8, 3, 9, 15, 29, 7, 10] 12 | InsertionSort(input) 13 | print(input) 14 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/list-comp.txt: -------------------------------------------------------------------------------- 1 | ppl = ['Alice', 'Bob', 'Carol', 'Doug'] 2 | excited_ppl = [e + '!!' for e in ppl] 3 | ppl_len = [len(x) for x in ppl] 4 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/map.txt: -------------------------------------------------------------------------------- 1 | # Functional programming with map 2 | # Adapted from MIT 6.01 course notes (Section A.2.3) 3 | # http://mit.edu/6.01/mercurial/spring10/www/handouts/readings.pdf 4 | 5 | def map(func, lst): 6 | if lst == []: 7 | return [] 8 | else: 9 | return [func(lst[0])] + map(func, lst[1:]) 10 | 11 | def halveElements(lst): 12 | return map(lambda x: x / 2.0, lst) 13 | 14 | input = [2, 4, 6, 8, 10] 15 | output = halveElements(input) 16 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/memo_fib.txt: -------------------------------------------------------------------------------- 1 | # use memoization to make the recursive Fibonacci 2 | # implementation only take O(n) time and space 3 | 4 | MemoTable = {} 5 | 6 | def MemoizedFib(n): 7 | if n <= 2: 8 | return 1 9 | 10 | if n in MemoTable: 11 | return MemoTable[n] 12 | 13 | MemoTable[n] = MemoizedFib(n-1) + MemoizedFib(n-2) 14 | return MemoTable[n] 15 | 16 | 17 | res = MemoizedFib(10) 18 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/nonlocal.txt: -------------------------------------------------------------------------------- 1 | # 'nonlocal' keyword is only in Python 3 2 | def outer(): 3 | x = 1 4 | def inner(): 5 | nonlocal x 6 | x = 2 7 | y = x 8 | print("inner:", x, y) 9 | inner() 10 | print("outer:", x) 11 | 12 | outer() 13 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/oop_1.txt: -------------------------------------------------------------------------------- 1 | # Object-oriented programming intro 2 | # Adapted from MIT 6.01 course notes (Section 3.5) 3 | # http://mit.edu/6.01/mercurial/spring10/www/handouts/readings.pdf 4 | 5 | class Staff601: 6 | course = '6.01' 7 | building = 34 8 | room = 501 9 | 10 | def salutation(self): 11 | return self.role + ' ' + self.name 12 | 13 | pat = Staff601() 14 | print(pat.course) 15 | 16 | pat.name = 'Pat' 17 | pat.age = 60 18 | pat.role = 'Professor' 19 | 20 | print(pat.building) 21 | pat.building = 32 22 | print(pat.building) 23 | 24 | print(pat.salutation()) 25 | print(Staff601.salutation(pat)) 26 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/oop_2.txt: -------------------------------------------------------------------------------- 1 | # The __init__ 'constructor' - object-oriented programming intro 2 | # Adapted from MIT 6.01 course notes (Section 3.5) 3 | # http://mit.edu/6.01/mercurial/spring10/www/handouts/readings.pdf 4 | 5 | class Staff601: 6 | course = '6.01' 7 | building = 34 8 | room = 501 9 | 10 | def __init__(self, name, role, years, salary): 11 | self.name = name 12 | self.role = role 13 | self.age = years 14 | self.salary = salary 15 | 16 | def salutation(self): 17 | return self.role + ' ' + self.name 18 | 19 | pat = Staff601('Pat', 'Professor', 60, 100000) 20 | print(pat.salutation()) 21 | 22 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/oop_inherit.txt: -------------------------------------------------------------------------------- 1 | # Inheritance - object-oriented programming intro 2 | # Adapted from MIT 6.01 course notes (Section 3.5) 3 | # http://mit.edu/6.01/mercurial/spring10/www/handouts/readings.pdf 4 | 5 | class Staff601: 6 | course = '6.01' 7 | building = 34 8 | room = 501 9 | 10 | def giveRaise(self, percentage): 11 | self.salary = self.salary + self.salary * percentage 12 | 13 | class Prof601(Staff601): 14 | salary = 100000 15 | 16 | def __init__(self, name, age): 17 | self.name = name 18 | self.giveRaise((age - 18) * 0.03) 19 | 20 | def salutation(self): 21 | return self.role + ' ' + self.name 22 | 23 | pat = Prof601('Pat', 60) 24 | 25 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/oop_small.txt: -------------------------------------------------------------------------------- 1 | class A: 2 | x = 1 3 | y = 'hello' 4 | 5 | class B: 6 | z = 'bye' 7 | 8 | class C(A,B): 9 | def salutation(self): 10 | return '%d %s %s' % (self.x, self.y, self.z) 11 | 12 | inst = C() 13 | print(inst.salutation()) 14 | inst.x = 100 15 | print(inst.salutation()) 16 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/py_tutorial.txt: -------------------------------------------------------------------------------- 1 | # Philip's 10-minute intro to Python 2 | 3 | # numbers! 4 | age = 26 5 | pi = 3.14159 6 | 7 | # strings! 8 | s = 'Rutherford Birchard Hayes' 9 | tokens = s.split() 10 | firstName = tokens[0] 11 | middleName = tokens[1] 12 | lastName = tokens[2] 13 | s2 = firstName + ' ' + middleName + ' ' + lastName 14 | 15 | # 'if' statement - indentation matters! 16 | if (s == s2): 17 | print('yes!!!') 18 | else: 19 | print('nooooooo') 20 | 21 | # list (mutable sequence) 22 | beatles = ['John', 'Paul', 'George'] 23 | beatles.append('Ringo') 24 | 25 | # 'for' loop - indentation matters! 26 | for b in beatles: 27 | print('Hello ' + b) 28 | 29 | # tuple (immutable sequence) 30 | ages = (18, 21, 28, 21, 22, 18, 19, 34, 9) 31 | 32 | # set (no order, no duplicates) 33 | uniqueAges = set(ages) 34 | uniqueAges.add(18) # already in set, no effect 35 | uniqueAges.remove(21) 36 | 37 | # no guaranteed order when iterating over a set 38 | for thisAge in uniqueAges: 39 | print(thisAge) 40 | 41 | # testing set membership 42 | if 18 in uniqueAges: 43 | print('There is an 18-year-old present!') 44 | 45 | # sorting 46 | beatles.sort() # in-place 47 | orderedUniqueAges = sorted(uniqueAges) # new list 48 | 49 | # dict - mapping unique keys to values 50 | netWorth = {} 51 | netWorth['Donald Trump'] = 3000000000 52 | netWorth['Bill Gates'] = 58000000000 53 | netWorth['Tom Cruise'] = 40000000 54 | netWorth['Joe Postdoc'] = 20000 55 | 56 | # iterating over key-value pairs: 57 | for (person, worth) in netWorth.items(): 58 | if worth < 1000000: 59 | print('haha ' + person + ' is not a millionaire') 60 | 61 | # testing dict membership 62 | if 'Tom Cruise' in netWorth: 63 | print('show me the money!') 64 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/sqrt.txt: -------------------------------------------------------------------------------- 1 | # Calculating square roots by Newton's method, inspired by SICP 2 | # http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.7 3 | 4 | def sqrt(x): 5 | def average(a, b): 6 | return (a + b) / 2.0 7 | 8 | def is_good_enough(guess): 9 | return (abs((guess * guess) - x) < 0.001) 10 | 11 | def improve(guess): 12 | return average(guess, x / guess) 13 | 14 | def sqrt_iter(guess): 15 | if is_good_enough(guess): 16 | return guess 17 | else: 18 | return sqrt_iter(improve(guess)) 19 | 20 | return sqrt_iter(1.0) 21 | 22 | 23 | ans = sqrt(9) 24 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/strtok.txt: -------------------------------------------------------------------------------- 1 | input = 'John,Doe,1984,4,1,male' 2 | 3 | tokens = input.split(',') 4 | firstName = tokens[0] 5 | lastName = tokens[1] 6 | birthdate = (int(tokens[2]), int(tokens[3]), int(tokens[4])) 7 | isMale = (tokens[5] == 'male') 8 | 9 | print('Hi ' + firstName + ' ' + lastName) 10 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/sum-cubes.txt: -------------------------------------------------------------------------------- 1 | def summation(n, term, next): 2 | total, k = 0, 1 3 | while k <= n: 4 | total, k = total + term(k), next(k) 5 | return total 6 | 7 | def cube(k): 8 | return pow(k, 3) 9 | 10 | def successor(k): 11 | return k + 1 12 | 13 | def sum_cubes(n): 14 | return summation(n, cube, successor) 15 | 16 | sum_cubes(3) 17 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/sum-list.txt: -------------------------------------------------------------------------------- 1 | myList = (1, (2, (3, (4, (5, None))))) 2 | 3 | def sumList(node, subtotal): 4 | if not node: 5 | return subtotal 6 | else: 7 | return sumList(node[1], subtotal + node[0]) 8 | 9 | total = sumList(myList, 0) 10 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/sum.txt: -------------------------------------------------------------------------------- 1 | # Higher-order functions 2 | # Adapted from MIT 6.01 course notes (Section A.2.2) 3 | # http://mit.edu/6.01/mercurial/spring10/www/handouts/readings.pdf 4 | 5 | def summation(low, high, f, next): 6 | s = 0 7 | x = low 8 | while x <= high: 9 | s = s + f(x) 10 | x = next(x) 11 | return s 12 | 13 | def sumsquares(low, high): 14 | return summation(low, high, lambda x: x**2, lambda x: x+1) 15 | 16 | print(sumsquares(1, 10)) 17 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/towers_of_hanoi.txt: -------------------------------------------------------------------------------- 1 | # move a stack of n disks from stack a to stack b, 2 | # using tmp as a temporary stack 3 | def TowerOfHanoi(n, a, b, tmp): 4 | if n == 1: 5 | b.append(a.pop()) 6 | else: 7 | TowerOfHanoi(n-1, a, tmp, b) 8 | b.append(a.pop()) 9 | TowerOfHanoi(n-1, tmp, b, a) 10 | 11 | stack1 = [4,3,2,1] 12 | stack2 = [] 13 | stack3 = [] 14 | 15 | # transfer stack1 to stack3 using Tower of Hanoi rules 16 | TowerOfHanoi(len(stack1), stack1, stack3, stack2) 17 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/varargs.txt: -------------------------------------------------------------------------------- 1 | # Demonstrate *args and **kwargs 2 | def f1(a, b, *rest): 3 | pass 4 | 5 | f1(1, 2) 6 | f1(1, 2, 3, 4, 5, 6, 7) 7 | 8 | def f2(a, b, **kwrest): 9 | pass 10 | 11 | f2(1, 2, name='Bob', age=38) 12 | 13 | def f3(a, b, *rest, **kwrest): 14 | pass 15 | 16 | f3(1, 2, 3, 4, name='Bob', age=38) 17 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/wentworth_gcd.txt: -------------------------------------------------------------------------------- 1 | # Tutorial code from Prof. Peter Wentworth 2 | # Rhodes University, South Africa (http://www.ru.ac.za/) 3 | 4 | def gcd(x, y, depth=1): 5 | ''' 6 | Find the greatest common divisor of x, y 7 | Pre: x >= y, y >= 0, both x and y are int 8 | ''' 9 | result = x # set provisional return value 10 | if y != 0: 11 | indent = "**" * depth 12 | print(("%s About to recursively call gcd(%d, %d)" % (indent, y, x%y))) 13 | result = gcd(y, x % y, depth+1) 14 | print(("%s result is %d" % (indent, result))) 15 | return result 16 | 17 | def main(): 18 | m = 77 19 | n = 28 20 | print(("Finding gcd(%d, %d)" % (m,n))) 21 | g = gcd(m, n) 22 | print(('Greatest common divisor of %d, %d = %d' 23 | % (m, n, g))) 24 | 25 | main() 26 | 27 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/wentworth_sumList.txt: -------------------------------------------------------------------------------- 1 | # Tutorial code from Prof. Peter Wentworth 2 | # Rhodes University, South Africa (http://www.ru.ac.za/) 3 | 4 | def sumList(xs): 5 | ''' 6 | Sum a list that can contain nested lists. 7 | Precondition: All leaf elements are numbers. 8 | ''' 9 | sum = 0 10 | for e in xs: 11 | if type(e) is list: 12 | print(("Calling sumList(%s) recursively" % e)) 13 | v = sumList(e) 14 | print(("sumList(%s) returned %s" % (e, v))) 15 | sum += v 16 | else: 17 | sum += e 18 | return sum 19 | 20 | 21 | testData = [10, [20, 30, [40], 50], 60] 22 | print(("Calling sumList(%s)" % testData)) 23 | result = sumList(testData) 24 | print(("Final sum of all numbers in initial list is %s" % result)) 25 | 26 | -------------------------------------------------------------------------------- /graphterm/bin/pytutor/example-code/wentworth_try_finally.txt: -------------------------------------------------------------------------------- 1 | # Tutorial code from Prof. Peter Wentworth 2 | # Rhodes University, South Africa (http://www.ru.ac.za/) 3 | 4 | # Demonstrate recursion that throws an exception 5 | # at its base case, and the tracing of try ... finally. 6 | # 7 | # How many "survived!" messages will be printed??? 8 | 9 | def f(n): 10 | try: 11 | x = 10 / n 12 | print("x is " + str(x)) 13 | f(n-1) 14 | print("survived!") 15 | finally: 16 | print("Bye from f where n = " + str(n)) 17 | 18 | f(4) 19 | -------------------------------------------------------------------------------- /graphterm/bin/ystock: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | 4 | """ 5 | ystock: Display stock prices using Yahoo Finance API (via pandas) 6 | """ 7 | 8 | from pandas.io.data import get_data_yahoo 9 | import gmatplot as gm 10 | gm.setup() 11 | 12 | import matplotlib.pyplot as plt 13 | try: 14 | import gterm 15 | except ImportError: 16 | import graphterm.bin.gterm as gterm 17 | 18 | import sys 19 | 20 | usage = "usage: %prog [-f] " 21 | form_parser = gterm.FormParser(usage=usage, title="Display stock price history using Yahoo Finance API ", command="ystock") 22 | 23 | form_parser.add_argument(label="Stock symbol: ", help="Stock symbol (abbreviation used to identify the company)") 24 | 25 | form_parser.add_option("text", False, short="t", help="Plain text display", raw=True) 26 | form_parser.add_option("raw", False, short="r", help="Display raw tabular data (instead of plotting)") 27 | form_parser.add_option("start", "", short="s", help="Start date (yyyy-mm-dd)") 28 | form_parser.add_option("end", "", short="e", help="End date (yyyy-mm-dd)") 29 | 30 | (options, args) = form_parser.parse_args() 31 | 32 | if not sys.stdout.isatty(): 33 | options.text = True 34 | 35 | symbol = args[0] 36 | 37 | data = get_data_yahoo(symbol, start=options.start or None, end=options.end or None)[['Close', 'Volume']] 38 | 39 | if not gterm.Cookie or options.text: 40 | sys.stdout.write(repr(data)+"\n") 41 | elif options.raw: 42 | gterm.auto_display(data) 43 | else: 44 | data.plot(subplots = True, figsize = (8, 8)); 45 | plt.legend(loc = 'best') 46 | plt.show() 47 | -------------------------------------------------------------------------------- /graphterm/certs/cert_to_p12.csh: -------------------------------------------------------------------------------- 1 | #!/bin/csh 2 | 3 | if ( $#argv < 2 ) then 4 | echo "Usage: cert_to_p12.csh " 5 | exit 1 6 | endif 7 | 8 | set password=password 9 | if ( $# > 2 ) then 10 | set password=$3 11 | endif 12 | 13 | set name=$1:t 14 | set name=$name:r 15 | 16 | echo openssl pkcs12 -export -in $1 -inkey $2 -out $name.p12 -passout pass:$password 17 | openssl pkcs12 -export -in $1 -inkey $2 -out $name.p12 -passout pass:$password 18 | -------------------------------------------------------------------------------- /graphterm/certs/create_client_cert.csh: -------------------------------------------------------------------------------- 1 | #!/bin/csh 2 | 3 | if ( $#argv < 2 ) then 4 | echo "Usage: create_client_cert.csh [ []]" 5 | exit 1 6 | endif 7 | 8 | set clientorg=GraphTerm 9 | if ( $# > 2 ) then 10 | set clientorg="$3" 11 | endif 12 | 13 | set password="" 14 | if ( $# > 3 ) then 15 | set password="$4" 16 | endif 17 | 18 | set certfile=$1 19 | set certprefix=$certfile:r 20 | 21 | set clientname=$2 22 | set clientprefix="${certprefix:t}-$clientname" 23 | 24 | set expdays=1024 25 | 26 | echo openssl genrsa -out $clientprefix.key 1024 27 | openssl genrsa -out $clientprefix.key 1024 28 | 29 | echo openssl req -new -key $clientprefix.key -out $clientprefix.csr -batch -subj "/O=$clientorg/CN=$clientname" 30 | openssl req -new -key $clientprefix.key -out $clientprefix.csr -batch -subj "/O=$clientorg/CN=$clientname" 31 | 32 | echo openssl x509 -req -days $expdays -in $clientprefix.csr -CA $certprefix.crt -CAkey $certprefix.key -set_serial 01 -out $clientprefix.crt 33 | openssl x509 -req -days $expdays -in $clientprefix.csr -CA $certprefix.crt -CAkey $certprefix.key -set_serial 01 -out $clientprefix.crt 34 | 35 | echo openssl pkcs12 -export -in $clientprefix.crt -inkey $clientprefix.key -out $clientprefix.p12 -passout pass:$password 36 | openssl pkcs12 -export -in $clientprefix.crt -inkey $clientprefix.key -out $clientprefix.p12 -passout pass:$password 37 | 38 | echo "Created $clientprefix.key, $clientprefix.crt, $clientprefix.p12" 39 | -------------------------------------------------------------------------------- /graphterm/certs/create_server_cert.csh: -------------------------------------------------------------------------------- 1 | #!/bin/csh 2 | 3 | if ( $#argv < 1 ) then 4 | echo "Usage: create_server_cert.csh [ []]" 5 | exit 1 6 | endif 7 | 8 | set hostname=$1 9 | 10 | set serverorg=GraphTerm 11 | if ( $# > 1 ) then 12 | set serverorg="$3" 13 | endif 14 | 15 | set password="" 16 | if ( $# > 2 ) then 17 | set password="$3" 18 | endif 19 | 20 | set expdays=1024 21 | 22 | echo openssl genrsa -out $hostname.key 1024 23 | openssl genrsa -out $hostname.key 1024 24 | 25 | echo openssl req -new -key $hostname.key -out $hostname.csr -batch -subj "/O=$serverorg/CN=$hostname" 26 | openssl req -new -key $hostname.key -out $hostname.csr -batch -subj "/O=$serverorg/CN=$hostname" 27 | 28 | echo openssl x509 -req -days $expdays -in $hostname.csr -signkey $hostname.key -out $hostname.crt 29 | openssl x509 -req -days $expdays -in $hostname.csr -signkey $hostname.key -out $hostname.crt 30 | 31 | echo openssl x509 -noout -fingerprint -in $hostname.crt 32 | openssl x509 -noout -fingerprint -in $hostname.crt 33 | 34 | echo "Created $hostname.key, $hostname.crt" 35 | -------------------------------------------------------------------------------- /graphterm/certs/mac_import_cert.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ $# -eq 0 ]; then 4 | echo "Usage: mac_import_cert.sh [clientname]" 5 | exit 1 6 | fi 7 | 8 | certfile=$1 9 | clientname=gterm-local 10 | if [ $# -gt 1 ]; then 11 | clientname=$2 12 | fi 13 | 14 | keychain=$HOME/Library/Keychains/login.keychain 15 | 16 | if security find-certificate -c $clientname; then 17 | security delete-certificate -c $clientname 18 | fi 19 | 20 | echo security import $certfile -k $keychain -P password 21 | security import $certfile -k $keychain -P password 22 | -------------------------------------------------------------------------------- /graphterm/episode4.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | Episode IV 36 | A NEW HOPE 37 | 38 | It is a period of civil war. Rebel 39 | spaceships, striking from a 40 | hidden base, have won their 41 | first victory against the evil 42 | Galactic Empire. 43 | 44 | During the battle, Rebel spies 45 | managed to steal secret plans to 46 | the Empire's ultimate weapon, 47 | the DEATH STAR, an armored 48 | space station with enough 49 | power to destroy an entire 50 | planet. 51 | 52 | Pursued by the Empire's sinister 53 | agents, Princess Leia races 54 | home aboard her starship, 55 | custodian of the stolen plans 56 | that can save her people and 57 | restore freedom to the galaxy.... 58 | 59 | 60 | -------------------------------------------------------------------------------- /graphterm/examples/mypres1.md: -------------------------------------------------------------------------------- 1 | ## Why Make the Move to Plain Text Slides? 2 | 3 | ![text](http://huginn.net/profhacker/revealjs/images/text.jpg) 4 | 5 | --- 6 | 7 | ## It is free 8 | 9 | * Avoid software purchase costs 10 | * We are moving to a world of software **subscriptions** 11 | 12 | --- 13 | 14 | ## It is portable 15 | 16 | * Easily share your file with anyone 17 | * Show your slides in any modern browser 18 | 19 | --- 20 | 21 | # It is forever 22 | 23 | --- 24 | 25 | Well, *maybe*. 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /graphterm/notebooks/Bash-fill.sh.gnb.md: -------------------------------------------------------------------------------- 1 | # Progressive fillable Bash notebook 2 | 3 | ## Type a shell command that changes the working directory to the home directory 4 | 5 | ```bash 6 | cd ## ANSWER 7 | ``` 8 | 9 | ## Type a shell command that lists all files in the working directory with extension .py 10 | 11 | ```bash 12 | ls *.py ## ANSWER 13 | ``` 14 | 15 | ## Type a shell command that searches for the string "ABC" in all python files 16 | 17 | ```bash 18 | grep ABC *.py ## ANSWER 19 | ``` 20 | 21 | -------------------------------------------------------------------------------- /graphterm/notebooks/IndentationCheck.py.md: -------------------------------------------------------------------------------- 1 | 2 | ```python 3 | def a(b): 4 | if b: 5 | print 1 6 | else: 7 | print 2 8 | def cc(): 9 | pass 10 | a(0) 11 | if 1: 12 | print 2 13 | elif 0: 14 | pass 15 | else: 16 | print 2 17 | for x in [9,10]: 18 | print x 19 | while False: 20 | pass 21 | a(1) 22 | try: 23 | a=1/0 24 | except Exception: 25 | pass 26 | finally: 27 | pass 28 | ``` 29 | 30 | ```output 31 | 32 | 2 33 | 2 34 | 9 35 | 10 36 | 1 37 | ``` 38 | 39 | -------------------------------------------------------------------------------- /graphterm/notebooks/LeafletMap.py.gnb.md: -------------------------------------------------------------------------------- 1 | 2 | ## Leaflet Map 3 | 4 | Demo of embedding a pannable, zoomable 5 | [Leaflet map](http://leafletjs.com) within GraphTerm 6 | 7 | Requires python modules [mplleaflet](https://github.com/jwass/mplleaflet) 8 | and [mplexporter](https://github.com/mpld3/mplexporter) 9 | 10 | 11 | ```python 12 | import numpy as np 13 | lon = np.arange(240, 360.0, 10.0) 14 | lat = 40 + 10*np.sin(lon/10) 15 | plot(lon,lat) 16 | 17 | import mplleaflet 18 | html = mplleaflet.fig_to_html() 19 | 20 | import gterm 21 | iframe_html = gterm.iframe_html(html=html, width="80%") 22 | gterm.nb_clear() 23 | gterm.write_pagelet(iframe_html) 24 | ``` -------------------------------------------------------------------------------- /graphterm/testsslclient.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import os, socket, ssl, sys, pprint, time 4 | 5 | host_port = ('localhost', 8899) 6 | 7 | ssl_options = {"cert_reqs": ssl.CERT_REQUIRED, "ca_certs": os.getenv("HOME")+"/.ssh/localhost.crt"} 8 | 9 | if 0: 10 | s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 11 | # require a certificate from the server 12 | ssl_sock = ssl.wrap_socket(s, **ssl_options) 13 | 14 | ssl_sock.connect(host_port) 15 | 16 | pprint.pprint(ssl_sock.getpeercert()) 17 | # note that closing the SSLSocket will also close the underlying socket 18 | ssl_sock.close() 19 | 20 | def on_connect(): 21 | print "Connected" 22 | time.sleep(5) 23 | 24 | import tornado.iostream, tornado.ioloop 25 | 26 | if 0: 27 | stream = tornado.iostream.SSLIOStream(socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0), 28 | ssl_options=ssl_options) 29 | 30 | stream.connect(host_port, on_connect) 31 | 32 | sys.exit(0) 33 | 34 | import packetserver 35 | 36 | class MyClient(packetserver.PacketClient): 37 | _all_connections = {} 38 | def __init__(self, host, port, lterm_cookie="", io_loop=None, ssl_options={}): 39 | super(MyClient, self).__init__(host, port, io_loop=io_loop, 40 | ssl_options=ssl_options, max_packet_buf=3, 41 | reconnect_sec=300, server_type="frame") 42 | 43 | conn2 = MyClient.get_client("conn2", connect=host_port, connect_kw={"ssl_options": ssl_options}) 44 | 45 | tornado.ioloop.IOLoop.instance().start() 46 | 47 | 48 | print "conn2", conn2 49 | -------------------------------------------------------------------------------- /graphterm/version.py: -------------------------------------------------------------------------------- 1 | current = "0.30.9+" 2 | -------------------------------------------------------------------------------- /graphterm/www/GTYY48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/GTYY48.png -------------------------------------------------------------------------------- /graphterm/www/GTYY500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/GTYY500.png -------------------------------------------------------------------------------- /graphterm/www/ace/test-ace.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Editor 7 | 21 | 22 | 23 | 24 |
function foo(items) {
25 |     var i;
26 |     for (i = 0; i < items.length; i++) {
27 |         alert("Ace Rocks " + items[i]);
28 |     }
29 | }
30 | 31 | 32 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) 7 | { 8 | // Define changes to default configuration here. For example: 9 | // config.language = 'fr'; 10 | // config.uiColor = '#AADC6E'; 11 | }; 12 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | body 7 | { 8 | /* Font */ 9 | font-family: Arial, Verdana, sans-serif; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #222; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | } 18 | 19 | ol,ul,dl 20 | { 21 | /* IE7: reset rtl list margin. (#7334) */ 22 | *margin-right:0px; 23 | /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ 24 | padding:0 40px; 25 | } 26 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/images/spacer.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/legal.txt: -------------------------------------------------------------------------------- 1 | CKEditor is distributed under the MPL License 2 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 30 Missing: 0 5 | cy.js Found: 30 Missing: 0 6 | da.js Found: 12 Missing: 18 7 | de.js Found: 30 Missing: 0 8 | el.js Found: 25 Missing: 5 9 | eo.js Found: 30 Missing: 0 10 | fa.js Found: 30 Missing: 0 11 | fi.js Found: 30 Missing: 0 12 | fr.js Found: 30 Missing: 0 13 | gu.js Found: 12 Missing: 18 14 | he.js Found: 30 Missing: 0 15 | it.js Found: 30 Missing: 0 16 | mk.js Found: 5 Missing: 25 17 | nb.js Found: 30 Missing: 0 18 | nl.js Found: 30 Missing: 0 19 | no.js Found: 30 Missing: 0 20 | pt-br.js Found: 30 Missing: 0 21 | ro.js Found: 6 Missing: 24 22 | tr.js Found: 30 Missing: 0 23 | ug.js Found: 27 Missing: 3 24 | vi.js Found: 6 Missing: 24 25 | zh-cn.js Found: 30 Missing: 0 26 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/a11yhelp/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('a11yhelp','zh-cn',{accessibilityHelp:{title:'辅助说明',contents:'帮助内容。要关闭此对话框请按 ESC 键。',legend:[{name:'常规',items:[{name:'编辑器工具栏',legend:'按 ${toolbarFocus} 以导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键以选择工具栏组,使用左右箭头键以选择按钮,按空格键或回车键以应用选中的按钮。'},{name:'编辑器对话框',legend:'在对话框内,TAB键移动到下一个字段,SHIFT + TAB 移动到上一个字段,ENTER键提交对话框,ESC键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用TAB键或者向右箭头来移动到下一个标签;SHIFT + TAB或者向左箭头移动到上一个标签。用SPACE或者ENTER选择标签。'},{name:'编辑器上下文菜单',legend:'用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用TAB键或者向下箭头来移动到下一个菜单项;SHIFT + TAB或者向上箭头移动到上一个菜单项。用SPACE或者ENTER选择菜单项。用SPACE,ENTER或者向右箭头打开子菜单。返回菜单用ESC键或者向左箭头。用ESC关闭上下文菜单。'},{name:'编辑器列表框',legend:'在列表框中,移到下一列表项用TAB键或者向下箭头。移到上一列表项用SHIFT + TAB或者向上箭头,用SPACE或者ENTER选择列表项。用ESC收起列表框。'},{name:'编辑器元素路径栏',legend:'按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。'}]},{name:'命令',items:[{name:' 撤消命令',legend:'按 ${undo}'},{name:' 重做命令',legend:'按 ${redo}'},{name:' 加粗命令',legend:'按 ${bold}'},{name:' 倾斜命令',legend:'按 ${italic}'},{name:' 下划线命令',legend:'按 ${underline}'},{name:' 链接命令',legend:'按 ${link}'},{name:' 工具栏折叠命令',legend:'按 ${toolbarCollapse}'},{name:' 无障碍设计说明',legend:'按 ${a11yHelp}'}]}]}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/about/dialogs/about.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('about',function(a){var b=a.lang.about;return{title:CKEDITOR.env.ie?b.dlgTitle:b.title,minWidth:390,minHeight:230,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[{type:'html',html:''+'
'+''+'

'+'CKEditor '+CKEDITOR.version+' (revision '+CKEDITOR.revision+')
'+'http://ckeditor.com'+'

'+'

'+b.help.replace('$1',''+b.userGuide+'')+'

'+'

'+b.moreInfo+'
'+'http://ckeditor.com/license'+'

'+'

'+b.copy.replace('$1','CKSource - Frederico Knabben')+'

'+'
'}]}],buttons:[CKEDITOR.dialog.cancelButton]};}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/ajax/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('ajax',{requires:['xml']});CKEDITOR.ajax=(function(){var a=function(){if(!CKEDITOR.env.ie||location.protocol!='file:')try{return new XMLHttpRequest();}catch(f){}try{return new ActiveXObject('Msxml2.XMLHTTP');}catch(g){}try{return new ActiveXObject('Microsoft.XMLHTTP');}catch(h){}return null;},b=function(f){return f.readyState==4&&(f.status>=200&&f.status<300||f.status==304||f.status===0||f.status==1223);},c=function(f){if(b(f))return f.responseText;return null;},d=function(f){if(b(f)){var g=f.responseXML;return new CKEDITOR.xml(g&&g.firstChild?g:f.responseText);}return null;},e=function(f,g,h){var i=!!g,j=a();if(!j)return null;j.open('GET',f,i);if(i)j.onreadystatechange=function(){if(j.readyState==4){g(h(j));j=null;}};j.send(null);return i?'':h(j);};return{load:function(f,g){return e(f,g,c);},loadXml:function(f,g){return e(f,g,d);}};})();})(); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/autogrow/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){function a(c){var d=c.getStyle('overflow-y'),e=c.getDocument(),f=CKEDITOR.dom.element.createFromHtml(''+(CKEDITOR.env.webkit?' ':'')+'',e);e[CKEDITOR.env.ie?'getBody':'getDocumentElement']().append(f);var g=f.getDocumentPosition(e).y+f.$.offsetHeight;f.remove();c.setStyle('overflow-y',d);return g;};var b=function(c){if(!c.window)return;var d=c.document,e=new CKEDITOR.dom.element(d.getWindow().$.frameElement),f=d.getBody(),g=d.getDocumentElement(),h=c.window.getViewPaneSize().height,i=d.$.compatMode=='BackCompat'?f:g,j=a(i);j+=c.config.autoGrow_bottomSpace||0;var k=c.config.autoGrow_minHeight!=undefined?c.config.autoGrow_minHeight:200,l=c.config.autoGrow_maxHeight||Infinity;j=Math.max(j,k);j=Math.min(j,l);if(j!=h){j=c.fire('autoGrow',{currentHeight:h,newHeight:j}).newHeight;c.resize(c.container.getStyle('width'),j,true);}if(i.$.scrollHeight>i.$.clientHeight&&j=8)?d.document.createElement(''):d.document.createElement('input');e.setAttribute('type','hidden');g.commitContent(e);var f=d.createFakeElement(e,'cke_hidden','hiddenfield');if(!g.hiddenField)d.insertElement(f);else{f.replace(g.hiddenField);d.getSelection().selectElement(f);}return true;},contents:[{id:'info',label:a.lang.hidden.title,title:a.lang.hidden.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.hidden.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('name',this.getValue());else b.removeAttribute('name');}},{id:'value',type:'text',label:a.lang.hidden.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){if(this.getValue())b.setAttribute('value',this.getValue());else b.removeAttribute('value');}}]}]};}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/forms/dialogs/textarea.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('textarea',function(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:220,onShow:function(){var c=this;delete c.textarea;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='textarea'){c.textarea=b;c.setupContent(b);}},onOk:function(){var b,c=this.textarea,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('textarea');}this.commitContent(c);if(d)b.insertElement(c);},contents:[{id:'info',label:a.lang.textarea.title,title:a.lang.textarea.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.data('cke-saved-name',this.getValue());else{b.data('cke-saved-name',false);b.removeAttribute('name');}}},{type:'hbox',widths:['50%','50%'],children:[{id:'cols',type:'text',label:a.lang.textarea.cols,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('cols')&&b.getAttribute('cols');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('cols',this.getValue());else b.removeAttribute('cols');}},{id:'rows',type:'text',label:a.lang.textarea.rows,'default':'',accessKey:'R',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('rows')&&b.getAttribute('rows');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('rows',this.getValue());else b.removeAttribute('rows');}}]},{id:'value',type:'textarea',label:a.lang.textfield.value,'default':'',setup:function(b){this.setValue(b.$.defaultValue);},commit:function(b){b.$.value=b.$.defaultValue=this.getValue();}}]}]};}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/forms/images/hiddenfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/forms/images/hiddenfield.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/iframe/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/iframe/images/placeholder.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/iframedialog/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('iframedialog',{requires:['dialog'],onLoad:function(){CKEDITOR.dialog.addIframe=function(a,b,c,d,e,f,g){var h={type:'iframe',src:c,width:'100%',height:'100%'};if(typeof f=='function')h.onContentLoad=f;else h.onContentLoad=function(){var k=this.getElement(),l=k.$.contentWindow;if(l.onDialogEvent){var m=this.getDialog(),n=function(o){return l.onDialogEvent(o);};m.on('ok',n);m.on('cancel',n);m.on('resize',n);m.on('hide',function(o){m.removeListener('ok',n);m.removeListener('cancel',n);m.removeListener('resize',n);o.removeListener();});l.onDialogEvent({name:'load',sender:this,editor:m._.editor});}};var i={title:b,minWidth:d,minHeight:e,contents:[{id:'iframe',label:b,expand:true,elements:[h]}]};for(var j in g)i[j]=g[j];this.add(a,function(){return i;});};(function(){var a=function(b,c,d){if(arguments.length<3)return;var e=this._||(this._={}),f=c.onContentLoad&&CKEDITOR.tools.bind(c.onContentLoad,this),g=CKEDITOR.tools.cssLength(c.width),h=CKEDITOR.tools.cssLength(c.height);e.frameId=CKEDITOR.tools.getNextId()+'_iframe';b.on('load',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent();l.setStyles({width:g,height:h});});var i={src:'%2',id:e.frameId,frameborder:0,allowtransparency:true},j=[];if(typeof c.onContentLoad=='function')i.onload='CKEDITOR.tools.callFunction(%1);';CKEDITOR.ui.dialog.uiElement.call(this,b,c,j,'iframe',{width:g,height:h},i,'');d.push('
');j=j.join('');b.on('show',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent(),m=CKEDITOR.tools.addFunction(f),n=j.replace('%1',m).replace('%2',CKEDITOR.tools.htmlEncode(c.src));l.setHtml(n);});};a.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.dialog.addUIElement('iframe',{build:function(b,c,d){return new a(b,c,d);}});})();}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/link/dialogs/anchor.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('anchor',function(a){var b=function(d){this._.selectedElement=d;var e=d.data('cke-saved-name');this.setValueOf('info','txtName',e||'');};function c(d,e){return d.createFakeElement(e,'cke_anchor','anchor');};return{title:a.lang.anchor.title,minWidth:300,minHeight:60,onOk:function(){var k=this;var d=CKEDITOR.tools.trim(k.getValueOf('info','txtName')),e={name:d,'data-cke-saved-name':d};if(k._.selectedElement){if(k._.selectedElement.data('cke-realelement')){var f=c(a,a.document.createElement('a',{attributes:e}));f.replace(k._.selectedElement);}else k._.selectedElement.setAttributes(e);}else{var g=a.getSelection(),h=g&&g.getRanges()[0];if(h.collapsed){if(CKEDITOR.plugins.link.synAnchorSelector)e['class']='cke_anchor_empty';if(CKEDITOR.plugins.link.emptyAnchorFix){e.contenteditable='false';e['data-cke-editable']=1;}var i=a.document.createElement('a',{attributes:e});if(CKEDITOR.plugins.link.fakeAnchor)i=c(a,i);h.insertNode(i);}else{if(CKEDITOR.env.ie&&CKEDITOR.env.version<9)e['class']='cke_anchor';var j=new CKEDITOR.style({element:'a',attributes:e});j.type=CKEDITOR.STYLE_INLINE;j.apply(a.document);}}},onHide:function(){delete this._.selectedElement;},onShow:function(){var h=this;var d=a.getSelection(),e=d.getSelectedElement(),f;if(e){if(CKEDITOR.plugins.link.fakeAnchor){var g=CKEDITOR.plugins.link.tryRestoreFakeAnchor(a,e);g&&b.call(h,g);h._.selectedElement=e;}else if(e.is('a')&&e.hasAttribute('name'))b.call(h,e);}else{f=CKEDITOR.plugins.link.getSelectedLink(a);if(f){b.call(h,f);d.selectElement(f);}}h.getContentElement('info','txtName').focus();},contents:[{id:'info',label:a.lang.anchor.title,accessKey:'I',elements:[{type:'text',id:'txtName',label:a.lang.anchor.name,required:true,validate:function(){if(!this.getValue()){alert(a.lang.anchor.errorName);return false;}return true;}}]}]};}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/link/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/link/images/anchor.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/pastetext/dialogs/pastetext.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.setupContent();},onOk:function(){this.commitContent();},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'
'+a.lang.clipboard.pasteMsg+'
'},{type:'textarea',id:'content',className:'cke_pastetext',onLoad:function(){var b=this.getDialog().getContentElement('general','pasteMsg').getElement(),c=this.getElement().getElementsByTag('textarea').getItem(0);c.setAttribute('aria-labelledby',b.$.id);c.setStyle('direction',a.config.contentsLangDirection);},focus:function(){this.getElement().focus();},setup:function(){this.setValue('');},commit:function(){var b=this.getValue();setTimeout(function(){a.fire('paste',{text:b});},0);}}]}]};});})(); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/dialogs/placeholder.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,elements:[{id:'text',type:'text',style:'width: 100%;',label:d.text,'default':'',required:true,validate:CKEDITOR.dialog.validate.notEmpty(d.textMissing),setup:function(f){if(c)this.setValue(f.getText().slice(2,-2));},commit:function(f){var g='[['+this.getValue()+']]';CKEDITOR.plugins.placeholder.createPlaceholder(b,f,g);}}]}],onShow:function(){if(c)this._element=CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b);this.setupContent(this._element);},onOk:function(){this.commitContent(this._element);delete this._element;}};};CKEDITOR.dialog.add('createplaceholder',function(b){return a(b);});CKEDITOR.dialog.add('editplaceholder',function(b){return a(b,1);});})(); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | bg.js Found: 5 Missing: 0 5 | cs.js Found: 5 Missing: 0 6 | cy.js Found: 5 Missing: 0 7 | da.js Found: 5 Missing: 0 8 | de.js Found: 5 Missing: 0 9 | el.js Found: 5 Missing: 0 10 | eo.js Found: 5 Missing: 0 11 | et.js Found: 5 Missing: 0 12 | fa.js Found: 5 Missing: 0 13 | fi.js Found: 5 Missing: 0 14 | fr.js Found: 5 Missing: 0 15 | he.js Found: 5 Missing: 0 16 | hr.js Found: 5 Missing: 0 17 | it.js Found: 5 Missing: 0 18 | nb.js Found: 5 Missing: 0 19 | nl.js Found: 5 Missing: 0 20 | no.js Found: 5 Missing: 0 21 | pl.js Found: 5 Missing: 0 22 | pt-br.js Found: 5 Missing: 0 23 | tr.js Found: 5 Missing: 0 24 | ug.js Found: 5 Missing: 0 25 | uk.js Found: 5 Missing: 0 26 | vi.js Found: 4 Missing: 1 27 | zh-cn.js Found: 5 Missing: 0 28 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/bg.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','bg',{placeholder:{title:'Настройки на контейнера',toolbar:'Нов контейнер',text:'Текст за контейнера',edit:'Промяна на контейнер',textMissing:'Контейнера трябва да съдържа текст.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/cs.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','cs',{placeholder:{title:'Vlastnosti vyhrazeného prostoru',toolbar:'Vytvořit vyhrazený prostor',text:'Vyhrazený text',edit:'Upravit vyhrazený prostor',textMissing:'Vyhrazený prostor musí obsahovat text.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/cy.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','cy',{placeholder:{title:"Priodweddau'r Daliwr Geiriau",toolbar:'Creu Daliwr Geiriau',text:'Testun y Daliwr Geiriau',edit:"Golygu'r Dailwr Geiriau",textMissing:"Mae'n rhaid i'r daliwr geiriau gynnwys testun."}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/da.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','da',{placeholder:{title:'Egenskaber for pladsholder',toolbar:'Opret pladsholder',text:'Tekst til pladsholder',edit:'Redigér pladsholder',textMissing:'Pladsholder skal indeholde tekst'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/de.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','de',{placeholder:{title:'Platzhalter Einstellungen',toolbar:'Platzhalter erstellen',text:'Platzhalter Text',edit:'Platzhalter bearbeiten',textMissing:'Der Platzhalter muss einen Text beinhalten.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/el.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','el',{placeholder:{title:'Ιδιότητες Υποκατάστατου Κειμένου',toolbar:'Δημιουργία Υποκατάσταστου Κειμένου',text:'Υποκαθιστόμενο Κείμενο',edit:'Επεξεργασία Υποκατάσταστου Κειμένου',textMissing:'Πρέπει να υπάρχει υποκαθιστόμενο κείμενο.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',textMissing:'The placeholder must contain text.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/eo.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','eo',{placeholder:{title:'Atributoj de la rezervita spaco',toolbar:'Krei la rezervitan spacon',text:'Texto de la rezervita spaco',edit:'Modifi la rezervitan spacon',textMissing:'La rezervita spaco devas enteni tekston.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/et.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','et',{placeholder:{title:'Kohahoidja omadused',toolbar:'Kohahoidja loomine',text:'Kohahoidja tekst',edit:'Kohahoidja muutmine',textMissing:'Kohahoidja peab sisaldama teksti.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/fa.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','fa',{placeholder:{title:'ویژگیهای محل نگهداری',toolbar:'ایجاد یک محل نگهداری',text:'متن محل نگهداری',edit:'ویرایش محل نگهداری',textMissing:'محل نگهداری باید محتوی متن باشد.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/fi.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','fi',{placeholder:{title:'Paikkamerkin ominaisuudet',toolbar:'Luo paikkamerkki',text:'Paikkamerkin teksti',edit:'Muokkaa paikkamerkkiä',textMissing:'Paikkamerkin täytyy sisältää tekstiä'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/fr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','fr',{placeholder:{title:"Propriétés de l'Espace réservé",toolbar:"Créer l'Espace réservé",text:"Texte de l'Espace réservé",edit:"Modifier l'Espace réservé",textMissing:"L'Espace réservé doit contenir du texte."}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שומר המקום חייב להכיל טקסט.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/hr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','hr',{placeholder:{title:'Svojstva rezerviranog mjesta',toolbar:'Napravi rezervirano mjesto',text:'Tekst rezerviranog mjesta',edit:'Uredi rezervirano mjesto',textMissing:'Rezervirano mjesto mora sadržavati tekst.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/it.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','it',{placeholder:{title:'Proprietà segnaposto',toolbar:'Crea segnaposto',text:'Testo segnaposto',edit:'Modifica segnaposto',textMissing:'Il segnaposto deve contenere del testo.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/nb.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','nb',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/nl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','nl',{placeholder:{title:'Eigenschappen placeholder',toolbar:'Placeholder aanmaken',text:'Placeholder tekst',edit:'Placeholder wijzigen',textMissing:'De placeholder moet tekst bevatten.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/no.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','no',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/pl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','pl',{placeholder:{title:'Właściwości wypełniacza',toolbar:'Utwórz wypełniacz',text:'Tekst wypełnienia',edit:'Edytuj wypełnienie',textMissing:'Wypełnienie musi posiadać jakiś tekst.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/pt-br.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','pt-br',{placeholder:{title:'Propriedades do Espaço Reservado',toolbar:'Criar Espaço Reservado',text:'Texto do Espaço Reservado',edit:'Editar Espaço Reservado',textMissing:'O espaço reservado deve conter texto.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/tr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','tr',{placeholder:{title:'Yer tutucu özellikleri',toolbar:'Yer tutucu oluşturun',text:'Yer tutucu metini',edit:'Yer tutucuyu düzenle',textMissing:'Yer tutucu metin içermelidir.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/ug.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','ug',{placeholder:{title:'ئورۇن بەلگە خاسلىقى',toolbar:'ئورۇن بەلگە قۇر',text:'ئورۇن بەلگە تېكىستى',edit:'ئورۇن بەلگە تەھرىر',textMissing:'ئورۇن بەلگىسىدە چوقۇم تېكىست بولۇشى لازىم'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/uk.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','uk',{placeholder:{title:'Налаштування Заповнювача',toolbar:'Створити Заповнювач',text:'Текст Заповнювача',edit:'Редагувати Заповнювач',textMissing:'Заповнювач повинен містити текст.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/vi.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','vi',{placeholder:{title:'Thuộc tính đặt chỗ',toolbar:'Tạo đặt chỗ',text:'Văn bản đặt chỗ',edit:'Chỉnh sửa ',textMissing:'The placeholder must contain text.'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','zh-cn',{placeholder:{title:'占位符属性',toolbar:'创建占位符',text:'占位符文字',edit:'编辑占位符',textMissing:'占位符必需包含有文字'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/placeholder/placeholder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/placeholder/placeholder.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/preview/preview.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/scayt/dialogs/toolbar.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | a{text-decoration:none;padding:2px 4px 4px 6px;display:block;border-width:1px;border-style:solid;margin:0;}a.cke_scayt_toogle:hover,a.cke_scayt_toogle:focus,a.cke_scayt_toogle:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;margin:0;}a.cke_scayt_toogle{color:#316ac5;border-color:#fff;}.scayt_enabled a.cke_scayt_item{color:#316ac5;border-color:#fff;margin:0;}.scayt_disabled a.cke_scayt_item{color:gray;border-color:#fff;}.scayt_enabled a.cke_scayt_item:hover,.scayt_enabled a.cke_scayt_item:focus,.scayt_enabled a.cke_scayt_item:active{border-color:#316ac5;background-color:#dff1ff;color:#000;cursor:pointer;}.scayt_disabled a.cke_scayt_item:hover,.scayt_disabled a.cke_scayt_item:focus,.scayt_disabled a.cke_scayt_item:active{border-color:gray;background-color:#dff1ff;color:gray;cursor:no-drop;}.cke_scayt_set_on,.cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_on{display:none;}.scayt_disabled .cke_scayt_set_on{display:inline;}.scayt_disabled .cke_scayt_set_off{display:none;}.scayt_enabled .cke_scayt_set_off{display:inline;} 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/specialchar/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 118 Missing: 0 5 | cy.js Found: 118 Missing: 0 6 | de.js Found: 118 Missing: 0 7 | el.js Found: 16 Missing: 102 8 | eo.js Found: 118 Missing: 0 9 | et.js Found: 31 Missing: 87 10 | fa.js Found: 24 Missing: 94 11 | fi.js Found: 23 Missing: 95 12 | fr.js Found: 118 Missing: 0 13 | he.js Found: 1 Missing: 117 14 | hr.js Found: 23 Missing: 95 15 | it.js Found: 118 Missing: 0 16 | nb.js Found: 118 Missing: 0 17 | nl.js Found: 118 Missing: 0 18 | no.js Found: 118 Missing: 0 19 | pt-br.js Found: 118 Missing: 0 20 | tr.js Found: 118 Missing: 0 21 | ug.js Found: 39 Missing: 79 22 | zh-cn.js Found: 118 Missing: 0 23 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/styles/styles/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.stylesSet.add('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}},{name:'Borderless Table',element:'table',styles:{'border-style':'hidden','background-color':'#E6E6FA'}},{name:'Square Bulleted List',element:'ul',styles:{'list-style-type':'square'}}]); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/stylesheetparser/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){function a(c,d,e){var f=c.join(' ');f=f.replace(/(,|>|\+|~)/g,' ');f=f.replace(/\[[^\]]*/g,'');f=f.replace(/#[^\s]*/g,'');f=f.replace(/\:{1,2}[^\s]*/g,'');f=f.replace(/\s+/g,' ');var g=f.split(' '),h=[];for(var i=0;iType the title here

Type the text here

'},{title:'Strange Template',image:'template2.gif',description:'A template that defines two colums, each one with a title, and some text.',html:'

Title 1

Title 2

Text 1Text 2

More text goes here.

'},{title:'Text and Table',image:'template3.gif',description:'A title with some text and a table.',html:'

Title goes here

Table title
   
   
   

Type the text here

'}]}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | bg.js Found: 4 Missing: 0 5 | cs.js Found: 4 Missing: 0 6 | cy.js Found: 4 Missing: 0 7 | da.js Found: 4 Missing: 0 8 | de.js Found: 4 Missing: 0 9 | el.js Found: 4 Missing: 0 10 | eo.js Found: 4 Missing: 0 11 | et.js Found: 4 Missing: 0 12 | fa.js Found: 4 Missing: 0 13 | fi.js Found: 4 Missing: 0 14 | fr.js Found: 4 Missing: 0 15 | he.js Found: 4 Missing: 0 16 | hr.js Found: 4 Missing: 0 17 | it.js Found: 4 Missing: 0 18 | mk.js Found: 4 Missing: 0 19 | nb.js Found: 4 Missing: 0 20 | nl.js Found: 4 Missing: 0 21 | no.js Found: 4 Missing: 0 22 | pl.js Found: 4 Missing: 0 23 | pt-br.js Found: 4 Missing: 0 24 | tr.js Found: 4 Missing: 0 25 | ug.js Found: 4 Missing: 0 26 | uk.js Found: 4 Missing: 0 27 | vi.js Found: 4 Missing: 0 28 | zh-cn.js Found: 4 Missing: 0 29 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/bg.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','bg',{uicolor:{title:'ПИ избор на цвят',preview:'Преглед',config:'Вмъкнете този низ във Вашия config.js fajl',predefined:'Предефинирани цветови палитри'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/cs.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','cs',{uicolor:{title:'Výběr barvy rozhraní',preview:'Živý náhled',config:'Vložte tento řetězec do Vašeho souboru config.js',predefined:'Přednastavené sady barev'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/cy.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','cy',{uicolor:{title:"Dewisydd Lliwiau'r UI",preview:'Rhagolwg Byw',config:"Gludwch y llinyn hwn i'ch ffeil config.js",predefined:"Setiau lliw wedi'u cyn-ddiffinio"}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/da.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','da',{uicolor:{title:'Brugerflade på farvevælger',preview:'Vis liveeksempel',config:'Indsæt denne streng i din config.js fil',predefined:'Prædefinerede farveskemaer'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/de.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','de',{uicolor:{title:'UI Pipette',preview:'Live-Vorschau',config:"Fügen Sie diese Zeichenfolge in die 'config.js' Datei.",predefined:'Vordefinierte Farbsätze'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/el.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','el',{uicolor:{title:'Διεπαφή Επιλογέα Χρωμάτων',preview:'Ζωντανή Προεπισκόπηση',config:'Επικολλήστε αυτό το κείμενο στο αρχείο config.js',predefined:'Προκαθορισμένα σύνολα χρωμάτων'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined color sets'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/eo.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','eo',{uicolor:{title:'UI Kolorselektilo',preview:'Vidigi la aspekton',config:'Gluu tiun signoĉenon en vian dosieron config.js',predefined:'Antaŭdifinita koloraro'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/et.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','et',{uicolor:{title:'Värvivalija kasutajaliides',preview:'Automaatne eelvaade',config:'Aseta see sõne oma config.js faili.',predefined:'Eelmääratud värvikomplektid'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/fa.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','fa',{uicolor:{title:'انتخاب رنگ UI',preview:'پیشنمایش زنده',config:'این رشته را در فایل config.js خود بچسبانید.',predefined:'مجموعه رنگ از پیش تعریف شده'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/fi.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','fi',{uicolor:{title:'Käyttöliittymän värivalitsin',preview:'Esikatsele',config:'Liitä tämä merkkijono config.js tiedostoosi',predefined:'Esimääritellyt värijoukot'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/fr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','fr',{uicolor:{title:'UI Sélecteur de couleur',preview:'Aperçu',config:'Collez cette chaîne de caractères dans votre fichier config.js',predefined:'Palettes de couleurs prédéfinies'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות צבעים מוגדרות מראש'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/hr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','hr',{uicolor:{title:'UI odabir boja',preview:'Pregled uživo',config:'Zalijepite ovaj tekst u Vašu config.js datoteku.',predefined:'Već postavljeni setovi boja'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/it.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','it',{uicolor:{title:'Selettore Colore UI',preview:'Anteprima Live',config:'Incolla questa stringa nel tuo file config.js',predefined:'Set di colori predefiniti'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/mk.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','mk',{uicolor:{title:'Палета со бои',preview:'Преглед',config:'Залепи го овој текст во config.js датотеката',predefined:'Предефинирани множества на бои'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/nb.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','nb',{uicolor:{title:'Fargevelger for brukergrensesnitt',preview:'Forhåndsvisning i sanntid',config:'Lim inn følgende tekst i din config.js-fil',predefined:'Forhåndsdefinerte fargesett'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/nl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','nl',{uicolor:{title:'UI Kleurenkiezer',preview:'Live voorbeeld',config:'Plak deze tekst in jouw config.js bestand',predefined:'Voorgedefinieerde kleurensets'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/no.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','no',{uicolor:{title:'Fargevelger for brukergrensesnitt',preview:'Forhåndsvisning i sanntid',config:'Lim inn følgende tekst i din config.js-fil',predefined:'Forhåndsdefinerte fargesett'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/pl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','pl',{uicolor:{title:'Wybór koloru interfejsu',preview:'Podgląd na żywo',config:'Wklej poniższy łańcuch znaków do pliku config.js:',predefined:'Predefiniowane zestawy kolorów'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/pt-br.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','pt-br',{uicolor:{title:'Paleta de Cores',preview:'Visualização ao vivo',config:'Cole o texto no seu arquivo config.js',predefined:'Conjuntos de cores predefinidos'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/tr.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','tr',{uicolor:{title:'UI Renk Seçicisi',preview:'Canlı önizleme',config:'Bu dizeyi config.js dosyasının içine yapıştırın',predefined:'Önceden tanımlanmış renk kümeleri'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/ug.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','ug',{uicolor:{title:'ئىشلەتكۈچى ئارايۈزى رەڭ تاللىغۇچ',preview:'شۇئان ئالدىن كۆزىتىش',config:'بۇ ھەرپ تىزىقىنى config.js ھۆججەتكە چاپلايدۇ',predefined:'ئالدىن بەلگىلەنگەن رەڭلەر'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/uk.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','uk',{uicolor:{title:'Color Picker Інтерфейс',preview:'Перегляд наживо',config:'Вставте цей рядок у файл config.js',predefined:'Стандартний набір кольорів'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/vi.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','vi',{uicolor:{title:'Giao diện người dùng Color Picker',preview:'Xem trước trực tiếp',config:'Dán chuỗi này vào tập tin config.js của bạn',predefined:'Tập màu định nghĩa sẵn'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','zh-cn',{uicolor:{title:'用户界面颜色选择器',preview:'即时预览',config:'粘贴此字符串到你的 config.js 文件',predefined:'预定义颜色集'}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['bg','cs','cy','da','de','el','en','eo','et','fa','fi','fr','he','hr','it','mk','nb','nl','no','pl','pt-br','tr','ug','uk','vi','zh-cn'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}}); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/uicolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/uicolor/uicolor.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/yui/assets/hue_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/uicolor/yui/assets/hue_bg.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/yui/assets/picker_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/uicolor/yui/assets/picker_mask.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/wsc/dialogs/ciframe.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 47 | 48 |

49 | 50 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/wsc/dialogs/wsc.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | html,body{background-color:transparent;margin:0;padding:0;}body{padding:10px;}body,td,input,select,textarea{font-size:11px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;}.midtext{padding:0;margin:10px;}.midtext p{padding:0;margin:10px;}.Button{border:#737357 1px solid;color:#3b3b1f;background-color:#c7c78f;}.PopupTabArea{color:#737357;background-color:#e3e3c7;}.PopupTitleBorder{border-bottom:#d5d59d 1px solid;}.PopupTabEmptyArea{padding-left:10px;border-bottom:#d5d59d 1px solid;}.PopupTab,.PopupTabSelected{border-right:#d5d59d 1px solid;border-top:#d5d59d 1px solid;border-left:#d5d59d 1px solid;padding:3px 5px 3px 5px;color:#737357;}.PopupTab{margin-top:1px;border-bottom:#d5d59d 1px solid;cursor:pointer;}.PopupTabSelected{font-weight:bold;cursor:default;padding-top:4px;border-bottom:#f1f1e3 1px solid;background-color:#f1f1e3;} 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/plugins/xml/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('xml',{});CKEDITOR.xml=function(a){var b=null;if(typeof a=='object')b=a;else{var c=(a||'').replace(/ /g,'\xa0');if(window.DOMParser)b=new DOMParser().parseFromString(c,'text/xml');else if(window.ActiveXObject){try{b=new ActiveXObject('MSXML2.DOMDocument');}catch(d){try{b=new ActiveXObject('Microsoft.XmlDom');}catch(d){}}if(b){b.async=false;b.resolveExternals=false;b.validateOnParse=false;b.loadXML(c);}}}this.baseXml=b;};CKEDITOR.xml.prototype={selectSingleNode:function(a,b){var c=this.baseXml;if(b||(b=c))if(CKEDITOR.env.ie||b.selectSingleNode)return b.selectSingleNode(a);else if(c.evaluate){var d=c.evaluate(a,b,null,9,null);return d&&d.singleNodeValue||null;}return null;},selectNodes:function(a,b){var c=this.baseXml,d=[];if(b||(b=c))if(CKEDITOR.env.ie||b.selectNodes)return b.selectNodes(a);else if(c.evaluate){var e=c.evaluate(a,b,null,5,null);if(e){var f;while(f=e.iterateNext())d.push(f);}}return d;},getInnerXml:function(a,b){var c=this.selectSingleNode(a,b),d=[];if(c){c=c.firstChild;while(c){if(c.xml)d.push(c.xml);else if(window.XMLSerializer)d.push(new XMLSerializer().serializeToString(c));c=c.nextSibling;}}return d.length?d.join(''):null;}};})(); 7 | -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/icons.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/icons_rtl.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/dialog_sides.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/dialog_sides.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/mini.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/noimage.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/sprites.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/sprites_ie6.png -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/ckeditor/skins/kama/images/toolbar_start.gif -------------------------------------------------------------------------------- /graphterm/www/ckeditor/skins/kama/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_kama .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow-y:auto;overflow-x:hidden;width:100%;height:220px;}.cke_skin_kama .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_kama .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_kama .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_kama .cke_tpl_preview span{white-space:normal;}.cke_skin_kama .cke_tpl_title{font-weight:bold;}.cke_skin_kama .cke_tpl_list a:active .cke_tpl_item,.cke_skin_kama .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_kama .cke_tpl_list a:focus .cke_tpl_item{border:#f93 1px solid;background-color:#fffacd;}.cke_skin_kama .cke_tpl_list a:active *,.cke_skin_kama .cke_tpl_list a:hover *,.cke_skin_kama .cke_tpl_list a:focus *{cursor:pointer;}.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:active,.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:hover,.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:focus{background-position:0 0;}.cke_skin_kama .cke_hc .cke_tpl_list a:active .cke_tpl_item,.cke_skin_kama .cke_hc .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_kama .cke_hc .cke_tpl_list a:focus .cke_tpl_item{border-width:3px;}.cke_skin_kama .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /graphterm/www/css/superfish-vertical.css: -------------------------------------------------------------------------------- 1 | /* adding sf-vertical class in addition to sf-menu creates a vertical menu */ 2 | /* eg.
    ... */ 3 | .sf-vertical { 4 | width: 12em; 5 | /* If you want the width of the closed menu to expand to its 6 | widest top-level menu item (like its "Supersubs" submenus do), 7 | replace the width rule above with the following two rules. */ 8 | 9 | /* 10 | min-width: 12em; 11 | *width: 12em; 12 | */ 13 | } 14 | .sf-vertical ul { 15 | left: 100%; 16 | top: 0; 17 | } 18 | .sf-vertical > li { 19 | float: none; 20 | } 21 | .sf-vertical li { 22 | width: 100%; 23 | } 24 | 25 | /*** alter arrow directions ***/ 26 | .sf-vertical.sf-arrows > li > .sf-with-ul:after { 27 | margin-top: -5px; 28 | margin-right: -3px; 29 | border-color: transparent; 30 | border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */ 31 | border-left-color: rgba(255,255,255,.5); 32 | } 33 | .sf-vertical.sf-arrows li > .sf-with-ul:focus:after, 34 | .sf-vertical.sf-arrows li:hover > .sf-with-ul:after, 35 | .sf-vertical.sf-arrows .sfHover > .sf-with-ul:after { 36 | border-left-color: white; 37 | } 38 | -------------------------------------------------------------------------------- /graphterm/www/css/tooltipster-light.css: -------------------------------------------------------------------------------- 1 | .tooltipster-light { 2 | border-radius: 5px; 3 | border: 1px solid #cccccc; 4 | background: #ededed; 5 | color: #666666; 6 | } 7 | .tooltipster-light .tooltipster-content { 8 | font-family: Arial, sans-serif; 9 | font-size: 14px; 10 | line-height: 16px; 11 | padding: 8px 10px; 12 | } -------------------------------------------------------------------------------- /graphterm/www/css/tooltipster-noir.css: -------------------------------------------------------------------------------- 1 | .tooltipster-noir { 2 | border-radius: 0px; 3 | border: 3px solid #2c2c2c; 4 | background: #fff; 5 | color: #2c2c2c; 6 | } 7 | .tooltipster-noir .tooltipster-content { 8 | font-family: 'Georgia', serif; 9 | font-size: 14px; 10 | line-height: 16px; 11 | padding: 8px 10px; 12 | } -------------------------------------------------------------------------------- /graphterm/www/css/tooltipster-punk.css: -------------------------------------------------------------------------------- 1 | .tooltipster-punk { 2 | border-radius: 5px; 3 | border-bottom: 3px solid #f71169; 4 | background: #2a2a2a; 5 | color: #fff; 6 | } 7 | .tooltipster-punk .tooltipster-content { 8 | font-family: 'Courier', monospace; 9 | font-size: 14px; 10 | line-height: 16px; 11 | padding: 8px 10px; 12 | } -------------------------------------------------------------------------------- /graphterm/www/css/tooltipster-shadow.css: -------------------------------------------------------------------------------- 1 | .tooltipster-shadow { 2 | border-radius: 5px; 3 | background: #fff; 4 | box-shadow: 0px 0px 14px rgba(0,0,0,0.3); 5 | color: #2c2c2c; 6 | } 7 | .tooltipster-shadow .tooltipster-content { 8 | font-family: 'Arial', sans-serif; 9 | font-size: 14px; 10 | line-height: 16px; 11 | padding: 8px 10px; 12 | } -------------------------------------------------------------------------------- /graphterm/www/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/favicon.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-application-x-executable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-application-x-executable.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-audio-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-audio-x-generic.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-folder.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-image-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-image-x-generic.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-text-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-text-html.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-text-x-generic-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-text-x-generic-template.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-text-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-text-x-generic.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-text-x-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-text-x-script.png -------------------------------------------------------------------------------- /graphterm/www/images/tango-video-x-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/tango-video-x-generic.png -------------------------------------------------------------------------------- /graphterm/www/images/twitter_bird_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/images/twitter_bird_32.png -------------------------------------------------------------------------------- /graphterm/www/jquery/js-plugins/jquery.base64.min.js: -------------------------------------------------------------------------------- 1 | "use strict";jQuery.base64=(function($){var _PADCHAR="=",_ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_VERSION="1.0";function _getbyte64(s,i){var idx=_ALPHA.indexOf(s.charAt(i));if(idx===-1){throw"Cannot decode base64"}return idx}function _decode(s){var pads=0,i,b10,imax=s.length,x=[];s=String(s);if(imax===0){return s}if(imax%4!==0){throw"Cannot decode base64"}if(s.charAt(imax-1)===_PADCHAR){pads=1;if(s.charAt(imax-2)===_PADCHAR){pads=2}imax-=4}for(i=0;i>16,(b10>>8)&255,b10&255))}switch(pads){case 1:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12)|(_getbyte64(s,i+2)<<6);x.push(String.fromCharCode(b10>>16,(b10>>8)&255));break;case 2:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12);x.push(String.fromCharCode(b10>>16));break}return x.join("")}function _getbyte(s,i){var x=s.charCodeAt(i);if(x>255){throw"INVALID_CHARACTER_ERR: DOM Exception 5"}return x}function _encode(s){if(arguments.length!==1){throw"SyntaxError: exactly one argument required"}s=String(s);var i,b10,x=[],imax=s.length-s.length%3;if(s.length===0){return s}for(i=0;i>18));x.push(_ALPHA.charAt((b10>>12)&63));x.push(_ALPHA.charAt((b10>>6)&63));x.push(_ALPHA.charAt(b10&63))}switch(s.length-imax){case 1:b10=_getbyte(s,i)<<16;x.push(_ALPHA.charAt(b10>>18)+_ALPHA.charAt((b10>>12)&63)+_PADCHAR+_PADCHAR);break;case 2:b10=(_getbyte(s,i)<<16)|(_getbyte(s,i+1)<<8);x.push(_ALPHA.charAt(b10>>18)+_ALPHA.charAt((b10>>12)&63)+_ALPHA.charAt((b10>>6)&63)+_PADCHAR);break}return x.join("")}return{decode:_decode,encode:_encode,VERSION:_VERSION}}(jQuery)); -------------------------------------------------------------------------------- /graphterm/www/perspective.css: -------------------------------------------------------------------------------- 1 | /* Inspired by http://www.seanslinsky.com/star-wars-crawl-with-css3 */ 2 | .perspective-container { 3 | background: url(images/starry-night-PublicDomain-VeraKratochvil.jpg); 4 | z-index:1; 5 | width:100%; 6 | height:500px; 7 | background-size: 100%; 8 | } 9 | .perspective { position:absolute; 10 | z-index:1; 11 | top:0; 12 | left:50%; 13 | margin-left:-300px; 14 | width:800px; 15 | height:500px; 16 | overflow: scroll; 17 | -webkit-transform: perspective(300) rotateX(20deg); 18 | -webkit-transform-style: preserve-3d; 19 | -moz-perspective: 800px; 20 | -moz-transform: rotateX(45deg); 21 | -moz-transform-style: preserve-3d; 22 | } 23 | 24 | /* Input components */ 25 | .perspective SPAN.prompt { color: red } 26 | .perspective SPAN.command { color: red } 27 | .perspective SPAN {color: yellow; } 28 | -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/README.md: -------------------------------------------------------------------------------- 1 | ## Dependencies 2 | 3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#development-environment 4 | 5 | 6 | 7 | ## Creating a Theme 8 | 9 | To create your own theme, start by duplicating any ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source) and adding it to the compilation list in the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js). 10 | 11 | Each theme file does four things in the following order: 12 | 13 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** 14 | Shared utility functions. 15 | 16 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** 17 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. 18 | 19 | 3. **Override** 20 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding full selectors with hardcoded styles. 21 | 22 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** 23 | The template theme file which will generate final CSS output based on the currently defined variables. -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/beige.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Beige theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @font-face { 17 | font-family: 'League Gothic'; 18 | src: url('../../lib/font/league_gothic-webfont.eot'); 19 | src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), 20 | url('../../lib/font/league_gothic-webfont.woff') format('woff'), 21 | url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), 22 | url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); 23 | 24 | font-weight: normal; 25 | font-style: normal; 26 | } 27 | 28 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 29 | 30 | 31 | // Override theme settings (see ../template/settings.scss) 32 | $mainColor: #333; 33 | $headingColor: #333; 34 | $headingTextShadow: none; 35 | $backgroundColor: #f7f3de; 36 | $linkColor: #8b743d; 37 | $linkColorHover: lighten( $linkColor, 20% ); 38 | $selectionBackgroundColor: rgba(79, 64, 28, 0.99); 39 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 40 | 41 | // Background generator 42 | @mixin bodyBackground() { 43 | @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) ); 44 | } 45 | 46 | 47 | 48 | // Theme template ------------------------------ 49 | @import "../template/theme"; 50 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/default.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Default theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @font-face { 17 | font-family: 'League Gothic'; 18 | src: url('../../lib/font/league_gothic-webfont.eot'); 19 | src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), 20 | url('../../lib/font/league_gothic-webfont.woff') format('woff'), 21 | url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), 22 | url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); 23 | 24 | font-weight: normal; 25 | font-style: normal; 26 | } 27 | 28 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 29 | 30 | // Override theme settings (see ../template/settings.scss) 31 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 32 | 33 | // Background generator 34 | @mixin bodyBackground() { 35 | @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) ); 36 | } 37 | 38 | 39 | 40 | // Theme template ------------------------------ 41 | @import "../template/theme"; 42 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/moon.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @font-face { 16 | font-family: 'League Gothic'; 17 | src: url('../../lib/font/league_gothic-webfont.eot'); 18 | src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), 19 | url('../../lib/font/league_gothic-webfont.woff') format('woff'), 20 | url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), 21 | url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); 22 | 23 | font-weight: normal; 24 | font-style: normal; 25 | } 26 | 27 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 28 | 29 | /** 30 | * Solarized colors by Ethan Schoonover 31 | */ 32 | html * { 33 | color-profile: sRGB; 34 | rendering-intent: auto; 35 | } 36 | 37 | // Solarized colors 38 | $base03: #002b36; 39 | $base02: #073642; 40 | $base01: #586e75; 41 | $base00: #657b83; 42 | $base0: #839496; 43 | $base1: #93a1a1; 44 | $base2: #eee8d5; 45 | $base3: #fdf6e3; 46 | $yellow: #b58900; 47 | $orange: #cb4b16; 48 | $red: #dc322f; 49 | $magenta: #d33682; 50 | $violet: #6c71c4; 51 | $blue: #268bd2; 52 | $cyan: #2aa198; 53 | $green: #859900; 54 | 55 | // Override theme settings (see ../template/settings.scss) 56 | $mainColor: $base1; 57 | $headingColor: $base2; 58 | $headingTextShadow: none; 59 | $backgroundColor: $base03; 60 | $linkColor: $blue; 61 | $linkColorHover: lighten( $linkColor, 20% ); 62 | $selectionBackgroundColor: $magenta; 63 | 64 | 65 | 66 | // Theme template ------------------------------ 67 | @import "../template/theme"; 68 | // --------------------------------------------- 69 | -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/night.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 17 | 18 | 19 | // Override theme settings (see ../template/settings.scss) 20 | $backgroundColor: #111; 21 | 22 | $mainFont: 'Open Sans', sans-serif; 23 | $linkColor: #e7ad52; 24 | $linkColorHover: lighten( $linkColor, 20% ); 25 | $headingFont: 'Montserrat', Impact, sans-serif; 26 | $headingTextShadow: none; 27 | $headingLetterSpacing: -0.03em; 28 | $headingTextTransform: none; 29 | $selectionBackgroundColor: #e7ad52; 30 | $mainFontSize: 30px; 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/serif.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of. 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Override theme settings (see ../template/settings.scss) 18 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 19 | $mainColor: #000; 20 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 21 | $headingColor: #383D3D; 22 | $headingTextShadow: none; 23 | $headingTextTransform: none; 24 | $backgroundColor: #F0F1EB; 25 | $linkColor: #51483D; 26 | $linkColorHover: lighten( $linkColor, 20% ); 27 | $selectionBackgroundColor: #26351C; 28 | 29 | 30 | 31 | // Theme template ------------------------------ 32 | @import "../template/theme"; 33 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/simple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | 22 | // Override theme settings (see ../template/settings.scss) 23 | $mainFont: 'Lato', sans-serif; 24 | $mainColor: #000; 25 | $headingFont: 'News Cycle', Impact, sans-serif; 26 | $headingColor: #000; 27 | $headingTextShadow: none; 28 | $headingTextTransform: none; 29 | $backgroundColor: #fff; 30 | $linkColor: #00008B; 31 | $linkColorHover: lighten( $linkColor, 20% ); 32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99); 33 | 34 | 35 | 36 | // Theme template ------------------------------ 37 | @import "../template/theme"; 38 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/source/sky.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainFont: 'Open Sans', sans-serif; 22 | $mainColor: #333; 23 | $headingFont: 'Quicksand', sans-serif; 24 | $headingColor: #333; 25 | $headingLetterSpacing: -0.08em; 26 | $headingTextShadow: none; 27 | $backgroundColor: #f7fbfc; 28 | $linkColor: #3b759e; 29 | $linkColorHover: lighten( $linkColor, 20% ); 30 | $selectionBackgroundColor: #134674; 31 | 32 | // Background generator 33 | @mixin bodyBackground() { 34 | @include radial-gradient( #add9e4, #f7fbfc ); 35 | } 36 | 37 | 38 | 39 | // Theme template ------------------------------ 40 | @import "../template/theme"; 41 | // --------------------------------------------- -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/template/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } -------------------------------------------------------------------------------- /graphterm/www/reveal/css/theme/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Headings 13 | $headingFont: 'League Gothic', Impact, sans-serif; 14 | $headingColor: #eee; 15 | $headingLineHeight: 0.9em; 16 | $headingLetterSpacing: 0.02em; 17 | $headingTextTransform: uppercase; 18 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2); 19 | $heading1TextShadow: $headingTextShadow; 20 | 21 | // Links and actions 22 | $linkColor: #13DAEC; 23 | $linkColorHover: lighten( $linkColor, 20% ); 24 | 25 | // Text selection 26 | $selectionBackgroundColor: #FF5E99; 27 | $selectionColor: #fff; 28 | 29 | // Generates the presentation background, can be overridden 30 | // to return a background image or gradient 31 | @mixin bodyBackground() { 32 | background: $backgroundColor; 33 | } -------------------------------------------------------------------------------- /graphterm/www/reveal/lib/font/league_gothic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/reveal/lib/font/league_gothic-webfont.eot -------------------------------------------------------------------------------- /graphterm/www/reveal/lib/font/league_gothic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/reveal/lib/font/league_gothic-webfont.ttf -------------------------------------------------------------------------------- /graphterm/www/reveal/lib/font/league_gothic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mitotic/graphterm/193a5c925fd146d83f6d5967b2f0ee0745bf0b1c/graphterm/www/reveal/lib/font/league_gothic-webfont.woff -------------------------------------------------------------------------------- /graphterm/www/reveal/lib/font/league_gothic_license: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /graphterm/www/reveal/lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p