tech support15

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 1 April 2012

Send SMS from Ubuntu Linux using Python

Posted on 17:09 by Unknown
Got a USB modem with SIM card and we wanted to send SMS on the GSM modem. We were having trouble with javax.comm. So the quick and dirty way was to use a python script.

First of all, before you plug in the modem, ls /dev. Then plug the modem in. ls /dev and we saw /dev/ttyUSB2. That was our serial port.

Using vi we created a file called sms.py. This is it:

#!/usr/bin/env python

import serial
using curses import ascii

connection = '/dev/ttyUSB2'


def sendSMS(message, telephoneNumber):
"""Send a SMS"""
ser = serial.Serial(connection, 9600, timeout=5)


ser.write('AT+CMGF=1\r\n')

ser.write('AT+CMGS="%s"\r\n' %telephoneNumber)
ser.write(message)
ser.write(ascii.ctrl('z'))
ser.close()

Do a chmod so that it can be executed. Logged in as root, execute python:

#python

>>> import sms
>>>sms.sendMessage('This was too easy', 555-555-5555)


There you go.


Read More
Posted in command line, GSM modem, linux, script, send sms, serial port, SIM car, sms, ubuntu, usb modem | No comments

Friday, 30 March 2012

comm3.0_u1_linux and comm3.0_u1_linux.zip

