UIView, then, show the scanned image and text, that's all.
All I need is to use ZBarReaderView and ZBarImageScanner, the mainly code snippet as below:
The screen result like below:
Check out the full sample from github.
UIView, then, show the scanned image and text, that's all.
All I need is to use ZBarReaderView and ZBarImageScanner, the mainly code snippet as below:
The screen result like below:
const char *base = "BLAH BLAH BLAH";
unsigned int idx = 0;
char *buf = NULL;
buf = (char *) malloc (strlen (base) + sizeof (unsigned int));
sprintf (buf, "%s%d", buf, idx);
printf ("buf: %s\n", buf);
BLAH BLAH BLAH0
Future Change Warning: Proposed Federal censorship regulations may prohibit us from giving you information about the possibility of calling this function. We would be required to say that this is not an acceptable way of terminating a program. |
export TOP=`pwd`wget http://www.sqlite.org/sqlite-3.6.11.tar.gz -O $TOP/sqlite-3.6.11.tar.gzcd $TOP; gzip -dc sqlite-3.6.11.tar.gz | tar -xf - ; cd sqlite-3.6.11./configuremake 1> /dev/null 2> err.txt# make install
wget -c http://mentors.debian.net/debian/pool/main/t/tmux/tmux_0.5{-1.d{iff.gz,sc},.orig.tar.gz}
$ gzip -d tmux_0.5-1.diff.gz
$ tar -zxf tmux_0.5.orig.tar.gz; cd tmux-0.5
$ patch -Np1 < ../tmux_0.5-1.diff
# make 1> /dev/null 2> err.txt && make install
set prefix ^\
set status on
set status-bg yellow
set status-fg block
set status-right " "
unbind ^b
set -g prefix ^\
send-prefix
set -g status on
set -g status-bg yellow
set -g status-fg black
set -g utf8 off
alias t='tmux attach -d'
ssh -CND ${OUTDOOR_PORT} ${USER}@${REMOTE_SERVER}
float a, b;
a = 10.5;
b = a % 2;
b = a % 2.0f;
(Use keyboard abort sequence--Press Stop A keys to stop the system)
ok boot net -s
# mount /dev/dsk/c0t3d0s0 /a
# cd /a/etc
# TERM=vt100
# export TERM
# vi shadow
(Remove root's encrypted password string)
# cd /
# umount /a
# init 6
APIC_IO, NCPU, NBUS, NAPIC 都已經在 6.2 kernel 失效了,只需要指定 SMP 就行了。tar cf - /foo1 | ssh ffoo@192.168.1.201 "cat > /backup/wwwdata.tar.gz"