Posts

How do I declare a file type for removable storage access in Windows UAP? -

i have windows universal app declaration in app manifest removable storage access. how declare file type access ? <capabilities> <capability name="internetclient" /> <uap:capability name="removablestorage" /> </capabilities>

Xcode C++ Console: Is there a limit on number of input characters? -

Image
when paste or type string contains ~1000 characters console, ¿'s (upside down question marks) start appearing in input. once start appearing, can't delete characters i've entered, , pressing enter yields more ¿'s. program continues after hitting delete once , pressing enter again. when cout << string obtained input , amount of characters equal number of ¿'s appeared in input missing string. there no missing characters in input, strange ¿'s. it's not issue unknown characters, happens simple letters , digits. doesn't happen when input entered in pieces. there sort of limit on how many characters can entered console @ once, or different error? , can fixed? thanks!

datatables with fixedheader: row click function giving error on fixed cols -

i have on click function storing row data in console log if click on first 2 columns, you'll notice function returns undefined, of unfrozen columns returns data object i know has todo fact fixedcolumns created in cloned table, wondering if there workaround this? // server-side processing object sourced data var $table; $(document).ready(function() { $table = $('#example').datatable( { "processing": true, "serverside": true, "ajax": "/ssp/objects.php", dom: "<'row'<'col-md-6 'l><'col-md-6 pull-right'>r>t<'row'<'col-md-6'i><'col-md-6'p>>", "columns": [ { "data": "first_name" }, { "data": "last_name" }, { "data": "position" }, { "data": "office" }, ...

php - URL issues with domain masking -

i have domain masking turned on through domain registrar displays foo.org in address bar. discovered after customers sign via paypal, , returned site along post data site process, variables automatically appended url this: foo.org/success.php?txn_id=kb0099898yp&txn_status=sdlkfjbsdkljfbsdkjb&etc . trouble is, these variables remain in address bar indefinitely, if click on link , page loads! if refresh page, no matter go on site after this, resubmits data server processing! this happens if customer manually appends url. never goes away. i have looked on , google, , i'm either not asking right question, or no 1 else has had problem before :) how remedy this?

java - Get automatically a CSV from external server using Spring MVC -

i have scheduled task (using cron) inside spring mvc application. inside programmed task have csv external server in following link: http://www.aemet.es/es/eltiempo/observacion/ultimosdatos_6172o_datos-horarios.csv?k=and&l=6172o&datos=det&w=0&f=temperatura&x=h24 and once have parse it. problem comes when getting file, when click on previous link can download computer, don't know how using spring.... can give me hint?? update: don't have code yet, guess must similar following code: url stockurl = new url("http://example.com/stock.csv"); bufferedreader in = new bufferedreader(new inputstreamreader(stockurl.openstream())); csvreader reader = new csvreader(in); but problem url not .csv. whe put url in browser looks redirect. thank indeed. thank comments. if url doesn't have csv extension, tried following code (in java, not spring) works!! url stockurl = new url("http://www.aemet.es/es/eltiempo/observacion/ultimosdato...

Typescript: How to reference jquery-easyui library? -

i'm new typescript. trying work jquery-easyui library not have d.ts definition file in defintelytyped repo. not have time (or skills) write d.ts file library. how go using in typescript file? in test.ts file, tried doing a: /// <amd-dependency path="libs/easyui/jquery.easyui.min.js"> function newuser(){ $('#dlg').dialog('open').dialog('settitle','new user'); ... etc. but webstorm reports error on "$" symbol "unresolved method or function $()". tried replacing amd-dependency .. reference.. still did not work. library path correct. code works fine if put in .js file. step 1 include declare file jquery. @ least type info vanilla jquery. put following @ top of js files using jquery /// <reference path='jquery.d.ts' /> next want create file jquery.easyui.d.ts , add this: interface jquery { dialog: any; } the code above means jquery interface (initially defined i...

swift - Limit the scaling of pinch gesture method to the height of screen -

i have 2 background images: background.png (1920 x 1280) , background@2x.png (3840 x 2560). also, app works on landscape mode. at run time size of background image @ max. problem: try print console height , of background image using pinch gesture method on each print, both values remain @ 4001.999.. x 2668.0, though, size of background image gets resize while pinching in , out. what i'm trying accomplish is: access width , height of skspritenode containing background image can check if height equal of screen. if is, disables effect of pinch gesture of further zoom in. manage same effect zooming out. if can suggest better algorithm doing this, please, feel free share. thanks!! this code: // background backgroundnode = createbackground() self.addchild(backgroundnode) println("anchorpoint = \(self.anchorpoint)") } override func didmovetoview(view: skview) { let pinchrecognizer = uipinchgesturerecognizer(target: self, action: selector(...