Posts

c# - Creating an installer with WPF forms, packaged files and custom setup actions -

i'm trying create way of deploying set of tools (which add-ins 3rd party software) users. i following: user enters serial dlls in directory structure extracted program files a file copied location in programdata (this registers add-ins 3rd party application) online activation software performed can point me right direction this? had @ deployment projects in visual studio i'm not sure if i'm after. main problem ugly, have nice wpf installer, , have more custom experience. guess can traded off if going make things easier. i thinking, make own c# project extracts files, have no idea how package them , extract them part of 1 download (like msi files deployment projects create). can point me in right direction? the thing having wpf installer users need appropriate version of .net installed install application. may fine if using .net 3.0 , software requires windows vista or greater. if use .net 3.5 or 4.0 stating .net requirement may not enough. do if u...

Xcode warning: "Multiple build commands for output file" -

i getting error this: [warn]warning: multiple build commands output file /developer/b/be/build/release-iphonesimulator/bb.app/no.png [warn]warning: multiple build commands output file /developer/b/be/build/release-iphonesimulator/bb.app/d.png [warn]warning: multiple build commands output file /developer/b/be/build/release-iphonesimulator/bb.app/n.png but have checked xcode , don't see duplicates of such files @ all. this post in apple mailing lists say, there no duplicates. in project navigator, select xcode project file. show project settings targets in project. in "copy bundle resources" build phase. should find offending files in list twice. delete duplicate reference. xcode complaining trying bundle same file application 2 times.

algorithm - Smallest circle which covers given points on 2D plane -

problem: what smallest possible diameter of circle covers given n points on 2d plane? what efficient algorithm solve problem , how work? this smallest circle problem . see references links suggested algorithms. e.welzl, smallest enclosing disks (balls , ellipsoids), in h. maurer (ed.), new results , new trends in computer science, lecture notes in computer science, vol. 555, springer-verlag, 359–37 (1991) is reference "fastest" algorithm.

java - Android - Remove data from SDCard -

my application use sdcard store data (about 100 mb of stuff). delete these file when application deleted through application manager , offer way clear data there (like google apps does). ideas ? quote http://developer.android.com/guide/topics/data/data-storage.html accessing files on external storage if you're using api level 8 or greater, use getexternalfilesdir() open file represents external storage directory should save files. ... if user uninstalls application, directory , contents deleted. from understanding create file on sd card has scope (like directory of applications package namespace) , phone delete directory when uninstall app. assume how google apps achieves function.

php curl reset or modify cookies -

php-curl: how hell can modify or delete cookies after calling curl_exec in existing curl object? 1) "cookiejar" file not saved on disk until curl_close()! 2) curlopt_cookie - can't help, adding cookie same name, not removing/editing older one. 3) curlopt_httpheader - setting "cookie: " - can't too! i need edit or totally remove cookies without closing - re-creating curl object =( i think had similar problem. solution cloning curl object curl_copy_handle() , closing 1 of them (either original or clone). i'm not sure if useful problem.

How to set global variables in jQuery/JavaScript? -

i have ajax function: $.ajax({ url: 'http://localhost/process.php', type: 'post', data: '', success: function(output) { var animal = output } }); i var animal set globally can call anywhere on page outside ajax function's success callback. how this? declare outside of function or jquery construct var animal = null; $(function(){ $.ajax({ url: 'http://localhost/process.php', type: 'post', data: '', success: function(output) { animal = output } }); });

java - What does this symbol mean in IntelliJ? (red circle on bottom-left corner of file name, with 'J' in it) -

under target folder in intellij java project created, have few java source files in package. beside each file 'j' icon has red circle line through it. what mean? how fix it? you need specify source dir file> project structure > modules click directory , click sources button it's weird because it's done automatically. maybe it's better if recreate project again.