This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in init.el | |
;;; smartparens stuff | |
(smartparens-global-mode t) | |
(require 'smartparens-config) | |
(load "init-smartparens") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Populate the graph with some random points | |
require 'tiny_tds' | |
require 'yaml' | |
config = YAML.load_file('lib/connection.yml') | |
client = TinyTds::Client.new(config["connection"]) | |
result = client.execute("USE " + config["database"]) | |
result.cancel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+BEGIN_SRC latex | |
\titleformat{\chapter} | |
#+END_SRC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Try pressing C-c C-e hH to export | |
gives error: | |
face-attribute: Invalid face: font-lock-warning | |
* test | |
#+BEGIN_SRC latex | |
\\ | |
#+END_SRC | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* test | |
#+BEGIN_SRC latex | |
\tabletail{ | |
\scriptsize{test\ldots} \\ | |
} | |
#+END_SRC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Hello World | |
#+ATTR_REVEAL: :frag roll-in | |
- use tpage to test your Templates | |
#+NAME: Example 01 | |
#+ATTR_REVEAL: :frag roll-in | |
#+BEGIN_SRC perl | |
[% str = 'Hello Tug2013' -%] | |
[% str %] | |
#+END_SRC | |
#+ATTR_REVEAL: :frag roll-in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client = TinyTds::Client.new(:username => 'XXXX', :password => 'YYYY', :host => 'ZZZ', :timeout => 0) | |
result = client.execute("USE AAAA") | |
result.cancel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jason@debian:~/ot-dashboard$ dashing start | |
>> Thin web server (v1.5.1 codename Straight Razor) | |
>> Maximum connections set to 1024 | |
>> Listening on 0.0.0.0:3030, CTRL+C to stop | |
================================================================================ | |
scheduler caught exception: | |
Adaptive Server connection timed out | |
/home/jason/ot-dashboard/jobs/mtdsales.rb:19:in `each' | |
/home/jason/ot-dashboard/jobs/mtdsales.rb:19:in `block in <top (required)>' | |
/home/jason/.rvm/gems/ruby-1.9.3-p429/gems/rufus-scheduler-2.0.19/lib/rufus/sc/jobs.rb:231:in `call' |
NewerOlder