Posts

Service for testing bounced email handling -

i'm sure must exist, can't find anywhere this. want online service provides email address can send email to, , guarantee bounce. the reason want test bounce-handling functionality of piece of software. can use kind of valid address know doesn't exist, doesn't seem practice, though one-off test, not automated (at least not yet). ideally, i'm looking mailinator, can send messages, see them pending, , choose whether bounce them, , type of bounce. google did turn address bounce-test@service.socketlabs.com, far can tell, it's no longer bouncing messages, because when try i'm not getting back. any suggestions? edit per john's post below, service seems working again - tested on 30th september 2016 gmail, , got bounce response within 5 minutes. we have bounce test email recommend our customers , free use it. it replies back: :fail: no such person @ address. the email is: bouncetest@tribulant.com we have listed in our documentation...

winapi - C Windows Add Default Search path for files (fopen...) -

i have written little interpreter can run scripts. convenience, associated file type (.apol) interpreter located in "c:\apol\interpeter.exe" whenever double click .apol file script interpreter pop , run file. but heres problem. lets assume script looks following: f = openfile("data.txt") //pseudocode of course, windows in directory of "c:\apol\" first file, want, windows in directory of scipt file instead of interpreter, somehow possible set up? you want use universal naming convention path syntax in call fopen. see fopen file windows network location also want find out script file user clicked on, located: int winapi winmain( hinstance hinstance, hinstance hprevinstance, lpstr lpcmdline, int nshowcmd ); the lpcmdline has information you.

plsql - Function dont return decimal places -

i have oracle function performs calculations, didn't return decimal of result. create or replace function my_teste return decimal begin return 1/3; end; if executed function select my_teste dual it return value 0 decimal places. expect return 0.3333 ideas ? decimal declared in package sys.standard subtype of number (as numeric types in oracle), number(38, 0), means decimal values not able have digits right of decimal point. in order have decimal values numbers right of decimal point have declared such, similar to dvalue decimal(38, 4) however, won't if want return such value function, because can't have precision specifiers on function return type. in order have decimal value digits right of decimal place returned function need declare subtype of decimal specifies correct number of decimal places , use subtype return type of function. here's example: declare subtype dec_10_3 decimal(10, 3); function test1 return decimal...

Error starting HBase in standalone mode -

i've downloaded , installed hbase 0.94.9 in ubuntu image. followed apache's getting started steps. said modify hbase-site.xml, though found mine had no properties defined in it. added two. here complete file: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <property> <name>hbase.rootdir</name> <value>file:///home/dan/hbase</value> </property> <property> <name>hbase.zookeeper.property.datadir</name> <value>/home/dan/zookeeper</value> </property> </configuration> i have made sure /etc/hosts doesn't have 127.0.1.1 problem: 127.0.0.1 localhost 127.0.0.1 ubuntu # following lines desirable ipv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters if unders...

html - Jquery open file search windows -

i have create simple button : <button id="mybutton">search</button> i need open search file window when click on button. need behavior of input type file. and don't want use input type file :) any idea ? ! you can trigger click , listen #file change: $(function(){ $('#mybutton').on('click', function(){ $("#file").trigger('click'); }); $("#file").on('change', function(){ console.log(this.value); }); }); with this.value being filepath/file check jsfiddle

jailbreak - Hooking CFNotificationCenter for all darwin notifications - iOS -

i writing hook logs darwin notifications in system. hook below functions: cfnotificationcenterpostnotification cfnotificationcenterpostnotificationwithoptions nsnotificationcenter::postnotification nsnotificationcenter::postnotificationname i see lot of logs. example when unlock screen shows me sbdevicelockstatechangednotification. but expecting events - "com.apple.springboard.lockcomplete" or other events here not sure why not able capture darwin-like notifications. appreciated. here's code review #include <notify.h> #include <substrate.h> #include <sqlite3.h> #include <string.h> #import <corefoundation/cfnotificationcenter.h> //#include "cpdistributedmessagingcenter.h" #import <corefoundation/corefoundation.h> #import <quartzcore/quartzcore.h> #import <uikit/uikit.h> //#import <springboard/springboard.h> // init cfnotificationcenterpostnotification hook void (*orig_cfnotificationcenterpostno...

c++ - Visual Studio 2012 error: Assertion Failed -

i using vc++(2012) allegro 5.0.7. , following link tutorials. http://www.anothergames.com/book/allegro?page=3 i assertion failed error when compiled code present @ above given link. here snapshot of error. http://www.anothergames.com/phpbb/viewtopic.php?f=3&t=761&p=1045#p1045 please me out, have been wandering here , there fix. came here answer last choice. you trying use null bitmap. common reason running program directory not expecting, causing relative paths fail. read , follow advice of article solve issue.