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
#!/bin/bash -e | |
unset asroot | |
if test 0"$ASROOT" = 01; then | |
asroot=--asroot | |
fi | |
export ABSROOT=$(readlink -f abs) | |
mkdir -p "$ABSROOT" |
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
#!/usr/bin/env python | |
from io import BytesIO | |
from lxml import etree, objectify | |
xml = """<root xmlns:cci="http://www.w3.org/TR/html4/"><cci:p>Body text <cci:bold class="character" displayname="bold" name="bold">THISTEXTISBOLD </cci:bold>this text isnt<cci:bold class="character" displayname="bold" name="bold"><cci:underline class="character" displayname="underline" name="underline">THISTEXTISBOLDANDUNDERLINED</cci:underline></cci:bold> Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah</cci:p></root>""" # noqa |
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
name=iptables | |
version=1.4.21 | |
release=1 | |
source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2) | |
PKG="$(pwd)/pkg" | |
if [ -d $PKG ]; then | |
mkdir -p $PKG | |
fi |
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
prologic@daisy | |
Tue Mar 10 12:57:51 | |
~ | |
$ python | |
Python 2.7.9 (default, Feb 23 2015, 19:13:44) | |
[GCC 4.8.4] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from circuits import Event, Component, Debugger | |
>>> class App(Component): | |
... def foo(self): |
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
name=iptables | |
version=1.4.21 | |
release=1 | |
source=( | |
ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2 | |
0001-fix-static-link.patch | |
0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch | |
) | |
build () { |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Buildroot 2015.05-git-00220-g9142661 Configuration | |
# | |
BR2_HAVE_DOT_CONFIG=y | |
BR2_HOSTARCH_NEEDS_IA32_COMPILER=y | |
# | |
# Target options | |
# |
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
#!/bin/bash | |
# | |
# Docker Functions and Aliases | |
# | |
# Version: 0.0.3 | |
# Last Modified: 2015030200 | |
if [ -f /usr/local/etc/bash_completion.d/docker ]; then | |
source /usr/local/etc/bash_completion.d/docker |
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
#!/bin/sh | |
cd work/busybox | |
# Change to the first directory ls finds, e.g. 'busybox-1.23.1' | |
cd $(ls -d *) | |
# Setup Cross Comiler | |
export PATH=$HOME/x-tools/x86_64-unknown-linux-uclibc/bin:$PATH |
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
#!/bin/sh | |
cd work/busybox | |
# Change to the first directory ls finds, e.g. 'busybox-1.23.1' | |
cd $(ls -d *) | |
# Setup Cross Comiler | |
export PATH=$HOME/x-tools/x86_64-unknown-linux-uclibc/bin:$PATH |
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
# Without start-stop-daemon | |
# prt-get search start-stop-daemon | |
No matching packages found | |
# prt-get depinst dovecot &> dovecot.log | |
# /etc/rc.d/dovecot start | |
SSL certificate /etc/ssl/certs/dovecot.crt with key /etc/ssl/keys/dovecot.key for host media.local created | |
# ps aux | grep dovecot | |
root 6945 0.0 0.0 19744 1368 ? Ss 19:18 0:00 /usr/sbin/dovecot | |
dovecot 6946 0.0 0.0 9240 968 ? S 19:18 0:00 dovecot/anvil |