Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env python | |
import sys, os | |
from optparse import OptionParser | |
import Tkinter as tk | |
# tell python where to find mavlink so we can import it | |
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../mavlink')) | |
from pymavlink import mavutil |
(define root 52) | |
(define scale (pc:scale 4 'aeolian)) | |
(define right-hand | |
(lambda (beat dur) | |
(play sampler | |
(pc:quantize (cosr (+ root 24) (cosr 5 3 1/2) 7/3) scale) | |
(cosr 80 20 7/3) | |
(* 2.0 dur)) | |
(if (> (random) .6) |
# import functions | |
from numpy import linspace | |
from scipy.integrate import odeint | |
#import pylab as pyl | |
import matplotlib.pyplot as plt | |
# define constants | |
init_cond = [0.3, -0.1] | |
t_init = 0.0 |
A shell script to give step-by-step instructions. Pipe text into it. It'll be processed as follows:
↪
next to it.---
).import os | |
import re | |
import shutil | |
import glob | |
## List of the STM32 chips supported by OpenCM3 | |
chips = ["f0", "f1", "f3", "f4", "f2", "l0", "l1"] | |
## Representative projects for each chip | |
## These really only vary in their linker files and peripherals | |
## Look at the examples (below) for specifics |
// Copyright 2014 Olivier Gillet. | |
// | |
// Author: Olivier Gillet ([email protected]) | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
#!/bin/bash | |
############################################################################### | |
# | |
# Description: | |
# Script generates Nimble session-friendly playlists | |
# (parent playlist with sub-playlists inside) and supervisor program/job | |
# of ffmpeg process which pulls from provided source address $ch_source and | |
# pushes to localhost nibmle-origin server as a name $ch_res for later HLS transmuxing | |
# |
#!/bin/bash | |
# Basic gstreamer quad video wall application. | |
# Displays 4 videos. | |
# They have to be synced to eachother and playing for this to work. | |
PARAMS_NEEDED=4 | |
if [ $# -ne $PARAMS_NEEDED ] | |
then |
Note that because radare2 uses Capstone to disassemble ARM code, there are issues with the disassembly. arm-none-eabi-objdump -d compiledbinary.elf
actually does a better job in some cases. For example, msr
isn't decompiled correctly...
First, you have to either strip the default ELF binaries the default Makefiles build when you run make
OR you need to just compile .bin
files using something like:
make binaryname.bin