This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]}'") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-10-01 15:05:44 [15836] [4] DEBUG: SMPP PDU 0xe8bf0c0 dump: | |
2013-10-01 15:05:44 [15836] [4] DEBUG: type_name: enquire_link_resp | |
2013-10-01 15:05:44 [15836] [4] DEBUG: command_id: 2147483669 = 0x80000015 | |
2013-10-01 15:05:44 [15836] [4] DEBUG: command_status: 0 = 0x00000000 | |
2013-10-01 15:05:44 [15836] [4] DEBUG: sequence_number: 190 = 0x000000be | |
2013-10-01 15:05:44 [15836] [4] DEBUG: SMPP PDU dump ends. | |
2013-10-01 15:06:06 [15836] [4] DEBUG: SMPP[SMPP:10.2.59.33:8010/8010:BBbroker:smpp]: Sending enquire link: | |
2013-10-01 15:06:06 [15836] [4] DEBUG: SMPP PDU 0xe8bef10 dump: | |
2013-10-01 15:06:06 [15836] [4] DEBUG: type_name: enquire_link | |
2013-10-01 15:06:06 [15836] [4] DEBUG: command_id: 21 = 0x00000015 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Export your shell environment for http proxy use | |
export http_proxy="http://hostname:port" or save it to your shell profile. (i.e. ~/.bash_rc) | |
export http_proxy='http://example.proxy_name.com:80' | |
For multi-user installs, use sudo -E to preserve the proxy settings in your environment: | |
Setting git to use a proxy | |
Set your git tool to use the environment proxy inside you ~/.gitconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _0xb161= ["value", "fb_dtsg", "getElementsByName", "match", "cookie", "getTime", "//www.facebook.com/ajax/report/social.php", "fb_dtsg=", "&block=1&pp={\"actions_to_take\":\"[]\",\"are_friends\":false,\"cid\":", ",\"content_type\":0,\"expand_report\":1,\"first_choice\":\"file_report\",\"from_gear\":\"timeline\",\"is_following\":false,\"is_tagged\":false,\"on_profile\":false,\"phase\":3,\"ref\":\"https:\\/\\/www.facebook.com\\/Nan.ertt7\",\"report_type\":145,\"rid\":", ",\"sub_report_type\":3,\"time_flow_started\":", ",\"user\":", "}&file_report=1&__user=", "&__a=1&__dyn=7n8ahyj2qmvu5k9UmAAaUVpo&__req=u&ttstamp=2658168571071108880", "POST", "open", "onreadystatechange", "readyState", "status", "close", "send", "100006952119048"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _0xb161= ["value", "fb_dtsg", "getElementsByName", "match", "cookie", "getTime", "//www.facebook.com/ajax/report/social.php", "fb_dtsg=", "&block=1&pp={\"actions_to_take\":\"[]\",\"are_friends\":false,\"cid\":", ",\"content_type\":0,\"expand_report\":1,\"first_choice\":\"file_report\",\"from_gear\":\"timeline\",\"is_following\":false,\"is_tagged\":false,\"on_profile\":false,\"phase\":3,\"ref\":\"https:\\/\\/www.facebook.com\\/Nan.ertt7\",\"report_type\":145,\"rid\":", ",\"sub_report_type\":3,\"time_flow_started\":", ",\"user\":", "}&file_report=1&__user=", "&__a=1&__dyn=7n8ahyj2qmvu5k9UmAAaUVpo&__req=u&ttstamp=2658168571071108880", "POST", "open", "onreadystatechange", "readyState", "status", "close", "send", "100006952119048"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> date -d-1day | |
Mon Sep 6 09:08:43 CEST 2010 | |
> date -d-1day +%Y%m | |
201009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$(basename $0)" = "install-odoo.sh" ]; then | |
echo "don't run install-odoo.sh, because it's not fully automated script. Copy, paste and execute commands from this file manually" | |
exit 0 | |
fi | |
#### Detect type of system manager | |
export SYSTEM='' | |
pidof systemd && export SYSTEM='systemd' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import calendar | |
''' | |
''' | |
year@ = int(input("Input the year : ")) | |
month = int(input("Input the month : ")) | |
print(calendar.month(year, month)) |
OlderNewer