Skip to content

Instantly share code, notes, and snippets.

View askinss's full-sized avatar

Akinsola Akinwale askinss

  • Multi++
  • Earth
View GitHub Profile
@askinss
askinss / ema.rb
Created September 26, 2013 02:48
subscriber imsi fix
require 'net/telnet'
HOST = '172.23.1.100'
PORT = '10050'
USERNAME = 'BBBMW'
PASSWORD = 'BBBMW'
def get_imsi(msisdn, &block)
ema = Net::Telnet::new("Host" => "#{HOST}",
@askinss
askinss / ported.rb
Created September 24, 2013 12:22
script to delete msisdn from a databse table
imsi = Array.new
f = File.open("/home/bblite/portedmsisdn.txt")
f.each_line {|line| imsi.push line}
conn = OCI8.new(DB_USER, DB_PASSWORD, DB_SERVER)
ported = conn.exec("del from subscriber where '#{imsi[0]}'")
@askinss
askinss / log.txt
Created August 28, 2013 18:44
some loggingexceptions
cherServlet - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SMSHandler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.vasconsulting.www.controllers.SMSHandler.setHibernateUtility(com.vasconsulting.www.interfaces.HibernateUtility); nested exception is java.lang.NoClassDefFoundError: com/vasconsulting/www/utility/HomiscoResults
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.