fiddle로 jvm의 packet정보를 보고 싶다면..
System.setProperty("http.proxyHost","localhost");
System.setProperty("http.proxyPort","9999");
위의 코드를 필요한 곳에 적용시키고
fiddle option에서 scan port를 9999로 설정 끝..
'lang' 카테고리의 다른 글
한글 검색 script (0) | 2015.01.20 |
---|
fiddle로 jvm의 packet정보를 보고 싶다면..
System.setProperty("http.proxyHost","localhost");
System.setProperty("http.proxyPort","9999");
위의 코드를 필요한 곳에 적용시키고
fiddle option에서 scan port를 9999로 설정 끝..
한글 검색 script (0) | 2015.01.20 |
---|
# 디렉토리 및 파일이름에 space있을 경우 비정상 인식하므로 \n을 Field separator로 잡는다.
IFS=$'n'
# 검색된 file들중에서
for i in `find ./ -type f`
do
#utf-8 한글 코드범위만 검색
result = `grep -n -p "[\x{AC00}-\x{D7A3}]" $i`
if [ `echo $result | wc -l` -get 1 ]
then
echo "==========================================="
echo "$i"
echo "==========================================="
echo $result
echo $i >> filelist.txt
echo
fi
done
java app proxy port 설정 (0) | 2015.08.10 |
---|
https://live.gnome.org/RhythmboxPlugins/WritingGuide#Controlling_Playback
Play/Pause
shell.props.shell_player.playpause()
Stop
shell.props.shell_player.stop()
Next track
shell.props.shell_player.do_next()
Add a song to the Play Queue
shell.add_to_queue("file://awsome_song.ogg")
Display a visualization
import gst
goom = gst.element_factory_make ("goom")
sink = gst.element_factory_make ("ximagesink")
colour = gst.element_factory_make ("ffmpegcolorspace")
b = gst.Bin()
b.add (goom, colour, sink)
b.add_pad(gst.GhostPad("sink", goom.get_pad("sink")))
goom.link(colour)
colour.link(sink)
shell.get_player().props.player.add_tee(b)