Skip to content

Instantly share code, notes, and snippets.

View wallyqs's full-sized avatar
🌎

Waldemar Quevedo wallyqs

🌎
  • Synadia Communications, Inc.
  • San Francisco
  • X @wallyqs
View GitHub Profile

Support for :exports options from code blocks

According to the Org mode docs, it is possible to customize whether the code block will be exported or not.

About the #+RESULTS: block

Using Org Babel features, it is possible to set :results output to a code block and render the results within a #+RESULTS: code block:

@wallyqs
wallyqs / org-tests-issue-61.org
Last active August 29, 2015 13:57
org tests
  • Outside a code block, everything is escaped

(kbd \U+FFE2C-c . C\U+FFE2)

@kbd{C-c . C}

<kbd>C-c . C</kbd>)

  • Default way, kbd tags would be escaped within a code block
@wallyqs
wallyqs / a-sample.org
Last active August 29, 2015 13:57
Current status of org-converge tool

Setting up Fluentd example

Introduction

The following will setup and configure fluentd on a node using the org-converge tool.

It can be installed via Rubygems:

#+TITLE: Running Org babel processes in parallel
* Print with different languages
#+name: hello_from_bash
#+begin_src sh :shebang #!/bin/bash
while true; do echo "hello world from bash"; sleep 1; done
#+end_src
#+name: hello_from_ruby
#+TITLE: Running scripts in parallel
In the following example, the following 3 scripts should be run in parallel
with all output being flushed to the screen.
- Count some numbers with bash
#+name: bash_counter
#+begin_src sh :shebang #!/bin/bash
echo '' > out.log

Emacs の初期化用ファイル・環境編

Test

puts "hello world"

Mesos & Deimos install

Ticket: https://issues.apache.org/jira/browse/MESOS-816

To get started with Docker/Marathon/Mesos, you need to install a new Mesos, a new Marathon, and Deimos, the bridge to Docker. You’ll also need Docker and the JVM. These instructions are for Ubuntu 13.10.

@wallyqs
wallyqs / tangle-and-reload.rb
Created July 20, 2014 08:07
Tangle and reload webapp via Guard and Google Chrome Dev tools websocket
require 'org-converge'
require 'uri'
require 'net/http'
require 'eventmachine'
require 'faye/websocket'
require 'json'
ORG_FILE = 'org/app.org'
WEBAPP_URL = 'localhost:8000'
CHROME_DEVTOOLS_URL = 'http://localhost:9222/json'
@wallyqs
wallyqs / dev-server.org
Created July 20, 2014 08:17
Ruby development environtment with Org

Dev workflow

Example setup of development environment which enables literate programming. Needs the following gems at least in development group for it to work:

group :development do
  gem 'shotgun'