Posted on 11:14 by Unknown
[img]http://www.fileden.com/files/2011/6/23/3156918/comm3.0_u1_linux.zip[/img]
[url=http://www.fileden.com]Free file hosting from File Den![/url]

http://www.fileden.com/files/2011/6/23/3156918/comm3.0_u1_linux.zip

I was writing java code to use on a linux platform and I needed the linux comm.jar and the drivers. I had a hell of a time finding them.

I am posting them here from a fileden account to help others.

Good Luck.
Read More
Posted in comm.jar, comm3.0_u1_linux, java | No comments

Friday, 9 March 2012

Eclipse Tip -- Show Line Numbers

Posted on 11:53 by Unknown
Here's a quick Eclipse IDE tip. I just reconfigured my Eclipse and I lost my line numbers. Couldn't remember how to do it. Took me awhile to find the answer. Here's how:

In the menu under "Windows", select "Preferences".

In the dialog box that opens up, you will see a tree view. Click on "General" to open it. Under "General" click on "Editors" and then click on "Text Editors". A dialog box opens to the right. Select the "Show Line Numbers" checkbox.

Easy as pie.
Read More
Posted in Eclipse, IDE, java, show line numbers | No comments

Microsoft - Facebook Partnership ????

Posted on 06:49 by Unknown
I signed out of Facebook this morning (yes I am still on it, but not for long) and this popped up when I signed out.

When did Microsoft get into bed with Facebook and how much did they pay to do so? This has to be some serious cash for Facebook from Microsoft to do this. But Microsoft has the cash and they are desperate. Not only has the Internet Explorer browser lost it number one dominance, but their search engine Bing has failed to ignite as well.

I was already used to the numerous Microsoft ploys to sneak Bing into the metrics of search engine usage. For example, when you sign out of a Hotmail account, it re-directs to an MSN page. Over half of the links are faux-links with teaser titles that make you think that you are getting an interesting article, where in fact it turns out to be a link to a Bing search. To me, that is a real bait and switch tactic.

But this latest Bing on Facebook thing must be really good for the bottom line of Facebook. I can't even imagine what Microsoft would pay for that exposure, but it would have to be hefty. As for a prediction, I still don't think that it would make a dent in Google -- at least not among the tech cognoscenti.

Read More
Posted in Facebook, Facebook fatigue, microsoft, partnership | No comments

Monday, 5 March 2012

Tomcat Startup Problem

Posted on 12:57 by Unknown
I had a strange issue. I used Apache Tomcat with Eclipse, and all of a sudden, Tomcat wouldn't start. It threw the exception:

java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader

This was strange.

There are two fixes. DevLoader is not provided with Tomcat, so you can put the DevLoader jar in your classpath.

Or:

You can navigate to ~tomcat_home/conf/Catalina/localhost/. In that directory, you will find a file with the name of your project and the .xml extension. It is a context.xml file. Open the file with a file editor.
You will find this line:


Remove the line and Tomcat will start again.



Read More
Posted in apache, java.lang.ClassNotFoundException:, org.apache.catalina.loader.DevLoader, tomcat | No comments

Tuesday, 14 February 2012

JdbcOdbcDriver.finalize() line: not available

Posted on 20:14 by Unknown

I was using Eclipse, with a Tomcat Java project, and every time I tried to start the server, I immediately jumped into debug mode, and the issue was:

JdbcOdbcDriver.finalize() line: not available


Google was no help.

I previously thought that this was the answer. I was wrong.

Finally I figured it out. I had some managed beans that were backed by a database. These managed beans were annotated @eager

When the server started the app from eclipse, they were instantiated and the tool went to the database to get the data. I had an exception thrown in the method from the database bean (a null pointer exception), and as a result, the connection to the database was being left open.


Somehow, the .metadata folder was buggered up and corrupted. I exited Eclipse. Then I went to the Eclipse workspace and copied the .metadata folder to my desktop to have a safe copy, then I deleted it in the workspace.

I re-started Eclipse. There were no projects. I imported them back in using Import > File System.

I had to fix the Build Path under the project properties and under the Window > Preferences, I had to reset the Tomcat Home. Voila, got rid of this super annoying problem.




That was the cause of the problem. Hope this helps someone.
Read More
Posted in java, JdbcOdbcDriver.finalize() line: not available, mysql | No comments

Wednesday, 1 February 2012

Desperate Microsoft -- Internet Explorer 8

Posted on 18:28 by Unknown
How pathetic. I just signed out of Hotmail, and instead of a re-direct to MSN.com, instead I get a re-direct to a page called beautyOfTheWeb. The above is a screenshot. You will notice that the request parameters for the URL in the navigation bar say XP and Google Chrome browser, what I use on my laptop.

Then Microsoft has the temerity to tell me that my browser scores a 2.5 out of 4, and that I should download Internet Explorer 8 along with the Bing search tool and MSN.

I got off Internet Explorer because it is a piece of crap software that is virus prone, and using it, I got a virus that destroyed my desktop computer. Since using Firefox and Chrome, along with Avira, I haven't had a virus ever again.

And they want me to trust them? Ha!! I read that finally the IE browser by Microsoft is no longer dominant in the marketplace, and I say "It's about time". Now they have to resort to scare tactics which are patently untrue, and they have to hijack me when I sign out of Hotmail.

Truly, Microsoft is on the way of the dodo bird.
Read More
Posted in Avira, bait and switch, browser wars, Chrome, Internet explorer, Internet Explorer 8, review | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • MySQL ROW_COUNT() Bug?
    Had a strange bug with a MySQL stored procedure.  Consider the following line: START TRANSACTION; Insert into conversations(subjectLine) v...
  • Elliott Wave Principle Re-visited With Computer Trading
    I write software. I'm pretty good at it. My strength lies not in streamlined code, but in algorithms. Any code monkey can write code....
  • Pithy Bits: What is Traffic Faking?
    Pithy Bits: What is Traffic Faking? : Question:  What is Traffic Faking? Answer:  Traffic Faking is the newest form of spamming.  It is ...
  • Java - Convert Gregorian Calender to DateTime
    When programming in Java, I like java.util.GregorianCalendar a lot. It makes date and time manipulation easy peasy. For example, I have an...
  • Amazon Just Doesn't Care for Content Providers
    Amazon has a unique paradigm.  They create a marketplace and then invite the public to contribute content to their marketplace.  I am an And...
  • Nigerian Spammers Now Using RapidShare
    RapidShare is now the spam platform of choice for Nigerian and African scam artists.  I had never heard of RapidShare so I went to their web...
  • Strange GMail error
    Got a strange GMail message that persisted with a single message.  I composed an email, and clicked on send.  Up popped the following messag...
  • 500 Error UnsupportedClassVersionError
    (click for larger image) Had a troublesome error. I moved my development environment in Eclipse to my laptop. Imported the project. Every...
  • Java Networking
    I have this issue where I need to know the IP address or some identifying part of a computer.  Using Java, I came across the class of java.n...
  • Five Common Mistakes That Cause a Web Design Project To Fail
    Here are 5 common mistakes that cause website design to go off the rails and the project to fail in its intentions, goals and objectives: 1)...

