This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains 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
$ youtube-dl -U | |
youtube-dl is up-to-date (2014.07.10) | |
$ youtube-dl --verbose zTi9EfujYJM | |
[debug] System config: [] | |
[debug] User config: [] | |
[debug] Command-line args: ['--verbose', 'zTi9EfujYJM'] | |
[debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8 | |
[debug] youtube-dl version 2014.07.10 | |
[debug] Python version 2.7.5 - Darwin-13.3.0-x86_64-i386-64bit | |
[debug] Proxy map: {} |
This file contains 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
<p>Problematic lines</p> | |
<table border='1' width='100%'><tr><td> | |
</td></tr></table> | |
## ``md_ext_fenced_code`` | |
In markdown whenever you start a span or block with backticks, the text inside | |
will use `<code>` html blocks. When you enable this extension, code blocks |
This file contains 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
# 1 "modified_headers/html_extra.h" | |
# 1 "<built-in>" 1 | |
# 1 "<built-in>" 3 | |
# 169 "<built-in>" 3 | |
# 1 "<command line>" 1 | |
# 1 "<built-in>" 2 | |
# 1 "modified_headers/html_extra.h" 2 | |
This file contains 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
#!/bin/sh | |
# Set errors to bail out. | |
set -e | |
# Display commands | |
#set -v | |
BASE_DIR=~/shelltest_dropbox_filename_sanitizer | |
TEST_DIR="${BASE_DIR}/1398956253" | |
NIM_DIR="${TEST_DIR}/compiler" | |
NIM_BIN="${NIM_DIR}/bin/nimrod" |
This file contains 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
#!/bin/bash | |
# Bash completion for the Nimrod programming language (http://nimrod-lang.org) | |
# based on the tutorial at | |
# http://www.debian-administration.org/article/317/An_introduction_to_bash_completion_part_2. | |
# Pass as first parameter the word to complete and replace nim|tmpl files. | |
_nimrod_complete_compilable_files() | |
{ | |
local cur |
This file contains 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
import os | |
proc compile_child() = | |
let ret = execShellCMD("gcc -o sigsev.exe sigsev.c") | |
echo "Compilation returned ", ret | |
proc test() = | |
assert "sigsev.exe".existsFile, "Maybe compilation failed?" | |
echo "I'll run the child" | |
let ret = execShellCMD("./sigsev.exe") |
This file contains 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
/* Generated by Nimrod Compiler v0.9.3 */ | |
/* (c) 2014 Andreas Rumpf */ | |
/* The generated code is subject to the original license. */ | |
/* Compiled for: MacOSX, amd64, clang */ | |
/* Command for C compiler: | |
clang -c -w -I/Users/gradha/project/nimrod/root/lib -o /private/tmp/cycle/nimcache/cycle_h.o /private/tmp/cycle/nimcache/cycle_h.m */ | |
#define NIM_INTBITS 64 | |
#include "nimbase.h" | |
#include <stdio.h> |
This file contains 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
#!/bin/sh | |
PATH_TO_NIMROD=~/project/nimrod/root/bin/nim | |
PATH_TO_NIMBASE=~/project/nimrod/root/lib/nimbase.h | |
DEST_NIMBASE=nimcache/nimbase.h | |
# Force errors to fail script. | |
set -e | |
# Build library for ios. |
This file contains 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
template usethis(v, e: expr): stmt {.immediate.} = | |
block: | |
using v | |
e | |
when isMainModule: | |
var a, s = "kill it" | |
usethis(s): | |
add(" with fire") | |
usethis(a): |