├── examples ├── literature │ ├── picts │ │ └── .gitkeep │ └── source │ │ └── .gitkeep ├── latex │ ├── beamer.pdf │ ├── beamer_guide.pdf │ ├── beamer.org │ ├── beamer.tex │ └── Readme.org ├── html │ └── style │ │ ├── font │ │ ├── Andika.woff │ │ ├── UbuntuMono-Bold.woff │ │ ├── UbuntuMono-Italic.woff │ │ ├── UbuntuMono-Regular.woff │ │ ├── UbuntuMono-BoldItalic.woff │ │ ├── YanoneKaffeesatz-Bold.woff │ │ ├── YanoneKaffeesatz-Light.woff │ │ ├── YanoneKaffeesatz-Regular.woff │ │ └── YanoneKaffeesatz-ExtraLight.woff │ │ ├── bootstrap │ │ ├── img │ │ │ ├── glyphicons-halflings.png │ │ │ └── glyphicons-halflings-white.png │ │ ├── js │ │ │ ├── .jshintrc │ │ │ ├── bootstrap-transition.js │ │ │ ├── bootstrap-alert.js │ │ │ └── bootstrap-button.js │ │ └── less │ │ │ ├── layouts.less │ │ │ ├── component-animations.less │ │ │ ├── utilities.less │ │ │ ├── breadcrumbs.less │ │ │ ├── grid.less │ │ │ ├── hero-unit.less │ │ │ ├── responsive-768px-979px.less │ │ │ ├── wells.less │ │ │ ├── responsive-1200px-min.less │ │ │ ├── close.less │ │ │ ├── pager.less │ │ │ ├── accordion.less │ │ │ ├── scaffolding.less │ │ │ ├── badges.less │ │ │ ├── labels.less │ │ │ ├── responsive.less │ │ │ ├── responsive-utilities.less │ │ │ ├── thumbnails.less │ │ │ ├── alerts.less │ │ │ ├── code.less │ │ │ ├── pagination.less │ │ │ ├── bootstrap.less │ │ │ ├── tooltip.less │ │ │ ├── labels-badges.less │ │ │ ├── modals.less │ │ │ └── carousel.less │ │ ├── Font-Awesome │ │ └── font │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svgz │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── less │ │ ├── font-Andika.less │ │ ├── font-Ubuntu-Mono.less │ │ ├── font-Yanone-Kaffeesatz.less │ │ ├── o-blog-default.less │ │ └── readme.less │ │ └── js │ │ ├── o-blog.linenumber.js │ │ └── o-blog-fix.js ├── dot-emacs │ ├── init.el │ └── config.org ├── Readme.org ├── markdown │ └── test.org ├── secret-file │ └── Readme.org └── todo │ └── Readme.org ├── js ├── bootstrap │ ├── img │ │ ├── .empty │ │ ├── glyphicons-halflings.png │ │ └── glyphicons-halflings-white.png │ ├── less │ │ ├── tests │ │ │ ├── .empty │ │ │ └── css-tests.css │ │ ├── layouts.less │ │ ├── component-animations.less │ │ ├── utilities.less │ │ ├── breadcrumbs.less │ │ ├── grid.less │ │ ├── hero-unit.less │ │ ├── responsive-768px-979px.less │ │ ├── wells.less │ │ ├── responsive-1200px-min.less │ │ ├── close.less │ │ ├── pager.less │ │ ├── accordion.less │ │ ├── scaffolding.less │ │ ├── responsive.less │ │ ├── responsive-utilities.less │ │ ├── thumbnails.less │ │ ├── alerts.less │ │ ├── code.less │ │ ├── pagination.less │ │ ├── bootstrap.less │ │ ├── tooltip.less │ │ ├── labels-badges.less │ │ ├── modals.less │ │ ├── carousel.less │ │ └── reset.less │ ├── docs │ │ ├── assets │ │ │ ├── css │ │ │ │ └── .empty │ │ │ ├── ico │ │ │ │ ├── .empty │ │ │ │ ├── favicon.ico │ │ │ │ ├── apple-touch-icon-114-precomposed.png │ │ │ │ ├── apple-touch-icon-144-precomposed.png │ │ │ │ ├── apple-touch-icon-57-precomposed.png │ │ │ │ └── apple-touch-icon-72-precomposed.png │ │ │ ├── js │ │ │ │ ├── bootstrap.min.tmp.js │ │ │ │ ├── google-code-prettify │ │ │ │ │ ├── .empty │ │ │ │ │ └── prettify.css │ │ │ │ ├── bootstrap-transition.js │ │ │ │ ├── bootstrap-alert.js │ │ │ │ └── bootstrap-button.js │ │ │ └── img │ │ │ │ ├── examples │ │ │ │ ├── .empty │ │ │ │ ├── bootstrap-example-fluid.jpg │ │ │ │ ├── bootstrap-example-hero.jpg │ │ │ │ └── bootstrap-example-starter.jpg │ │ │ │ ├── example-sites │ │ │ │ ├── .empty │ │ │ │ ├── kippt.png │ │ │ │ ├── fleetio.png │ │ │ │ ├── jshint.png │ │ │ │ └── soundready.png │ │ │ │ ├── less-logo-large.png │ │ │ │ ├── grid-baseline-20px.png │ │ │ │ ├── bs-docs-twitter-github.png │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ ├── bootstrap-mdo-sfmoma-01.jpg │ │ │ │ ├── bootstrap-mdo-sfmoma-02.jpg │ │ │ │ ├── bootstrap-mdo-sfmoma-03.jpg │ │ │ │ ├── bs-docs-masthead-pattern.png │ │ │ │ ├── responsive-illustrations.png │ │ │ │ ├── bs-docs-bootstrap-features.png │ │ │ │ ├── glyphicons-halflings-white.png │ │ │ │ └── bs-docs-responsive-illustrations.png │ │ ├── components │ │ │ ├── .empty │ │ │ ├── icon.html │ │ │ ├── progress-bar.html │ │ │ ├── button.html │ │ │ ├── popover.html │ │ │ ├── alert.html │ │ │ ├── tooltip.html │ │ │ ├── breadcrumb.html │ │ │ ├── dropdown.html │ │ │ ├── pagination.html │ │ │ ├── button-group.html │ │ │ ├── modal.html │ │ │ ├── nav.html │ │ │ └── table.html │ │ ├── examples │ │ │ └── .empty │ │ ├── templates │ │ │ └── pages │ │ │ │ └── .empty │ │ └── build │ │ │ ├── package.json │ │ │ └── index.js │ ├── js │ │ ├── tests │ │ │ ├── unit │ │ │ │ ├── .empty │ │ │ │ ├── bootstrap-transition.js │ │ │ │ ├── bootstrap-affix.js │ │ │ │ ├── bootstrap-phantom.js │ │ │ │ ├── bootstrap-scrollspy.js │ │ │ │ ├── bootstrap-alert.js │ │ │ │ ├── bootstrap-tab.js │ │ │ │ ├── bootstrap-carousel.js │ │ │ │ ├── bootstrap-collapse.js │ │ │ │ └── bootstrap-button.js │ │ │ ├── vendor │ │ │ │ └── .empty │ │ │ ├── server.js │ │ │ ├── index.html │ │ │ └── phantom.js │ │ ├── .jshintrc │ │ ├── bootstrap-transition.js │ │ ├── bootstrap-alert.js │ │ └── bootstrap-button.js │ ├── .travis.yml │ ├── .gitignore │ ├── package.json │ └── .issue-guidelines.js ├── prettify │ ├── lang-go.js │ ├── lang-ml.js │ ├── lang-vb.js │ ├── lang-lua.js │ ├── lang-scala.js │ ├── lang-sql.js │ ├── lang-tex.js │ ├── lang-vhdl.js │ ├── lang-wiki.js │ ├── lang-apollo.js │ ├── lang-proto.js │ ├── lang-yaml.js │ ├── lang-hs.js │ ├── prettify.css │ ├── lang-lisp.js │ ├── lang-css.js │ ├── lang-n.js │ └── lang-clj.js ├── slides.js ├── polyfills │ ├── dataset.min.js │ └── classList.min.js └── order.js ├── picts ├── emacs-image.png ├── hello-world.png ├── org-mode_icon.png ├── graphviz-example.png └── plantuml-example.png ├── theme ├── css │ ├── phone.css │ ├── slide.css │ └── io2013.css └── scss │ ├── phone.scss │ ├── io2013.scss │ ├── _variable.scss │ └── _base.scss ├── files └── do_mount.sh ├── Readme.md ├── Readme.org └── slide_config.js /examples/literature/picts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/literature/source/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/bootstrap/img/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/less/tests/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/css/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/js/bootstrap.min.tmp.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/bootstrap/docs/components/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/examples/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/js/tests/vendor/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/templates/pages/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/examples/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/example-sites/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/bootstrap/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/js/google-code-prettify/.empty: -------------------------------------------------------------------------------- 1 | I'm a folder! -------------------------------------------------------------------------------- /js/prettify/lang-go.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-go.js -------------------------------------------------------------------------------- /js/prettify/lang-ml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-ml.js -------------------------------------------------------------------------------- /js/prettify/lang-vb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-vb.js -------------------------------------------------------------------------------- /picts/emacs-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/picts/emacs-image.png -------------------------------------------------------------------------------- /picts/hello-world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/picts/hello-world.png -------------------------------------------------------------------------------- /examples/latex/beamer.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/latex/beamer.pdf -------------------------------------------------------------------------------- /js/prettify/lang-lua.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-lua.js -------------------------------------------------------------------------------- /js/prettify/lang-scala.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-scala.js -------------------------------------------------------------------------------- /js/prettify/lang-sql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-sql.js -------------------------------------------------------------------------------- /js/prettify/lang-tex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-tex.js -------------------------------------------------------------------------------- /js/prettify/lang-vhdl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-vhdl.js -------------------------------------------------------------------------------- /js/prettify/lang-wiki.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-wiki.js -------------------------------------------------------------------------------- /picts/org-mode_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/picts/org-mode_icon.png -------------------------------------------------------------------------------- /js/prettify/lang-apollo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/prettify/lang-apollo.js -------------------------------------------------------------------------------- /picts/graphviz-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/picts/graphviz-example.png -------------------------------------------------------------------------------- /picts/plantuml-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/picts/plantuml-example.png -------------------------------------------------------------------------------- /examples/latex/beamer_guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/latex/beamer_guide.pdf -------------------------------------------------------------------------------- /examples/html/style/font/Andika.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/Andika.woff -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/ico/favicon.ico -------------------------------------------------------------------------------- /js/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /examples/html/style/font/UbuntuMono-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/UbuntuMono-Bold.woff -------------------------------------------------------------------------------- /examples/html/style/font/UbuntuMono-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/UbuntuMono-Italic.woff -------------------------------------------------------------------------------- /js/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /examples/html/style/font/UbuntuMono-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/UbuntuMono-Regular.woff -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/less-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/less-logo-large.png -------------------------------------------------------------------------------- /examples/html/style/font/UbuntuMono-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/UbuntuMono-BoldItalic.woff -------------------------------------------------------------------------------- /examples/html/style/font/YanoneKaffeesatz-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/YanoneKaffeesatz-Bold.woff -------------------------------------------------------------------------------- /examples/html/style/font/YanoneKaffeesatz-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/YanoneKaffeesatz-Light.woff -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/example-sites/kippt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/example-sites/kippt.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/grid-baseline-20px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/grid-baseline-20px.png -------------------------------------------------------------------------------- /examples/html/style/font/YanoneKaffeesatz-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/YanoneKaffeesatz-Regular.woff -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bs-docs-twitter-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bs-docs-twitter-github.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/example-sites/fleetio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/example-sites/fleetio.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/example-sites/jshint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/example-sites/jshint.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /examples/html/style/font/YanoneKaffeesatz-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/font/YanoneKaffeesatz-ExtraLight.woff -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bs-docs-masthead-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bs-docs-masthead-pattern.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/example-sites/soundready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/example-sites/soundready.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/responsive-illustrations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/responsive-illustrations.png -------------------------------------------------------------------------------- /examples/html/style/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bs-docs-bootstrap-features.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bs-docs-bootstrap-features.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /examples/html/style/Font-Awesome/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/Font-Awesome/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /examples/html/style/Font-Awesome/font/fontawesome-webfont.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/Font-Awesome/font/fontawesome-webfont.svgz -------------------------------------------------------------------------------- /examples/html/style/Font-Awesome/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/Font-Awesome/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /examples/html/style/Font-Awesome/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/Font-Awesome/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /examples/html/style/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/examples/html/style/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/apple-touch-icon-114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/ico/apple-touch-icon-114-precomposed.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/apple-touch-icon-144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/ico/apple-touch-icon-144-precomposed.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/apple-touch-icon-57-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/ico/apple-touch-icon-57-precomposed.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/ico/apple-touch-icon-72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/ico/apple-touch-icon-72-precomposed.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/bs-docs-responsive-illustrations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/bs-docs-responsive-illustrations.png -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/examples/bootstrap-example-fluid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/examples/bootstrap-example-fluid.jpg -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/examples/bootstrap-example-hero.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/examples/bootstrap-example-hero.jpg -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/img/examples/bootstrap-example-starter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coldnew/COSCUP2013_org-mode/HEAD/js/bootstrap/docs/assets/img/examples/bootstrap-example-starter.jpg -------------------------------------------------------------------------------- /theme/css/phone.css: -------------------------------------------------------------------------------- 1 | slides>slide{-webkit-transition:none !important;-webkit-transition:none !important;-moz-transition:none !important;-o-transition:none !important;transition:none !important} 2 | -------------------------------------------------------------------------------- /js/bootstrap/docs/build/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-doc-builder" 3 | , "version": "0.0.1" 4 | , "description": "build bootstrap docs" 5 | , "dependencies": { "hogan.js": "1.0.5-dev" } 6 | } 7 | -------------------------------------------------------------------------------- /examples/html/style/less/font-Andika.less: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Andika'; 3 | font-style: normal; 4 | font-weight: normal; 5 | src: local('Andika'), url('../font/Andika.woff') format('woff'); 6 | } 7 | -------------------------------------------------------------------------------- /js/slides.js: -------------------------------------------------------------------------------- 1 | require(['order!../slide_config', 'order!modernizr.custom.45394', 2 | 'order!prettify/prettify', 'order!hammer', 'order!slide-controller', 3 | 'order!slide-deck'], function(someModule) { 4 | 5 | }); 6 | -------------------------------------------------------------------------------- /examples/html/style/js/o-blog.linenumber.js: -------------------------------------------------------------------------------- 1 | // Number lines 2 | 3 | 4 | 5 | 6 | 7 | $(document).ready( 8 | function() { 9 | $(".modal .modal-body > pre").addClass('prettyprint').addClass('linenums'); 10 | prettyPrint(); 11 | $(".modal").css('width', ''); 12 | } 13 | ); 14 | -------------------------------------------------------------------------------- /js/bootstrap/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "validthis": true, 3 | "laxcomma" : true, 4 | "laxbreak" : true, 5 | "browser" : true, 6 | "eqnull" : true, 7 | "debug" : true, 8 | "devel" : true, 9 | "boss" : true, 10 | "expr" : true, 11 | "asi" : true 12 | } -------------------------------------------------------------------------------- /examples/html/style/bootstrap/js/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "validthis": true, 3 | "laxcomma" : true, 4 | "laxbreak" : true, 5 | "browser" : true, 6 | "eqnull" : true, 7 | "debug" : true, 8 | "devel" : true, 9 | "boss" : true, 10 | "expr" : true, 11 | "asi" : true 12 | } -------------------------------------------------------------------------------- /js/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 2 | -------------------------------------------------------------------------------- /files/do_mount.sh: -------------------------------------------------------------------------------- 1 | 2 | #!/bin/sh 3 | if [ -z "$1" ] 4 | then 5 | echo "Usage: $0 chroot_path" 6 | exit -1 7 | else 8 | mount --bind /dev $1/dev 9 | mount --bind /dev/pts $1/dev/pts 10 | mount --bind /proc $1/proc 11 | mount --bind /sys $1/sys 12 | cp /etc/resolv.conf $1/etc/resolv.conf 13 | fi 14 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/server.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Simple connect server for phantom.js 3 | * Adapted from Modernizr 4 | */ 5 | 6 | var connect = require('connect') 7 | , http = require('http') 8 | , fs = require('fs') 9 | , app = connect() 10 | .use(connect.static(__dirname + '/../../')); 11 | 12 | http.createServer(app).listen(3000); 13 | 14 | fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8') -------------------------------------------------------------------------------- /js/bootstrap/less/layouts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Layouts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container (centered, fixed-width layouts) 7 | .container { 8 | .container-fixed(); 9 | } 10 | 11 | // Fluid layouts (left aligned, with sidebar, min- & max-width content) 12 | .container-fluid { 13 | padding-right: @gridGutterWidth; 14 | padding-left: @gridGutterWidth; 15 | .clearfix(); 16 | } -------------------------------------------------------------------------------- /js/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); 3 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/layouts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Layouts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container (centered, fixed-width layouts) 7 | .container { 8 | .container-fixed(); 9 | } 10 | 11 | // Fluid layouts (left aligned, with sidebar, min- & max-width content) 12 | .container-fluid { 13 | padding-right: @gridGutterWidth; 14 | padding-left: @gridGutterWidth; 15 | .clearfix(); 16 | } -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-transition.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-transition") 4 | 5 | test("should be defined on jquery support object", function () { 6 | ok($.support.transition !== undefined, 'transition object is defined') 7 | }) 8 | 9 | test("should provide an end object", function () { 10 | ok($.support.transition ? $.support.transition.end : true, 'end string is defined') 11 | }) 12 | 13 | }) -------------------------------------------------------------------------------- /js/bootstrap/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | 6 | .fade { 7 | opacity: 0; 8 | .transition(opacity .15s linear); 9 | &.in { 10 | opacity: 1; 11 | } 12 | } 13 | 14 | .collapse { 15 | position: relative; 16 | height: 0; 17 | overflow: hidden; 18 | overflow: visible \9; 19 | .transition(height .35s ease); 20 | &.in { 21 | height: auto; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | 6 | .fade { 7 | opacity: 0; 8 | .transition(opacity .15s linear); 9 | &.in { 10 | opacity: 1; 11 | } 12 | } 13 | 14 | .collapse { 15 | position: relative; 16 | height: 0; 17 | overflow: hidden; 18 | overflow: visible \9; 19 | .transition(height .35s ease); 20 | &.in { 21 | height: auto; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /js/bootstrap/less/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Quick floats 7 | .pull-right { 8 | float: right; 9 | } 10 | .pull-left { 11 | float: left; 12 | } 13 | 14 | // Toggling content 15 | .hide { 16 | display: none; 17 | } 18 | .show { 19 | display: block; 20 | } 21 | 22 | // Visibility 23 | .invisible { 24 | visibility: hidden; 25 | } 26 | 27 | // For Affix plugin 28 | .affix { 29 | position: fixed; 30 | } 31 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Quick floats 7 | .pull-right { 8 | float: right; 9 | } 10 | .pull-left { 11 | float: left; 12 | } 13 | 14 | // Toggling content 15 | .hide { 16 | display: none; 17 | } 18 | .show { 19 | display: block; 20 | } 21 | 22 | // Visibility 23 | .invisible { 24 | visibility: hidden; 25 | } 26 | 27 | // For Affix plugin 28 | .affix { 29 | position: fixed; 30 | } 31 | -------------------------------------------------------------------------------- /js/bootstrap/.gitignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.diff 3 | *.err 4 | *.orig 5 | *.log 6 | *.rej 7 | *.swo 8 | *.swp 9 | *.zip 10 | *.vi 11 | *~ 12 | *.sass-cache 13 | 14 | # OS or Editor folders 15 | .DS_Store 16 | ._* 17 | Thumbs.db 18 | .cache 19 | .project 20 | .settings 21 | .tmproj 22 | *.esproj 23 | nbproject 24 | *.sublime-project 25 | *.sublime-workspace 26 | 27 | # Komodo 28 | *.komodoproject 29 | .komodotools 30 | 31 | # Folders to ignore 32 | .hg 33 | .svn 34 | .CVS 35 | .idea 36 | node_modules 37 | dist 38 | -------------------------------------------------------------------------------- /js/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: 8px 15px; 8 | margin: 0 0 @baseLineHeight; 9 | list-style: none; 10 | background-color: #f5f5f5; 11 | .border-radius(4px); 12 | li { 13 | display: inline-block; 14 | .ie7-inline-block(); 15 | text-shadow: 0 1px 0 @white; 16 | } 17 | .divider { 18 | padding: 0 5px; 19 | color: #ccc; 20 | } 21 | .active { 22 | color: @grayLight; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /js/bootstrap/less/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Fixed (940px) 7 | #grid > .core(@gridColumnWidth, @gridGutterWidth); 8 | 9 | // Fluid (940px) 10 | #grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth); 11 | 12 | // Reset utility classes due to specificity 13 | [class*="span"].hide, 14 | .row-fluid [class*="span"].hide { 15 | display: none; 16 | } 17 | 18 | [class*="span"].pull-right, 19 | .row-fluid [class*="span"].pull-right { 20 | float: right; 21 | } 22 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: 8px 15px; 8 | margin: 0 0 @baseLineHeight; 9 | list-style: none; 10 | background-color: #f5f5f5; 11 | .border-radius(4px); 12 | li { 13 | display: inline-block; 14 | .ie7-inline-block(); 15 | text-shadow: 0 1px 0 @white; 16 | } 17 | .divider { 18 | padding: 0 5px; 19 | color: #ccc; 20 | } 21 | .active { 22 | color: @grayLight; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Fixed (940px) 7 | #grid > .core(@gridColumnWidth, @gridGutterWidth); 8 | 9 | // Fluid (940px) 10 | #grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth); 11 | 12 | // Reset utility classes due to specificity 13 | [class*="span"].hide, 14 | .row-fluid [class*="span"].hide { 15 | display: none; 16 | } 17 | 18 | [class*="span"].pull-right, 19 | .row-fluid [class*="span"].pull-right { 20 | float: right; 21 | } 22 | -------------------------------------------------------------------------------- /js/bootstrap/less/hero-unit.less: -------------------------------------------------------------------------------- 1 | // 2 | // Hero unit 3 | // -------------------------------------------------- 4 | 5 | 6 | .hero-unit { 7 | padding: 60px; 8 | margin-bottom: 30px; 9 | background-color: @heroUnitBackground; 10 | .border-radius(6px); 11 | h1 { 12 | margin-bottom: 0; 13 | font-size: 60px; 14 | line-height: 1; 15 | color: @heroUnitHeadingColor; 16 | letter-spacing: -1px; 17 | } 18 | p { 19 | font-size: 18px; 20 | font-weight: 200; 21 | line-height: @baseLineHeight * 1.5; 22 | color: @heroUnitLeadColor; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /js/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n \r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/, 2 | null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]); 3 | -------------------------------------------------------------------------------- /js/bootstrap/less/responsive-768px-979px.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Tablet to desktop 3 | // -------------------------------------------------- 4 | 5 | 6 | @media (min-width: 768px) and (max-width: 979px) { 7 | 8 | // Fixed grid 9 | #grid > .core(@gridColumnWidth768, @gridGutterWidth768); 10 | 11 | // Fluid grid 12 | #grid > .fluid(@fluidGridColumnWidth768, @fluidGridGutterWidth768); 13 | 14 | // Input grid 15 | #grid > .input(@gridColumnWidth768, @gridGutterWidth768); 16 | 17 | // No need to reset .thumbnails here since it's the same @gridGutterWidth 18 | 19 | } 20 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/hero-unit.less: -------------------------------------------------------------------------------- 1 | // 2 | // Hero unit 3 | // -------------------------------------------------- 4 | 5 | 6 | .hero-unit { 7 | padding: 60px; 8 | margin-bottom: 30px; 9 | background-color: @heroUnitBackground; 10 | .border-radius(6px); 11 | h1 { 12 | margin-bottom: 0; 13 | font-size: 60px; 14 | line-height: 1; 15 | color: @heroUnitHeadingColor; 16 | letter-spacing: -1px; 17 | } 18 | p { 19 | font-size: 18px; 20 | font-weight: 200; 21 | line-height: @baseLineHeight * 1.5; 22 | color: @heroUnitLeadColor; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/responsive-768px-979px.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Tablet to desktop 3 | // -------------------------------------------------- 4 | 5 | 6 | @media (min-width: 768px) and (max-width: 979px) { 7 | 8 | // Fixed grid 9 | #grid > .core(@gridColumnWidth768, @gridGutterWidth768); 10 | 11 | // Fluid grid 12 | #grid > .fluid(@fluidGridColumnWidth768, @fluidGridGutterWidth768); 13 | 14 | // Input grid 15 | #grid > .input(@gridColumnWidth768, @gridGutterWidth768); 16 | 17 | // No need to reset .thumbnails here since it's the same @gridGutterWidth 18 | 19 | } 20 | -------------------------------------------------------------------------------- /examples/dot-emacs/init.el: -------------------------------------------------------------------------------- 1 | xF;;; init.el --- configuration entry point. 2 | (eval-when-compile (require 'cl)) 3 | 4 | (message "\nEmacs is powering up... Be patient, Master %s!\n" (getenv "USER")) 5 | 6 | ;; Define emacs-dir where all the files live. 7 | (setq emacs-dir (file-name-directory 8 | (or load-file-name (buffer-file-name)))) 9 | 10 | ;; Load up org-mode and org-babel 11 | (require 'org) 12 | 13 | ;; Load config.org from emacs-dir 14 | (org-babel-load-file 15 | (expand-file-name "config.org" emacs-dir)) 16 | 17 | ;; Done and done!! 18 | (message "\nEmacs is ready to serve you, Master %s!\n" (getenv "USER")) 19 | 20 | ;;; init.el ends here. 21 | -------------------------------------------------------------------------------- /js/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @wellBackground; 12 | border: 1px solid darken(@wellBackground, 7%); 13 | .border-radius(4px); 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-large { 23 | padding: 24px; 24 | .border-radius(6px); 25 | } 26 | .well-small { 27 | padding: 9px; 28 | .border-radius(3px); 29 | } 30 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @wellBackground; 12 | border: 1px solid darken(@wellBackground, 7%); 13 | .border-radius(4px); 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-large { 23 | padding: 24px; 24 | .border-radius(6px); 25 | } 26 | .well-small { 27 | padding: 9px; 28 | .border-radius(3px); 29 | } 30 | -------------------------------------------------------------------------------- /js/polyfills/dataset.min.js: -------------------------------------------------------------------------------- 1 | (function(){function c(){d=!0;this.removeEventListener("DOMAttrModified",c,!1)}function g(b){return b.replace(h,function(b,a){return a.toUpperCase()})}function e(){var b={};i.call(this.attributes,function(a){if(f=a.name.match(j))b[g(f[1])]=a.value});return b}var i=[].forEach,j=/^data-(.+)/,h=/\-([a-z])/ig,a=document.createElement("div"),d=!1,f;a.dataset==void 0&&(a.addEventListener("DOMAttrModified",c,!1),a.setAttribute("foo","bar"),Element.prototype.__defineGetter__("dataset",d?function(){if(!this._datasetCache)this._datasetCache= 2 | e.call(this);return this._datasetCache}:e),document.addEventListener("DOMAttrModified",function(a){delete a.target._datasetCache},!1))})(); -------------------------------------------------------------------------------- /js/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} 2 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-affix.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-affix") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).affix, 'affix method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).affix()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should exit early if element is not visible", function () { 14 | var $affix = $('
').affix() 15 | $affix.data('affix').checkPosition() 16 | ok(!$affix.hasClass('affix'), 'affix class was not added') 17 | }) 18 | 19 | }) -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # About this repo 3 | 4 | This is my COSCUP 2013 presentation, `Org-mode: A Swiss Army Knife 5 | under Emacs` . The slide.html is generate by my another project 6 | [org-ioslide](https://github.com/coldnew/org-ioslide) (Commit: 213a154450fe19) 7 | 8 | All examples are locate at examples folder. 9 | 10 | # 關於這個 Repo 11 | 12 | 這是我於 COSCUP 2013 的演講, `Org-Mode: Emacs 下的瑞士軍刀` 的投影片 13 | 以及其原始碼。其中 slide.html 是透過我另外一個專案 [org-ioslide](https://github.com/coldnew/org-ioslide) 來產生 14 | 的 (Commit: 213a154450fe19)。 15 | 16 | examples 資料夾則置放著許多範例,包含有提到的或是來不及講到的。 17 | 18 | # View the slide online 19 | 20 | Use [this link](http://coldnew.github.io/slides/COSCUP2013_org-mode/slide.html) to view the slide. 21 | -------------------------------------------------------------------------------- /examples/Readme.org: -------------------------------------------------------------------------------- 1 | #+TITLE: org-mode examples 2 | 3 | * About 4 | 5 | This folder contains some org-mode example 6 | #+BEGIN_SRC sh :tangle no 7 | ls 8 | #+END_SRC 9 | 10 | | Dir | description | 11 | |-------------+----------------------------------------------| 12 | | dot-emacs | Use org-mode to manage your emacs | 13 | | html | Generate HTML file by org-mode | 14 | | latex | Generate PDF | 15 | | literature | Use one org-mode file to matain code and doc | 16 | | secret-file | Use gnupg to encrypt org-mode | 17 | | todo | TODO example | 18 | -------------------------------------------------------------------------------- /js/bootstrap/less/responsive-1200px-min.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Large desktop and up 3 | // -------------------------------------------------- 4 | 5 | 6 | @media (min-width: 1200px) { 7 | 8 | // Fixed grid 9 | #grid > .core(@gridColumnWidth1200, @gridGutterWidth1200); 10 | 11 | // Fluid grid 12 | #grid > .fluid(@fluidGridColumnWidth1200, @fluidGridGutterWidth1200); 13 | 14 | // Input grid 15 | #grid > .input(@gridColumnWidth1200, @gridGutterWidth1200); 16 | 17 | // Thumbnails 18 | .thumbnails { 19 | margin-left: -@gridGutterWidth1200; 20 | } 21 | .thumbnails > li { 22 | margin-left: @gridGutterWidth1200; 23 | } 24 | .row-fluid .thumbnails { 25 | margin-left: 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/responsive-1200px-min.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Large desktop and up 3 | // -------------------------------------------------- 4 | 5 | 6 | @media (min-width: 1200px) { 7 | 8 | // Fixed grid 9 | #grid > .core(@gridColumnWidth1200, @gridGutterWidth1200); 10 | 11 | // Fluid grid 12 | #grid > .fluid(@fluidGridColumnWidth1200, @fluidGridGutterWidth1200); 13 | 14 | // Input grid 15 | #grid > .input(@gridColumnWidth1200, @gridGutterWidth1200); 16 | 17 | // Thumbnails 18 | .thumbnails { 19 | margin-left: -@gridGutterWidth1200; 20 | } 21 | .thumbnails > li { 22 | margin-left: @gridGutterWidth1200; 23 | } 24 | .row-fluid .thumbnails { 25 | margin-left: 0; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Readme.org: -------------------------------------------------------------------------------- 1 | 2 | #+OPTIONS: toc:nil 3 | 4 | * About this repo 5 | 6 | This is my COSCUP 2013 presentation, =Org-mode: A Swiss Army Knife 7 | under Emacs= . The slide.html is generate by my another project 8 | [[https://github.com/coldnew/org-ioslide][org-ioslide]] (Commit: 213a154450fe19) 9 | 10 | All examples are locate at examples folder. 11 | 12 | * 關於這個 Repo 13 | 14 | 這是我於 COSCUP 2013 的演講, =Org-Mode: Emacs 下的瑞士軍刀= 的投影片 15 | 以及其原始碼。其中 slide.html 是透過我另外一個專案 [[https://github.com/coldnew/org-ioslide][org-ioslide]] 來產生 16 | 的 (Commit: 213a154450fe19)。 17 | 18 | examples 資料夾則置放著許多範例,包含有提到的或是來不及講到的。 19 | 20 | * View the slide online 21 | 22 | Use [[http://coldnew.github.io/slides/COSCUP2013_org-mode/slide.html][this link]] to view the slide. 23 | -------------------------------------------------------------------------------- /examples/dot-emacs/config.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Emacs Literature Config 2 | #+AUTHOR: you 3 | #+EMAIL: you (at) domain.org 4 | 5 | #+BABEL: :cache yes 6 | 7 | * Package Manager 8 | 9 | Emacs has package manager named *elpa* since version 24. 10 | 11 | We setup elpa repo to make it more easy to use. 12 | 13 | [[http://melpa.milkbox.net/][MELPA]] is a great 3rd party elpa repo which contains many good emacs 14 | lisp plugin that you can't find under elpa. 15 | 16 | #+BEGIN_SRC emacs-lisp 17 | (add-to-list 'package-archives 18 | '("melpa" . "http://melpa.milkbox.net/packages/") t) 19 | #+END_SRC 20 | 21 | Initial elpa 22 | 23 | #+BEGIN_SRC emacs-lisp 24 | (package-initialize) 25 | #+END_SRC 26 | 27 | * Other settings 28 | 29 | You can add your confing here. 30 | -------------------------------------------------------------------------------- /examples/latex/beamer.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Beamer 2 | #+LATEX_CLASS: beamer 3 | #+BEAMER_THEME: default 4 | #+OPTIONS: toc:nil 5 | 6 | * Beamer slide example 7 | 8 | ** A simple slide 9 | 10 | This slide consists of some text with a number of bullet points: 11 | - the first, very *important*, point! 12 | 13 | ** A theorem block 14 | :PROPERTIES: 15 | :BEAMER_env: theorem 16 | :BEAMER_act: <2-> 17 | :END: 18 | 19 | The =BEAMER_act= property says to overlay this environment from the 20 | second frame onwards. 21 | 22 | ** A block in a column 23 | :PROPERTIES: 24 | :BEAMER_env: block 25 | :BEAMER_col: 0.5 26 | :END: 27 | 28 | ** Just a column with contents 29 | :PROPERTIES: 30 | :BEAMER_col: 0.5 31 | :END: 32 | Some text, the headline above is ignored 33 | -------------------------------------------------------------------------------- /examples/markdown/test.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Testing export to Markdown 2 | 3 | #+OPTIONS: toc:nil 4 | 5 | * Exporting features... 6 | ** TODO Structure 7 | ** TODO TODOS 8 | ** TODO Formatting 9 | *Bold* 10 | /Italic/ 11 | _underline_ 12 | super^script 13 | sub_script 14 | ** TODO Numbered lists 15 | 1. Orgmode 16 | 17 | The most amazing program (along with emacs) 18 | 2. Rocks! 19 | 3. Three 20 | + I am 21 | + nesting 22 | 4. Fourty Two 23 | 1. Deep 24 | 2. Inside 25 | ** TODO Unordered lists [2/5] 26 | - [X] s 27 | - [ ] l 28 | - [ ] s 29 | - [X] t 30 | 1. One 31 | 2. Two 32 | 3. Three 33 | - [ ] i 34 | + Hi 35 | + Hi 36 | + Hi 37 | ** TODO Hyperlinks 38 | [[http://daringfireball.net/projects/markdown/dingus][Markdown]] 39 | -------------------------------------------------------------------------------- /js/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,a,"("],["clo",/^\)+/,a,")"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,a], 3 | ["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["cl","el","lisp","scm"]); 4 | -------------------------------------------------------------------------------- /js/bootstrap/less/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: 20px; 9 | font-weight: bold; 10 | line-height: @baseLineHeight; 11 | color: @black; 12 | text-shadow: 0 1px 0 rgba(255,255,255,1); 13 | .opacity(20); 14 | &:hover { 15 | color: @black; 16 | text-decoration: none; 17 | cursor: pointer; 18 | .opacity(40); 19 | } 20 | } 21 | 22 | // Additional properties for button version 23 | // iOS requires the button element instead of an anchor tag. 24 | // If you want the anchor version, it requires `href="#"`. 25 | button.close { 26 | padding: 0; 27 | cursor: pointer; 28 | background: transparent; 29 | border: 0; 30 | -webkit-appearance: none; 31 | } -------------------------------------------------------------------------------- /js/bootstrap/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | margin: @baseLineHeight 0; 8 | list-style: none; 9 | text-align: center; 10 | .clearfix(); 11 | } 12 | .pager li { 13 | display: inline; 14 | } 15 | .pager a { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: #fff; 19 | border: 1px solid #ddd; 20 | .border-radius(15px); 21 | } 22 | .pager a:hover { 23 | text-decoration: none; 24 | background-color: #f5f5f5; 25 | } 26 | .pager .next a { 27 | float: right; 28 | } 29 | .pager .previous a { 30 | float: left; 31 | } 32 | .pager .disabled a, 33 | .pager .disabled a:hover { 34 | color: @grayLight; 35 | background-color: #fff; 36 | cursor: default; 37 | } -------------------------------------------------------------------------------- /js/bootstrap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap" 3 | , "description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development." 4 | , "version": "2.1.0" 5 | , "keywords": ["bootstrap", "css"] 6 | , "homepage": "http://twitter.github.com/bootstrap/" 7 | , "author": "Twitter Inc." 8 | , "scripts": { "test": "make test" } 9 | , "repository": { 10 | "type": "git" 11 | , "url": "https://github.com/twitter/bootstrap.git" 12 | } 13 | , "licenses": [ 14 | { 15 | "type": "Apache-2.0" 16 | , "url": "http://www.apache.org/licenses/LICENSE-2.0" 17 | } 18 | ] 19 | , "devDependencies": { 20 | "uglify-js": "1.2.6" 21 | , "jshint": "0.6.1" 22 | , "recess": "1.0.3" 23 | , "connect": "2.1.3" 24 | } 25 | } -------------------------------------------------------------------------------- /js/bootstrap/less/accordion.less: -------------------------------------------------------------------------------- 1 | // 2 | // Accordion 3 | // -------------------------------------------------- 4 | 5 | 6 | // Parent container 7 | .accordion { 8 | margin-bottom: @baseLineHeight; 9 | } 10 | 11 | // Group == heading + body 12 | .accordion-group { 13 | margin-bottom: 2px; 14 | border: 1px solid #e5e5e5; 15 | .border-radius(4px); 16 | } 17 | .accordion-heading { 18 | border-bottom: 0; 19 | } 20 | .accordion-heading .accordion-toggle { 21 | display: block; 22 | padding: 8px 15px; 23 | } 24 | 25 | // General toggle styles 26 | .accordion-toggle { 27 | cursor: pointer; 28 | } 29 | 30 | // Inner needs the styles because you can't animate properly with any styles on the element 31 | .accordion-inner { 32 | padding: 9px 15px; 33 | border-top: 1px solid #e5e5e5; 34 | } 35 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: 20px; 9 | font-weight: bold; 10 | line-height: @baseLineHeight; 11 | color: @black; 12 | text-shadow: 0 1px 0 rgba(255,255,255,1); 13 | .opacity(20); 14 | &:hover { 15 | color: @black; 16 | text-decoration: none; 17 | cursor: pointer; 18 | .opacity(40); 19 | } 20 | } 21 | 22 | // Additional properties for button version 23 | // iOS requires the button element instead of an anchor tag. 24 | // If you want the anchor version, it requires `href="#"`. 25 | button.close { 26 | padding: 0; 27 | cursor: pointer; 28 | background: transparent; 29 | border: 0; 30 | -webkit-appearance: none; 31 | } -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | margin: @baseLineHeight 0; 8 | list-style: none; 9 | text-align: center; 10 | .clearfix(); 11 | } 12 | .pager li { 13 | display: inline; 14 | } 15 | .pager a { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: #fff; 19 | border: 1px solid #ddd; 20 | .border-radius(15px); 21 | } 22 | .pager a:hover { 23 | text-decoration: none; 24 | background-color: #f5f5f5; 25 | } 26 | .pager .next a { 27 | float: right; 28 | } 29 | .pager .previous a { 30 | float: left; 31 | } 32 | .pager .disabled a, 33 | .pager .disabled a:hover { 34 | color: @grayLight; 35 | background-color: #fff; 36 | cursor: default; 37 | } -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/accordion.less: -------------------------------------------------------------------------------- 1 | // 2 | // Accordion 3 | // -------------------------------------------------- 4 | 5 | 6 | // Parent container 7 | .accordion { 8 | margin-bottom: @baseLineHeight; 9 | } 10 | 11 | // Group == heading + body 12 | .accordion-group { 13 | margin-bottom: 2px; 14 | border: 1px solid #e5e5e5; 15 | .border-radius(4px); 16 | } 17 | .accordion-heading { 18 | border-bottom: 0; 19 | } 20 | .accordion-heading .accordion-toggle { 21 | display: block; 22 | padding: 8px 15px; 23 | } 24 | 25 | // General toggle styles 26 | .accordion-toggle { 27 | cursor: pointer; 28 | } 29 | 30 | // Inner needs the styles because you can't animate properly with any styles on the element 31 | .accordion-inner { 32 | padding: 9px 15px; 33 | border-top: 1px solid #e5e5e5; 34 | } 35 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-phantom.js: -------------------------------------------------------------------------------- 1 | // Logging setup for phantom integration 2 | // adapted from Modernizr 3 | 4 | QUnit.begin = function () { 5 | console.log("Starting test suite") 6 | console.log("================================================\n") 7 | } 8 | 9 | QUnit.moduleDone = function (opts) { 10 | if (opts.failed === 0) { 11 | console.log("\u2714 All tests passed in '" + opts.name + "' module") 12 | } else { 13 | console.log("\u2716 " + opts.failed + " tests failed in '" + opts.name + "' module") 14 | } 15 | } 16 | 17 | QUnit.done = function (opts) { 18 | console.log("\n================================================") 19 | console.log("Tests completed in " + opts.runtime + " milliseconds") 20 | console.log(opts.passed + " tests of " + opts.total + " passed, " + opts.failed + " failed.") 21 | } -------------------------------------------------------------------------------- /js/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /examples/html/style/less/font-Ubuntu-Mono.less: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Ubuntu Mono'; 3 | font-style: italic; 4 | font-weight: bold; 5 | src: local('Ubuntu Mono Bold Italic'), local('UbuntuMono-BoldItalic'), url('../font/UbuntuMono-BoldItalic.woff') format('woff'); 6 | } 7 | @font-face { 8 | font-family: 'Ubuntu Mono'; 9 | font-style: italic; 10 | font-weight: normal; 11 | src: local('Ubuntu Mono Italic'), local('UbuntuMono-Italic'), url('../font/UbuntuMono-Italic.woff') format('woff'); 12 | } 13 | @font-face { 14 | font-family: 'Ubuntu Mono'; 15 | font-style: normal; 16 | font-weight: bold; 17 | src: local('Ubuntu Mono Bold'), local('UbuntuMono-Bold'), url('../font/UbuntuMono-Bold.woff') format('woff'); 18 | } 19 | @font-face { 20 | font-family: 'Ubuntu Mono'; 21 | font-style: normal; 22 | font-weight: normal; 23 | src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url('../font/UbuntuMono-Regular.woff') format('woff'); 24 | } 25 | -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/js/google-code-prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .com { color: #93a1a1; } 2 | .lit { color: #195f91; } 3 | .pun, .opn, .clo { color: #93a1a1; } 4 | .fun { color: #dc322f; } 5 | .str, .atv { color: #D14; } 6 | .kwd, .prettyprint .tag { color: #1e347b; } 7 | .typ, .atn, .dec, .var { color: teal; } 8 | .pln { color: #48484c; } 9 | 10 | .prettyprint { 11 | padding: 8px; 12 | background-color: #f7f7f9; 13 | border: 1px solid #e1e1e8; 14 | } 15 | .prettyprint.linenums { 16 | -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 17 | -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 18 | box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 19 | } 20 | 21 | /* Specify class=linenums on a pre to get line numbering */ 22 | ol.linenums { 23 | margin: 0 0 0 33px; /* IE indents via margin-left */ 24 | } 25 | ol.linenums li { 26 | padding-left: 12px; 27 | color: #bebec5; 28 | line-height: 20px; 29 | text-shadow: 0 1px 0 #fff; 30 | } -------------------------------------------------------------------------------- /theme/scss/phone.scss: -------------------------------------------------------------------------------- 1 | @import "compass/css3/transition"; 2 | 3 | 4 | /*Smartphones (portrait and landscape) ----------- */ 5 | /*@media only screen 6 | and (min-width : 320px) 7 | and (max-width : 480px) { 8 | 9 | }*/ 10 | 11 | /* Smartphones (portrait) ----------- */ 12 | //@media only screen and (max-device-width: 480px) { 13 | /* Styles */ 14 | //$slide-width: 350px; 15 | //$slide-height: 500px; 16 | 17 | slides > slide { 18 | /* width: $slide-width !important; 19 | height: $slide-height !important; 20 | margin-left: -$slide-width / 2 !important; 21 | margin-top: -$slide-height / 2 !important; 22 | */ 23 | // Don't do full slide transitions on mobile. 24 | -webkit-transition: none !important; // Bug in compass? Not sure why the below is not working 25 | @include transition(none !important); 26 | } 27 | 28 | //} 29 | 30 | /* iPhone 4 ----------- */ 31 | @media 32 | only screen and (-webkit-min-device-pixel-ratio : 1.5), 33 | only screen and (min-device-pixel-ratio : 1.5) { 34 | /* Styles */ 35 | } -------------------------------------------------------------------------------- /slide_config.js: -------------------------------------------------------------------------------- 1 | var SLIDE_CONFIG = { 2 | // Slide Settings 3 | settings: { 4 | title: 'Org-mode
Emacs 下的瑞士軍刀', 5 | subtitle: '', 6 | useBuilds: true, // Default: true. False will turn off slide animation builds. 7 | usePrettify: false, // Default: true 8 | enableSlideAreas: true, // Default: true. False turns off the click areas on either slide of the slides. 9 | enableTouch: true, // Default: true. If touch support should enabled. Note: the device must support touch. 10 | favIcon: 'picts/org-mode_icon.png', 11 | fonts: [ 12 | 'Open Sans:regular,semibold,italic,italicsemibold', 13 | 'Source Code Pro' 14 | ], 15 | }, 16 | 17 | // Author information 18 | presenters: [{ 19 | name: 'Yen-Chin, Lee', 20 | company: 'coldnew
emacs.tw', 21 | gplus: 'https://github.com/coldnew/COSCUP2013_org-mode.git', 22 | twitter: '', 23 | www: 'http://coldnew.github.io', 24 | github: 'http://github.com/coldnew', 25 | }] 26 | }; -------------------------------------------------------------------------------- /theme/scss/io2013.scss: -------------------------------------------------------------------------------- 1 | @import "compass/css3/background-size"; 2 | 3 | @import "variables"; 4 | 5 | * { 6 | line-height: 1.3; 7 | } 8 | 9 | h2 { 10 | font-weight: bold; 11 | } 12 | h2, h3 { 13 | color: $gray-4; 14 | } 15 | 16 | q, blockquote { 17 | font-weight: bold; 18 | } 19 | 20 | slides > slide { 21 | color: $gray-4; 22 | 23 | &.title-slide { 24 | &:after { 25 | content: ''; 26 | background: url(../../images/io2013/google-io-lockup-1.png) no-repeat 100% 50%; 27 | @include background-size(contain); 28 | position: absolute; 29 | bottom: $slide-top-bottom-padding + 40; 30 | right: $slide-top-bottom-padding; 31 | width: 100%; 32 | height: 90px; 33 | } 34 | 35 | hgroup { 36 | h1 { 37 | font-weight: bold; 38 | line-height: 1.1; 39 | } 40 | h2, p { 41 | color: $gray-4; 42 | } 43 | h2 { 44 | margin-top: 0.25em; 45 | } 46 | p { 47 | margin-top: 3em; 48 | } 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /examples/html/style/less/font-Yanone-Kaffeesatz.less: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Yanone Kaffeesatz'; 3 | font-style: normal; 4 | font-weight: 200; 5 | src: local('Yanone Kaffeesatz ExtraLight'), local('YanoneKaffeesatz-ExtraLight'), url('../font/YanoneKaffeesatz-ExtraLight.woff') format('woff'); 6 | } 7 | @font-face { 8 | font-family: 'Yanone Kaffeesatz'; 9 | font-style: normal; 10 | font-weight: 700; 11 | src: local('Yanone Kaffeesatz Bold'), local('YanoneKaffeesatz-Bold'), url('../font/YanoneKaffeesatz-Bold.woff') format('woff'); 12 | } 13 | @font-face { 14 | font-family: 'Yanone Kaffeesatz'; 15 | font-style: normal; 16 | font-weight: 400; 17 | src: local('Yanone Kaffeesatz Regular'), local('YanoneKaffeesatz-Regular'), url('../font/YanoneKaffeesatz-Regular.woff') format('woff'); 18 | } 19 | @font-face { 20 | font-family: 'Yanone Kaffeesatz'; 21 | font-style: normal; 22 | font-weight: 300; 23 | src: local('Yanone Kaffeesatz Light'), local('YanoneKaffeesatz-Light'), url('../font/YanoneKaffeesatz-Light.woff') format('woff'); 24 | } 25 | -------------------------------------------------------------------------------- /js/bootstrap/less/scaffolding.less: -------------------------------------------------------------------------------- 1 | // 2 | // Scaffolding 3 | // -------------------------------------------------- 4 | 5 | 6 | // Body reset 7 | // ------------------------- 8 | 9 | body { 10 | margin: 0; 11 | font-family: @baseFontFamily; 12 | font-size: @baseFontSize; 13 | line-height: @baseLineHeight; 14 | color: @textColor; 15 | background-color: @bodyBackground; 16 | } 17 | 18 | 19 | // Links 20 | // ------------------------- 21 | 22 | a { 23 | color: @linkColor; 24 | text-decoration: none; 25 | } 26 | a:hover { 27 | color: @linkColorHover; 28 | text-decoration: underline; 29 | } 30 | 31 | 32 | // Images 33 | // ------------------------- 34 | 35 | .img-rounded { 36 | .border-radius(6px); 37 | } 38 | 39 | .img-polaroid { 40 | padding: 4px; 41 | background-color: #fff; 42 | border: 1px solid #ccc; 43 | border: 1px solid rgba(0,0,0,.2); 44 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.1); 45 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.1); 46 | box-shadow: 0 1px 3px rgba(0,0,0,.1); 47 | } 48 | 49 | .img-circle { 50 | .border-radius(500px); 51 | } 52 | -------------------------------------------------------------------------------- /theme/scss/_variable.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Error 404 (Not Found)!!1 9 | 12 | Google 13 |

