About
On this page you can find some simple but useful programs, scripts written in
spare time for different purposes. Feel free to download and use them if you
like. If you have any comments don't hesitate to share it with us (opoki in domain opoki.com).
Software
- photo-rename.py - simple script written
in python for renaming JPG pictures according to date written in EXIF. It
can handle several files if called like ./photo-rename.py *.jpg. The output
name will be YYYY-MM-DD_HHMMSS. For more information please look inside the
script.
- avi_rename.sh - a shell script for
renaming anything to date-time format as above. I wrote that to quickly rename
AVI files produced by my digital camera - hence the name. It simply searches
a given file for date-time and picks the first found. Look inside for more
details.
- num.py - once I come across some
PPT showing some magic in numbers like adding this to that so many times
looks so, etc. It looked really interesting, so to check this out this small
script was created. Numbers are sometimes amazing ;-)
- rss-to-pidgin.py sets your pidgin
status using latest news from some RSS feeds. We run some websites which we update
from time to time. They have their own RSSes. We use excelent IM client pidgin (which together with pidgin-skype supports skype)
and wanted to update its status to the latest link we published on our
websites. And this script does exactly that. Inside are still hardcoded our feeds ;-)
Tools
- total stars for amazon products. We buy pretty
often at amazon - it saves time and money. Before purchasing something I used
to read through product's reviews, check what ratings it has, etc. Sometimes
however I'd like to check reviews of the same product on different amazon
sites. I did it by hand, but althogh it works, it is very tedious and borring
and still does not provide a total ranking. That is why this tool was created.
All you need to do is to find a product on any of amazon site. Copy the whole URL and paste
it into the tool. It will:
- check that product on other amazons,
- count number of stars it received on them and calculate an average rating,
- present you a page with links to total reviews, reviews by stars (only 5 stars, only 4 stars, etc.),
so ofering an easy access to that information.
Since it has to check a product on several amazons it takes some time - usually below 30s.
It stores calculated values for 1 week, so next query about the same product provides data
instantly.
Tips
Disclaimer
Here comes a fat, classical disclaimer. Basically: use at your own risk :-)
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.