Skip to content

Instantly share code, notes, and snippets.

View rdegges's full-sized avatar

Randall Degges rdegges

View GitHub Profile
#!/bin/bash
#
# pycall-install.sh
#
# @author: Randall Degges
# @email: rdegges@gmail.com
# @date: 11-20-2009
#
# This program installs the pycall library on any linux machine which has
# python 2.4+.
#!/usr/bin/python
"""
hello-world.py
@author: Randall Degges
@email: rdegges@gmail.com
@date: 11-20-09
This program tests the pycall library and makes sure that you are able to place
#!/usr/bin/python
"""
simple-flood.py
@author: Randall Degges
@email: rdegges@gmail.com
@date: 11-20-09
This program floods the specified phone number.
#!/usr/bin/python
"""
advanced-flood.py
@author: Randall Degges
@email: rdegges@gmail.com
@date: 11-20-09
This program floods the specified phone number and spoofs caller ID making it
/*
* test.c
*
* @author: Randall Degges
* @email: rdegges@gmail.com
* @date: 1-7-2009
*
* This example program demonstrates a weird way to reference array elements in C. All
* credit goes to the Stack Overflow 'Strangest language feature' discussion page:
* http://stackoverflow.com/questions/1995113/strangest-language-feature
rdegges@cora:~$ sudo easy_install pycall
Searching for pycall
Best match: pycall 1.2
Adding pycall 1.2 to easy-install.pth file
Using /usr/local/lib/python2.6/dist-packages
Processing dependencies for pycall
Finished processing dependencies for pycall
rdegges@cora:~/Desktop$ tar zxvf pycall-1.2.tar.gz
pycall-1.2/
pycall-1.2/README
pycall-1.2/PKG-INFO
pycall-1.2/setup.py
pycall-1.2/demos/
pycall-1.2/demos/schedule-call.py
pycall-1.2/demos/hello-world.py
pycall-1.2/demos/run-as-user.py
pycall-1.2/demos/variable-passing.py
rdegges@cora:~/Desktop/pycall-1.2$ python
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pycall.callfile import *
>>>
#!/usr/bin/python
"""
pyannoy-skeleton.py
@author: Randall Degges
@email: rdegges@gmail.com
@date: 1-15-2010
@license: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.txt)
rdegges@cora:~/code$ ./pyannoy-skeleton.py 18182223333 5
Placing call... 0 to 18182223333 using caller ID 19408593936 and playing soundfile hello-world at 2010-01-15 22:48:10.438817
Placing call... 1 to 18182223333 using caller ID 16010809634 and playing soundfile hello-world at 2010-01-15 22:49:10
Placing call... 2 to 18182223333 using caller ID 15756315902 and playing soundfile hello-world at 2010-01-15 22:50:10
Placing call... 3 to 18182223333 using caller ID 13633763891 and playing soundfile hello-world at 2010-01-15 22:51:10
Placing call... 4 to 18182223333 using caller ID 14111207078 and playing soundfile hello-world at 2010-01-15 22:52:10