pandoc pandoc --quiet -f gfm -s somefile.md
What the options mean:
--quiet
: supress "[WARNING] This document format requires a nonempty <title> element."-f gfm
: input format is Github Flavored Markdown
import IPPDSP | |
function polyize{T}( h::Vector{T}, interpolation ) | |
hLen = length( h ) | |
tapsPerPhase = int( ceil( hLen/interpolation )) | |
pfbSize = tapsPerPhase * interpolation | |
# check that the vector is an integer multiple of interpolation | |
if hLen != pfbSize | |
hExtended = similar( h, pfbSize ) | |
hExtended[1:hLen] = h |
a = Array(Float64, 7200000) | |
# populate array with some data | |
for i = 1:length(a) | |
n = i * 0.99999 | |
if n>100 | |
n-=(n-n/100.0) | |
end | |
a[i]= n*n*n | |
end |
if(JULIA_FOUND) | |
return() | |
endif() | |
# Find julia executable | |
find_program(JULIA_EXECUTABLE julia DOC "Julia executable") | |
if(NOT JULIA_EXECUTABLE) | |
return() | |
endif() |
#!/usr/bin/env bash | |
while getopts r:n:d: FLAG; do | |
case $FLAG in | |
r) # Reference binary | |
BIN_REF=$OPTARG | |
;; | |
n) # New binary | |
BIN_NEW=$OPTARG | |
;; |
#![feature(augmented_assignments)] | |
#![feature(op_assign_traits)] | |
#![feature(zero_one)] | |
extern crate libc; | |
use libc::{c_long, c_ulong}; | |
use std::cmp; | |
use std::ops::{Mul,Add,AddAssign}; |
macro_rules! make_event { | |
( $name:ident, {$( $variant:ident ),*} ) => { | |
enum $name { | |
$($variant,)+ | |
} | |
} | |
} | |
make_event!(Cat, {Izzy,Colonel}); |
Q. Why are base interrupts separated from peripheral interrupts?
A. Because the linker keeps 'em separated:
/* Place vector table at the beginning of ROM.
*
* The first 16 entries in the ARM vector table are defined by ARM and
* are common among all ARM chips. The remaining entries are
* chip-specific, which Tock defines in a separate .irqs section