Skip to content

Instantly share code, notes, and snippets.

#
# Q. How to do basic jQuery from Layout? Second file, step 2 i am trying but it doesn't allow.
#
#
Step 1: @file: application/Bootstrap.php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
[root@a ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@a ~]# lspci
00:00.0 Host bridge: Intel Corporation 3200/3210 Chipset DRAM Controller (rev 01)
00:01.0 PCI bridge: Intel Corporation 3200/3210 Chipset Host-Primary PCI Express Bridge (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
[root@example ~]# debuginfo-install glib2-2.28.5-2.fc15.i686 glibc-2.13.90-8.i686 gstreamer-plugins-base-0.10.32-1.fc15.i686 gstreamer-plugins-good-0.10.27-3.fc15.i686 libX11-1.4.2-1.fc15.i686 libgcc-4.6.0-2.fc15.i686
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
enabling updates-testing-debuginfo
enabling fedora-debuginfo
Could not find debuginfo for main pkg: glib2-2.28.5-2.fc15.i686
Could not find debuginfo pkg for dependency package glibc-2.13.90-8.i686
Could not find debuginfo pkg for dependency package glibc-2.13.90-8.i686
Could not find debuginfo pkg for dependency package glibc-2.13.90-8.i686
Could not find debuginfo pkg for dependency package glibc-2.13.90-8.i686
Could not find debuginfo pkg for dependency package glibc-2.13.90-8.i686
[root@example ~]# gdb --args gst-launch-0.10 autovideosrc ! xvimagesink
GNU gdb (GDB) Fedora (7.2.50.20110328-31.fc15)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
Fedora 15:
[root@example /]# wine --version
wine-1.3.20
[root@example /]# wine start "c:\\Program files\\H323 Phone\H323Phone.exe"
fixme:exec:SHELL_execute flags ignored: 0x00000100
[root@example /]# err:wininet:open_http_connection create_netconn failed: 10061
err:wininet:open_http_connection create_netconn failed: 10061
[sun@example ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
{"result":"<div class=\"single routing_users\" style=\"overflow:auto;\">\n <span class=\"hide\">5<\/span> \n <div style=\"float:left;width: 200px;padding: 4px;\">\n <div class=\"single_users monitor_users\" style=\"padding-right: 10px;\">\n <div style=\"background:#333333;\">\n <img src=\"\/img\/icon\/agent.png\"\/>\n <\/div>\n <div style=\"background: white; padding: 2px; border-top: solid 1px #666666;\">\n <img src=\"\/img\/icon\/online.png\" class=\"head_status\"\/> ID: <span class=\"single_user_username\">1003<\/span> (<span class=\"single_user_status\">waiting<\/span>)\n <\/div>\n <\/div> \n <\/div>\n <div style=\"float:left;width: 670px; padding:4px;\">\n <div>\n System: <\/div>\n \n <button name=\"button_monitor_ping\" id=\"button_monitor_ping\" type=\"button\" value=\"Ping\">Ping<\/button> <button name=\"button_monitor_disconnecct\" id=\"button_mo
<?php
class TestController extends Zend_Controller_Action
{
public function unixAction()
{
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender();
$test = new Application_Model_Myprocess();
//$test->start();
//Zend_Debug::dump($test->isRunning());
[sun@example ~]$ vlc -I dummy rtsp://dmzosx001.dpa.act.gov.au/medium --sout=file/ogg:/tmp/1001.ogg
VLC media player 1.1.9 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x8319074] dummy interface: using the dummy interface module...
[0xb7202de4] mux_ogg mux: Open
*** buffer overflow detected ***: vlc terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x45)[0x4c053f25]
/lib/libc.so.6[0x4c051e67]
[sun@example ~]$ gdb --args vlc rtsp://dmzosx001.dpa.act.gov.au/medium --sout=file/ogg:/tmp/1001.ogg
GNU gdb (GDB) Fedora (7.2.90.20110525-38.fc15)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...