404. That’s an error. 14 |

The requested URL /git/theme/scss/_variable.scss was not found on this server. That’s all we know. 15 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/scaffolding.less: -------------------------------------------------------------------------------- 1 | // 2 | // Scaffolding 3 | // -------------------------------------------------- 4 | 5 | 6 | // Body reset 7 | // ------------------------- 8 | 9 | body { 10 | margin: 0; 11 | font-family: @baseFontFamily; 12 | font-size: @baseFontSize; 13 | line-height: @baseLineHeight; 14 | color: @textColor; 15 | background-color: @bodyBackground; 16 | } 17 | 18 | 19 | // Links 20 | // ------------------------- 21 | 22 | a { 23 | color: @linkColor; 24 | text-decoration: none; 25 | } 26 | a:hover { 27 | color: @linkColorHover; 28 | text-decoration: underline; 29 | } 30 | 31 | 32 | // Images 33 | // ------------------------- 34 | 35 | .img-rounded { 36 | .border-radius(6px); 37 | } 38 | 39 | .img-polaroid { 40 | padding: 4px; 41 | background-color: #fff; 42 | border: 1px solid #ccc; 43 | border: 1px solid rgba(0,0,0,.2); 44 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.1); 45 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.1); 46 | box-shadow: 0 1px 3px rgba(0,0,0,.1); 47 | } 48 | 49 | .img-circle { 50 | .border-radius(500px); 51 | } 52 | -------------------------------------------------------------------------------- /theme/css/slide.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | /* Overwrite the background in default.css */ 4 | slides > slide:not(.nobackground):before { 5 | background: url(../../picts/org-mode_icon.png) no-repeat 0 50%; 6 | font-size: 12pt; 7 | content: ""; 8 | position: absolute; 9 | bottom: 20px; 10 | left: 60px; 11 | -webkit-background-size: 30px 30px; 12 | -moz-background-size: 30px 30px; 13 | -o-background-size: 30px 30px; 14 | background-size: 30px 30px; 15 | padding-left: 40px; 16 | height: 30px; 17 | line-height: 1.9; 18 | } 19 | 20 | pre { 21 | border: 1px solid #ccc; 22 | box-shadow: 3px 3px 3px #eee; 23 | padding: 8pt; 24 | font-family: monospace; 25 | overflow: auto; 26 | margin: 1.2em; 27 | margin-left: 60px; 28 | width: 100%; 29 | } 30 | 31 | pre.prettyprint { 32 | background-color: #2e3436; 33 | color: #eeeeec; 34 | white-space: pre-wrap; 35 | } 36 | 37 | pre.example { 38 | background-color: #2e3436; 39 | color: #eeeeec; 40 | } 41 | 42 | 43 | table td, table th { 44 | font-size: 16px; 45 | padding: 1em 0.5em; 46 | } 47 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-scrollspy.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-scrollspy") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).scrollspy, 'scrollspy method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).scrollspy()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should switch active class on scroll", function () { 14 | var sectionHTML = '

