न तो स्रोत कोड या दस्तावेज़ संरक्षित WS : < / P> ऑब्जेक्ट कंसट्रक्शन पार्सर {def fromFile (inp: file, preserveWS: बूलियन) = नया कंसट्रक्शन पार्सर (स्रोत.फ्रेमफ़ाइल (inp), संरक्षित WS)। स्रोत से डीआरपी प्रारंभ करें (inp: स्रोत, संरक्षित WS: बूलियन) = धन्यवाद
वर्ग = "पोस्ट-पाठ" आइटमप्रॉप = "पाठ">
जैसा कि चटाई का सुझाव दिया जाता है, इसका मतलब है "सफेद स्थान को संरक्षित करें"।
I have some code collection, such a function:
In the browser, I can drag an image , Code like this:
activate the function sub () {isMoving = false; $ Thumb.bind ('Masudown', launcher); } Function startMove () {isMoving = true; $ (Document). Bind ('mausomov', leftupdate); $ (Document) .bind ('mouseup', endmov); return false; } Function endMove () {isMoving = false; $ (Document). Unbind ('mausomov', left updating); $ (Document). Unbreak ('mouseup', endmov); return false; } I only copied the part of the functions, but it should be clear ...
The problem is the mouseup event, it is working fine in all browsers IE8 . When someone presses a thumb and releases the mouse outside the browser, then a mouse movement (without pressing the mouse) will cause the image to be moved.
- Click on the image
- Drag it and then release it mouse outside the visible area of the page (for example leave the mouse over the address bar) < Li> Now if you move your mouse up and down, the image goes with your mouse (which is not an ideal behavior)
IE8 Is there any possible solution for this? I have spent a lot of time on this ... I will be online for the answer, thanks a lot!
This is due to a bug in IE8, I feel that due to poorly implemented protection, is.
In IE8, once the mouse has left the document, there is no mouse event fire document.mouseup - I think this is a first security bug in IE The reason is, where you can get the coordinates of mouseclick outside the browser window. Put another fire on fire when the mouse leaves the area. Fortunately, IE has an appropriate event that we can use here:
function startMove () {isMoving = true; $ (Document). Bind ('mausomov', leftupdate); return false; } Function endMove () {isMoving = false; $ (Document). Unbind ('mausomov', left updating); return false; } Function activate () {isMoving = false; $ Thumb.bind ('Masudown', launcher); $ (Document) .bind ('mouseup', endmov); // IE 8 Hack - Finish this step even when the mouse leaves the document ($). Bind ('muuleve', endmov); } Note that mouseleave is a required behavior - it only takes a fire when the mouse leaves the document area. Other browsers other than IE support mouseout Instead, but every time the mouse crosses the hair content it is useful, so jQuery.
I would like that the value of the XML properties that comes on the page using jazzery should be underlined on a specific character .
$ (menu group) .append ('& lt; a href = "#" id ============== ================================================== =================== MenugroupName + "onclick =" SearchByDE (this.id) "title =" '+ + + "ModuleTool Note Note +" Access Key = "' + Menu Access + "Class =" hash menu "left_nav_menu" & gt; '+' & lt; p style = "padding-top: 6px;" & gt; '+ menuGroupName +' & lt; / p & gt; '+' & lt; / A & gt; ');
CSS:
.accesskey {text- Decoration: Outline; } JS:
var accessIndex = menuGroupName.indexOf (menuAccessKey); MenuID = menuGroupName; If (accessIndex! == null) {menuGroupName = menuGroupName.substr (0, accessIndex-1) + '& lt; Span class = "accesskey" & gt; + Menu entry + '& lt; / Span & gt; ' + Menu group slogan SUVRT (Access Index + 1); } $ (Menu group) .append ('& lt; a href = "#" id = "' + menuID + '" onclick = "SearchByDE (this.id)" title = "' menu tooltip note + '" accesskey = "+ MenuAccessKey +" class = "hash menu" left_nav_menu "> gt; '+' & lt; p style =" padding-top: 6px; "& gt; 'menu group name' & lt; / p & gt; + '& Lt; / a & gt;'); I still do not see any dependence on XML on this. Maybe the menu data comes from XML, but I do not know how important it is for formatting.
I'm new to Android programming; I am trying to create a simple program where I can handle touch events on various shapes. I've created a size by expanding the view category and I want to add touch impressions to those sizes like "touched rectangle, touched touches, round touches" or their tags. But I do not know how I can do this ... thanks! Advance!
Override OnTouchEvent in your viewable class This will call it and the location touched on the screen, and touch Will call in an event with the type (touch, touch, touch release, etc.). When you look up, take coordinates and see that it is inside the shape.
Well, this is a bit tricky with my limited regex experience and although I've spent googling the past 30 minutes, I suspect It is easy to find a little special for this.
What I really need to do is find a string for a - character and if there is no empty space around it , it should be ' Replace with - '. For example: "Arooh Goggles - Black"
"Arooh Goggles-Black" and "Airho Goggles-Black"
I looked at lookhead Any help appreciated - if it matters, then it is going to be used in PHP.
preg_replace ('/ \ s * - \s * /', '-', $ Targets);
After submitting the form I want to store your current URL for my new URL (which I at that page Was redirected).
For example:
www.someurl.com/myproject?limit=10 I have tried
I get an error: no root matches {: no action = & gt; "Show",: Controller => "Patient_record" ,: border => 10}
Edit: So I think it
patient_record_path (id: 1, range: 10) render it but it does not appear in the URL of these values
rake route
Patient_record_index GET /patient_record(.:format) patient_record # index POST /patient_record(.:format) patient_record to # create new_patient_record get /patient_record/new(.:format) patient_record # new edit_patient_record /patient_record/:id/edit(.:format) Rogi_krorded # edit Rogi_snkramn gET /patient_record/:id(.:format) p Atient_record # show PUT /patient_record/:id(.:format) patient_record # update dELETE /patient_record/:id(.:format) patient_record # destroy
Use "params.merge" to keep the previous parameters, for example
< Code> & lt;% = link_to 'link', parameters.marg ({: per_page = & gt; 20})%>
Issue when trying to create a signed APK, errors in the last step with it:
[2013-06-20 11:39:34 - MyApp I'm using Jarfile / users / rob / Android
) using the latest Eclipse ADT v22.0.1-685705 (just installed this morning) And it seems that at least one month of this problem By Google.
To fix this, change
:
java -jar $ PROGUARD_HOME / lib / proguard.jar "$ @" from: java - jar "$ PROGUARD_HOME / lib / Proguard.jar "" $ @ " In this file & lt; Android SDK location here & gt; / Sdk / tools / proguard / bin / proguard Sh
I know that this is a repeated question and I know that if there are additional properties in it, then it is not possible "Table".
I had an idea of how to get the effect of the relationship rather than 1: nn-1, but I want to hear some other ideas.
If I have There are three institutions, A, B, and AB, where AB has made A: B relation possible and has additional properties.
From the database By using the Hale approach, I have a partial class A and B.
Public Partial Class A {Public INMMerable & lt; EntityObject & gt; BS {Get it Back. P = & gt; PAB.B);} Set {// ...}}} Something like this might be possible
Just doodling in my head I'm currently on vacation and I do not have any computer, so it has not been tested, but my cell phone is written on.
I see It may be a problem after the reference settlement or separation is being done.
Any thoughts?
If you are already treating AB with a specific unit, then all the B All you need is something to get from:
Public partial class A {public IQueryable & lt; B & gt; Get back to BS {get}. AB Enqual (). Select (AB = & gt; BB). Distinction (); }}} I'm not sure how well it will perform compared to many of the many supported people supported by EF (without any payload), but what you ask Are there.
Are there extensions / contributions projects that add many extensions to NLOG, such as for example the current method automatically Entrance and its criteria? For example:
Public Zero Register UserFormural ContentFinNotLife (String Email, String Name, String Telen) {_log.Debug (_log.GetCurrentMethodAndParameters ()); } This will be because RegisterUserForPromotionalMaterialIfNotAlready (test@test.com, 'Test Name', 'Test Tel') for example. >
Based on the method it is not possible without an interceptor.
/ div>
I use Sentry 2 for auth and I have created a user, throttle and group model. After I did this, I modified the config files from the Sentinel 2 package. I use user_id, group_id, etc. instead of ID, I use my primary key in the model.
But if I modify the group primary key, I get an exception, that column tab_groups.id was not found. But in the extended group model I override the primary key to Group_ID.
I think this is a bug, because if I change the name of my user and throttle model, I get an exception, because the files are not found if I change the name of my group model or it Eliminate, I did not get any exceptions. Use Sentry 2 to always use your group model. Its bug or did I do something wrong? I made my model, modified the config. Users and throttle models are working, but only the group model is not used.
This is a bug and
if you create your own group model And if you override the table or primary key, then you have to override the function groups on the user and the group model eg:
Public function group () {return $ this- & gt; Affiliation Value ('\ Application \ Model \ Group', 'users_groups'); }
I have an app that comes with a bunch of small images (about 200 images) (~ 10 MB total Size) in different cases on screen when the user presses a button, one of these images is displayed (any of them can be). More images may be added at any time in the future, so the app checks for an XML document on the server (this check is done in the cret of the main activity; if this check was already done, at least 24 hour). The XML document lists all the images, so it's easy to check whether the document was changed and new images were added. If more images have been added, then the app will download these images from the server and store them with images already present on the device.
My first thought was to bundle 10 MB images with the app, they are put in the Asset folder and the app will start for the first time, images will move from the asset folder to the internal storage. Then if any other images will be added in the future, they will be downloaded and saved in internal storage, so all the images are getting well together, although after using some experiment I found that it takes a lot of equipment For the time (test on HTC One S with Android 4.1) just to list the images in the property folder (more than a minute), actually copy them This is unacceptable, because I do not take users to wait for the first minute.
The list of files I'm using the list of AssetManager class (string path) method
then I think my question is:
How to implement in a manner so that the user does not have to wait long to launch for the first time and the app will still be able to download more images on the fly?
I have a similar scenario, I zip all the files on the same zip and res / raw folder On the first startup, I have removed all the files in the internal storage of the app.
public static zero unzipFiles (reference reference, int file) {InputStream stream; Context.getFilesDir () mkdirs () .; String path = context.getFilesDir (). GetAbsolutePath (); Try {stream = context.getResources () OpenRawResource (file); If (stream == faucet) {new runtime expiration ("can not load" + file + "file from raw folder"); } ZIP Intstream Xis = new ZIP InputStream (stream); Zip entry entry; While ((entry = zis.getNextEntry ()) = null) {if (entry.isDirectory ()) {file f = new file (path, entry.getName ()); If (! F.exists ()) {FMKDIR (); }} And {int size; Byte [] buffer = new byte [2048]; File f = new file (path, entry.getName ()); FileOutputStream fos = New FileOutputStream (f); BufferedOutputStream boss = new BufferedOutputStream (fos, buffer.length); While ((size = zis.read (buffer, 0, buffer. Album))! = -1) {Bose. Write (buffer, 0, size); } boss. Flush (); Bos.close (); }}} Hold (IOE expansion e) {new runtime expiry ("unzip" "+ + +" + "", e); }}
I currently hhave
when you remove the data attribute data-the best way to reduce the size What is a div? When you remove the fields and when you remove the fields, the data-size increases basically.
my html
& lt; Ul id = "variants" & gt; & Lt; A href = "#" class = "add_options" data-id = "70281696560900" & gt; Add more & lt; / A & gt; & Lt; / Ul & gt; Thanks.
HTML:
& lt; Ul id = "variant" data-size = "0" & gt; & Lt; A href = "#" class = "add_options" data-id = "70281696560900" & gt; Add more & lt; / A & gt; & Lt; / Ul & gt; Number of rows: & lt; Span id = "count" & gt; 0 & lt; / Span & gt; JS:
$ ('Add_options'). Input type = "text" id = "prop_name" class = "prop_name" placeholder = ("click", function () {$ ('# variants'). (& Lt; div class = "some_id" "Property Name" & gt; & lt; a href = "#" class = "remover" & gt; Remove & lt; / a & gt; & lt; / div & gt; '); var size = parseInt ($ ('' Data-size ''), 10) + 1; $ ('# variants') .attr ("data-size", size); $ ("# count"). Text ( Shape);}); $ ('#Variants') ('Click', '.remover', function () {$ (this) .closest ('. Some_id'). Hide (); var size = parseInt ($ ('# variants ("data-size", size) ; $ ("# Count"). Text (size);} ("data-size"), 10) - 1; $ ('# variants').); < / P>
I'm just trying to do the best thing to print the numerical lines, the code is only partially completed Because I'm still new to regex in general so the correct method or syntax can not be used; Different reminds work fine, this is when I add them that I get unwanted results: / P>
Sample string:
Hail = 'title | Head 1 | Head 2 | Head 3 | Head 4 ---- | ------ | ----- | ----- | 1 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none) 2 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none) 3 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none) 4 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none) 5 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, None) All | Processes: | MemAlloc | = | 408125440 | (None, none). 0.0.0.0 | (None, none) 0.0.0.0, Re-import '' 'for line in file: pat = re.match (' (^ [AZ] [az]) | (^ -. +) ', Line) Use # or re.match ('^ [0-9]', line) and match Pat! = None Patip = re.match ('^ {1,3} \. \ D {1,3} \. \ D {1,3} \. \ D {1,3}', line) # if Patip == None and abdomen == None: Print (line) I am stuck to print counting lines on logic. I can be completely closed Keep in mind .. I do not want to print the line 0.0.0.0 (IP address).
Desired output:
1 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none) 2 | 1,150,976 | 0 | 25,300,992 Bfa92720 / beefa 9 24f8 Su (None, none) 3 | 1150 976 | 0 | 25300992 | Bifa 92720 / BIFA 924F8 | Su (None, none) 4 | 1150 976 | 0 | 25300992 | Beef 927 20 / bfa924f8 | Su (None, none) 5 | 1,150,976 | 0 | 25,300,992 Bfa92720 / bfa924f8 Su (None, none)
Import import import sys file = Io.StringIO ('' 'title | head1 | head2 | head3 | head4 | ---- | ----- - | ----- | | ----- | 1 | 1,150,976 | 0 | 25,300,992 | bfa92720 / Bfa924f8 | su ((none, none) 2 | 1,150,976 | 0 | 25,300,992 | bfa92720 / bfa924f8 | su (none, none) 3 | 1,150,976 | 0 | 25,300,992 | bfa92720 / bfa924f8 | su | (none, None) 4 | 1,150,976 | 0 | 25,300,992 | bfa92720 / bfa924f8 | su (None, none) 5 | 1,150,976 | 0 | 25,300,992 | bfa92720 / bfa924f8 | (none, none) All | Processes: | MemAlloc | = | 408125440 | (none, c (No, None) 0.0.0.0, Text '' ') sys.stdout.writelines (If file re.match (' \ d + | ', line))
मैं कॉल की तरह उपयोग करने का प्रयास कर रहा था:
User.first.ensure_reset_password_token! < / कोड> और यह मुझे एक त्रुटि देता है:
NoMethodError: अपरिभाषित विधि `sure_reset_password_token! ' मेरे मॉडल में मेरे पास है:
devise: database_authenticatable,: registerable, वसूली योग्य, यादगार,: trackable,: validatable,: token_authenticatable मैं मार्गों में स्थापित:
devise_for: प्रयोक्ताओं, नियंत्रक: {रजिस्ट्रेशन: "उपयोगकर्ता / पासवर्ड"} तो मैं इस विधि का उपयोग क्यों नहीं कर सकता अगर मैं उन सभी विधियों का उपयोग करूँ जो यहाँ से सुरक्षित नहीं हैं?
आप क्या योजना बना रहे हैं? ऐसा लगता है कि इस पद्धति को devise-2.1.3 में हटा दिया गया है
पुनर्प्राप्ति योग्य। आरबी
Hibernate automatically makes automatic signature wrong, and in fact it is also true to set Recommends.
I'm getting myself set to correct itself on the need to sign a single database command (I want to send 'vacuum' to my postgrescale database) But I want to set up AutoCamet (as recommended) everything else.
I can not find any way to manually change the program for a session.
- Do I need a separate configuration / session this is a operation ??
Thank you.
I use the session at the end of a setter and setter calling session for automatic but vacuum. .save (this) (assuming you can handle that session session manager). Make sure you type accessibility access for you. FIELD is not AccessType.PROPERTY, or you will get some unnecessary database queries.
I am trying to create all the divs that fade .to-hidden-css class and id with id = To become fully visible "feet-hover" when I hover on div id = "mission"
This is my code:
$ (function () {$ ("#missions") hover (function () {$ ("to-the-hide" "$" ('' Fit-Hover '' (Opacity ':' 1.0 '}, "Slow");}, Function () {$ (" "To-the-hide"). Stop (). (Anonymity: 1.0}, "slow"); $ ('# -foot-hover'), stop (). Chetan ({'opacity': '0' }, "Slow");});}); This is my html: I want to fade it by changing the block of text.
& Lt; div id = "featured" class = "grid call-940"> The script runs correctly when I first take it again and then it does not go again.
Please help!
Try this, it will solve your problem
$ (function () {$ ("work") (maybe (Function () {$ ("to-the-hide"). Each (function (index) {$ (this). Stop (). (Obscurity: 0.5}, "slow"); $ ('# feat-hove $ {("Opacity: 1.0}", "Slow"); $ ('' '' '' '' ' To-hog-hidden ') (function (index) {$ (this). Stop ());) (); ()' apocity ':' 0 '}, "slow");})}}); });
I am trying to see the value of an item in the value of the second value of the same Tupal within a list of the Tuples What I need to do after all, all Tulips have a specific item 2, choose the most recent date time from that selection and grab item 1.
For example, if I finally want to get the name most recently "from the programmer group, I argue that the argument for catching all items called" programmer "is expected, see Which is the most recent date and since 6/25 "STAN" output is more than 6/20.
list & lt; tubal & lt; string, string, DateTime: MyList; myList.Add (NewType & lt; string; String; DateTime; ("Bob", " MyList.Add (New Tupal & String, String, DateTime; ("Stain", "Programmer", 6/25/2012); myList.Add (New Tupal & lt ; String, string, date time & gt; ("horoscope", "athlete", 6/20/2013);
This is a very simple operation with LINQ. The first step is to order the list by the date list (item 3), after that you only first () Can query on query and turn on the most recent item Note that LINQ operations are not done in place, which means that the command of itmes in myList will not be affected by this operation, it will create a new IEnumerable which is done by tuple.Item3 , after which you have to give the item first item. Tupal & lt; String, String, DateTime & gt; Most recent = myList.Orderby (x = & gt; x.Item3). first (); To add a restriction to the group, you only need to add a clause.
Tupal & lt; String, string, datetime & gt; Most recently = myList. There (y = & gt; y.Item2 == "Programmer"). Order By (x = & gt; x.Item3). first (); I recommend checking the docs of the objects query operator on LINQ. Whatever I have used, it is a standard query operator and you will see them everywhere in the modern C # code base. If you think how to use standard query operators, where, order b, redo, and maybe join it and select you will become more efficient in the operation on the collection.
I am struggling to find a way to open a dialog window after a successful AJAX event. At the moment, I'm using jquery .html to insert some html in a div, but instead of using a standard designated div, I want to do to create a dialogue window with html. The reason for this is that values change, so a standard reaction will not be there. Is this likely?
div in my sample code; #Communications-message is just an example. Thank you
jquery + dialog code
submit $ $ $ $ $ $ $ $ $ $ form form $ $ $ $ $ $ $ $ $ $ $ $ $ Var send = $ (this) .serialize (); $ .ajax ({type: "POST", url: "/sample/admin/frm10010.php", data: send, data type: "json", success: work $ (Function () {$ ("# communication-message") dialog ({Model: true, button: {OK: work () {$ ( This) .dialog ("close");}}}}}}; // alerts ('you've successfully submitted your' // + msg.dept + 'report. Thank you.') $ // (" # "" ("#") "$" ("#FrankShop"). Hide (); $ ("########## ################################################## ############################## ("#formImage .col_1 li"). Show (); $ ("#frmreport" Return (0) .reset ();}}); return false;});}) /
No need to start your dialog $ (function () {...}); function Ready Adds the listener, so you do not need it because you already have everything wrapped up: Change your success with callback: < Code> function (ms G) {$ ("# confirm_department"). Hide (); $ ("#in-message"). Dialog ({Model: true, button: {OK: function} {$ (this) .dialog ("close");}}}); // Alert ('You have successfully submitted yourself' + msg.dept + 'report. Thanks.'); // $ ("#report_result"). Html (You have successfully submitted your report thanks. "+"
" Hide FormShow "); $ (" #FormatMailCon_1Le "). Show (); $ (" #FRMreport ") find (0) .reset ();} In addition, the dialog is a part of , not the base jQuery library. You must import both the libraries for it.
I am trying to learn something to do with Mongo with a little success.
I am using an MARDus function, which I am working on, to increase the power consumption for a project. I have consolidated it in per account.
I have an hourly power of logging for each account in the collection, and I use a map reducing function which creates a collection that looks like this:
{_id: (account_id) Value: {Wat: (The sum of all the watts in existence in other collection)}} I now use a map I also use that which is an incremental addition, instead of counting it every time, I might add.
What I need to know is how can I do rum so that I can use the watt for the current year, and put it in values in each document. Of course I want to do it for every account.
I know that to collect data through the map, the reds, to create a document that look like:
{_id: (account_id) value: {Watts_this_year: some_num}} I'm not sure how to collect it for collecting it.
I want to merge them to look like:
{_id: (account_id) value: {watts_this_year: some_num, watt: (all in existence in other collections The sum of the watts)}} Am I clearly informed myself? Please tell me if there is anything then I can do to make my problem more clear.
Thank you!
MPradus is not for incremental updates. It is a shot tool for brainstorming a lot of data and results Returns I really advise you whether use of the aggregation structure is very fast to do this in real time. It is much faster than M / R. For example, your example above will be consolidated with the following call:
db.collName.aggregate ({$ Group: {'_id': '$ _id', watt: {$ Sum: '$ watts'}}}); A / FM / R is faster than it is implemented in C and can run concurrent jobs. At the moment there is a downward side that it does not present its results in a new collection, but it is currently being turned on:
In my project I will have to use jQuery 1.4.x. I have four async $ Ajax functions are closed, and all are true / false I need to wait to evaluate them in IF, because if I do them now, not all firing has ended
code ( All in $ (document) .ready ..: `
function getHTTPStatusCode200 (urlIn) {$ .ajax ({url: urlIn, full: function Xhr} {return (xhr.status == 200);}}}}} There are four of them, and I need to do something like this:
if (getHTTPStatusCode200 (url) & Amp; amp; amp; .pptus code 401 (url) {warning ("this is done.");} `
$ When is not hard to duplicate the concept: var results = []; Function new result (results) {results.push (results); If (result. === 4) {Warning ("This is done.")}} Function getHTTPStatusCode200 (urlIn) {$ .ajax ({Url: urlIn, complete: function (xhr) {if (xhr Status === 200} {newResult (xhr);}}})}} Your other functions, each calling is newResult when
An app has been created to recover instagram images from a Twitter thrust feed.
Usually this works but occasionally get an 'Access denied' message from Instagram CDN.
For example
Do anyone know how to stop it?
I'm using Adobe Air for the app.
Instagram images can be moved to URL S3, changed, or deleted at any time. You can not stop it, but you can do one of the following:
- Subscribe to the user / tags that you are interested in and process updates accordingly.
- To update your data periodically to vote # 1
In addition to this, I have done this for users who have their feed private Make them. I believe that if you approve them or you are able to authenticate them using their OAuth token, then you can follow them to gain access to them. The interesting thing is that if you have used a tag that they have used, Tag Endpoint does not respect this privacy at all.
I am currently working on a project with jquery mobile and I have made a divisor until I website Drag the conversation up to your Samsung S3 Mini until the conversation works perfectly.
This is my head:
& lt; Meta name = "viewport" content = "width = device-width, initial-scale = 1" /> & Lt; Link rel = "stylesheet" href = "themes / florida_tech.min.css" /> & Lt; Link rel = "stylesheet" href = "http://code.jquery.com/mobile/1.3.1/jquery.mobile.structure-1.3.1.min.css" /> & Lt; Script src = "http://code.jquery.com/jquery-1.9.1.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "http://code.jquery.com/ui/1.10.3/jquery-ui.js" & gt; & Lt; / Script & gt; & Lt; Script src = "http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js" & gt; & Lt; / Script & gt; ` This is a script for drag interaction:
& lt; Script & gt; $ (Window) .load (function () {$ ("#draggable") .draggable ({axis: "x"})}}; & lt; / script & gt; The path I'm taking is ID id = draggable:
data-role = "content" style = "margin: 0 px; padding: 0px; limit : 0px "> gt; id id =" draggable "class =" draggable ui-widget-content "style =" position: relative; height: 347px ">
gt; & lt; img src =" style / pic.png "alt =" Map of parking lot "/>
It can be easily fixed.
I am talking to this problem with my previous experience and on this jsFiddle example: This code can be included in your code And it should work:
// This mobile device / iPad_iPhone; One fix for Android /.test (navigator.userAgent) & amp; Amp; (Function ($) {var proto = $ .ui.mouse.prototype, _mouseInit = proto._mouseInit; $ .extend (Proto, {_mouseInit: function () {this.element .bind ("touchstart." + This.widgetName , $. Proxy (this, "_touchStart"); _mouseInit.apply (this, argument);}, _touchStart: function {event.element.bind ("touchmove." + This.widgetName, $ .Proxy ( This "_touchMove") .bund ("touchend." + This.widgetName, $ .proxy (this, "_touchEnd"); this._modifyEvent (event); $ (document) .trigger ($ Event. Mouseup "); / mouse re-set flag in ui.mouse._mausdown (event); // return false;}, _touchMove: function (event) {this._modifyEvent (event); this._mouseMove (event);}, _touchEnd : Function (event) {this.element.unbind ("touchmove." + This.widgetName). Unbind ("Touchend." + This.widgetName); this._mouseUp (event);}, _modifyEvent: function (event)) {Event.which = 1; var target = event.originalEvent.targetTouches [0]; event.pageX = Target.clientX; event.pageY = target.clientY;}});}) (JQuery); The textbook plugin used in this example is the original author.
When I'm ready to send my IPA through Testflights, I hope that access to the building permission list is. This is the screen in which user names are available to choose for distribution.
some of those names Have become gray and I can not choose them I am pretty sure they are in my provisional profile and I have uploaded my UID.
How do I enable them?
Edit: Alternatively, I hear it is possible to increase the provisioning profile / distribution list after the app is distributed. Since I want to check my app for my app, is it an option for sending the app to disabled people? What everybody spams for the second time, in that situation?
Your Provision Profile contains a list of tools associated with it, excludes testflights team members, Those who do not have any device that is part of that list. This means, in the iOS Dev Center, you need to update the list of your Provisioning Profile's tools (just check that entry) or if necessary, also add the device to your Dev account's master device list.
In addition to this, a provision profile by Testflight has never worked for me to update the original device list in super-profile.
मेरे डेटा में यह संरचना है:
{"user": {"name": "" "स्पोर्ट्स", {"नाम": "टेनिस"}, {"एसआईडी", "जॉन", "स्पोर्ट्स": ["एसआईडी": "स्पोर्ट 1", "नेम": "बास्केटबॉल"}, {"एसआईडी" : "जन्मदिन": "25/07/1960"}} "खेल", "नाम": "सर्फ"}, ... {"sId": "sportN", "name": "golf"}], "जन्मदिन" / Code> और मैं उसी उपयोगकर्ता को प्राप्त करने के लिए फ़िल्टर करना चाहता हूं, लेकिन केवल दो प्रथम खेल जैसे,:
{"user": {" नाम ":" टेनिस "}," नाम ":" स्पोर्ट्स "," नाम ":" स्पोर्ट्स "," नाम ":" स्पोर्ट्स 1 "," नेम "," नेम ":" बास्केटबॉल "}, {" sId " जन्मदिन ":" 25/07/1960 "}} और फिर अगले दो, ...
{" user ": {" name "" "" "" "" खेल ": [" एसआईडी ":" स्पोर्ट 3 "," नेम ":" सर्फ "}, {" एसआईडी ":" स्पोर्ट 4 "," नेम ":" आइस हॉकी "}]," जन्मदिन ":" 25/07/1960 "}} वगैरह
लेकिन मैं नहीं जानता कि कैसे पूरे उपयोगकर्ता को प्राप्त किए बिना इसे मंगोल में पूछना
किसी भी मदद की सराहना की जाएगी पहले से धन्यवाद।
एक विकल्प के रूप में, आप परिणामों को बाद में वापस समूह कर सकते हैं ताकि दो गेम प्राप्त करें सामान्य प्रारूप में वापस:
db.so.aggregate ({$ match: {'user.name': 'John'}}, {$ unwind: '$ user.sports'} , {$ Skip: 0}, {$ सीमा: 2}, {$ समूह: {_id: '$ _id', नाम: {$ पहले: '$ user.name'}, खेल: {$ push: '$ user .sports '}, जन्मदिन: {$ पहले:' $ user.birthDate '}}}); जो तब आउटपुट करता है:
{"परिणाम": [{"_id": ObjectId ("51c71c8d4a01738f3eac69fc"), "नाम": "जॉन" "खेल": "जन्मदिन": "25/25", "खेल": "स्पोर्ट्स 1", "नाम": "बास्केटबॉल"}, {"sId": "sport2", "नाम": "टेनिस"}] 07/1960 "}]," ठीक है ": 1}
मेरे पास एक बटन, एक डाटाग्रीड और ट्री वीउ के साथ एक WPF अनुप्रयोग है I मेरे सभी नियंत्रण एक ग्रिड में हैं।
& lt; Grid.ColumnDefinitions & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "1 9 3" / & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "ऑटो" / & gt; & Lt; कॉलम डिफाइनिशन चौड़ाई = "839" / & gt; & LT; /Grid.ColumnDefinitions> & LT; Grid.RowDefinitions & gt; & Lt; RowDefinition ऊँचाई = "ऑटो" / & gt; & Lt; रोडिफ़िनिशन ऊँचाई = "138" / & gt; & LT; /Grid.RowDefinitions> मेरे पास ग्रिड में:
3 कॉम्बोबोक्स 1 ट्रीदृश्य 2 टेक्स्ट बॉक्स
मेरे पास समस्या यह है, हर बार जब मैं अपनी विंडो को खिंचाव करता हूं , नियंत्रण खिड़की के साथ विस्तार। हालांकि वे प्रत्येक अलग आकार होते हैं और यह एक अजीब दृश्य परिणाम बनाता है। मैं उन्हें कैसे रख सकता हूँ जहां वे हैं?
मुझे यह हल करने का एक तरीका पता है। मैंने एक ग्रिड बनाया है जिसमें 4 कॉलम और 3 पंक्तियां हैं
& lt; Grid.ColumnDefinitions & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "ऑटो" / & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "ऑटो" / & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "*" / & gt; & Lt; स्तंभ डिफाइनिशन चौड़ाई = "ऑटो" / & gt; & LT; /Grid.ColumnDefinitions> & LT; Grid.RowDefinitions & gt; & Lt; RowDefinition ऊँचाई = "ऑटो" / & gt; & Lt; RowDefinition ऊँचाई = "ऑटो" / & gt; & Lt; रोडिफ़िनिशन ऊँचाई = "*" / & gt; & LT; /Grid.RowDefinitions>
I want to loop the loop through a product categories and store them in an array, Will be assigned as the name of each product for some reasons my code is not working, and there are no PHP errors. Maybe it is a WordPress problem:
$ classes = Array (); $ Word = get_the_terms ($ post-> id, 'product_cat'); Forex Currency ($ word $ word) {$ squares [] = $ word- & gt; Slug; } & Lt; Li & lt ;? Php post_class ($ square); ? & Gt; & Gt; Basically, I am trying to assign classes for the name of the class for my related product. It's not throwing an error, but nothing loads. Does anybody see any issues here?
The array_shift used to break the array has been done for me, but it does not work if $ Cats have diverse classes
& lt; Php $ classes = array (); $ Word = get_the_terms ($ post-> id, 'product_cat'); Forex Currency ($ word $ word) {$ cats [] = $ word- & gt; Slug; } $ Square [] = intestine ("", $ cats); & Lt; Li & lt ;? Php post_class ($ square); ? & Gt; & Gt;
लक्ष्य: मैं एक फेसबुक पेज की घटनाओं को सूचीबद्ध करना चाहूंगा इसकी संबंधित वेबसाइट।
समस्या: मैं एफबी के ग्राफ़ एपीआई एक्सप्लोरर का उपयोग कर संबंधित डेटा प्राप्त कर सकता हूं, लेकिन यह बाहरी के संदर्भ में काम नहीं करता है एफबी अनुमतियों के कारण वेबसाइट।
वास्तविकता यह है कि मुझे किसी भी व्यक्तिगत खाते तक पहुंच की आवश्यकता नहीं है, केवल उस विशिष्ट एफबी पृष्ठ के ईवेंट के लिए, इस प्रकार उपयोगकर्ताओं को लॉग इन करने और अनुदान की आवश्यकता होती है प्रतिकूल है।
क्या यह संभव है? या क्या घटनाओं को सार्वजनिक तौर पर सुलभ बनाने का कोई तरीका है?
अग्रिम धन्यवाद।
एफवाईआई: मैं एफबी PHP एसडीके का उपयोग कर रहा हूं। <
अपनी वेबसाइट के माध्यम से अपने एफबी पेज तक पहुँच की अनुमति दें Li> अपने आप के लिए OAuth टोकन के साथ एफबी में लॉग इन करें सार्वजनिक इवेंट्स पढ़ें और दिखाएं कि नेट पर उपयोगकर्ताओं के लिए, चाहे वे एफबी हों या नहीं। < / Ol> चाल है, कि आप अपने ऐप के जरिए एफबी को एफबी उपभोक्ता के रूप में एक्सेस कर रहे हैं।
टिप्पणी: शायद यह एफबी के कुछ कानूनी नियमों का उल्लंघन करता है क्योंकि आप एफबी की आंतरिक जानकारी को साझा कर रहे हैं हर कोई नेट, जॉर्ज कमिंस टिप्पणियां देखें!
I'm looking to create a data viewgrid scroll bar, but I still want to keep scrolling functionality. This net is done on the Windows Form platform.
datagroup view 1. Scrollbar = scroll bars. No one;