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
| #+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 |
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
| #+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 |
Test
puts "hello world"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.
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
| # Taken from http://blog.livedoor.jp/sonots/archives/38589335.html | |
| net_tools_deprecated_message () { | |
| echo -n 'net-tools コマンドはもう非推奨ですよ?おじさんなんじゃないですか? ' | |
| } | |
| arp () { | |
| net_tools_deprecated_message | |
| echo 'Use `ip n`' | |
| } |
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
| 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' |
Problem most likely is that the wifi is hardware due to a bug, this can be checked with sudo rfkill list.
The wlan module would say that it is Hardware Blocked.
- Remaking the module, in the following repo there is a useful
Makefilefor this
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/pfps/yoga-laptop.git
cd yoga-laptop/yoga_laptop
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
| #+macro: version 1.0 | |
| We have the application running version {{{version}}}. | |
| Notice that it has to be within 3 brackets and no internal spaces. | |
| #+macro: greet Hi $1, how is it going? | |
| Now let's try saying hi: {{{greet(Wally)}}}. | |
| #+macro: greetreply {{{greet($1)}}} - *$1* :: $2 |