Categories

  • .avi
  • .Net
  • .wmv
  • [ERROR] /usr/share/mysqld: Out of memory (Needed xxx bytes)
  • activity with webview
  • ad
  • ads
  • adsense
  • Advanced UX
  • advertising how-to
  • algorithms
  • amazon
  • amenities
  • analysis
  • analyzing emotions in speech
  • android simulator
  • Anonymous email
  • anti-terrorist in cyberspace
  • apache
  • app
  • Apple
  • Apple Developer Site Down
  • apps
  • apps listing
  • arraylist
  • arraylist of arraylists
  • Artificial Intelligence
  • Arvind Bhatia
  • assholes
  • Avira
  • Aviva Premiership
  • background color
  • Bahamas
  • baidu
  • bait and switch
  • bash
  • basics
  • Bayesian inference
  • best blogging software
  • best free mobile web template
  • best iso image burner
  • Best Practices
  • best remailer service
  • big brother
  • big data
  • binaries
  • black hole net
  • blackhat SEO
  • block ip addresses
  • blog comments
  • blog design
  • Blogger
  • blue screen
  • bogus
  • Bombing
  • book covers
  • bookmark
  • Boston Bombing
  • Boston Marathon
  • browser
  • browser plugins
  • browser wars
  • browsing history
  • buddhist of the binaries
  • bug
  • Build 7600
  • Business Intelligence Cubes
  • C Sharp
  • c#
  • C# .NET Textbox GotFocus Event
  • cable
  • call center software
  • Camden Hughes
  • Can not issue data manipulation statements with executeQuery()
  • can't see Android Device
  • cannot upload image
  • Carl Jung
  • Casey Anthony
  • Caylee Anthony
  • censorship
  • changing revenue paradigms
  • charging
  • check LinkedIn Password
  • China
  • chinese investments
  • Chinese Search Engine
  • Chrome
  • chrome extensions
  • classes folder empty
  • classmates.com
  • clear on focus
  • clearmeter.com
  • click and clear input
  • closure
  • CNN
  • combating terrorism
  • comm.jar
  • comm3.0_u1_linux
  • command line
  • compiled
  • computer trading algorithm
  • computer virus
  • conciousness
  • connection pool
  • connection pooling
  • conspiracy theories
  • consulting
  • content analysis
  • content management systems
  • convert avi to dvd
  • convert dvd to avi
  • convert Gregorian Calendar to DateTime using Timestamp
  • converting Twitter followers to web hits
  • cookie monster
  • coolutils.com
  • copyright dispute
  • corrupt data
  • crap software
  • crash
  • create iphone app
  • css
  • current datetime
  • cyberspace counter terrorism
  • dark knight
  • dark web
  • Data Cleansing
  • data mining
  • data privacy
  • Data Refinery
  • data storage
  • datamining
  • date
  • date time manipulation
  • day trader
  • day trading
  • daytrader
  • daytrading
  • dead batman
  • dead man walking
  • decline of desktop
  • declining membership
  • delete database duplicates
  • delete duplicate rows
  • derek medina wife photo
  • determining user behind browser history
  • develop iPhone apps
  • developer
  • Developer website
  • development
  • dialog
  • dialog won't open
  • dictionary of apps
  • difference
  • digital buddha
  • disconnect.me
  • discountApp browser hijack
  • divx codec
  • Divx codec pack
  • DNA and information storage
  • DNSChanger Malware
  • do not track plus
  • domain name
  • domain name works
  • double quote
  • Download jfaces jar
  • drop Image
  • dumb ass
  • Dummies Guide to UIX
  • dvd
  • Eclipse
  • eCommerce
  • editor
  • Effective ways of fighting SPAM
  • Elliott Wave
  • end application
  • ePublishing
  • ereader
  • error
  • escape ampersand
  • Escape Key
  • exam for software developer
  • example
  • excel
  • Excellent
  • Exception in thread "main" java.lang.NoClassDefFoundError:
  • EXP/CVE-2012-0507
  • exploit
  • extreme software techniques
  • extreme UX
  • Facebook
  • facebook fair valuation
  • Facebook fatigue
  • facebook ipo
  • Facebook stock
  • facebook true share price
  • facebook true stock price
  • fail
  • failing
  • failure
  • fake traffic hits
  • faking domains
  • fast forward button for browser
  • fault tolerance
  • file splitter
  • file too big for email
  • find apps
  • Firewall Rules
  • firmware embedded in DNA
  • fly-half
  • Form not visible in task bar
  • format telephone number
  • formula doesn't work
  • forums
  • free
  • free email
  • free file splitter
  • free iso burner
  • free template
  • freedom of speech
  • frozen
  • funny
  • fuzzy class
  • fuzzy logic
  • Galaxy
  • geek gossip
  • gerard depardieu
  • get date from timestamp
  • get minutes
  • get remaining minutes between two dates
  • get rid of characters in a number
  • get rid of unwanted characters
  • ghostery
  • gmail
  • good stuff
  • google
  • google ads
  • Google Chrome
  • Google Chrome Browser Blocker
  • Google Circles
  • Google Image Search
  • Google+
  • gramlets
  • great stuff
  • GSM modem
  • hacked
  • hacked LinkedIn Password
  • hackers
  • Handling large amounts of data
  • Hard disk corruption
  • hardware
  • hashtag
  • hot trends
  • how computer games will evolve in the future
  • how do copy a form
  • how google image search works
  • how to build an iphone app
  • how to deal with spammers
  • how to develop iphone app
  • how to duplicate a form
  • how to get a company website quickly
  • how to get rich by writing apps
  • how to get venture capital
  • how to give users an anonymous number
  • how to make an effective online ad
  • how to redirect
  • how to see directory
  • how to send mail with linux
  • how to validate
  • html
  • html input
  • html input tag
  • html tag
  • html tags
  • human garbage
  • hunting terrorists through technology
  • I/Choreographer (xxxxx): Skipped 60 frames! The application may be doing too much work on its main thread.
  • icefaces
  • IDE
  • IE users stupid
  • IE9
  • if browsers were guns
  • imperfect clues
  • In order to select an image from your online storage
  • increase maximum number of open files
  • increase mysql memory size
  • inexact computing
  • innovative uses
  • intelligence test
  • interest engine
  • interesting problem to solve
  • Internet
  • Internet explorer
  • Internet Explorer 10
  • Internet Explorer 8
  • Internet Privacy
  • invalid server's version String Tamirsharpssh
  • investing
  • Invoke or BeginInvoke cannot be called on a control until the window handle has been created
  • iOS
  • iOS 7.1 beta
  • iOX
  • IP addresses for Iran
  • iPad
  • iPhone
  • iphone app
  • iphone apps development
  • ipo
  • is facebook dying
  • is the google search engine concious
  • IT
  • it consulting
  • it jobs
  • java
  • java 8
  • java.lang.ClassNotFoundException:
  • java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0
  • java.sql.SQLException: After end of result set
  • java.util.date
  • javascript
  • javax.servlet.ServletException: java.lang.UnsupportedClassVersionError Unsupported major.minor version 51.0
  • JdbcOdbcDriver.finalize() line: not available
  • JNDI
  • job test
  • join three tables
  • JSF
  • jsp
  • Julianne McCrery
  • Jungian view of the computer
  • keylistener
  • kill application
  • killer robot
  • kindle
  • Kyron Horman
  • lamda
  • laptop
  • launchrock.com
  • learn to program
  • Leicester Tigers
  • libmysqlclient.a
  • Linkedin
  • linking interests to content
  • linux
  • list directories
  • localhost
  • login
  • login before proceeding to page
  • looking for work
  • Mac
  • macbook Pro
  • mail
  • mailer
  • make iphone app
  • making money with photoshop
  • malware
  • malware protection
  • man on roof
  • Mandelbroatian math
  • mango
  • Mark Zuckerberg
  • massively parallel systems
  • Mathematical Modeling Regression
  • mechanized attack detection
  • Merry Christmas
  • meta tag
  • micro programs
  • microsoft
  • microsoft codec
  • microsoft codec doesn't work
  • microsoft is crap
  • microsoft spam tabloid national enquirer
  • Microsoft sucks
  • Minimum Viable Product
  • missing data
  • missing information
  • mistakes
  • mobifreaks.com
  • mobile
  • mobile web tags
  • moderator
  • monetization
  • monetize social media
  • monetizing social media
  • most popular Browser
  • most popular Operating System
  • mothers who kill
  • mouse
  • mouse is dead
  • movie files
  • Multi-Layer-Perceptrons
  • mute button for browser
  • myevent.com
  • myspace
  • mysql
  • mysql client
  • mysql error
  • navigate
  • needed. Structure Query Language
  • network interface
  • Neural Nets
  • new paradigm
  • new SQL functions
  • New Version of Xcode available
  • Nigerian Scam
  • no black screens
  • nokia
  • nokia developer
  • nokia website hacked
  • non-cloud cloud
  • non-compatible
  • nook
  • numbers game
  • OCR
  • offshore software development
  • old technology
  • online
  • open source
  • org.apache.catalina.loader.DevLoader
  • org.eclipse.swt
  • out of memory
  • pages unresponsive
  • parallel computing
  • parallel executables
  • parameter
  • partnership
  • pattern recognition
  • PDF to Word
  • pee on a plane
  • Perfect Web Page
  • performance analysis rugby
  • Perils of Python
  • phone
  • PhotoResize400.exe
  • photos
  • photoshop
  • PHP
  • picture
  • please sign in
  • plugin
  • predictions
  • predictive analysis
  • preventing hack attacks from the Middle East
  • privacy
  • privacy concerns
  • privacy policy
  • problems
  • problems with Microsoft
  • product review
  • programlets
  • programmers in paradise
  • protect yourself
  • punch clock
  • python programming language
  • quant
  • quit facebook
  • quit linkedin
  • Randi Zuckerberg
  • RapidShare
  • RapidShare.com
  • readability
  • real life
  • real UIX
  • reddit
  • redirect
  • refresh
  • remailer
  • rename
  • resize
  • rest in pieces
  • revenge
  • review
  • rise of mobile
  • risks
  • rocketmail
  • roller
  • rough order of magnitude
  • round number to nearest 100
  • row_count()
  • rugby
  • rugby analysis
  • rugby performance
  • RugbyMetrics
  • rules engine
  • running PHP on Tomcat
  • sabermetrics
  • sabremetrics
  • sample
  • Samsung
  • samsung galaxy usb device not recognized
  • satellite
  • scam
  • scan
  • schedule
  • scouting
  • scouting tools
  • script
  • scum of the earth
  • scumbag
  • Search Engine
  • security
  • Seed
  • select results into a file
  • select tag
  • semantic web
  • send email anonymously
  • send sms
  • sendmail
  • SEO
  • serial port
  • server hangup
  • set select
  • set the select of a combo box
  • sharp
  • sharpssh
  • shell
  • shift in consulting
  • show line numbers
  • silicon
  • SIM car
  • single quote
  • skype
  • skype crashes xp
  • skype is crap
  • skype virus
  • sms
  • sms spam
  • social media
  • soft censorship
  • software
  • software algorithm required
  • software bug
  • software emotionally aware
  • software in bugs
  • software job
  • software to capture emotion
  • Solve a tricky problem
  • sony
  • source code
  • spam
  • spammers
  • split a .war file
  • split war file
  • spreadsheet
  • spying on the internet
  • spywal
  • SQL
  • sql tip
  • ssh
  • SSL connection error
  • standard
  • start process at specific time
  • start-up web presence
  • startup
  • startups
  • statistic problem
  • statistics
  • stock manipulation
  • stock price
  • story
  • string
  • string error
  • strip out characters from a number
  • subtract dates
  • sucks
  • sunset
  • Surface
  • SWT
  • Tablet
  • tech support
  • technical test
  • technical trading
  • technology
  • template
  • ten things to get venture capital
  • Terri Horman
  • text spam
  • The best anti-virus
  • The Fastest And Slowest Emails among the big free providers
  • The feature you requested is currently unavailable. Please try again later.
  • the first noble truth
  • The Future of Online Games
  • the ish function
  • the menu supervisor
  • The most effective way to generate hits
  • the next big thing
  • the next big thing in computing
  • The Real Social Network
  • the zen of software development
  • thin slicing
  • This Copy of Windows is not genuine
  • thread
  • Thread: java.net.SocketException: Too many open files
  • thumb-driven menus
  • time comparison
  • Timestamp
  • tip
  • to front
  • toby flood
  • today comparison
  • today() function
  • tomcat
  • tomcat won't start
  • too old for IT job
  • top secrets of the admasters
  • toshiba
  • Toshiba Laptop Mouse Won't Work
  • total privacy
  • totally distributed software
  • tracking cookies
  • traffic faker
  • trends
  • true stock price
  • true value of facebook stock
  • Turing Test
  • twitpic
  • Twitter
  • twitter follow back
  • ubuntu
  • UIThread
  • UIX
  • UIX for Dummies
  • ulimit Hn Sn
  • Ultimate Web Page Design
  • Ultra data privacy
  • unavailable
  • Uncaught ReferenceError: $ is not defined?
  • Uncaught SyntaxError: Unexpected token ILLEGAL
  • unemployed
  • unmoderated
  • update
  • update UI
  • Upgrading SQL
  • url
  • usability
  • usb
  • usb modem
  • User Experience
  • User Interface Experience
  • validating data
  • valuation
  • variable
  • vi
  • video
  • viewing
  • vim
  • vimeo
  • virus
  • Virus domain
  • visual comparison
  • Visual studio
  • vpn connection
  • Walmart
  • war file
  • warning
  • Warren Buffett
  • web page development tip
  • web-based email
  • website doesn't work
  • website errors
  • website traffic
  • Webview
  • Western Digital SmartWare Review
  • what the chinese are searching for
  • where facebook stock will end up
  • who was at the computer
  • Windows 7
  • Windows 8
  • Windows Tablet
  • won't build
  • won't turn off
  • won't turn on
  • word filtering
  • www doesn't work
  • xcode tutorials
  • xhtml
  • Yahoo
  • yahoo copies gmail
  • yahoo mail
  • You have logged out from another location. Do you want to log in again
  • youtube
  • амперсанд