' 15 | , $section = $(sectionHTML).append('#qunit-fixture') 16 | , topbarHTML ='
' 17 | + '
' 18 | + '
' 19 | + '

Bootstrap

' 20 | + '' 23 | + '
' 24 | + '
' 25 | + '
' 26 | , $topbar = $(topbarHTML).scrollspy() 27 | 28 | ok($topbar.find('.active', true)) 29 | }) 30 | 31 | }) -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/badges.less: -------------------------------------------------------------------------------- 1 | // BADGES 2 | // ------ 3 | 4 | // Base 5 | .badge { 6 | padding: 1px 9px 2px; 7 | font-size: @baseFontSize * .925; 8 | font-weight: bold; 9 | white-space: nowrap; 10 | color: @white; 11 | background-color: @grayLight; 12 | .border-radius(9px); 13 | } 14 | 15 | // Hover state 16 | .badge:hover { 17 | color: @white; 18 | text-decoration: none; 19 | cursor: pointer; 20 | } 21 | 22 | // Colors 23 | .badge-error { background-color: @errorText; } 24 | .badge-error:hover { background-color: darken(@errorText, 10%); } 25 | 26 | .badge-warning { background-color: @orange; } 27 | .badge-warning:hover { background-color: darken(@orange, 10%); } 28 | 29 | .badge-success { background-color: @successText; } 30 | .badge-success:hover { background-color: darken(@successText, 10%); } 31 | 32 | .badge-info { background-color: @infoText; } 33 | .badge-info:hover { background-color: darken(@infoText, 10%); } 34 | 35 | .badge-inverse { background-color: @grayDark; } 36 | .badge-inverse:hover { background-color: darken(@grayDark, 10%); } -------------------------------------------------------------------------------- /examples/secret-file/Readme.org: -------------------------------------------------------------------------------- 1 | #+TITLE: use gpg to encrypt your org-mode file 2 | 3 | 4 | * Setup 5 | 6 | Use =C-c C-c= to evalute following code 7 | 8 | #+BEGIN_SRC emacs-lisp 9 | ;; org-mode 設定 10 | (require 'org-crypt) 11 | 12 | ;; 當被加密的部份要存入硬碟時,自動加密回去 13 | (org-crypt-use-before-save-magic) 14 | 15 | ;; 設定要加密的 tag 標籤為 secret 16 | (setq org-crypt-tag-matcher "secret") 17 | 18 | ;; 避免 secret 這個 tag 被子項目繼承 造成重複加密 19 | ;; (但是子項目還是會被加密喔) 20 | (setq org-tags-exclude-from-inheritance (quote ("secret"))) 21 | 22 | ;; 用於加密的 GPG 金鑰 23 | ;; 可以設定任何 ID 或是設成 nil 來使用對稱式加密 (symmetric encryption) 24 | (setq org-crypt-key nil) 25 | #+END_SRC 26 | 27 | For more info, please take a look at [[http://coldnew.github.io/blog/2013/07/13_5b094.html][使用 gnupg 加密你的 org-mode 文章]] 28 | 29 | * Test 30 | 31 | Use =M-x org-decrypt-entry= to decode the entry, password is =123= 32 | 33 | 34 | * I am secret :secret: 35 | -----BEGIN PGP MESSAGE----- 36 | Version: GnuPG v1.4.11 (GNU/Linux) 37 | 38 | jA0EAwMCXFR6uDuT1F9gySYIupvuOob8Gg6mmqaT/uTXmNYUrWhCz+qa08VopZqc 39 | ZZttTsMHzA== 40 | =l94n 41 | -----END PGP MESSAGE----- 42 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/labels.less: -------------------------------------------------------------------------------- 1 | // LABELS 2 | // ------ 3 | 4 | // Base 5 | .label { 6 | padding: 1px 4px 2px; 7 | font-size: @baseFontSize * .846; 8 | font-weight: bold; 9 | line-height: 13px; // ensure proper line-height if floated 10 | color: @white; 11 | vertical-align: middle; 12 | white-space: nowrap; 13 | text-shadow: 0 -1px 0 rgba(0,0,0,.25); 14 | background-color: @grayLight; 15 | .border-radius(3px); 16 | } 17 | 18 | // Hover state 19 | .label:hover { 20 | color: @white; 21 | text-decoration: none; 22 | } 23 | 24 | // Colors 25 | .label-important { background-color: @errorText; } 26 | .label-important:hover { background-color: darken(@errorText, 10%); } 27 | 28 | .label-warning { background-color: @orange; } 29 | .label-warning:hover { background-color: darken(@orange, 10%); } 30 | 31 | .label-success { background-color: @successText; } 32 | .label-success:hover { background-color: darken(@successText, 10%); } 33 | 34 | .label-info { background-color: @infoText; } 35 | .label-info:hover { background-color: darken(@infoText, 10%); } 36 | 37 | .label-inverse { background-color: @grayDark; } 38 | .label-inverse:hover { background-color: darken(@grayDark, 10%); } -------------------------------------------------------------------------------- /js/bootstrap/less/responsive.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Responsive v2.1.0 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | 11 | 12 | // Responsive.less 13 | // For phone and tablet devices 14 | // ------------------------------------------------------------- 15 | 16 | 17 | // REPEAT VARIABLES & MIXINS 18 | // ------------------------- 19 | // Required since we compile the responsive stuff separately 20 | 21 | @import "variables.less"; // Modify this for custom colors, font-sizes, etc 22 | @import "mixins.less"; 23 | 24 | 25 | // RESPONSIVE CLASSES 26 | // ------------------ 27 | 28 | @import "responsive-utilities.less"; 29 | 30 | 31 | // MEDIA QUERIES 32 | // ------------------ 33 | 34 | // Large desktops 35 | @import "responsive-1200px-min.less"; 36 | 37 | // Tablets to regular desktops 38 | @import "responsive-768px-979px.less"; 39 | 40 | // Phones to portrait tablets and narrow desktops 41 | @import "responsive-767px-max.less"; 42 | 43 | 44 | // RESPONSIVE NAVBAR 45 | // ------------------ 46 | 47 | // From 979px and below, show a button to toggle navbar contents 48 | @import "responsive-navbar.less"; 49 | -------------------------------------------------------------------------------- /js/bootstrap/less/tests/css-tests.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap CSS Tests 3 | */ 4 | 5 | 6 | /* Remove background image */ 7 | body { 8 | background-image: none; 9 | } 10 | 11 | /* Space out subhead */ 12 | .subhead { 13 | margin-bottom: 36px; 14 | } 15 | /*h4 { 16 | margin-bottom: 5px; 17 | } 18 | */ 19 | 20 | .type-test { 21 | margin-bottom: 20px; 22 | padding: 0 20px 20px; 23 | background: url(../../docs/assets/img/grid-baseline-20px.png); 24 | } 25 | .type-test h1, 26 | .type-test h2, 27 | .type-test h3, 28 | .type-test h4, 29 | .type-test h5, 30 | .type-test h6 { 31 | background-color: rgba(255,0,0,.2); 32 | } 33 | 34 | 35 | /* colgroup tests */ 36 | .col1 { 37 | background-color: rgba(255,0,0,.1); 38 | } 39 | .col2 { 40 | background-color: rgba(0,255,0,.1); 41 | } 42 | .col3 { 43 | background-color: rgba(0,0,255,.1); 44 | } 45 | 46 | 47 | /* Fluid row inputs */ 48 | #rowInputs .row > [class*=span], 49 | #fluidRowInputs .row-fluid > [class*=span] { 50 | background-color: rgba(255,0,0,.1); 51 | } 52 | 53 | 54 | /* Fluid grid */ 55 | .fluid-grid { 56 | margin-bottom: 45px; 57 | } 58 | .fluid-grid .row { 59 | height: 40px; 60 | padding-top: 10px; 61 | margin-top: 10px; 62 | color: #ddd; 63 | text-align: center; 64 | } 65 | .fluid-grid .span1 { 66 | background-color: #999; 67 | } 68 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/responsive.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Responsive v2.1.0 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | 11 | 12 | // Responsive.less 13 | // For phone and tablet devices 14 | // ------------------------------------------------------------- 15 | 16 | 17 | // REPEAT VARIABLES & MIXINS 18 | // ------------------------- 19 | // Required since we compile the responsive stuff separately 20 | 21 | @import "variables.less"; // Modify this for custom colors, font-sizes, etc 22 | @import "mixins.less"; 23 | 24 | 25 | // RESPONSIVE CLASSES 26 | // ------------------ 27 | 28 | @import "responsive-utilities.less"; 29 | 30 | 31 | // MEDIA QUERIES 32 | // ------------------ 33 | 34 | // Large desktops 35 | @import "responsive-1200px-min.less"; 36 | 37 | // Tablets to regular desktops 38 | @import "responsive-768px-979px.less"; 39 | 40 | // Phones to portrait tablets and narrow desktops 41 | @import "responsive-767px-max.less"; 42 | 43 | 44 | // RESPONSIVE NAVBAR 45 | // ------------------ 46 | 47 | // From 979px and below, show a button to toggle navbar contents 48 | @import "responsive-navbar.less"; 49 | -------------------------------------------------------------------------------- /js/prettify/lang-n.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:'(?:[^\n\r'\\]|\\.)*'|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,a,'"'],["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,a,"#"],["pln",/^\s+/,a," \r\n\t\xa0"]],[["str",/^@"(?:[^"]|"")*(?:"|$)/,a],["str",/^<#[^#>]*(?:#>|$)/,a],["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,a],["com",/^\/\/[^\n\r]*/,a],["com",/^\/\*[\S\s]*?(?:\*\/|$)/, 3 | a],["kwd",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\b/, 4 | a],["typ",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/,a],["lit",/^@[$_a-z][\w$@]*/i,a],["typ",/^@[A-Z]+[a-z][\w$@]*/,a],["pln",/^'?[$_a-z][\w$@]*/i,a],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,a,"0123456789"],["pun",/^.[^\s\w"-$'./@`]*/,a]]),["n","nemerle"]); 5 | -------------------------------------------------------------------------------- /js/bootstrap/docs/build/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var hogan = require('hogan.js') 3 | , fs = require('fs') 4 | , prod = process.argv[2] == 'production' 5 | , title = 'Twitter Bootstrap' 6 | 7 | var layout, pages 8 | 9 | // compile layout template 10 | layout = fs.readFileSync(__dirname + '/../templates/layout.mustache', 'utf-8') 11 | layout = hogan.compile(layout, { sectionTags: [{o:'_i', c:'i'}] }) 12 | 13 | // retrieve pages 14 | pages = fs.readdirSync(__dirname + '/../templates/pages') 15 | 16 | // iterate over pages 17 | pages.forEach(function (name) { 18 | 19 | if (!name.match(/\.mustache$/)) return 20 | 21 | var page = fs.readFileSync(__dirname + '/../templates/pages/' + name, 'utf-8') 22 | , context = {} 23 | 24 | context[name.replace(/\.mustache$/, '')] = 'active' 25 | context._i = true 26 | context.production = prod 27 | context.title = name 28 | .replace(/\.mustache/, '') 29 | .replace(/\-.*/, '') 30 | .replace(/(.)/, function ($1) { return $1.toUpperCase() }) 31 | 32 | if (context.title == 'Index') { 33 | context.title = title 34 | } else { 35 | context.title += ' · ' + title 36 | } 37 | 38 | page = hogan.compile(page, { sectionTags: [{o:'_i', c:'i'}] }) 39 | page = layout.render(context, { 40 | body: page 41 | }) 42 | 43 | fs.writeFileSync(__dirname + '/../' + name.replace(/mustache$/, 'html'), page, 'utf-8') 44 | }) -------------------------------------------------------------------------------- /js/bootstrap/less/responsive-utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Hide from screenreaders and browsers 7 | // Credit: HTML5 Boilerplate 8 | .hidden { 9 | display: none; 10 | visibility: hidden; 11 | } 12 | 13 | // Visibility utilities 14 | 15 | // For desktops 16 | .visible-phone { display: none !important; } 17 | .visible-tablet { display: none !important; } 18 | .hidden-phone { } 19 | .hidden-tablet { } 20 | .hidden-desktop { display: none !important; } 21 | .visible-desktop { display: inherit !important; } 22 | 23 | // Tablets & small desktops only 24 | @media (min-width: 768px) and (max-width: 979px) { 25 | // Hide everything else 26 | .hidden-desktop { display: inherit !important; } 27 | .visible-desktop { display: none !important ; } 28 | // Show 29 | .visible-tablet { display: inherit !important; } 30 | // Hide 31 | .hidden-tablet { display: none !important; } 32 | } 33 | 34 | // Phones only 35 | @media (max-width: 767px) { 36 | // Hide everything else 37 | .hidden-desktop { display: inherit !important; } 38 | .visible-desktop { display: none !important; } 39 | // Show 40 | .visible-phone { display: inherit !important; } // Use inherit to restore previous behavior 41 | // Hide 42 | .hidden-phone { display: none !important; } 43 | } 44 | -------------------------------------------------------------------------------- /js/bootstrap/less/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files 7 | 8 | // Make wrapper ul behave like the grid 9 | .thumbnails { 10 | margin-left: -@gridGutterWidth; 11 | list-style: none; 12 | .clearfix(); 13 | } 14 | // Fluid rows have no left margin 15 | .row-fluid .thumbnails { 16 | margin-left: 0; 17 | } 18 | 19 | // Float li to make thumbnails appear in a row 20 | .thumbnails > li { 21 | float: left; // Explicity set the float since we don't require .span* classes 22 | margin-bottom: @baseLineHeight; 23 | margin-left: @gridGutterWidth; 24 | } 25 | 26 | // The actual thumbnail (can be `a` or `div`) 27 | .thumbnail { 28 | display: block; 29 | padding: 4px; 30 | line-height: @baseLineHeight; 31 | border: 1px solid #ddd; 32 | .border-radius(4px); 33 | .box-shadow(0 1px 3px rgba(0,0,0,.055)); 34 | .transition(all .2s ease-in-out); 35 | } 36 | // Add a hover state for linked versions only 37 | a.thumbnail:hover { 38 | border-color: @linkColor; 39 | .box-shadow(0 1px 4px rgba(0,105,214,.25)); 40 | } 41 | 42 | // Images and captions 43 | .thumbnail > img { 44 | display: block; 45 | max-width: 100%; 46 | margin-left: auto; 47 | margin-right: auto; 48 | } 49 | .thumbnail .caption { 50 | padding: 9px; 51 | color: @gray; 52 | } 53 | -------------------------------------------------------------------------------- /theme/css/io2013.css: -------------------------------------------------------------------------------- 1 | /* line 5, ../scss/io2013.scss */ 2 | * { 3 | line-height: 1.3; 4 | } 5 | 6 | /* line 9, ../scss/io2013.scss */ 7 | h2 { 8 | font-weight: bold; 9 | } 10 | 11 | /* line 12, ../scss/io2013.scss */ 12 | h2, h3 { 13 | color: #515151; 14 | } 15 | 16 | /* line 16, ../scss/io2013.scss */ 17 | q, blockquote { 18 | font-weight: bold; 19 | } 20 | 21 | /* line 20, ../scss/io2013.scss */ 22 | slides > slide { 23 | color: #515151; 24 | } 25 | /* line 24, ../scss/io2013.scss */ 26 | slides > slide.title-slide:after { 27 | content: ''; 28 | background: url(../../images/io2013/google-io-lockup-1.png) no-repeat 100% 50%; 29 | -webkit-background-size: contain; 30 | -moz-background-size: contain; 31 | -o-background-size: contain; 32 | background-size: contain; 33 | position: absolute; 34 | bottom: 80px; 35 | right: 40px; 36 | width: 100%; 37 | height: 90px; 38 | } 39 | /* line 36, ../scss/io2013.scss */ 40 | slides > slide.title-slide hgroup h1 { 41 | font-weight: bold; 42 | line-height: 1.1; 43 | } 44 | /* line 40, ../scss/io2013.scss */ 45 | slides > slide.title-slide hgroup h2, slides > slide.title-slide hgroup p { 46 | color: #515151; 47 | } 48 | /* line 43, ../scss/io2013.scss */ 49 | slides > slide.title-slide hgroup h2 { 50 | margin-top: 0.25em; 51 | } 52 | /* line 46, ../scss/io2013.scss */ 53 | slides > slide.title-slide hgroup p { 54 | margin-top: 3em; 55 | } 56 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/responsive-utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Hide from screenreaders and browsers 7 | // Credit: HTML5 Boilerplate 8 | .hidden { 9 | display: none; 10 | visibility: hidden; 11 | } 12 | 13 | // Visibility utilities 14 | 15 | // For desktops 16 | .visible-phone { display: none !important; } 17 | .visible-tablet { display: none !important; } 18 | .hidden-phone { } 19 | .hidden-tablet { } 20 | .hidden-desktop { display: none !important; } 21 | .visible-desktop { display: inherit !important; } 22 | 23 | // Tablets & small desktops only 24 | @media (min-width: 768px) and (max-width: 979px) { 25 | // Hide everything else 26 | .hidden-desktop { display: inherit !important; } 27 | .visible-desktop { display: none !important ; } 28 | // Show 29 | .visible-tablet { display: inherit !important; } 30 | // Hide 31 | .hidden-tablet { display: none !important; } 32 | } 33 | 34 | // Phones only 35 | @media (max-width: 767px) { 36 | // Hide everything else 37 | .hidden-desktop { display: inherit !important; } 38 | .visible-desktop { display: none !important; } 39 | // Show 40 | .visible-phone { display: inherit !important; } // Use inherit to restore previous behavior 41 | // Hide 42 | .hidden-phone { display: none !important; } 43 | } 44 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files 7 | 8 | // Make wrapper ul behave like the grid 9 | .thumbnails { 10 | margin-left: -@gridGutterWidth; 11 | list-style: none; 12 | .clearfix(); 13 | } 14 | // Fluid rows have no left margin 15 | .row-fluid .thumbnails { 16 | margin-left: 0; 17 | } 18 | 19 | // Float li to make thumbnails appear in a row 20 | .thumbnails > li { 21 | float: left; // Explicity set the float since we don't require .span* classes 22 | margin-bottom: @baseLineHeight; 23 | margin-left: @gridGutterWidth; 24 | } 25 | 26 | // The actual thumbnail (can be `a` or `div`) 27 | .thumbnail { 28 | display: block; 29 | padding: 4px; 30 | line-height: @baseLineHeight; 31 | border: 1px solid #ddd; 32 | .border-radius(4px); 33 | .box-shadow(0 1px 3px rgba(0,0,0,.055)); 34 | .transition(all .2s ease-in-out); 35 | } 36 | // Add a hover state for linked versions only 37 | a.thumbnail:hover { 38 | border-color: @linkColor; 39 | .box-shadow(0 1px 4px rgba(0,105,214,.25)); 40 | } 41 | 42 | // Images and captions 43 | .thumbnail > img { 44 | display: block; 45 | max-width: 100%; 46 | margin-left: auto; 47 | margin-right: auto; 48 | } 49 | .thumbnail .caption { 50 | padding: 9px; 51 | color: @gray; 52 | } 53 | -------------------------------------------------------------------------------- /js/bootstrap/less/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: 8px 35px 8px 14px; 11 | margin-bottom: @baseLineHeight; 12 | text-shadow: 0 1px 0 rgba(255,255,255,.5); 13 | background-color: @warningBackground; 14 | border: 1px solid @warningBorder; 15 | .border-radius(4px); 16 | color: @warningText; 17 | } 18 | .alert h4 { 19 | margin: 0; 20 | } 21 | 22 | // Adjust close link position 23 | .alert .close { 24 | position: relative; 25 | top: -2px; 26 | right: -21px; 27 | line-height: @baseLineHeight; 28 | } 29 | 30 | 31 | // Alternate styles 32 | // ------------------------- 33 | 34 | .alert-success { 35 | background-color: @successBackground; 36 | border-color: @successBorder; 37 | color: @successText; 38 | } 39 | .alert-danger, 40 | .alert-error { 41 | background-color: @errorBackground; 42 | border-color: @errorBorder; 43 | color: @errorText; 44 | } 45 | .alert-info { 46 | background-color: @infoBackground; 47 | border-color: @infoBorder; 48 | color: @infoText; 49 | } 50 | 51 | 52 | // Block alerts 53 | // ------------------------- 54 | 55 | .alert-block { 56 | padding-top: 14px; 57 | padding-bottom: 14px; 58 | } 59 | .alert-block > p, 60 | .alert-block > ul { 61 | margin-bottom: 0; 62 | } 63 | .alert-block p + p { 64 | margin-top: 5px; 65 | } 66 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: 8px 35px 8px 14px; 11 | margin-bottom: @baseLineHeight; 12 | text-shadow: 0 1px 0 rgba(255,255,255,.5); 13 | background-color: @warningBackground; 14 | border: 1px solid @warningBorder; 15 | .border-radius(4px); 16 | color: @warningText; 17 | } 18 | .alert h4 { 19 | margin: 0; 20 | } 21 | 22 | // Adjust close link position 23 | .alert .close { 24 | position: relative; 25 | top: -2px; 26 | right: -21px; 27 | line-height: @baseLineHeight; 28 | } 29 | 30 | 31 | // Alternate styles 32 | // ------------------------- 33 | 34 | .alert-success { 35 | background-color: @successBackground; 36 | border-color: @successBorder; 37 | color: @successText; 38 | } 39 | .alert-danger, 40 | .alert-error { 41 | background-color: @errorBackground; 42 | border-color: @errorBorder; 43 | color: @errorText; 44 | } 45 | .alert-info { 46 | background-color: @infoBackground; 47 | border-color: @infoBorder; 48 | color: @infoText; 49 | } 50 | 51 | 52 | // Block alerts 53 | // ------------------------- 54 | 55 | .alert-block { 56 | padding-top: 14px; 57 | padding-bottom: 14px; 58 | } 59 | .alert-block > p, 60 | .alert-block > ul { 61 | margin-bottom: 0; 62 | } 63 | .alert-block p + p { 64 | margin-top: 5px; 65 | } 66 | -------------------------------------------------------------------------------- /js/bootstrap/less/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and blocK) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | pre { 9 | padding: 0 3px 2px; 10 | #font > #family > .monospace; 11 | font-size: @baseFontSize - 2; 12 | color: @grayDark; 13 | .border-radius(3px); 14 | } 15 | 16 | // Inline code 17 | code { 18 | padding: 2px 4px; 19 | color: #d14; 20 | background-color: #f7f7f9; 21 | border: 1px solid #e1e1e8; 22 | } 23 | 24 | // Blocks of code 25 | pre { 26 | display: block; 27 | padding: (@baseLineHeight - 1) / 2; 28 | margin: 0 0 @baseLineHeight / 2; 29 | font-size: @baseFontSize - 1; // 14px to 13px 30 | line-height: @baseLineHeight; 31 | word-break: break-all; 32 | word-wrap: break-word; 33 | white-space: pre; 34 | white-space: pre-wrap; 35 | background-color: #f5f5f5; 36 | border: 1px solid #ccc; // fallback for IE7-8 37 | border: 1px solid rgba(0,0,0,.15); 38 | .border-radius(4px); 39 | 40 | // Make prettyprint styles more spaced out for readability 41 | &.prettyprint { 42 | margin-bottom: @baseLineHeight; 43 | } 44 | 45 | // Account for some code outputs that place code tags in pre tags 46 | code { 47 | padding: 0; 48 | color: inherit; 49 | background-color: transparent; 50 | border: 0; 51 | } 52 | } 53 | 54 | // Enable scrollable blocks of code 55 | .pre-scrollable { 56 | max-height: 340px; 57 | overflow-y: scroll; 58 | } -------------------------------------------------------------------------------- /js/order.js: -------------------------------------------------------------------------------- 1 | /* 2 | RequireJS order 1.0.5 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. 3 | Available via the MIT or new BSD license. 4 | see: http://github.com/jrburke/requirejs for details 5 | */ 6 | (function(){function k(a){var b=a.currentTarget||a.srcElement,c;if(a.type==="load"||l.test(b.readyState)){a=b.getAttribute("data-requiremodule");j[a]=!0;for(a=0;c=g[a];a++)if(j[c.name])c.req([c.name],c.onLoad);else break;a>0&&g.splice(0,a);setTimeout(function(){b.parentNode.removeChild(b)},15)}}function m(a){var b,c;a.setAttribute("data-orderloaded","loaded");for(a=0;c=h[a];a++)if((b=i[c])&&b.getAttribute("data-orderloaded")==="loaded")delete i[c],require.addScriptToDom(b);else break;a>0&&h.splice(0, 7 | a)}var f=typeof document!=="undefined"&&typeof window!=="undefined"&&document.createElement("script"),n=f&&(f.async||window.opera&&Object.prototype.toString.call(window.opera)==="[object Opera]"||"MozAppearance"in document.documentElement.style),o=f&&f.readyState==="uninitialized",l=/^(complete|loaded)$/,g=[],j={},i={},h=[],f=null;define({version:"1.0.5",load:function(a,b,c,e){var d;b.nameToUrl?(d=b.nameToUrl(a,null),require.s.skipAsync[d]=!0,n||e.isBuild?b([a],c):o?(e=require.s.contexts._,!e.urlFetched[d]&& 8 | !e.loaded[a]&&(e.urlFetched[d]=!0,require.resourcesReady(!1),e.scriptCount+=1,d=require.attach(d,e,a,null,null,m),i[a]=d,h.push(a)),b([a],c)):b.specified(a)?b([a],c):(g.push({name:a,req:b,onLoad:c}),require.attach(d,null,a,k,"script/cache"))):b([a],c)}})})(); 9 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and blocK) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | pre { 9 | padding: 0 3px 2px; 10 | #font > #family > .monospace; 11 | font-size: @baseFontSize - 2; 12 | color: @grayDark; 13 | .border-radius(3px); 14 | } 15 | 16 | // Inline code 17 | code { 18 | padding: 2px 4px; 19 | color: #d14; 20 | background-color: #f7f7f9; 21 | border: 1px solid #e1e1e8; 22 | } 23 | 24 | // Blocks of code 25 | pre { 26 | display: block; 27 | padding: (@baseLineHeight - 1) / 2; 28 | margin: 0 0 @baseLineHeight / 2; 29 | font-size: @baseFontSize - 1; // 14px to 13px 30 | line-height: @baseLineHeight; 31 | word-break: break-all; 32 | word-wrap: break-word; 33 | white-space: pre; 34 | white-space: pre-wrap; 35 | background-color: #f5f5f5; 36 | border: 1px solid #ccc; // fallback for IE7-8 37 | border: 1px solid rgba(0,0,0,.15); 38 | .border-radius(4px); 39 | 40 | // Make prettyprint styles more spaced out for readability 41 | &.prettyprint { 42 | margin-bottom: @baseLineHeight; 43 | } 44 | 45 | // Account for some code outputs that place code tags in pre tags 46 | code { 47 | padding: 0; 48 | color: inherit; 49 | background-color: transparent; 50 | border: 0; 51 | } 52 | } 53 | 54 | // Enable scrollable blocks of code 55 | .pre-scrollable { 56 | max-height: 340px; 57 | overflow-y: scroll; 58 | } -------------------------------------------------------------------------------- /js/prettify/lang-clj.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 Google Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | var a=null; 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^[([{]+/,a,"([{"],["clo",/^[)\]}]+/,a,")]}"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/,a], 18 | ["typ",/^:[\dA-Za-z-]+/]]),["clj"]); 19 | -------------------------------------------------------------------------------- /js/bootstrap/less/pagination.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pagination (multiple pages) 3 | // -------------------------------------------------- 4 | 5 | 6 | .pagination { 7 | height: @baseLineHeight * 2; 8 | margin: @baseLineHeight 0; 9 | } 10 | .pagination ul { 11 | display: inline-block; 12 | .ie7-inline-block(); 13 | margin-left: 0; 14 | margin-bottom: 0; 15 | .border-radius(3px); 16 | .box-shadow(0 1px 2px rgba(0,0,0,.05)); 17 | } 18 | .pagination li { 19 | display: inline; 20 | } 21 | .pagination a, 22 | .pagination span { 23 | float: left; 24 | padding: 0 14px; 25 | line-height: (@baseLineHeight * 2) - 2; 26 | text-decoration: none; 27 | background-color: @paginationBackground; 28 | border: 1px solid @paginationBorder; 29 | border-left-width: 0; 30 | } 31 | .pagination a:hover, 32 | .pagination .active a, 33 | .pagination .active span { 34 | background-color: #f5f5f5; 35 | } 36 | .pagination .active a, 37 | .pagination .active span { 38 | color: @grayLight; 39 | cursor: default; 40 | } 41 | .pagination .disabled span, 42 | .pagination .disabled a, 43 | .pagination .disabled a:hover { 44 | color: @grayLight; 45 | background-color: transparent; 46 | cursor: default; 47 | } 48 | .pagination li:first-child a, 49 | .pagination li:first-child span { 50 | border-left-width: 1px; 51 | .border-radius(3px 0 0 3px); 52 | } 53 | .pagination li:last-child a, 54 | .pagination li:last-child span { 55 | .border-radius(0 3px 3px 0); 56 | } 57 | 58 | // Centered 59 | .pagination-centered { 60 | text-align: center; 61 | } 62 | .pagination-right { 63 | text-align: right; 64 | } 65 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/pagination.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pagination (multiple pages) 3 | // -------------------------------------------------- 4 | 5 | 6 | .pagination { 7 | height: @baseLineHeight * 2; 8 | margin: @baseLineHeight 0; 9 | } 10 | .pagination ul { 11 | display: inline-block; 12 | .ie7-inline-block(); 13 | margin-left: 0; 14 | margin-bottom: 0; 15 | .border-radius(3px); 16 | .box-shadow(0 1px 2px rgba(0,0,0,.05)); 17 | } 18 | .pagination li { 19 | display: inline; 20 | } 21 | .pagination a, 22 | .pagination span { 23 | float: left; 24 | padding: 0 14px; 25 | line-height: (@baseLineHeight * 2) - 2; 26 | text-decoration: none; 27 | background-color: @paginationBackground; 28 | border: 1px solid @paginationBorder; 29 | border-left-width: 0; 30 | } 31 | .pagination a:hover, 32 | .pagination .active a, 33 | .pagination .active span { 34 | background-color: #f5f5f5; 35 | } 36 | .pagination .active a, 37 | .pagination .active span { 38 | color: @grayLight; 39 | cursor: default; 40 | } 41 | .pagination .disabled span, 42 | .pagination .disabled a, 43 | .pagination .disabled a:hover { 44 | color: @grayLight; 45 | background-color: transparent; 46 | cursor: default; 47 | } 48 | .pagination li:first-child a, 49 | .pagination li:first-child span { 50 | border-left-width: 1px; 51 | .border-radius(3px 0 0 3px); 52 | } 53 | .pagination li:last-child a, 54 | .pagination li:last-child span { 55 | .border-radius(0 3px 3px 0); 56 | } 57 | 58 | // Centered 59 | .pagination-centered { 60 | text-align: center; 61 | } 62 | .pagination-right { 63 | text-align: right; 64 | } 65 | -------------------------------------------------------------------------------- /js/bootstrap/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v2.1.0 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | 11 | // CSS Reset 12 | @import "reset.less"; 13 | 14 | // Core variables and mixins 15 | @import "variables.less"; // Modify this for custom colors, font-sizes, etc 16 | @import "mixins.less"; 17 | 18 | // Grid system and page structure 19 | @import "scaffolding.less"; 20 | @import "grid.less"; 21 | @import "layouts.less"; 22 | 23 | // Base CSS 24 | @import "type.less"; 25 | @import "code.less"; 26 | @import "forms.less"; 27 | @import "tables.less"; 28 | 29 | // Components: common 30 | @import "sprites.less"; 31 | @import "dropdowns.less"; 32 | @import "wells.less"; 33 | @import "component-animations.less"; 34 | @import "close.less"; 35 | 36 | // Components: Buttons & Alerts 37 | @import "buttons.less"; 38 | @import "button-groups.less"; 39 | @import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less 40 | 41 | // Components: Nav 42 | @import "navs.less"; 43 | @import "navbar.less"; 44 | @import "breadcrumbs.less"; 45 | @import "pagination.less"; 46 | @import "pager.less"; 47 | 48 | // Components: Popovers 49 | @import "modals.less"; 50 | @import "tooltip.less"; 51 | @import "popovers.less"; 52 | 53 | // Components: Misc 54 | @import "thumbnails.less"; 55 | @import "labels-badges.less"; 56 | @import "progress-bars.less"; 57 | @import "accordion.less"; 58 | @import "carousel.less"; 59 | @import "hero-unit.less"; 60 | 61 | // Utility classes 62 | @import "utilities.less"; // Has to be last to override when necessary 63 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v2.1.0 3 | * 4 | * Copyright 2012 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | 11 | // CSS Reset 12 | @import "reset.less"; 13 | 14 | // Core variables and mixins 15 | @import "variables.less"; // Modify this for custom colors, font-sizes, etc 16 | @import "mixins.less"; 17 | 18 | // Grid system and page structure 19 | @import "scaffolding.less"; 20 | @import "grid.less"; 21 | @import "layouts.less"; 22 | 23 | // Base CSS 24 | @import "type.less"; 25 | @import "code.less"; 26 | @import "forms.less"; 27 | @import "tables.less"; 28 | 29 | // Components: common 30 | @import "../../Font-Awesome/less/font-awesome.less"; 31 | @import "dropdowns.less"; 32 | @import "wells.less"; 33 | @import "component-animations.less"; 34 | @import "close.less"; 35 | 36 | // Components: Buttons & Alerts 37 | @import "buttons.less"; 38 | @import "button-groups.less"; 39 | @import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less 40 | 41 | // Components: Nav 42 | @import "navs.less"; 43 | @import "navbar.less"; 44 | @import "breadcrumbs.less"; 45 | @import "pagination.less"; 46 | @import "pager.less"; 47 | 48 | // Components: Popovers 49 | @import "modals.less"; 50 | @import "tooltip.less"; 51 | @import "popovers.less"; 52 | 53 | // Components: Misc 54 | @import "thumbnails.less"; 55 | @import "labels-badges.less"; 56 | @import "progress-bars.less"; 57 | @import "accordion.less"; 58 | @import "carousel.less"; 59 | @import "hero-unit.less"; 60 | 61 | // Utility classes 62 | @import "utilities.less"; // Has to be last to override when necessary 63 | -------------------------------------------------------------------------------- /js/polyfills/classList.min.js: -------------------------------------------------------------------------------- 1 | /* @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | "use strict";if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(a){var f="classList",d="prototype",e=(a.HTMLElement||a.Element)[d],g=Object;strTrim=String[d].trim||function(){return this.replace(/^\s+|\s+$/g,"")},arrIndexOf=Array[d].indexOf||function(k){for(var j=0,h=this.length;j ul li ul').parent(); 10 | dropdown.parent().addClass("nav"); 11 | 12 | /* find sub menu items */ 13 | dropdown.addClass("dropdown"); 14 | 15 | /* and add dropdown features */ 16 | dropdown.find('> a').addClass('dropdown-toggle') 17 | .attr("data-toggle", "dropdown") 18 | .append(' '); 19 | 20 | dropdown.find('> ul').addClass("dropdown-menu"); 21 | 22 | /* Add divider class if menu item is empty */ 23 | dropdown.parent().find('.dropdown-menu li').each(function() { 24 | if ( $(this).text() == '\n') $(this).addClass('divider') 25 | }); 26 | 27 | /* Compute page min height */ 28 | $('div#page').css('min-height', $(window).innerHeight() - 29 | $('#footer').outerHeight() - 30 | $('div.navbar-fixed-top.navbar').outerHeight() - 31 | parseInt($('div#page').css('padding-top')) - 32 | parseInt($('div#page').css('padding-bottom'))); 33 | 34 | 35 | /* 36 | * Org exports html starting from h3. 37 | * This promotes all nodes 2 steps up. 38 | */ 39 | var article_content = $('#page.container div.article-content'); 40 | for (var i=1; i<=6; i++) { 41 | article_content.find('h'+(i+2)).each(function() { 42 | $(this).replaceWith($('').html($(this).html())); 43 | }); 44 | /* Do not forget outline classes */ 45 | article_content.find('.outline-' + (i+2)) 46 | .removeClass('outline-' + (i+2)) 47 | .addClass('outline-'+i); 48 | 49 | article_content.find('.outline-text-' + (i+2)) 50 | .removeClass('outline-text-' + (i+2)) 51 | .addClass('outline-text-'+i); 52 | 53 | } 54 | 55 | 56 | $("i").each(function() { 57 | if (/^icon-/.exec($(this).text())) { 58 | $(this).replaceWith(' '); 59 | } 60 | }); 61 | 62 | 63 | 64 | } 65 | ) 66 | -------------------------------------------------------------------------------- /js/bootstrap/js/bootstrap-transition.js: -------------------------------------------------------------------------------- 1 | /* =================================================== 2 | * bootstrap-transition.js v2.1.0 3 | * http://twitter.github.com/bootstrap/javascript.html#transitions 4 | * =================================================== 5 | * Copyright 2012 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ========================================================== */ 19 | 20 | 21 | !function ($) { 22 | 23 | $(function () { 24 | 25 | "use strict"; // jshint ;_; 26 | 27 | 28 | /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) 29 | * ======================================================= */ 30 | 31 | $.support.transition = (function () { 32 | 33 | var transitionEnd = (function () { 34 | 35 | var el = document.createElement('bootstrap') 36 | , transEndEventNames = { 37 | 'WebkitTransition' : 'webkitTransitionEnd' 38 | , 'MozTransition' : 'transitionend' 39 | , 'OTransition' : 'oTransitionEnd otransitionend' 40 | , 'transition' : 'transitionend' 41 | } 42 | , name 43 | 44 | for (name in transEndEventNames){ 45 | if (el.style[name] !== undefined) { 46 | return transEndEventNames[name] 47 | } 48 | } 49 | 50 | }()) 51 | 52 | return transitionEnd && { 53 | end: transitionEnd 54 | } 55 | 56 | })() 57 | 58 | }) 59 | 60 | }(window.jQuery); -------------------------------------------------------------------------------- /js/bootstrap/docs/assets/js/bootstrap-transition.js: -------------------------------------------------------------------------------- 1 | /* =================================================== 2 | * bootstrap-transition.js v2.1.0 3 | * http://twitter.github.com/bootstrap/javascript.html#transitions 4 | * =================================================== 5 | * Copyright 2012 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ========================================================== */ 19 | 20 | 21 | !function ($) { 22 | 23 | $(function () { 24 | 25 | "use strict"; // jshint ;_; 26 | 27 | 28 | /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) 29 | * ======================================================= */ 30 | 31 | $.support.transition = (function () { 32 | 33 | var transitionEnd = (function () { 34 | 35 | var el = document.createElement('bootstrap') 36 | , transEndEventNames = { 37 | 'WebkitTransition' : 'webkitTransitionEnd' 38 | , 'MozTransition' : 'transitionend' 39 | , 'OTransition' : 'oTransitionEnd otransitionend' 40 | , 'transition' : 'transitionend' 41 | } 42 | , name 43 | 44 | for (name in transEndEventNames){ 45 | if (el.style[name] !== undefined) { 46 | return transEndEventNames[name] 47 | } 48 | } 49 | 50 | }()) 51 | 52 | return transitionEnd && { 53 | end: transitionEnd 54 | } 55 | 56 | })() 57 | 58 | }) 59 | 60 | }(window.jQuery); -------------------------------------------------------------------------------- /examples/html/style/bootstrap/js/bootstrap-transition.js: -------------------------------------------------------------------------------- 1 | /* =================================================== 2 | * bootstrap-transition.js v2.1.0 3 | * http://twitter.github.com/bootstrap/javascript.html#transitions 4 | * =================================================== 5 | * Copyright 2012 Twitter, Inc. 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ========================================================== */ 19 | 20 | 21 | !function ($) { 22 | 23 | $(function () { 24 | 25 | "use strict"; // jshint ;_; 26 | 27 | 28 | /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) 29 | * ======================================================= */ 30 | 31 | $.support.transition = (function () { 32 | 33 | var transitionEnd = (function () { 34 | 35 | var el = document.createElement('bootstrap') 36 | , transEndEventNames = { 37 | 'WebkitTransition' : 'webkitTransitionEnd' 38 | , 'MozTransition' : 'transitionend' 39 | , 'OTransition' : 'oTransitionEnd otransitionend' 40 | , 'transition' : 'transitionend' 41 | } 42 | , name 43 | 44 | for (name in transEndEventNames){ 45 | if (el.style[name] !== undefined) { 46 | return transEndEventNames[name] 47 | } 48 | } 49 | 50 | }()) 51 | 52 | return transitionEnd && { 53 | end: transitionEnd 54 | } 55 | 56 | })() 57 | 58 | }) 59 | 60 | }(window.jQuery); -------------------------------------------------------------------------------- /js/bootstrap/less/labels-badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels and badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .label, 8 | .badge { 9 | font-size: @baseFontSize * .846; 10 | font-weight: bold; 11 | line-height: 14px; // ensure proper line-height if floated 12 | color: @white; 13 | vertical-align: baseline; 14 | white-space: nowrap; 15 | text-shadow: 0 -1px 0 rgba(0,0,0,.25); 16 | background-color: @grayLight; 17 | } 18 | // Set unique padding and border-radii 19 | .label { 20 | padding: 1px 4px 2px; 21 | .border-radius(3px); 22 | } 23 | .badge { 24 | padding: 1px 9px 2px; 25 | .border-radius(9px); 26 | } 27 | 28 | // Hover state, but only for links 29 | a { 30 | &.label:hover, 31 | &.badge:hover { 32 | color: @white; 33 | text-decoration: none; 34 | cursor: pointer; 35 | } 36 | } 37 | 38 | // Colors 39 | // Only give background-color difference to links (and to simplify, we don't qualifty with `a` but [href] attribute) 40 | .label, 41 | .badge { 42 | // Important (red) 43 | &-important { background-color: @errorText; } 44 | &-important[href] { background-color: darken(@errorText, 10%); } 45 | // Warnings (orange) 46 | &-warning { background-color: @orange; } 47 | &-warning[href] { background-color: darken(@orange, 10%); } 48 | // Success (green) 49 | &-success { background-color: @successText; } 50 | &-success[href] { background-color: darken(@successText, 10%); } 51 | // Info (turquoise) 52 | &-info { background-color: @infoText; } 53 | &-info[href] { background-color: darken(@infoText, 10%); } 54 | // Inverse (black) 55 | &-inverse { background-color: @grayDark; } 56 | &-inverse[href] { background-color: darken(@grayDark, 10%); } 57 | } 58 | 59 | // Quick fix for labels/badges in buttons 60 | .btn { 61 | .label, 62 | .badge { 63 | position: relative; 64 | top: -1px; 65 | } 66 | } 67 | .btn-mini { 68 | .label, 69 | .badge { 70 | top: 0; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /examples/html/style/bootstrap/less/labels-badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels and badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .label, 8 | .badge { 9 | font-size: @baseFontSize * .846; 10 | font-weight: bold; 11 | line-height: 14px; // ensure proper line-height if floated 12 | color: @white; 13 | vertical-align: baseline; 14 | white-space: nowrap; 15 | text-shadow: 0 -1px 0 rgba(0,0,0,.25); 16 | background-color: @grayLight; 17 | } 18 | // Set unique padding and border-radii 19 | .label { 20 | padding: 1px 4px 2px; 21 | .border-radius(3px); 22 | } 23 | .badge { 24 | padding: 1px 9px 2px; 25 | .border-radius(9px); 26 | } 27 | 28 | // Hover state, but only for links 29 | a { 30 | &.label:hover, 31 | &.badge:hover { 32 | color: @white; 33 | text-decoration: none; 34 | cursor: pointer; 35 | } 36 | } 37 | 38 | // Colors 39 | // Only give background-color difference to links (and to simplify, we don't qualifty with `a` but [href] attribute) 40 | .label, 41 | .badge { 42 | // Important (red) 43 | &-important { background-color: @errorText; } 44 | &-important[href] { background-color: darken(@errorText, 10%); } 45 | // Warnings (orange) 46 | &-warning { background-color: @orange; } 47 | &-warning[href] { background-color: darken(@orange, 10%); } 48 | // Success (green) 49 | &-success { background-color: @successText; } 50 | &-success[href] { background-color: darken(@successText, 10%); } 51 | // Info (turquoise) 52 | &-info { background-color: @infoText; } 53 | &-info[href] { background-color: darken(@infoText, 10%); } 54 | // Inverse (black) 55 | &-inverse { background-color: @grayDark; } 56 | &-inverse[href] { background-color: darken(@grayDark, 10%); } 57 | } 58 | 59 | // Quick fix for labels/badges in buttons 60 | .btn { 61 | .label, 62 | .badge { 63 | position: relative; 64 | top: -1px; 65 | } 66 | } 67 | .btn-mini { 68 | .label, 69 | .badge { 70 | top: 0; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /examples/html/style/less/o-blog-default.less: -------------------------------------------------------------------------------- 1 | /* 2 | * Define you own style here (overrides bootstrap's variables.less) 3 | */ 4 | 5 | 6 | @linkColor: #933; 7 | 8 | /* @media (min-width: 768px) { */ 9 | 10 | 11 | @baseFontSize: 18px; 12 | @baseLineHeight: @baseFontSize * (18/13); 13 | 14 | 15 | @gridColumns: 12; 16 | @gridColumnWidth: 70px; 17 | @gridGutterWidth: 20px; 18 | 19 | 20 | 21 | @import "font-Yanone-Kaffeesatz.less"; 22 | @import "font-Ubuntu-Mono.less"; 23 | @import "font-Andika.less"; 24 | 25 | 26 | h1, h2, h3, h4, h5, h6 { 27 | font-family: "Yanone Kaffeesatz", "Helvetica Neue", Helvetica, Arial, sans-serif; 28 | } 29 | 30 | 31 | @monoFontFamily: "Ubuntu Mono", Menlo, Monaco, Consolas, "Courier New"; 32 | @sansFontFamily: "Andika", "Helvetica Neue", Helvetica, Arial, sans-serif; 33 | 34 | .navbar-fixed-top { 35 | li { 36 | line-height: @baseLineHeight; 37 | } 38 | } 39 | 40 | nav a:hover { 41 | zoom: 1.1; 42 | } 43 | 44 | .navbar, .breadcrumb { 45 | font-size: @baseFontSize / (18/13); 46 | line-height: 0.76 * @baseLineHeight / (18/13); 47 | } 48 | 49 | .breadcrumb { 50 | padding: 3px 14px; 51 | li { 52 | line-height: @baseLineHeight; 53 | } 54 | } 55 | 56 | .modal { 57 | left: 15%; 58 | width: 70% /*@gridRowWidth*/; 59 | margin-left: auto; 60 | margin-right: auto; 61 | li { 62 | line-height: @baseLineHeight; 63 | } 64 | } 65 | 66 | li { 67 | line-height: 1.5 * @baseLineHeight; 68 | } 69 | 70 | #disqus_thread { 71 | 72 | font-size: @baseFontSize * (13/18); 73 | line-height: @baseLineHeight * (13/18); 74 | 75 | input, 76 | textarea, 77 | .uneditable-input { 78 | font-size: @baseFontSize * (13/18); 79 | line-height: @baseLineHeight * (13/18); 80 | height: @baseLineHeight * (13/18); 81 | } 82 | 83 | select { 84 | font-size: @baseFontSize * (13/18); 85 | line-height: @baseLineHeight * (13/18); 86 | height: 2 * @baseLineHeight * (13/18); 87 | 88 | } 89 | } 90 | /* } */ 91 | -------------------------------------------------------------------------------- /examples/latex/beamer.tex: -------------------------------------------------------------------------------- 1 | % Created 2013-08-03 Sat 06:30 2 | \documentclass[presentation]{beamer} 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[T1]{fontenc} 5 | \usepackage{xeCJK} 6 | \setCJKmainfont{Hiragino Sans GB W3} 7 | \XeTeXlinebreaklocale "zh" 8 | \XeTeXlinebreakskip = 0pt plus 1pt 9 | \usepackage{minted} 10 | \usemintedstyle{emacs} 11 | \setmainfont{Monaco} 12 | \usepackage{hyperref} 13 | \usepackage{color} 14 | \usepackage{verbatim} 15 | \usepackage{upquote} 16 | \usepackage[utf8]{inputenc} 17 | \usepackage[T1]{fontenc} 18 | \usepackage{fixltx2e} 19 | \usepackage{graphicx} 20 | \usepackage{longtable} 21 | \usepackage{float} 22 | \usepackage{wrapfig} 23 | \usepackage[normalem]{ulem} 24 | \usepackage{textcomp} 25 | \usepackage{marvosym} 26 | \usepackage{wasysym} 27 | \usepackage{latexsym} 28 | \usepackage{amssymb} 29 | \usepackage{amstext} 30 | \usepackage{hyperref} 31 | \tolerance=1000 32 | \date{\today} 33 | \title{Beamer} 34 | \hypersetup{ 35 | pdfkeywords={}, 36 | pdfsubject={}, 37 | pdfcreator={Emacs 24.3.1 (Org mode 8.0.6)}} 38 | \begin{document} 39 | 40 | \maketitle 41 | 42 | \section{Beamer slide example} 43 | \label{sec-1} 44 | 45 | \begin{frame}[fragile]\frametitle{A simple slide} 46 | \label{sec-1-1} 47 | 48 | This slide consists of some text with a number of bullet points: 49 | \begin{itemize} 50 | \item the first, very \textbf{important}, point! 51 | \end{itemize} 52 | \end{frame} 53 | \begin{frame}[fragile]\frametitle{A theorem block} 54 | \label{sec-1-2} 55 | 56 | The \texttt{BEAMER\_act} property says to overlay this environment from the 57 | second frame onwards. 58 | \end{frame} 59 | \begin{frame}[fragile]\frametitle{A block in a column} 60 | \label{sec-1-3} 61 | 62 | \end{frame} 63 | \begin{frame}[fragile]\frametitle{Just a column with contents} 64 | \label{sec-1-4} 65 | Some text, the headline above is ignored 66 | \end{frame} 67 | % Emacs 24.3.1 (Org mode 8.0.6) 68 | \end{document} 69 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-alert.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-alerts") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).alert, 'alert method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).alert()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should fade element out on clicking .close", function () { 14 | var alertHTML = '
' 15 | + '×' 16 | + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' 17 | + '
' 18 | , alert = $(alertHTML).alert() 19 | 20 | alert.find('.close').click() 21 | 22 | ok(!alert.hasClass('in'), 'remove .in class on .close click') 23 | }) 24 | 25 | test("should remove element when clicking .close", function () { 26 | $.support.transition = false 27 | 28 | var alertHTML = '
' 29 | + '×' 30 | + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' 31 | + '
' 32 | , alert = $(alertHTML).appendTo('#qunit-fixture').alert() 33 | 34 | ok($('#qunit-fixture').find('.alert-message').length, 'element added to dom') 35 | 36 | alert.find('.close').click() 37 | 38 | ok(!$('#qunit-fixture').find('.alert-message').length, 'element removed from dom') 39 | }) 40 | 41 | test("should not fire closed when close is prevented", function () { 42 | $.support.transition = false 43 | stop(); 44 | $('
') 45 | .bind('close', function (e) { 46 | e.preventDefault(); 47 | ok(true); 48 | start(); 49 | }) 50 | .bind('closed', function () { 51 | ok(false); 52 | }) 53 | .alert('close') 54 | }) 55 | 56 | }) -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-tab.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-tabs") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).tab, 'tabs method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).tab()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should activate element by tab id", function () { 14 | var tabsHTML = 15 | '' 19 | 20 | $('
').appendTo("#qunit-fixture") 21 | 22 | $(tabsHTML).find('li:last a').tab('show') 23 | equals($("#qunit-fixture").find('.active').attr('id'), "profile") 24 | 25 | $(tabsHTML).find('li:first a').tab('show') 26 | equals($("#qunit-fixture").find('.active').attr('id'), "home") 27 | }) 28 | 29 | test("should activate element by tab id", function () { 30 | var pillsHTML = 31 | '' 35 | 36 | $('
').appendTo("#qunit-fixture") 37 | 38 | $(pillsHTML).find('li:last a').tab('show') 39 | equals($("#qunit-fixture").find('.active').attr('id'), "profile") 40 | 41 | $(pillsHTML).find('li:first a').tab('show') 42 | equals($("#qunit-fixture").find('.active').attr('id'), "home") 43 | }) 44 | 45 | 46 | test("should not fire closed when close is prevented", function () { 47 | $.support.transition = false 48 | stop(); 49 | $('
') 50 | .bind('show', function (e) { 51 | e.preventDefault(); 52 | ok(true); 53 | start(); 54 | }) 55 | .bind('shown', function () { 56 | ok(false); 57 | }) 58 | .tab('show') 59 | }) 60 | 61 | }) -------------------------------------------------------------------------------- /examples/latex/Readme.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Org-mode LaTex Export setup 2 | 3 | #+OPTIONS: ^:nil 4 | 5 | * How to export to PDF 6 | 7 | Use =M-x org-latex-export-to-pdf= to generate PDF file. 8 | 9 | (You will find the filename.latex at the same folder) 10 | 11 | This folder contains two file 12 | 13 | 1. beamer_guide.org - export to pdf document 14 | 2. beamer.org - export to beamer pdf 15 | 16 | * Beamer setup 17 | 18 | ** Simple setup 19 | 20 | #+BEGIN_SRC emacs-lisp 21 | (add-to-list 'org-latex-classes 22 | ;; beamer class, for presentations 23 | '("beamer" 24 | "\\documentclass\[presentation\]\{beamer\}" 25 | ("\\section{%s}" . "\\section*{%s}") 26 | ("\\begin{frame}[fragile]\\frametitle{%s}" 27 | "\\end{frame}" 28 | "\\begin{frame}[fragile]\\frametitle{%s}" 29 | "\\end{frame}"))) 30 | #+END_SRC 31 | 32 | ** Setup with minted 33 | 34 | *NOTE: You may need to modify latex packages to suit to your need* 35 | 36 | #+BEGIN_SRC emacs-lisp 37 | (add-to-list 'org-latex-classes 38 | ;; beamer class, for presentations 39 | '("beamer" 40 | "\\documentclass\[presentation\]\{beamer\} 41 | \\usepackage[utf8]{inputenc} 42 | \\usepackage[T1]{fontenc} 43 | \\usepackage{xeCJK} 44 | \\setCJKmainfont{Hiragino Sans GB W3} 45 | \\XeTeXlinebreaklocale \"zh\" 46 | \\XeTeXlinebreakskip = 0pt plus 1pt 47 | \\usepackage{minted} 48 | \\usemintedstyle{emacs} 49 | \\setmainfont{Monaco} 50 | \\usepackage{hyperref} 51 | \\usepackage{color} 52 | \\usepackage{verbatim} 53 | \\usepackage{upquote}" 54 | ("\\section{%s}" . "\\section*{%s}") 55 | ("\\begin{frame}[fragile]\\frametitle{%s}" 56 | "\\end{frame}" 57 | "\\begin{frame}[fragile]\\frametitle{%s}" 58 | "\\end{frame}"))) 59 | #+END_SRC 60 | 61 | ** More info 62 | 63 | For more info, please take a look at [[http://orgmode.org/worg/exporters/beamer/ox-beamer.html][Beamer presentations using the new export engine]] 64 | -------------------------------------------------------------------------------- /examples/html/style/less/readme.less: -------------------------------------------------------------------------------- 1 | @media (min-width: 768px) { 2 | @import "font-Yanone-Kaffeesatz.less"; 3 | @import "font-Ubuntu-Mono.less"; 4 | @import "font-Andika.less"; 5 | @monoFontFamily: "Ubuntu Mono", Menlo, Monaco, Consolas, "Courier New"; 6 | @sansFontFamily: "Andika", "Helvetica Neue", Helvetica, Arial, sans-serif; 7 | 8 | } 9 | @import "../bootstrap/less/bootstrap.less"; 10 | @import "../bootstrap/less/responsive.less"; 11 | 12 | @linkColor: #933; 13 | 14 | @baseFontSize: 18px; 15 | @baseLineHeight: @baseFontSize * (18/13); 16 | 17 | @gridColumns: 12; 18 | @gridColumnWidth: 70px; 19 | @gridGutterWidth: 20px; 20 | 21 | 22 | h1, h2, h3, h4, h5, h6 { 23 | font-family: "Yanone Kaffeesatz", "Helvetica Neue", Helvetica, Arial, sans-serif; 24 | } 25 | 26 | @monoFontFamily: "Ubuntu Mono", Menlo, Monaco, Consolas, "Courier New"; 27 | @sansFontFamily: "Andika", "Helvetica Neue", Helvetica, Arial, sans-serif; 28 | 29 | 30 | .text-left() {text-align: left;} 31 | .text-center() {text-align: center;} 32 | .text-right() {text-align: right;} 33 | 34 | 35 | .buffer() { 36 | .resizable(both); 37 | .box-shadow(0 3px 7px rgba(0,0,0,0.3)); 38 | border: 1px solid @grayLighter; 39 | .buffer-color(); 40 | } 41 | 42 | 43 | html { 44 | height: 100%; 45 | background: @white; 46 | margin-left: 10%; 47 | margin-right: 10%; 48 | } 49 | 50 | @ob-background: #2e3436; 51 | @ob-foreground: #eeeeec; 52 | 53 | pre.src, pre.example, .modal-body > pre { 54 | .resizable(both); 55 | .box-shadow(0 3px 7px rgba(0,0,0,0.3)); 56 | border: 1px solid @grayLighter; 57 | background: @ob-background; 58 | color: @ob-foreground; 59 | span { 60 | &.coderef-off { } 61 | &.linenr { 62 | font-style: italic; 63 | font-weight: bold; 64 | } 65 | &.code-highlighted {background: darkolivegreen;} 66 | 67 | } 68 | } 69 | 70 | .multicolumn(@cols, @gap) { 71 | -moz-column-count: @cols; 72 | -moz-column-gap: @gap; 73 | -webkit-column-count: @cols; 74 | -webkit-column-gap: @gap; 75 | column-count: @cols; 76 | column-gap: @gap; 77 | } 78 | 79 | .multicolumn3 { 80 | .multicolumn(3, 20px) 81 | } 82 | 83 | #toc { 84 | a { 85 | font-size: 75%; 86 | line-height: 15px; 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Bootstrap Plugin Test Suite 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 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 |

