notes (42 views)

ffmpeg, convert from flv to avi
/usr/bin/ffmpeg -i “path/to/file.flv” -acodec libmp3lame -vcodec msmpeg4 -ab 192kb -b 1000kb -s 640×480 -ar 44100 “/path/to/file.avi”

extract information from x509 certificate
openssl x509 -text -in cert.pem

removing service from starting at boot time
sudo update-rc.d -f name_of_service remove

adding service to start at boot time
sudo update-rc.d name_of_service defaults

start local proxy
ssh -CN -D 9853 server.to.proxy.to -l username

embeded javascript the good way
@see: http://javascript.about.com/library/blxhtml.htm

<script type="text/javascript">
/* <![CDATA[ */
// content of your Javascript goes here
/* ]]> */
</script>

create cython c source file from python source with __main__
cython -v --embed source.pyx

compile cython generated c source
gcc $CFLAGS -I/usr/include/python2.7 source_name.c -o target_name -lpython2.7 -lpthread -lm -lutil -ldl

 

One Response to “notes”

  1. These cards can definitely make the game more challenging as they both have their advantages and disadvantages if they are included in a game.

Leave a Reply