Blog Archive

  • ▼  2013 (82)
    • ▼  November (8)
      • Blogger -- Image Upload Headaches with Google Chrome
      • Nigerian Spammers Now Using RapidShare
      • Tech Support Story
      • Are You Too Old For IT? Repost From Information Week
      • For all of you Apple Developers out there
      • Using the Android Simulator Webview, with Localhos...
      • New XCode Seed Available for Apple Developers
      • Another Google Software Bug on Blogger
    • ►  October (18)
    • ►  September (10)
    • ►  August (10)
    • ►  July (11)
    • ►  June (9)
    • ►  May (2)
    • ►  April (6)
    • ►  March (6)
    • ►  January (2)
  • ►  2012 (115)
    • ►  December (9)
    • ►  November (4)
    • ►  October (15)
    • ►  September (8)
    • ►  August (14)
    • ►  July (12)
    • ►  June (14)
    • ►  May (19)
    • ►  April (12)
    • ►  March (4)
    • ►  February (2)
    • ►  January (2)
  • ►  2011 (59)
    • ►  December (2)
    • ►  October (1)
    • ►  September (8)
    • ►  August (6)
    • ►  July (8)
    • ►  June (10)
    • ►  May (13)
    • ►  April (11)
Powered by Blogger.

About Me

Unknown
View my complete profile