Bootstrap Plugin Test Suite

50 |

51 |

52 |
    53 |
    54 |
    55 | 56 | -------------------------------------------------------------------------------- /examples/todo/Readme.org: -------------------------------------------------------------------------------- 1 | #+TITLE: TODO example 2 | 3 | * About 4 | 5 | Example get from : [[http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html][How I use Emacs and Org-mode to implement GTD ]] 6 | 7 | 1. You must use =C-c [= to recode this file in agenda. 8 | 2. Use =M-x org-agenda= then select what you want to know. 9 | 3. You can use =C-c \= to search tag. 10 | 4. Use =C-c C-c= to disable highlight. 11 | 12 | * Borrowed 13 | #+CATEGORY: Borrowed 14 | ** Stanton Library 15 | *** TODO Watch Mikrokosmos :DVD: 16 | DEADLINE: <2013-08-03 Sat> 17 | *** TODO Read Parrots of Australia :READING: 18 | DEADLINE: <2013-08-03 Sat> 19 | *** TODO Watch The diaries of Vaslav Nijinsky :DVD: 20 | DEADLINE: <2013-08-04 Sun> 21 | 22 | * Projects 23 | #+CATEGORY: Projects 24 | ** Implement Brian Tracy Focal Point Program :PROJECT: 25 | *** Outcome 26 | DEADLINE: <2013-08-05 一> 27 | Make the Focal Point methodology an ingrained part of my being 28 | *** TODO Detailed study of Health and Fitness Chapter :READING: 29 | DEADLINE: <2014-01-19 Mon> 30 | *** Detailed study of Business and Career (Focal Point) :READING: 31 | *** Detailed study of Family & Personal life (Focal Point) :READING: 32 | *** Detailed study of Money and Investments (Focal Point) :READING: 33 | *** Detailed study of Personal Growth and Develop (Focal Poin :READING: 34 | *** Detailed study of Social and Community (Focal Point) :READING: 35 | *** Detailed study of Spiritual Dev & Inner Peace (Focal Point) :READING: 36 | 37 | *** TODO Register COSCUP 2014 38 | DEADLINE: <2014-05-19 Mon> 39 | 40 | * Priority :priority: 41 | ** TODO [#A] Join COSCUP 2013 42 | DEADLINE: <2013-08-03 六> 43 | 44 | ** TODO [#B] Write paper 45 | DEADLINE: <2013-08-05 一> 46 | 47 | ** TODO [#C] Write letter to Sam Fortune 48 | DEADLINE: <2013-08-08 四> 49 | 50 | * Daily Task 51 | 52 | ** DONE Join the COSCUP 2013 53 | CLOSED: [2013-08-03 六 14:03] SCHEDULED: <2013-08-03 六 09:00> 54 | ** My presentation to show =org-mode= 55 | SCHEDULED: <2013-08-03 六 15:50> 56 | 57 | * Timer test 58 | CLOCK: [2013-08-03 六 14:12]--[2013-08-03 六 14:14] => 0:02 59 | CLOCK: [2013-08-03 六 14:11]--[2013-08-03 六 14:12] => 0:01 60 | CLOCK: [2013-08-03 六 14:10]--[2013-08-03 六 14:11] => 0:01 61 | -------------------------------------------------------------------------------- /js/bootstrap/js/tests/phantom.js: -------------------------------------------------------------------------------- 1 | // Simple phantom.js integration script 2 | // Adapted from Modernizr 3 | 4 | function waitFor(testFx, onReady, timeOutMillis) { 5 | var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 5001 //< Default Max Timout is 5s 6 | , start = new Date().getTime() 7 | , condition = false 8 | , interval = setInterval(function () { 9 | if ((new Date().getTime() - start < maxtimeOutMillis) && !condition) { 10 | // If not time-out yet and condition not yet fulfilled 11 | condition = (typeof(testFx) === "string" ? eval(testFx) : testFx()) //< defensive code 12 | } else { 13 | if (!condition) { 14 | // If condition still not fulfilled (timeout but condition is 'false') 15 | console.log("'waitFor()' timeout") 16 | phantom.exit(1) 17 | } else { 18 | // Condition fulfilled (timeout and/or condition is 'true') 19 | typeof(onReady) === "string" ? eval(onReady) : onReady() //< Do what it's supposed to do once the condition is fulfilled 20 | clearInterval(interval) //< Stop this interval 21 | } 22 | } 23 | }, 100) //< repeat check every 100ms 24 | } 25 | 26 | 27 | if (phantom.args.length === 0 || phantom.args.length > 2) { 28 | console.log('Usage: phantom.js URL') 29 | phantom.exit() 30 | } 31 | 32 | var page = new WebPage() 33 | 34 | // Route "console.log()" calls from within the Page context to the main Phantom context (i.e. current "this") 35 | page.onConsoleMessage = function(msg) { 36 | console.log(msg) 37 | }; 38 | 39 | page.open(phantom.args[0], function(status){ 40 | if (status !== "success") { 41 | console.log("Unable to access network") 42 | phantom.exit() 43 | } else { 44 | waitFor(function(){ 45 | return page.evaluate(function(){ 46 | var el = document.getElementById('qunit-testresult') 47 | if (el && el.innerText.match('completed')) { 48 | return true 49 | } 50 | return false 51 | }) 52 | }, function(){ 53 | var failedNum = page.evaluate(function(){ 54 | var el = document.getElementById('qunit-testresult') 55 | try { 56 | return el.getElementsByClassName('failed')[0].innerHTML 57 | } catch (e) { } 58 | return 10000 59 | }); 60 | phantom.exit((parseInt(failedNum, 10) > 0) ? 1 : 0) 61 | }) 62 | } 63 | }) -------------------------------------------------------------------------------- /js/bootstrap/js/tests/unit/bootstrap-carousel.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-carousel") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).carousel, 'carousel method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).carousel()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should not fire sliden when slide is prevented", function () { 14 | $.support.transition = false 15 | stop() 16 | $('