X893

  1. How to recovery source python code from pyo file

    This article describe method to recovery source code from compiled python code file. Download pyo code file from device to your computer. If you use linux - skip up to decompyle description. I use windows as host and use next steps to prepare decompile. First download vmware workstation and install it. 2. Create virtual machine and install debian system (i use debian-40r4a-etchnhalf-i386-netinst.iso only with standard system option) 3. Install decompile package apt-get install decompyle 4. Open file /usr/lib/python2.4/site-packages/decompyle/Scanner.py with editor nano /usr/lib/python2.4/site-packages...

  2. External Component for 1C - Bridge to Asterisk PBX

    This component provide access from 1C to Asterisk PBX. Now only base functionality. Trunk inbound, Ringing, Hangup events and base methods - Agent Login/Logoff/Pause/Unpause and Originate. Change Global module to register this component in 1C system. See this post to changes in Asterisk dialplan (extensions.conf) Microsoft .NET 2.0 ). -->(use page source if next text not readable) Перем Asterisk1C Экспорт; . . . Процедура ПриНачалеРаботыСистемы() . . . // Запуск компонента Asterisk1C Попытка Asterisk1C = 0; ПодключитьВнешнююКомпоненту("Asterisk1C"); Если Asterisk1C = 0 Тогда Попытка Asterisk1C...

  3. Handmake GSM/GPS tracker

    New uTracker on GE865 and UBlox. Small size. Schematic from GM862 Evaluation Board - USB . New version (without Telit and additional chips) - here See this post about how to add accelerometer chip to GM862 Web site and service from gpsgate.com (or install own) no FT232RL - use USB-UART from Philips phone with FT232RL Compelete in box This python script support this tracker (with accelerometer chip) [+] Expand # STATUS pin use as RED led # GPIO2 pin use as GREEN led # GPIO3 (SDA) and GPIO12(SCL) use as I2C bus to LIS3LV02 accelerometer # Auto shutdown on 25% battery or without change 3 attempts...

  4. Use Red5 and FLV conversion service on CentOS as CommunityServer attachments storage

    Install Red5 server Download Java Linux RPM ( 32 or 64 ) and run it. chmod a+x jre-<version>-rpm.bin ./jre-<version>-rpm.bin rpm -iv jre-<version>.rpm java -version Install Red5 cd /usr/src mkdir red5 cd red5 wget http://red5.nl/installer/red5-0.7.0.tar.gz tar zxf red5-0.7.0.tar.gz mkdir dist cp red5.jar dist/ cp red5.sh dist/ cp -r conf/ dist/ cp -r lib/ dist/ cp -r webapps/ dist/ make install make clean cd /usr/lib/red5 ./red5.sh Verify that Red5 start correctly and stop it (Ctrl-C). Create service startup file nano /etc/init.d/red5 #!/bin/sh # # red5: Red 5 Server # # chkconfig...

  5. Resolve problem with NetSatisfaction FaxServer 8.5

    Change Product code with 01/01/2009 expiration period 6UNUG7-43820B-BFKBJF-X893-000000

  6. Reflector.BatchFileDisassembler

    Addin for Reflector . Download Reflector.BatchFileDisassembler.zip Thanks Denis Bauer

  7. How to use dialplan from Manager API

    Some times ago i need to login agent from external program (1C, Axapta etc) - no a legal path to prepare this function. I found only one powerful function Originate (this example for C# and Asterisk.NET library but pricipal are common)) OriginateAction o = new OriginateAction(); o.Channel = "Local/agent_logoff@manager_tools"; o.Timeout = timeout; o.Variable = "AGENT_NUMBER=" + localAgent; o.Application = "noop"; ManagerResponse r = manager.SendAction(o, timeout); and add to extensions.conf next context (this example for AGent Login/Logoff/Pause/Unpause). All other...

  8. Save disk image to FTP server

    Save disk partition to FTP server with zip. #!/bin/sh ftpfile=/$HOME/.netrc user_pass_server=$1 diskpart=$2 file=$3 bs=$4 count=$5 user=`echo $user_pass_server | sed 's/:.*$//'` password=`echo $user_pass_server | sed 's/.*://' | sed 's/@.*//'` server=`echo $user_pass_server | sed 's/.*.@//'` if [ "$user" = "$user_pass_server" -o "$user" = "$server" ] ; then user=anonymous password=xxx@xxx.xxx fi if [ "$diskpart" = "" ] ; then diskpart=sda1 fi if [ "$bs" = "" ] ; then bs=1M fi if [ "$file" = "" ]...

  9. Resolve problem with UTF-8 in Graffiti

    Add line <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> to file graffiti-admin\common\adminmasterpage.master (head section) Also add this line to Site Options - Settings - Header textbox.


Github
Bitbucket
SF.net

Skype
Telegram

Subscribe to x893 blog Subscribe