query_id
stringlengths
4
64
query_authorID
stringlengths
6
40
query_text
stringlengths
66
72.1k
candidate_id
stringlengths
5
64
candidate_authorID
stringlengths
6
40
candidate_text
stringlengths
9
101k
8e7f0adbae0e940f7142f302f0583f27287a2da1628ff93a53a5dbc9450d2fb7
['95397e15a8c34720b06ff9bb75d9d3e4']
I made ​​a clock in java that shows the current time. I would make sure that the clock both updated at intervals of one minute, thus updating the result in the console. I read to use threads, but I'm not very knowledgeable on the subject, who would help me to make it happen? import java.util.*; public class Current {...
20ea6b95d64c654b2b45a588c3ef037c5d087d094bc1f39dc74cf248befb7bc5
['95397e15a8c34720b06ff9bb75d9d3e4']
<html> <head> <title> Regioni </title> </head> <body> <label>Selezione una regione</label> <select name="regioni" id = "reg" name = "reg"> <option value="Abruzzo"> Abruzzo </option> <option value="Basilicata"> Basilicata </option><onClick="Basilicata(regione)"> <option value="Calabria"> Calabria </option> <option valu...
44ffdce45e516e6e9abc03ff37c6006b3823c810845ab753face31bb05a727fb
['95400b65c89a4c9689709c6bd3fa2d41']
So I have to convert the following grammar to CNF. However in order for me to do so, I know I will have to first: i) eliminate the recursive start symbol ii) eliminate null-rules to construct an essentially non-contracting grammar iii) eliminate unit rules S -> SS S -> aSb S -> 1 But I am so lost...
b25c10b6f80ffca422ed84a249e167c72315571f39c60abf0c115440c079bd8f
['95400b65c89a4c9689709c6bd3fa2d41']
Let say we have the following grammar G: S -> bA -> aB -> 1 A -> aA -> bB B -> bA -> aB -> 1 How would i go about solving the corresponding semiring equations to derive a rational expression for L( G). I would have to start by solving for B. SO what i have done so far is: S = bA + aB + 1 A = aA + bB B = bA ...
c05e3e113d5d202d50eab3e7278520b262db5cea1d24d72dda372d742fb7b11e
['954942b799e34d53b4dc033c0be42071']
Native event support for firefox webdriver tend to be for a few specific versions of the browsers for each release of selenium. I suspect your versions of selenium doesn't support native events in firefox 28. The changelog for V2.42 doesn't say what version of firefox they support for native events but apparently V28 o...
6c59ca679f4041f747d07d791d0ccdfc2e1375725d45d5c022ffd31eaded5827
['954942b799e34d53b4dc033c0be42071']
Any time you are passing a value into an xpath query you will have to handle any apostrophe in that value. The actual xpath query you are trying to run is; //div[contains(.,'This page can't be displayed')] You'd think you would be able to escape it but others and I have had problems doing that in the past. http://www...
bf9a44cf8bde514dc14a360569555e04f0dc9cab97cdba4dfa45cc3b04297be3
['95521ba8554748d1a7ef06ffb55b1f63']
tnx on answer i know something about iptables and firewall but not good with networks and routing, do you maybe know what can i do/type to make this router work? I have tryed something like this (test home lan) but cant ping all ips: route add -net <IP_ADDRESS> netmask <IP_ADDRESS> gw <IP_ADDRESS> route add -net <IP_...
862eed8ffac9a06f22ae99cb8658e0480db0be76d943bb27c349c79fb529c36d
['95521ba8554748d1a7ef06ffb55b1f63']
Hooray for mentioning <PERSON>; he has a draft text on undergraduate analysis that (if I recall correctly) makes use of Bolzano-Weierstrass and Interval Bisection but 'not too much else'. His stuff is written in a light-hearted style, with humorous footnotes and so on. If it's good enough for the students at Cambridge,...
0c9017a240434187aa90dffe26a7cb40784d4c9efd09539247f861d5ec252192
['956970cfbe8c45ff8af36d0bb65d0aea']
im trying to write windows 7s calculator but i have problems just in multiply and divide. here im writing the codes that are connected to multiply so you can get the reason. double input1; double input2; double result; string <PERSON>; <PERSON> means + or - or * or / private void button14_Click(object ...
bdcfd2b27285cbc7f4a44b543e4c5f910c171cc4d171cf669e93ebb6df4a90b6
['956970cfbe8c45ff8af36d0bb65d0aea']
i have solved it .it was an easy mistake. the problem was in negativation button with i tried to multiply input1 by -1. i have changed the code to : input3 = Convert.ToDouble(textBox1.Text); qarine = input3 * (-1); textBox1.Text = qarine.ToString(); in that button and some clauses in equal butt...
35f63db3b822abeda26007df24c267544362a0d02e999cf2ce6fb5b8425689ac
['956b9fa981b9436ca43eb002938a9f05']
I've recently erased all node_modules and did a fresh npm install. And keep getting this error: ERROR in Error: Child compilation failed: Cannot find module 'handlebars' - compiler.js:76 [wallet-admin]/[html-webpack-plugin]/lib/compiler.js:76:16 - Compiler.js:214 Compiler.<anonymous> [wallet-admin]/...
ba48e2aa51316ccd5d9e607c8dde822c353040799b4e6604d93117b4ded21a6c
['956b9fa981b9436ca43eb002938a9f05']
In addition to <PERSON>'s explanation, you would want to use the didInsertElement hook instead of the init hook to only re-render after the view is created. So it would look more like: App.FooView = Ember.View.extend({ didInsertElement: function() { this.rerender(); } }); Although, I'm not exactly sure...
76af9d4bda2ccce16f41ba05614e9bdeb33f3ed65e2c1ae6d211a0783efe3d20
['9575fb713e8147269eaf0a234263cd1e']
I run a small business with a Prestashop e-commerce website that sends customers to Sagepay to make a payment using the Presto Chango Sagepay payment module. In my office I also have a one PC connected to the DMZ interface of our pfsense edge/outer firewall. Nothing else is connected to the DMZ network and all ports ou...
92d0a59778c08381ea3569ab3cd96e91d337453ea6b3ee4a19535adf853f7bfd
['9575fb713e8147269eaf0a234263cd1e']
<PERSON> - The legal "small print" on the terms and conditions page unfortunately disagrees with the individual you spoke to on the phone. And when it comes to legalese, especially when the same T&C page lists recourses and talks about audits, I'd rather err on the side of the written legal terms and not a he-said-she-...
020cd62354e96b6a1eb5afb68a150daf7768b26187cc6afd071b5de335cd598f
['958e201e8a4c49258970151cc0802ed2']
I tried to find the answer to my question in several other threads, but i couldn´t find one fitting. I have a light barrier consisting of 2 photo-transistors. I want to detect the peaks of these barriers with the android headphone jack. I need to know the time between these. I´ve got a amplifier cicuit for it already, ...
d2eab044ddd762e91cdff48f0e2a14bef9379bf3724aa172dad26949dea2c4d8
['958e201e8a4c49258970151cc0802ed2']
Fortunately I solved the problem on my own: The C.H.I.P. from NextThing has a 3.5mm TRRS jack, which does not only output stereo audio but component video as well. Now if you plug in a standard 3.5mm jack, the ground pin does does interfere with the component video connector. Thats why there was this humming noise on t...
e2d14cdc19032462d589384d7f964d49b2bf027af277dac9cf8589ddf63c46cf
['95936cd462a548e494ede25b1513965b']
I've been asked to do some updates on an Access 2007 VBA application. My experience is mostly with Excel VBA, not much with Access. In one place, we're adding some additional fields. One of the tables is exported to an Excel workbook like this: DoCmd.TransferText acExportDelim, "(text file specification)", "(source tab...
7d54176ae573b569b9a82f21e7bd1d16e7e0961941fde3222c632486ce1447d5
['95936cd462a548e494ede25b1513965b']
I've been asked to do some maintenance on an Access 2007 VBA database. It has linked tables to another Access database in the same folder. It had hard-coded links to that database, so if the user copied the folder to a new folder, it tried to use the linked database in the original folder. They asked me to eliminate t...
7d3866fc88404e642e687c1abaef7256a5488f405b40e6f011a89698ae71d8de
['959a3db7d03a4178b457db0f3d04c50c']
I'm trying to send text to WeChat for sharing and it looks like WeChat loads but then immediately closes. The error code I'm getting in WXEntryActivity is -6, which doesn't seem to correspond to anything in the ErrCode enum. My package name is the same that the app was registered under and I'm building with the signat...
e85726acdf539505a9e5c89939e59337460fc566a5174cb35fae13c149e28866
['959a3db7d03a4178b457db0f3d04c50c']
Can't comment, no rep. After updating to the latest build tools, hierarchy viewer and a bunch of other stuff was removed from the tools directory. I downloaded the tools separately from the Android Studio download page and it included the hierarchy viewer. Not sure what's going on, but it seems updating build tools in ...
d5cc969a44fdef884b58da4ff5924d5a3be3396f63f680458bfd821bd45bad2e
['95abd455419843fdb608089c924a234f']
I found a beginner-friendly tutorial here: http://androidrox.wordpress.com/2011/05/13/android-sample-app-drag-and-drop-image-using-touch/ here is the xml code in my case: <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/absLayout"...
b39c7822ed90a26e732df22a38c2e1ffcf8119b02de5b759c50166e285f87e0a
['95abd455419843fdb608089c924a234f']
I'm novice in Android development and now I'd really like to learn Shared Preferences. I've googled it so many times and I don't think I quite mastered it. I believe this Shared Preferences will help me to store username and a password on my login screen activity. Thanks you!
1653b3ba014085917c243d408667f805abd2f94e49f957f645aa70be60054c0b
['95b46955155d4fdbb94f954c9b2f8d9c']
I have a cell array named "output"(dimension = 3 x 6). Each cell in the first row of this cell array has entries which are 1024 x 1024 matrices (type double). I would like to take the mean value of a given ROI within each matrix. For example, I would want Matlab to produce the mean of the region ([100:200],[100:200]) f...
26a4c818db6f3701efd42c809cada66680d3c40d1c15cdcf16f9f12011703872
['95b46955155d4fdbb94f954c9b2f8d9c']
I have a cell array (3 x 4), called output, containing a 1024 x 1024 matrix in each cell. I want to plot the 4 matrices in ouput{1,:}. Furthermore, I have a structure, called dinfo, which correspondingly contains the names of each matrix (field with matrix names = "name"). I want each image to be titled with its name. ...
419b538410bbd62698d94b3f66b66e0be3cfa64217a27020d960cb68726ff70e
['95b7915a11104d069db19d3ff60a726c']
Hi there i have spent more than 20 hours to figure out how to upload image from my app to server, image which i want to upload could be either taken from camera or photo roll..... here is my code which does show progress of uploading but doesnt reach to server and thus gets negative response form server.. please help m...
e86e32f33fee38cdb6db42b2389f697e946db36d19a53320dd9e4669f238df2c
['95b7915a11104d069db19d3ff60a726c']
I am struggling to find the solution for opening a specific view of my IOS app when i get notification, i want to open a screen when user taps on received notification. I am able to get the notification and when app is in background and i tap on notification it redirects me to specific view, it does also work when app...
f82535ec637a1438368fcbde80364b6b74a30af8832098ac801b10390c212350
['95eeb17d0f9641799d75308a7262a495']
Ok a friend give me solution. It's my regex which does not work so I replace string testMessage = String.Format("{0}", data.Value); string delSpace = testMessage; Regex regex = new Regex(@"(\s){2,}"); testMessage = regex.Replace(delSpace, "&"); by string testMessage = String.Format...
3edee523f8a4035a146f7192d2e69478d143a896aad08b9ca55157c6e254dd64
['95eeb17d0f9641799d75308a7262a495']
I know this post is old but recently I have the same problem with combobox. Situation : I have an editable combobox which propose complete words when user write some letters. But when I want to type a letter, combobox auto highlight the text and the next letter auto replace the previous. Solution : I use a textbox to ...
870a6aa1cbb35e3c05bedc0aa7ccaebb01683fbd077cf7c183d7840864c29eed
['960d9a75bc83477cae9299be94c3abe3']
You may have opted into having Google Play sign your releases with a key they generated, and only use your key for the upload. If you did, go to Google Play Console Release Management -> App Signing and copy the App signing certificate SHA-256 fingerprint and put it into the assetlinks.json file.
23798ac63d2439e2d726344c07f8a7a295b604aeb49e06e09a173cafeb24a999
['960d9a75bc83477cae9299be94c3abe3']
Generally, freezing meat and thawing before consumption will not affect flavor. There are some precautions you can take when freezing and thawing to ensure that the meat doesn't get damaged (i.e. freezer burnt or overcooked if you thaw under heat). Here is an excerpt from a useful article on the subject. When packagin...
252fbfa6bd9cbe7878d5237bfb6e4eec2018d1ccab130fb8262a8163d099b305
['9610596a3a3444b0831a2a926de2fe1e']
Sorry to keep you waiting, I will close this due to still waiting from our users for feedback(they use this files only once a month). which means I can't confirm if my solution was correct or not. However what I did was tweak the code. and added an if to check the current pages link and added the Ie.readyState < READYS...
9d5f6928d554d41ad70ef278f69f4d2ee07c61443b3956952d533a665ba22197
['9610596a3a3444b0831a2a926de2fe1e']
I got 2 table, one is a pivot table that has usernames and hours of work in it. second table has username and the payment per hour I want to have an answer in one column besides the 1st table with the hours * payment for worker. For example: nik 12 Total 240$ nik 20$(in a different sheet""master) <PERSON...
f9cbecd7a030214c5980ecbbfa4fb67a8fab2e375b61c3e2bc043fd1bdb2c314
['961f5643547c459ea927a3983c4bf030']
I'm trying to extract data from an Xml file, I followed this tutorial: XmlPullParser tutorial And now have the following code: public void parse(InputStream is) { // create new Study object to hold data try { // get a new XmlPullParser object from Factory XmlPullParser parser ...
da80cb54632919717df6f9b96d628b81bed07db02e9a9c342046174cbdb3c14a
['961f5643547c459ea927a3983c4bf030']
I'm using the SDWebImageDownloader library to download images asynchronously. The problem i'm having is when I click the back button before the images finish download the app is crashing on the following line in the SDWebImage Class: if([delegate respondsToSelector:@selector(imageDownloaderDidFinish:)]) This is how i'...
873ec84485d6736373cf01ab0b2c30f69abe1bc60c491e568e53f36e7f2a6dd0
['9621699574654d39a6aaa839a59eb985']
I am using a vue + nuxt.js application, I like to know if it is possible to cache an axios webservice call for all clients. I have to get some currency reference data and this makes not much sense that every client has to call this data. Can someone provide me some hints or even an example? Thx.
13bb87bdbfcbc828083991b3d67760896979b3f05ded88b1da408c23190ef53c
['9621699574654d39a6aaa839a59eb985']
After studying the stack trace of the stale exception I recognised that the issue comes not directly from the EventFiringWebDriver. It gets thrown by my listener implementation of the WebDriverEventListener while I try to get the tag name of the element after the click has been performed. For me it looks like that the...
fce8e65d7fec2d1dd5139e0bbfa0b7e40c2597824f7285cb22b395e024c40f32
['9626819d37fd46db9075b9e58792e058']
you can write a function for this too. what i understood is you are looking for exactly 2 variables in an array. here is what i tried function find(arr,first,second){ let temp=false; if(arr.includes(first)&&arr.includes(second)){ temp=true; } return temp; } find(["foo","bar"],"foo","bar"); if you are looking for an a...
36349662d7591f7cd72fc813f4904065a902f8ef6f7362dc2bc305ae3fbda57c
['9626819d37fd46db9075b9e58792e058']
I know this is late but this but the above answers didn't work for me. I tried KeyboardAvoidingView outside ScrollView with behavior={'padding'} as I guess behavior={'position'} has been messing with view. following is my code <KeyboardAvoidingView behavior="padding"> <ApplicationDetailsTabs initialIndex={this.s...
3786ddd1291c9284cb494f784a3ce257b23a657d145a4d65eb064a4dce813904
['963350149bb748fa8422583329427c9d']
kthread_create arguments have been explained in kernel source code. kthreade_create definition in kernel source As you can see namefmt is a printf-style format string. Which means 1. namefmt can be a string literal like "my-kernel-thread" and in that case the variable arguments will not be needed. In this case your...
78e39fc6118baf5b979fc3881f13f9ff32062ef6d649e3a5ef91f1c7e649ef0f
['963350149bb748fa8422583329427c9d']
Have you tried flushing the ofstream object i.e fDriversProbe.flush() after every write. I had similar issue where I was trying to feed camera shutter and gain parameters using sysfs attribute exported by the driver, but the settings were not reaching driver. Accompanying the write into sysfs file with a subsequent flu...
e1975b7b7067500e39fa4ec7cb572d4dabf2bcf31a6e4687e24f07416090f8be
['9634c0ac0ade46c3a9bbeb1356dcf5a1']
I duplicated a Drupal site and the database from the first one to another. Of course i copied files from 1st instance to 2nd. Now i encounter a database error when i try to add a content to the page, but ONLY content. Full error PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Kolumna'entity_id'...
de521da5d671deb699d862ae7c469d593750c547aea108602674fe061a0fc4e4
['9634c0ac0ade46c3a9bbeb1356dcf5a1']
Im writing a River-Raid-Like game, and all images are drew with g.drawImage(...). My question is: How to keep the content aspect ratio, and scale the content to fit the new window size ,when someone will resize the JFrame? Is there any option like that? Can i do this without using JLabels and Layouts? If not, how to do...
d48c8d2187eff30fc5ab05e59782936dd2f7ae2bbd9a54f2ae3cdc626899d122
['96489eda41a84a55baf9f6d714a24ebd']
I'm gonna to create a navigation bar using<nav> </nav>. but I don't know that should I use <Li></Li> and in it to make the items, or<a></a>is just fine?? and what is the difference between this two?? and which one is better? <nav> <ul> <li><a href="#home">Home</a></li> <li><a href="#About">About</a></li> <...
e4e1c2f00184d1bea6dc48ce343ebcad3cadcad3238a411e8145f8ab1e869b90
['96489eda41a84a55baf9f6d714a24ebd']
I have this html : <div class="d-flex align-items-center flex-column flex-sm-row justify-content-between w-100 pt-10 pb-15"> <h1 class="product-title mb-0 pl-10 order-2 order-sm-1 ml-auto ml-sm-0" itemprop="name"> Samsung Galexy A70 </h1> </div> which one is true??? this selector?? div.d-flex align-items...
f5d731270605720f39323e2b1c04c385f2c9d6a752ef795f07682d693da35889
['964b15e20fcd40d28de3d1d9ef104c99']
With the help of a colleague, we got it worked out. Here's the updated code... RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^/branding/$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTPS} on RewriteCond %{REQUEST_URI} ^/branding/$ RewriteCon...
5ea0343ac9ef7f4490c57d6e578bbca1a3af892123854ca963c8ade959906742
['964b15e20fcd40d28de3d1d9ef104c99']
I have checked all of the related questions I can find in here (and in Google in general), and tried all of the various solutions given, but haven't been able to get this to work. I am working on a Wordpress site that has recently gone SSL. I have set it up so that all pages are forced to https by adjusting the Setting...
9a92b25a60553cfc980c75eb90ed3628f7970e85f5f0bf05958be0376a6ce0a7
['96516108a5f74ea19c778c59d841b918']
Here's some code to get you started. using System.Text; using System.Windows.Forms; using System; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); textBox1.Text = "<EMAIL_ADDRESS>; <EMAIL_ADDRESS>; <EMAIL_...
008f52a304c90ca1a204816c2d34c3960eb0bac207d0c5a8e760f192c8791c33
['96516108a5f74ea19c778c59d841b918']
Can't think of one that would let you interactively edit it directly on the command line but there are ways to make it more convenient than what you're describing. If it's a short term change and you just need to add something to the path, you can self reference the current value. For example, in Bash: PATH=$PATH:/ADDI...
e8faa8e59d508c50c79fdb0025dc1894a62134afa238b2bfa252ebd98f4ab23e
['9656ccaaf3df4a15b6bfc05451b0d85e']
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { int[][] puma = {{1, 2, 0, 3}, {3, 2, 0, 1}, {0, 0, 4, 2}, {3, 3, 0, 4}}; Scanner input = new Scanner(System.in); System.out.println("Enter space for putting 1: "); int a = input.nextInt(); int...
a1ad81c69507a3f57ea43be5fee6f32f55b184fb0b36ced88233594141f94e14
['9656ccaaf3df4a15b6bfc05451b0d85e']
package com.company; class mergeNumbers { public static void mergeNumbers(int[][] grid, int row, int column, int nextNumber) { grid = new int[][]{ {2, 0, 1, 1, 0, 8}, {2, 1, 0, 2, 4, 0}, {1, 2, 1, 2, 1, 3}, {2, 3, 2, 0, 1, 0}, ...
bc843e609fb1b410d14963afc21d67d0b72da48466198885b9eca022f957d782
['965c1374ee354f8497b52c59696eaf7b']
My friend is telling me that Wix is a better oil filter. He says they don't use paper, and that the intake holes are bigger. I just bought a TG16 (which is the expensive FRAM filter). Is there any objective studies done on these two? How do I know paper is worse than whatever Wix using? How do I know that hole size mat...
4715295984ec4aa60fd5304bbd70aebe1898f0624dfffb9386200dc94516de2e
['965c1374ee354f8497b52c59696eaf7b']
Hm, I'd like to hand out two "accepted answers". ;) <PERSON> answered the first part of my question: Create a new ashx instead of aspx page So I've created a generic handler which is what I was looking for. <PERSON> answered the second part of my question: use the XmlWriter, sort of a halfway solution between hand c...
fa15e8f1611e9914ebe4fd173218dbd58fb36bddb7642d8066e2bae56299310b
['9666a1b615cd499b9d94ff3a955ac8ac']
The same message appears repeatedly in our logs after recently upgrading Apache from 2.4.9 to 2.4.12, yet everything in our web application continues to work as it did before. Recent Apache source code contains these lines in modules/generators/mod_cgid.c: rv = ap_pass_brigade(r->output_filters, bb); if (rv != APR_SUCC...
33b0944f7fc8432d1515cc1eb33f243249e2dcc8fee747d38e72512c3407a8dd
['9666a1b615cd499b9d94ff3a955ac8ac']
A bit late to the party, but I was having the same problem (trying to find where the "l." command was aliased in RHEL6), and ended up in a place not mentioned in the previous answers. It may not be found in all bash implementations, but if the /etc/profile.d/ directory exists, try grepping there for unexplained aliase...
c12f10415fd10531eea944cad760f6c141f01bd57250d991e8c2b64d9f7c4883
['967c242ea39c40d9905555db574f242f']
I've got a list of links on my page. Here's an example: <a href="#">Link (tagMe)</a> <a href="#">Link (anotherTag)</a> <a href="#">Link (aThirdTag)</a> How do I get jQuery to check all my links and remove the one with the string "(anotherTag)" so the output list will look like: Link (tagMe) Link (aThirdTag)
79f04b3a15b8f84c577b70ed89a730f5a17d887a4936be377bbb4e94b88b2c07
['967c242ea39c40d9905555db574f242f']
I'm having trouble getting my configuration right for this. I have a NextJS setup with next-css and I'm trying to add react-svg-loader to the configuration: next.config.js: const withCSS = require("@zeit/next-css"); module.exports = withCSS({ cssModules: true, cssLoaderOptions: { importLoaders: 1, localIde...
75bd8a045744ea80102a9f8c72d62a6c375cd03d5dcc47bf5afa93298a215709
['96913f0933be4b34adb779e12de6d3b8']
The inability to easily replace the footage of a clip while retaining the effect stack and transitions is a pretty big limitation that I've run into as well. I found a work-around that works as long as your clips are video files and not image sequences. If you move the source clips before starting kdenlive, then when...
9a91a0ed24ade841346cac158d47e40e54fb734a31f5f459022f87a317c78210
['96913f0933be4b34adb779e12de6d3b8']
Connection pooling is a default behavior that cannot be configured by the client for Sql Azure. Your app should be getting the benefits of connection pooling by default. Ensure that your connections strings are unique as a new pool will be created for connections with different strings. This article in MSDN specifies: ...
ffdd00c5b0c850b2c49095044debf0f4403b7d90107f211f749df87b88d0a1d2
['969f1dcc397949f9b4d1540c550bce1c']
I met the same problem, what I did is Open Keychain Access Find the corresponding keychain entry for your repo, and double click to open (e.g. the entry with name github.com) Click the 'Access Control' tag Select 'Allow all applications to access this item' and save changes This solves the problem (or at least for m...
78b91d18764df350565c84d620ccf46f623a24c305ae4b9f3733a9aac5988906
['969f1dcc397949f9b4d1540c550bce1c']
Calculating everything manually will be horrible when you want to support multiple devices of different screen size. Use constraints if you want to scale the UIImageView to a certain ratio of another view. Please refer to the auto layout guide at https://developer.apple.com/library/ios/documentation/UserExperience/Con...
af9eefc3768d110c2ef07664a46c874cb3ef43700e6066e6f156f02ad455dfb8
['96a591ae187d4f65bea2b801bad3c49e']
When manipulating the DOM the event handlers that are attached to your buttons are not attached again. You have a similar problem after the page loads - button2 does not exist and there is no click event for it. If you regenerate the events after DOM manipulation it will work: function set_events() { $("#button1")....
923d95733b12014d6fe961b428da4490ebec3b139ba95949738e0eac65d27e09
['96a591ae187d4f65bea2b801bad3c49e']
As everyone around is recommending, using NuSOAP for new projects is not a good idea. But in my case there is lots of legacy code depending on it. I could solve my problem by patching the NuSOAP library to discard the nul chars by adding: $val = str_replace("\x00", '', $val); after: $val = str_replace(...
5508d832c8bd693fd6f0ffb709859f6e8ebc3a78380434ed638ce433cadc757e
['96a6f957660346b480207d4c6b7c4560']
I am trying to make an application that copy/saves an .exe(app.exe) file on program-files folder on drive C from my resources. I have tried several ways to complete the process. But my luck didn't help. I am currently using [Windows 7] Professional(Activated). Here's some ways I have tried(Included below). I have sear...
6dc6011650d42fb4cee39a26ae7f03a6bc02fefc327f57de868967bbb2554b54
['96a6f957660346b480207d4c6b7c4560']
I am assuming guardianview.Show() is the page you are trying to show your user's data. So basically you just create some labels and retrieve some strings/integers from your MySql database. Here's some codes, that may give you a better understanding. Try MysqlConn.Open() Dim Query As String Query...
9b02b01f854618ed6b1fab5975c7bada39651936f1a1b875017f00393853924d
['96cf22843b9a4198afb128367622f238']
The customer requires us to install our asp.net-based web system on their intranet server. As soon as the initial adjustments are done, the server will be made completely inaccessible to us (due to security reasons as you might have guessed). On the other hand, we are still responsible for maintenance and ongoing devel...
254031a1740803bcea87eed571e10f495d8fe61f6deab52272fd5555079bc92a
['96cf22843b9a4198afb128367622f238']
I have been working on getting an analytical equation for a scalar potential of a source function in an elastic wave equation, in which I end up with an expression that has an integration of unnormalized $Sinc$ function in an interval as: $\int\limits_{-\pi a}^{\pi a} Sinc(x\:k) \:dk$ here $a$ is a constant and $x$ i...
78ef92283c4afbe0dc111e67fdf889f154c7b9d5d355f721ecf5e3609f366084
['96d905b43221483a99c4c89c88ca59cc']
I'm trying to improve the speed of a site and I've noticed that it takes 3 seconds to download some images from CloudFront. To download a 18kb image it takes 3 seconds: And it's a Hit from CloudFront: Can anyone explain why it's taking so long?
24b2945853823d5eda1cfa1729da05fcb67e65370ace97c57efccd3dd988455b
['96d905b43221483a99c4c89c88ca59cc']
Agree, it is a difficult read unless one is working through examples with guidance. I don't recall specifically, but does his other work on data analysis and hierarchical modelling have a more accessible approach? (http://www.stat.columbia.edu/~gelman/arm/). I was wondering whether you can model your problem against hi...
faf3bec938634473f2142c15e95cfe4d2c8ceaf97811d354eb2415fb569fa75f
['96d95ae43457427e9723f91dffa828a9']
couple of days ago new version of PowerMockito has been released with support to verify private/protected method calls. Although I made it work in simple case, I am missing something with more "complicated" function. Given the following classes: public class A { protected void myMethod(Exception... ex) { S...
9503208a0827e23b90133f2aa800ff782678f20e3bb8ce729213156f56abf434
['96d95ae43457427e9723f91dffa828a9']
Your MessageBusModule does not re-export handlers, thus they are not "visible" on app.module level (at least this is what I understand on my own) I got similar scenario like that: const commands = [NewOrder, ChargeForOrder] const events = [ChargeOrder, OrderProcessed] const sagas = [AdjustWalletFunds] @Module({ impo...
090bb083d478b4f2a3e3517c225f92e6d41cef4b51e93385d5fad2720caf7b3d
['9700f0bb736f4dc78bcbc3743eac6e33']
For some reason, Teradata is really working on hiding such information. I'm looking for most recent patch release (security and maintenance updates) for Teradata DB for each core release above version 14 (14.00, 14.10, 15.00, 15.10, 16.00, 16.10 and 16.20). Missing parts are, e.g. 16.10.xx.yy. Having Teradata enterpris...
8fca8c37eb078a4f46e9a3f7b8e91fe0f44d63a07a81804841787667a899be9e
['9700f0bb736f4dc78bcbc3743eac6e33']
I'm aware of other, well documented methods of user managing like WebUI, CLI tools, API POST.. What I actually need is to have ability to create user only by issuing N1QL statement. I can't find such chapter under documentation or so. This leads me to confusion: is it possible at all? From other hand, I've found some c...
a067e42b4d31d232ee85092af89a1c7819ecfee71bd7b3debae09cb513c3e7ca
['9708dacb57a542daa17de75fb8b61d5c']
You should expect the two JDKs to generate the same bytecode because they both use the the same java compiler from OpenJDK. The differences, as <PERSON> said, will be at runtime due to differing VM and GC implementations. Even if you generated the bytecode with a different compiler (e.g. the one in the eclipse IDE), th...
94018f552217af7f82eecbb0f32655c105f88625ff92bfec8bf910719c704566
['9708dacb57a542daa17de75fb8b61d5c']
I expect you just need to add the directory containing nvml.dll to your PATH. The page you referenced is somewhat difficult to read, but it does mention the need to update PATH and, in particular, include the folder with nvml.dll. You can find the NVML library in your NVIDIA drivers directory. The default location o...
150a207d31124c7a9b4c207e65d85331ae5308a676a3e65435f254f8fe6dfa65
['9714a795587f46dfbe67de2b4cfcb76b']
I have three jobs that I would like to serialize in Jenkins. They should run as a block after a job that triggers them: Job1 -> [A,B,C] Job2 -> [A,B,C] Right now when Job1 is triggered twice, I get the following behavior: Order that jobs are run now: -Job1 -Job2 -A -B -(job A or C) -Order is not guaranteed after this ...
39875a7f5968717e01a84557df96f8bc1a9c0fa4c99b6337a9346c62625190a5
['9714a795587f46dfbe67de2b4cfcb76b']
I was having similar errors trying to compile my IDL file, and i tried it from the command line: idlj -fall file.idl And got an error message about declaring a function twice. dpss.idl (line 8): createPlayerAccount has already been declared. Once I fixed the error, I was able to compile the idl in eclipse with no er...
264fbfa5f454d00b7fb04f333f1a7b44fc1b7ae84fb4e0c2d4898474edb8d43f
['971e27e5e07d43f2b695a5fe2b326af1']
I've been trying to use the Java VisualVM profiler to figure out ways to make my own code more efficient, but I've noticed that a lot of the method calls I see when I try to do CPU sampling on the running process seem to be obfuscated method names. The weird thing is that I don't even know where they're coming from, so...
82d49aca76d237bf2aac9bf7be19c59f8f33dbb13e780c8c620b762a320ceea0
['971e27e5e07d43f2b695a5fe2b326af1']
I'm currently developing a SPA in Angular, and so I've created a REST service using ServiceStack. I am also using ServiceStack's default authentication and authorization solution, which allows me to decorate services with the Authenticate attribute, and also allows me to authorize roles. However, since my application h...
5bc244315cec2cade4e4679e0028545f85a3ae40baac26b67f2e1fd0d0baf983
['9726cc10c56c4497b24ab4ef19a47ac9']
Did you tried tu use a custom listView, if you are receiving the data in a Json is much better to use a custom listView here is a somehow good tutorial, that explain how to add text an images to every row on the list http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/ also if you need 3 co...
e376eaa64d5ee54287591f423c7f5f64c0a398767b2e755ec0d31c2d14325935
['9726cc10c56c4497b24ab4ef19a47ac9']
I'm not sure but maybe you can calculate the convex hull, and then circumscribe it into a rectangle, then you will have the scale of your map to ensure that every circle is shown on the screen. here: you can find information about the convex hull: http://en.wikipedia.org/wiki/Convex_hull
b44774348c215326a8fbd53fee17ffa47d643127e84cc6bd4c5c153c0eea1eca
['97280aa4c5694cf997a7e886e4efce39']
I want to capture images from webcam without any post processing, that is NO auto focus , exposure correction , white balance and stuff. Well basically I want to capture continuous frames from webcam and make each frame compare with the previous one and save them to disk only when there is an actual change. Because of ...
2a625fd291d0938bb9922c851b0728f1345121f95c9f91fbc35ae8a15f0ea881
['97280aa4c5694cf997a7e886e4efce39']
These features are accessible to Profile owners and Device Owners. I would request you to Read about Google EMM and Device Provisioning. Google allows you to use their EMM API to manage devices via a Google EMM Community account. Alternativly you can use various 3rd party EMM or MDM solutions like Kardamom or IBM MaaS3...
c9f13fdfd7ac9842930ae9b431e39139002a5ef9912752af9c19483cbe55149e
['972a89bde8f449938211c0f9b378825b']
I need some advice how to handle the following case. I'm saving an object graph within core data. For simplicity lets say i have a User object (name, age, adress). Adress is another object with some properties. Now the User can change his Adress. If he changes it i need to remember these changes for the next order. Aft...
7961a3b045f6dca9ebe326ea3e51f6a0974ed01381e192d5cfc0dcc6c595a1d5
['972a89bde8f449938211c0f9b378825b']
if i understand your question correct you have to define a class which extends from CssResource (you probably have done that already). In your view you can have a static instance of this class (let's call it cssInstance). In the constructor you have to call cssInstance.ensureInjected(). If you now want to add or set a ...
f44443112d56a1481e7fd10d75cdca83d368e7b822b697e9327abd18d4483ffb
['972fba289daf45a594a04134ebc5e719']
I have a bot which connects to an IRC channel and reads the chat with a StreamReader. Everything works fine, the bot can read and response, but the problem is the Windows Form is freezing while the StreamReader is active. while(true) { string message = irc.readMessage(); if (message.Contains("!test")) { ...
de10cc1ccf7ee5b582cbab2a9d7e38aa81bcba3a1122aecfe51a3ad2c3c2dc8e
['972fba289daf45a594a04134ebc5e719']
ok I found the solution: currentPlaylist.Uri That code gives me this: spotify:user:myname:playlist:02DfsHuBWwi1aCp8kxwVrs but what I need is just the id at the end, so I cut it with currentPlaylist.Uri.Substring(30) An imperfect solution, as it will cause errors when the username has a different length than 7, but ...
040381e38c5e115d2d2f1b6dda69cbb2b4f20bbb42e9aba2c15d405df6b1a33e
['9736a98dc52a4004a5d35e8dc100d135']
enter image description here I have tried double click method, Thread.sleep, implicit wait , explicit wait(both before and after the element), used xpath, css locators but I still get the org.openqa.selenium.ElementNotInteractableException: element not interactable exception. This is the latest version of the code; //...
bc272b924ed5100bcf7da511536950944b1b1644a7b22eb73241627c8feeae2d
['9736a98dc52a4004a5d35e8dc100d135']
enter image description here Hi, trying to automate follow button clicks using java but having trouble using the javascriptexecutor in for loop. Here is my code: List<WebElement>clickOnFollowButton = driver.findElements(By.xpath("//button[contains(text(),'Follow')]")); for (int i = 0; i < clickOnFollowButt...
71853ed073bdb73eb701d4fb346dd67323a468d2b7c5cb43c579039963f5bebf
['9742ff405c6942c4a719195f84055b1c']
since you want all pairs (i,j) where i and j are indicies with i lower than j, i dont quite understand why you want <PERSON> here. int size = v.size(); StringBuffer sb = new StringBuffer(graaf); for (int i=0;i<size;i++) { for (int j=i+1;j<size;j++) { sp.append(v.get(i)+v.get(j)+" "); } }
9a84b0830285ceaf224a95389adb04d2954693bde98ff2b2fc2432bef94fca03
['9742ff405c6942c4a719195f84055b1c']
All in all there shouldnt be an "optimal" sequence. Its all about understanding the topic. Since not two people can learn with the same speed, there shouldnt be something like an "optimal" sequence. But its good to learn basic approaches of each topic. There are alot Tutorials out there, which explains the most fundam...
d8fa404638008b27793009747acee5bf3a21b64745325018d87c3c2438c14b41
['9746f0179035443cab232dc2337e650b']
Made directories from a list using this: import os cwd = os.getcwd() folders = ['file1','file2','file3'] for folder in folders: os.mkdir(os.path.join(cwd,folder)) Would also like to add three subdirectories within each of those files, e.g ['sub1','sub2','sub3'] Tried something like this (and other simple-minded ...
356bb36a8cca479e8bb98afe669886c22b446325e3add5e0fede5c2db98bf700
['9746f0179035443cab232dc2337e650b']
The code below generates a sum from the "Value" column in an ndarray called 'File1.csv'. How do I apply this code to every file in a directory and place the sums in a new file called Sum.csv? import pandas as pd import numpy as np df = pd.read_csv("~/File1.csv") df["Value"].sum() Many thanks!
d82448fd2a93167230e557aeafdc1f86ddb86b39f6e1a95ddfeeec2b0d31c1fd
['97530170a2124468955377f0ff31cf85']
I have SQL that works perfectly in OracleSQLDeveloper. basis of the SQL : pulls day and defines the day of the month and then provides the shift and hours for the day in question. i am trying to make the 3 dates parameters so i can vary them dynamically. SQL: select t.*, dsp.day_work_hours as SHIFT from (select e...
21c734df50d2fbdeea7277042ea4dbd7982d1dd1dac3148d25dd0a2b2330ec41
['97530170a2124468955377f0ff31cf85']
can anyone see why i'd be getting this error in my code? if i remove the error trapping it works fine but can't see what the issue is with the error trapping. thanks = simple_form_for @pic, html: { multipart: true } do |f| - if @pic.errors.any? #errors %h2 = pluralize(@pic.errors.cou...
5c4d79cc5f7482d7291ab26e676d2af64cb0a63b47b1c5fb5bd40107a75e11b8
['9763a97c2cf64b5da80e98c66bcb7387']
I had to do some jython scripting for a websphere server. It must be a really old version of python it didn't have the ** operator or the len() function. I had to use an exception to find the end of a string. Anyways I hope this saves someone else some time def pow(x, y): total = 1; if (y > 0): rng = y ...
67bfc3a82751595cf6751c7102097408a4c8a76dc7d4265b5cefdeaf237978f1
['9763a97c2cf64b5da80e98c66bcb7387']
Disclaimer This is by no means standard and there could very well be a better spring way of doing this. None of the above answers address the issues of wiring a public static field. I wanted to accomplish three things. Use spring to "Autowire" (Im using @Value) Expose a public static value Prevent modification My obj...
489323a5fa12b368fc882b9384621a775712de232f3376583ffdd81912a2cd08
['97827808ad584641bf5b1c5779460246']
im running Windows 8.1 inside Parallels Desktop 9 in Mavericks (mac) I have an ASUS Xonar Essence STX soundcard (PCI-Express) connected, is there any hope of making it work inside the windows virtual machine it parallels? By default it won't detect it ofcourse - http://take.ms/qgxZe - the card isn't showing up in Soun...
636ecfe3bb8bce89161c12a41f767536341bba4e2c4f373d2d1a6053d462222f
['97827808ad584641bf5b1c5779460246']
The Windows 8.1 native camera app started acting weird: when turning it on it shows the camera image with an incredibly small framerate of around 2-3 fps, instead of the usual smooth 18-30fps. When I open the camera in some other application like Skype or OpenBroadcasterSoftware everything works just fine so it's clea...
805594f9c9cbbb55dc7778a929f4886d4d139548b3c66d8d86ddeed9fc96058e
['9794d29ecdec4b2b910e403af009da4b']
I am trying to figure out google apps script, which will move files from one parental folder to the subfolders based on part of files name. I am using one mail merge script to automatically create letters and documentation. Every file has an unique code in his name (for ex. file name is: "Lepic - KN - 28541 - 2013.pdf"...
4dfb56914c6d7cbd28b753502e01dcb578400dad043cebddd985847c607b20a7
['9794d29ecdec4b2b910e403af009da4b']
I took the fooby´s code and after long trial-and-error procedure I came with code that is working for me, so if anyone is interested, here it is: function ShowDataFromOtherSheet() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getSheetByName("Databaze"); var ids = sheet.getRange(2, 1, sheet.getLastRo...
d2ac139a16214d4b3a1e03b50ebf8b1bb723fd77d799b0df4b3a71d0b2e905cd
['97960174df024f43b5117b8758bf3e5c']
I'm wrestling with these last few days. I found lots of links, but none of them really helped me. I'm quite a beginner in WPF. All I need is to reach SelectedItem property in nested ListView. Outter ListView binding works, of course. What I tried after some research and doesn't work, even I don't really understand wh...
0bf9b903fbcddfffc827de3ad4ef2c205ea6241763e637273d981a31ceb58be3
['97960174df024f43b5117b8758bf3e5c']
I made this minimalistic project to learn output and input with user control and it's working as intended. I want to ask, is this a good approach or is there something which is not necessary? I also want to post this, because there is tons of post with specific user cases, but not one with a simple example to learn bin...
799f6d9702de6917fc425f10b4571bbb47d958434298b2691dc8ca7b1146aeef
['97c32ddfd94e440b95fe7f920da14a69']
I'm a beginner and I am wondering if anyone who uses Splunk to monitor SQL server has successfully set up tracking for memory dumps. As you may know, when a memory dump occurs in SQL Server, a file is created in the root of the SQL server log directory as a .mdmp or .dmp. All we would like to do is be able to keep trac...
96dd27329e5cde4c6dc00aead3bc5ae5c4789ab9737895c736ec4c7ee8dd6de8
['97c32ddfd94e440b95fe7f920da14a69']
I'm wondering what I'm missing here. I have a powershell script that calls another script with some parameters to execute as a way to keep things tidy. Here is what works: C:\Scripts\Project\coolscript.ps1 -projname 'my.project' -domain 'work' I want others to be able to use this script without having to change anythi...
e604bb983e64b32e8f3f5e6f2da5cfe41e205a0138c5c071a2f87165aef6df8f
['97c47528a2794ba8ae9c80294fc2ba52']
i had an html file, and in order to test it with jasmine, I seperated it into an html file and .js file and added <script type="text/javascript" src="myFile.js"></script> to my html file and then I put both files in the src folder of Jasmine. now when i want to test, it does not recognize the function in js fi...
638836391aa052793306ab16bec8adcce6ecd110162be8772e828b6c5db6bba8
['97c47528a2794ba8ae9c80294fc2ba52']
I have an issue regarding getting the value of a hashmap in this form <String, List<time,value>>. If I want to simplify my problem the data structure is in the following format: {data1=[fetchTime=123, value=1], [fetchTime=124, value=8], [fetchTime=125,value=0], data2=[fetchTime=123, value=3], [fetchTime=124, value=8]...
583ca16ad83e2d49c5503c5b73e5950d41ec0a48543afb6c98a6a08fb4f2ad53
['97c9ee8008174441bc3dc06cf697f4ff']
In REST controller I have several methods on which I need to create contract test and I don't know how to provide Principal for passing tests. One of the method in Controller which has Principal in parameters: @PreAuthorize("hasRole('USER')") @GetMapping("/current") public Details getCurrent(Principal princ...
fed60f2bfa58a0b1f4ebbc0b04c0325cf2afb4d397c77e9afdb7dcd9ee0317ef
['97c9ee8008174441bc3dc06cf697f4ff']
My project use Oauth2 security. So for mocking Principal object in contract tests I've created bean of OAuth2AuthenticationDetails (this class implements Principal interface). Class configuration with bean OAuth2AuthenticationDetails is: package com.example.config.fakesecurityconfig; import org.springframework.cont...
237b824a0ed9313c727884eaf103cccf6ac257cdc79f2fd93ffa72b60aa63f43
['97cc535684f74ebf83433f428bb8356a']
@reducingactivity that's quite limiting, though. For example, I need to open plain text files with Text Editor, and Asciidoc (.adoc) files with Atom, but they are recognized as plain text files too, so if I change the default application it'll open them always with Text Editor or always with Atom, which forces me to op...
28de797292ac9be759663f804068f8d6f3ac6495e382aaa5116f0d6260f42491
['97cc535684f74ebf83433f428bb8356a']
Alexa estimates website traffic by extrapolating the data from the browsing sessions of the subset of the Internet population who use the Alexa toolbar or browser extensions. This isn't a truly random sample, so questions are raised over the accuracy of such data: http://en.wikipedia.org/wiki/Alexa_Internet#Accuracy_o...
c5e3019aa0320b542a568f636ebf98b482ea3aa41030b7655a03d43d82fe169a
['97e5ffd362da463b926ffddeb4374021']
I just downloaded and wrote the Raspbian Stretch headless image to a micro SD card. I added a DHCP configuration to give the ethernet adapter a <IP_ADDRESS> address. I then gave my desktop PC's ethernet adapter an address of <IP_ADDRESS> and connected the PC to the raspberry pi with an ethernet cable. I tested that I a...
01442ef1aa5da082fce24069014e43fba973775045fe7e3d6da2165795b3881f
['97e5ffd362da463b926ffddeb4374021']
I was able to get this working by modifying the sshswitch.service file to look for the ssh file in / instead if /boot. Then I created the ssh file in the root of the rootfs partition. Below is the modified sshswitch.service which is located at /lib/systemd/system/sshswitch.service. [Unit] Description=Turn on SSH if /...
c63c366a433cfa7fd9127c3ed4c5912948581d074dbe4742523338c7ecbc69ed
['97ef064d31f74de0b0ad406fd5a57e74']
When you pass in a pointer to struct big, the very first thing it points to will be big.small.a, so after your first ld instruction, you've already got the value of big.small.a in %l0. If you try to dereference it again as a pointer, it's not surprising that you get a segfault. So basically what I'm saying is this: ld ...
68a5a7183e6ce7ddf5f0607c5466bdbfc741fe94e057f20d444053395f153b93
['97ef064d31f74de0b0ad406fd5a57e74']
Looks to me like you did execute the jump, and it got to program B, as evidenced by the addresses of the instructions in the trace buffer. But where you crashed was in stdio trying to print stuff. Stdio makes extensive use of function pointers, and the sequence clearly shows a call instruction with the target address i...
37c966df14a7203cc26b5c6f1cfa47af3340d01332f953e341c1162143d5c0b3
['97f394fa51f245b5aed61333ba230e02']
I need to get the path of the web/uploads folder from the entity, this is my code: <?php class Product{ protected $id; ... protected $imageName; protected $file; ... public function getAbsolutePath(){ return null === $this->imageName ? null : $this->getUploadRootDir().'/'.$this->imageName; } pu...
33bef4c9a222e96afda73dea055c7ddfd7ea6acba9e25e3b4971af29b94cd9af
['97f394fa51f245b5aed61333ba230e02']
It depends on the OS you use, for Windows, NetBeans is a good choice. Paragraph git installed using the console and composer to create New Projects Symfony. Should also have installed WAMP or XAMPP from the console git: composer create-project symfony/framework-standard-edition my_project_name In netbeans: Activate P...
43cce67ec6fe2652e679c2477324ea565196d77fc3fae01b6cff2efc3a500e66
['97f4ed2af0884b9184951656a85c2922']
So i have a server which I send a Request to and it sends me back a list of rooms,Now i made a window for joining rooms and I'm trying to refresh it every 3 seconds but when i use the Timer thread to refresh the list it doesn't work if I use the normal refresh method with the Timer it works just fine. Here's some code:...
84f4531d077d9c39371d97e088166b7bf2934992d9b914899ea92c6e0b78a373
['97f4ed2af0884b9184951656a85c2922']
I tried to re-install Pokemon Go and I keep getting "authentication error. must sign in to Google account." I'm signed into my Google account. I am logged into my Pokemon Go account at Pokemon.com. I had the app installed on my one previously, then it stopped working I kept getting a retry message. So, I deleted it...
073547fbfee0abe2029e2751bffc605e6271501aef7c66d3295d1f6de240dc83
['97f7e06ee2944fa186935ed3d154d575']
Hi try this code.... package my.test.service; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Message; import javax.mail.Transport; import javax.mail.internet.AddressException; im...
ac61ba86a7a30cb6d7f0363810eb1a1e48e24b4752287321770a1ccab3603a77
['97f7e06ee2944fa186935ed3d154d575']
I am newbie to camel. Let me explain my business requirement, i have some 10 files in Folder A. In particular time all these 10 files will be processed and do the business logic and move the files to Folder B. Each file place one done file respectively. I need to process files from Folder B for next business operation....
71561f9c8b2ee688aedc202b60fc4fb8c55d8d133dede42a0f7709b46f3eda74
['980f04f4111d46bbbb8981a64743f025']
I think <PERSON> put the Book of Mormon into the religious language he was familiar with - that of the King James Bible. Any translator has the choice of vernacular to put a work into and he thought this sounded appropriate for a sacred text. Would like to point out that while the King James Bible has some inaccuraci...
8bb2b1e6283a1d834b7a643182f89989237413db85bf2c60cbb27b542cfba4a2
['980f04f4111d46bbbb8981a64743f025']
`Why does it take a projectile as long to get to its apex as it does to hit the ground?` Only true if the projectile is launched from the ground. With an upward trajectory. [At least for me, knowing the constraints under which the condition hold true explains the why](http://physics.stackexchange.com/a/<PHONE_NUMBER>...
e6dc67a1ebb784ab4525cec93e5342be9300d8b607ff99e9d103e12a72fae3a2
['9818a92c52204150a7112a18561a13a1']
I am trying to render a jsf page with extension .xhtml when user chooses a jquery tab, the pages are called using jquery ajax, The problem is when I place a html page in the get method it works , but when the pages are .xhtml it is not rendered , here is an example $.get("/example/page.xhtml")", function(data) { $(".lo...
03f2e2f0cdd29a34e2ad1e35f0e799774bc1f24a484794056e1802e08d2e4f34
['9818a92c52204150a7112a18561a13a1']
Hi I have this method public static Date toDate(XMLGregorianCalendar calendar) if (calendar == null) { return null; } return calendar.toGregorianCalendar().getTime(); } The date I get from this method is with this format Fri May 30 12:00:00 EEST 2014 but I wan the format to be like dd-MM-yyyy HH:mm...
24b7bccf60f0ecb9b7bb7d4a42a933107a40c4b2904c504c247a1784063b515d
['981a2a95cfbd44078236e807e1b4abb7']
The reason the recommendation changed was that a quorum query would require responses from over half of your nodes to fullfill. So if you accidentally left Cassandra user active and you have 80 nodes - we need 41 responses. Whilst it's good practice to avoid using the super user like that - you'd be surprised how of...
f2816217e445572495e4e9ab346cebe15f3ea57f982f09d6d85efdb2ada16d1c
['981a2a95cfbd44078236e807e1b4abb7']
I would guess that your partitioning is leading to hotspots on your data. A common example is to bucket stuff by the day or hour when loading time series data. The net effect is that only one node at a time will be used during the bucket period. The other thing to look at is the value of max_solr_concurrency_per_co...
4a3c246b8c6b7a3bd848eb680de9f883efa3ab6075996c381b6456bd6dbfa81e
['9837e704965b457f9f7ccdf02fe474eb']
This will be sort of an addendum to <PERSON> answer I'm making because I couldn't find the 'Disconnect this display' option in the last step. The only real difference is ensuring your laptop monitor is not your main display before trying to disconnect it. Perhaps this is common sense, but it took me a while to figure ...
586d9df9a79ee477fa15d6c88356519e7d193e0e705f0af011f74b6332fb8b79
['9837e704965b457f9f7ccdf02fe474eb']
I am using a jTree structure to display the structure of the project the user is currently using. Users can, of course, open another project, and then, the software is supposed to display the new project's structure. I am using DefaultTreeModel to add/delete nodes, and updating the jTree structure. And since this task...
48afb6ee4b2eb547ac8807640e21e668c08d5eb6656117086e215514a56bdd39
['984e880a9fb84aedb635a688b4fde3d0']
I agree with the marked answer by <PERSON>. The answer could use some additional notes though. For the vast majority of software developers the processor and compiler are no longer relevant to the question. Most of us are far beyond the 8088 and MS-DOS. It is perhaps only relevant for those who are still developing f...
733f6490356c5e240b79777ecabe75eb0ca7109cafc518a097e45b6c36519bcc
['984e880a9fb84aedb635a688b4fde3d0']
I prefer <PERSON>'s answer, but none of the examples here that I can see are handling an invalid maxLength parameter, such as when maxLength < 0. Choices would be either handle the error in a try/catch, clamp the maxLength parameter min to 0, or if maxLength is less than 0 return an empty string. Not optimized code: pu...
4602444212f371adba7be5319d1fb25ba554e95686c59aeffad85f0d3cb02460
['9855dad4065b45219f9b61b5c3c1a3ac']
I would like to understand what this regex correspond to: preg_match("/\/[A-z]{2}\/[^\/]*/", "expression_to_test") I've tried with /a2/ but it does not match. As I understand the regex, in this order we have: "/" which is a delimiter, "/" stands for backslash, [A-z]{2} stands for 2 letters, then another "/" then no "/...
65bde6effc64b4c1eee3333ff105c9d3f5d391846b24519a92570862796c9e43
['9855dad4065b45219f9b61b5c3c1a3ac']
I'm studying BootStrap, and I don't understand the behavior of this piece of code: <style type="text/css"> article.col-sm-10, nav.col-sm-2 { line-height: 10px; } </style> Does it mean that articles, col-sm-10, nav and col-sm-2 will be affected by a line-height of 10 px, or is it for articles with col-sm-10 an...
ff13f262de7b3c7589da078ca15be7bac083551bcff47ee00e2102c1778ebd56
['986385c446dd48c89c96cc3321f835d9']
Создайте шаблон NUnit, как это описано на сайте Microsoft: https://docs.microsoft.com/ru-ru/dotnet/core/testing/unit-testing-with-nunit 1. Установка шаблона проекта NUnit (при этом скачаются оба пакета - NUnit и NUnit3TestAdapter) Перед созданием тестового проекта необходимо установить шаблоны тестовых проектов NUnit. ...
86c3d9ef968148fb8f8718432a7f1ee17c52104c0271f8cd77aa7a0a55723516
['986385c446dd48c89c96cc3321f835d9']
Hola is a VPN service which claims to rely on peers to unblock websites and accelerate browsing. If it relies on peers, clearing there must be peer to peer uploading taking place. What is the easiest way to track how much data it uploads? Also, are there any guarantees besides its personal statement that it isn't uploa...
a1e793f6f6c2c86a8e6158e53c41e8497b7004ae9154e73d1cb32c406c6753db
['9863da27902449178ae3162513c8b46e']
I didn't like that change either, so I wrote an extension to revert to the VS 2013 behavior. I just wrote it last night, so I'd consider it a beta at this point, but I'll be actively using it and actively fixing any bugs that arise. Feel free to check it out: https://github.com/refactorsaurusrex/squishy-vs Turn this....
2a4c27e5206a6500e329a5c5c700b7aeab76141aa1dcbd8fb398c62a42e6cc07
['9863da27902449178ae3162513c8b46e']
I was just battling the same issue. As far as I can tell, visual studio doesn't allow you to browse to a type in your current project; you can only browse to types in a referenced assembly. However, you can type the fully qualified name of the type you want to use in the settings 'Select a Type' dialog box like shown b...
2e28a117e99371d2d875ccd8dae3f1bc436847d862571169fcb54feb353391a2
['9866159d333247a2bb73ebceb7a819fa']
You can use the OutlineLevel Property located in the Columns to locate the parents and the childrens based on the worksheet outline logic. Try: 'This function goes thru the outline childrens of a cell and can apply some logic based on their value Function SubComponentsPresent() As String Application.Volatile D...
bd7a6eb7bb8b6dfacf3a79528036423542e1b0e61d0fe8131238da48c4f2f8ad
['9866159d333247a2bb73ebceb7a819fa']
In Excel 2003, (may be different in Excel2007 ?!) the WorkSheet_Change event is triggered every time the value of a cell is changed wether it is by pressing enter, delete, selecting an other cell after modifying a cell or even when a vba script changes the value of a cell. I would do something like that: Private Sub Wo...
df1894c26c1c098516a3df2386e21d21f268f9e87a26b3b5fffa0a31d5adb9f8
['9866c12a4b8f4fcda8b78e863605b13a']
hi when i open my site (made in smarty) i got this error plz resolve im very new in smarty Smarty error: unable to read resource: "pagetemplate.tpl" in /var/www/vhosts/example.com/htdocs/includes/smarty/Smarty.class.php on line 1083 Warning: Smarty error: unable to read resource: "pagetemplate.tpl" in /var/www/vhosts/e...
92be8baf497ebfd88e1731620138be1de149f480a22fbc08152ff7edd1eaf5fd
['9866c12a4b8f4fcda8b78e863605b13a']
Hi Regarding Paypal adaptive payment this thread will help https://www.paypal-community.com/t5/About-Payments/Adaptive-Payments-for-Magento-marketplace/td-p/968101 as authorize.net does not provide marketplace api like stripe or paypal provides so it wouldnt be possible in this way . PS - we are not self promoting our...
7ec2e3c3c3bdd90b47577553aa547e3409d5a74fffde2f6f2f14868bed0b13d5
['987333d98a9745939bb1bf50b8bb8259']
I use the native merge functionality to glue two duplicate contacts together programmatically: merge target source; Yet this invokes the following error: 12:06:49:251 USER_DEBUG [46]|DEBUG|DML_e: Merge failed. First exception on row 0 with id 0030-removed---tQAG; first error: INVALID_FIELD_FOR_INSERT_UPDATE, Unab...
85d05389501a673d924cdeeceaa225a4bcea54ad48559c83716e33f13178892d
['987333d98a9745939bb1bf50b8bb8259']
Is there any downside to encrypting the original message for signing purposes. I understand this does not provide actual protection, and any one with the public key (any one in the world if the public key is made completely public), however, it would seem if the public keys were kept restricted to TLS tunnels and requi...
c63a52c423e009ad8a33f553b8244a97cfab0ffb913d117e13c09e571886ee23
['987ca133c08341898c6f736df1242be8']
Im learning swift now and having the following problem Please help.. I have 3 classes- TableViewController BroadcastModel BroadcastRequest I get the following error (the line of error is marked with comment) Cannot invoke 'requestFinished' with an argument list of type '([(BroadcastModel)])' import UIKit public cla...
7719ab62e663bb4274321b333355e1dd7e6976f96d838b3eb7986ec5347fba01
['987ca133c08341898c6f736df1242be8']
I'm new to swift. My app uses photos people upload to the web and showing the photos in a table view. It is reloading whenever some user uploads a new photo. I have a UITextField that when you press it the keyboard goes up. My problem is that it goes down whenever reloadView is happening (when a new photo arrives) Wh...
1276ce24d7e1a6922780efe55dab6f472442775c491a5f72b2ac93e203d45cec
['987caf89476c4d3783757961ac2aced5']
In your activity create a handler and initialize it in your on create method private Handler mHandler; mHandler = new Handler(); then change your drawer item click listener to this. private class DrawerItemClickListener implements ListView.OnItemClickListener { @Override public void onItemClick(AdapterView<?>...
c86abf528dd29289254dfe7642216188677a6b6e7ff7d6b4e3f5a7c051072698
['987caf89476c4d3783757961ac2aced5']
As an addition to <PERSON> answer, the best fix of the issue is Creating your own CustomViewpager class that extends from ViewPager and overriding the RequestChildFocus method with null so as to disable the automatic focus behavior. Your customeViewPager class will look something like this public class CustomeViewPager...
f95b342583c6dedbec942f58b76a2f6127af7cf405f6f38ac87e9c3b68fe668c
['9884b83e1356499d8525aa54cd05d5f8']
Ah ok, so you adjust $v_i$ by a certain amount (negative or positive), but doesn't what I've written above show that the change in $C$ will always be negative? That is, I can imagine surfaces where the change in C is positive but where the above algebra still holds. Clearly I'm missing something...
6d00c24bcd994ac5bb997337af22b62dfd0aaa6e6efb636e9617919ebcbd7451
['9884b83e1356499d8525aa54cd05d5f8']
I am new user in Pixelmator and I used to use Photoshop. Now, I would like to use Pen Tool in Pixelmator. In photoshop, we use pen tool to cut things and then Ctrl+Enter to make a selection. In pixelmator, I cannot make selection and it automatically fills with color. All I want is just selection . Please help me how...
c8f9239c452db70d4f64dda6a1654f00ea6d6bcfecf6e8cda5791b93e2433f6c
['988574c07f6145a7a826d32107f06a14']
I ended up doing something different to get the same result. Instead of trying to create a custom CacheWarmer, I created a compiler pass and modified the definition of the 'options' argument. In this compiler pass, I removed all the files that don't have the locale or language code. Code: <?php namespace X\DependencyI...
807511071f1d4950480a918cc4ec7162c1e389b78a390e672af11c3dc5ed0fb3
['988574c07f6145a7a826d32107f06a14']
I'm working on a git branch that has a lot of merge conflicts with another branch that I've merged into it. I started fixing the conflicts but want to save my work and switch to another branch before I finish the merge process. Is it possible to stash the changes in the unfinished merge process to switch to another bra...
f43b5ecc9b397d3eb0cd7a6ca4b2dc17ec2bd089ed3fb32a64d475080e979a3f
['98866e654aac4a7e9252b7194bf1c920']
I have a table that contains two columns. One column that has an action code and the second column that has a DateTime stamp I am somewhat familiar with comparing DateTime from two different columns on the same row, but not from one column from multiple rows Sample data: Task_ID Action_Code CreateDate ----------- ...
11dc9f6edd2e27bcecd45c3a029563926fa767eec99fe5112d065b872668bef6
['98866e654aac4a7e9252b7194bf1c920']
I think I may have found my answer: SELECT DATEDIFF(second, pCreateDate, CreateDate) FROM ( SELECT *, LAG(CreateDate) OVER (ORDER BY CreateDate) pCreateDate FROM TaskDataBase WHERE (Action_Code = 'Pause' OR Action_Code = 'Resume') AND Task_ID = '474344') q WHERE pCreateDate IS NOT NULL AND...
accd16692b846e9368dc5a46bc752da78a2619a51df00b32b7a55c4a271b8653
['988e6bb6c6e94e3db6c48ca9c7b6707f']
I'm trying to set a user account with fixed parameters into Firebase with the CLI, and after success uploading the data, and then test it I get INVALID_PASSWORD in the logs I think is related with salt and hash, Am I setting these values incorrectly? There are others Q.A here that are related, https://stackoverflow.c...
c8a0be5aeda68135f55e1d7d63c39daee795c1f1a9baedc09023862e72eb0cd1
['988e6bb6c6e94e3db6c48ca9c7b6707f']
I trying to do some scraping without python, just a simple http get request from web angular app, the problem is the response, I need gain access to the headers, to get the csrftoken header. error: SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at XMLHttpRequest.onLoad (http://lo...
065616fe2c0a7f44217529b453760d8b7de20bea394c3b5679609baf0112cfe2
['9892394f1a1d40229223826888bede18']
i need change color in run time in panel <span class="Apple-style-span" style="background-color: rgba(0, 0, 0, 0); border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal;...
afb5ffc3e541be023e2057f28ca5231f9a0ec3603437533ecf666c2340b8aa57
['9892394f1a1d40229223826888bede18']
i need solution for this error i am run that time some error occur there is:Send Email Failed. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. i1sm8651517pbj.70 using System; using System.Configuration; using...
59fc13c069867175f0d544930babd5a117e6625d9f52861654d5cfa0f3af7899
['989ce1f6f45747729409564851c8c641']
As far as i understand you are not using the main view for the video, So the thing you can do is you can reduce the height of the view on which you are adding the tap gesture, in your case it will be “aView.” The reduced height should be the height of the control state bar. There maybe different values of this bar in l...
53bf07c08857952ea789f3819b7d0f59e1bea8ac7d628693c80be1525da802c7
['989ce1f6f45747729409564851c8c641']
I have done your requirement in my demo project. I have picked image using UIIMagePicker delegate function @interface ViewController () { UIImage *chooseImage; } - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { NSDate *time = [NSDat...
46f594057a758438f66e2de0621a231128f1d2e786d2034162e5e9b712e85359
['98a0e85d281f42e38b538b37493a76eb']
I am looking for a method in matplotlib to create multiple interactive artists (i.e. rectangles, circles, etc) in a single axis that can be resized/rotated/moved using the mouse. I successfully tried this example to create a "draggable" rectangle in matplotlib. However, when two such draggable rectangles overlap, both...
594e1c8d17445d674c1792302aaa27a51f51ff76886cd3e69ff77b4ea59da3f5
['98a0e85d281f42e38b538b37493a76eb']
I am giving <PERSON> (version 0.1.0) a try for a simple Poisson regression model. However the results differ when compared to straight pymc3 or statsmodels implementations, and I cannot seem to figure out how to interpret the coefficients that bambi gives me. The test code is below. Did I specify the model wrong, or sh...
d5e32ea25171edd7fa1b8f8f03d6f8a8fe35c69ed6f95c600eba4a7dd28df544
['98a64e0327cb483ab7f6bd9b45affa13']
Selenium script developed using c# can indeed be executed using Safari/Mac OS on browserstack. You can execute a sample test from this link to confirm the same as well. Link-https://github.com/browserstack/browserstack-local-csharp. Do you encounter any exception or error stack trace locally when the tests fail?
ded816613ec35eed00d60c712fb5755d8890ae8780ca952ed546f49408681976
['98a64e0327cb483ab7f6bd9b45affa13']
You can use the callback_url key in run_settings option in browserstack.json to get an update after that build is done running. The payload POSTed to this callback URL is the same as the one you get with the build-info BUILD_ID command. Protip: You can keep polling the build status using the build-info command in a loo...
e362d445d9fa7e64132671490bdf3a5a99b31777aeaae723b1fdb0be0f5b3c21
['98ae4c260098497491c9d848dfd1d322']
Double-quote characters in strings are kind of tricky. Try this: Console.WriteLine(String.Format(@"""{0}""", Str)); The @ symbol makes the string into a string literal, meaning that there are no "escape" characters. The outer pair of double-quotes are the normal quotes around a string, and the inner double-pair of dou...
7afc29229b79b1e46a672c58aaf1e000f499ccffc2fa55f2986185b9ef6d6b01
['98ae4c260098497491c9d848dfd1d322']
When I start writing a method, I usually check for exceptional conditions first in the method, using If-Then-Throw blocks. public void ReadFile(string filePath) { if (string.IsNullOrEmpty(filePath) { throw new ArgumentException(... This style seems to be very clear and easy to understand, but it takes ...
e84abc3c49ccdd41a7f21e2e5430c6ce75e574439280f33ac96a8f3dd3ee8e5c
['98ae4e21a40a403bbc46c20938d1ea97']
I currently have three Macs: 2019 5K iMac Early 2013 Retina MacBook Pro Early 2015 12" MacBook (The tiny one) In preparation for selling the old laptops to get a new MacBook Pro, I've been updating operating systems and backing up files and cleaning up the laptops. As part of this, I've set the laptops to sync my doc...
162206b5bb43df34fa5924c574662b55c029a094cc1d1b9154451691fe88f4b7
['98ae4e21a40a403bbc46c20938d1ea97']
Depends on your setup sometimes... %domain\ admins ALL=(ALL) ALL %domain\\domain\ admins ALL=(ALL) ALL %domain\ <EMAIL_ADDRESS> ALL=(ALL) ALL The last one is the one I actually had to use to get mine to work...I'm using sssd and realmd to join my domain. Many suggestions in the past showed using domain^admins but th...
635746405a01293d78b14834ceb21a2befea8226231a18807007f564dfb35493
['98d1e322f2074398b1815b18f458329c']
I have a ul which gets appended several lis after an AJAX request. The previous elements in the list get removed, why is this? AJAX call function: var $comments = $('.comments').find('ul'); $comments.text('Loading...'); $.ajax({ type: 'get', url: 'http://localhost/codeigniter/', success: f...
50a98200d8f7418da70b55bc1d98db617d83a9cffc4f7ae2c7cfcc7e5f4e0e3f
['98d1e322f2074398b1815b18f458329c']
I am requesting a site with cURL that atomatically logs in and although everything works perfectly every GET request after the script logs in will contain "localhost" in the URL instead of the actual domain of the site so it throws a 404 not found error. Example: Instead of being https://remotesite.com/dashboard it doe...
f41a4fcfd7859c4261c2ecd5058143e519b3f74dc44ffbb9f51526b655e35d0b
['98da2283b501407f9655a9efd08e8ede']
I believe this because you cannot use a comment on that position - simply remove the original c:/Program Files/Java/jdk1.6.0_26/bin/javaw.exe line (as it says: there is an invalid character # at the beginning). Btw it seems it is rather an issue in the m2e plugin (or it is a faulty configuration and this plugin faced t...
863cd956a1e6b2997f5cd5b5b6dcd10af0bf42d935912eec0910c49fd1db8063
['98da2283b501407f9655a9efd08e8ede']
You met a common issue here: when you run something with the java -jar ... command, the -classpath ... property is dropped. The reason is security (Jar files can be digitally signed to ensure they weren't modified and it would be so easy to make java load a different dependency Jar file with the same content but with h...
37ec857a29750ff917d5bbfc92c53e935756c609b831e7399a2881f94ed62d5e
['98eade53a89b474fb80bd57471d1974c']
I guess I have understood what you mean. Given the wrong example code below: input_signal = Input(shape=(L), name='input_signal') input_h = Input(shape=(N), name='input_h') faded= Lambda(lambda x: tf.nn.conv1d(input, x))(input_h) You want to convolute each signal vector with different fading coefficients vector. The ...
b84d602d900ec06dc74af5e88c54a9ea7403b6fc9ac24b481a40eda78885e225
['98eade53a89b474fb80bd57471d1974c']
In my problem, I want to convolve two tensors in my neural network model. The shape of two tensors is [None, 2, 1], [None, 3, 1] respectively. The axis with dimension None means the batch size of the input tensor. For each sample in batch, I want to convolve the two tensors with shape [2, 1] and [3, 1]. However, the tf...
449503c0e04f3f20a573edd5f130e1335f95eea1d6b1d21d11fc81bf4f1bedf2
['98faacba94f1481db56dc099b757c277']
Não estou conseguindo comparar dois mapas . Ex: map<string, any> columnsMap = { {"status", 1}, {"client_delivered", 0}, {"client_notification", 0}}; map<string, any> columnsMap2 = { {"status", 1}, {"client_delivered", 0}, {"client_notification", 0}}; if (columnsMap2 == columnsMap) std<IP_ADDRESS>...
1ed552cf17f188af7dbfad5517405a53f931e8282626449f7f658f759bdea907
['98faacba94f1481db56dc099b757c277']
I have already deleted my search history but it seems that Facebook learnt my searches. Eg. There are 4 names starting with xy: xya, xyb, xyc, xyd Once I have searched for xyc and after it I have also deleted the logs. But now every time I type xy into the search input box, Facebook shows the name of xyc instead of sho...
7c117c53a2acf8c6c16049c473085fe048a8128d0bcdc166db1d1a7f939594bb
['99175b8ad9074bb6a6142bc14277bde0']
And the winner is ... portfolio.getProperty = function(propertyId) { var property = $filter('filter')(portfolio.list, {id: +propertyId}, true); return property; }; The problem is that the search return a string, it had to be converted in an integer. but it's not easy to spot type issue in javascript.....
16222fe83d39778153ab6b3bd848ef6c0ca767de3a1b3796d2529c38f309774c
['99175b8ad9074bb6a6142bc14277bde0']
I take that you probably have found an answer since then but I had the same problem than you so I just tried a few things and this works for me: <html> <head> <script> var app = angular.module('propertyDeal', ['ngCordova']); app.controller('ThisCtrl', function($scope, $cordovaEmailComposer) { $...
86190ccd65061f574bb91d58c8a5ee185e1e735c5d8a594b6b5bdd41907d9c76
['991b7ba21af04d28b4faafcc39df10ce']
I am trying to display the number of posts made in custom post type "incidents" by the custom taxonomy "store". eg. Store 1: 8 posts Store 2: 6 posts etc. I have been looking through here and only been able to find how to display the actual posts, which I do not need. Thanks for any help!
e832930991590bafb9b9341cfb1f7212e0fb3ae4d86d036a517dc8f6f8f2c5c9
['991b7ba21af04d28b4faafcc39df10ce']
<PERSON> I have two gmail accounts set up through Mail, and I just checked and had some filters set up in one of my addresses that added labels to the emails, but nothing that moved its location, and no blocks. The other account has neither filters nor blocks. (And that second one is the one I think is having emails di...
78ec11dd62b2c5b5e7788c4a0cf4508354fab2d4683e82f213381c38da0dcb91
['9928b1566b0e4d84891fcc982239e2d1']
I have an ActiveRecord model (Profile) that has a HABTM association to model (Subject). I am using Sunspot to search for all Profiles based on two fields that will be entered by user which is :zip and (subject.title). I tried so many different examples on stackoverflow and exhausted my attempts at trying to find the an...
33c8fda1c2487480b6b02c848ecb940be9ee6ac568b7dbd25d017c11bbe0b097
['9928b1566b0e4d84891fcc982239e2d1']
Found out how to do it... Profile Model class Profile < ActiveRecord<IP_ADDRESS>Base has_and_belongs_to_many :subjects searchable do text :subject_search string :zip end def subject_search subjects.map { |subject| subject.title } end end Profiles#Controller def index @search = Profile.search...
a82b7cf9f89a15ada984f4aa5ef50cd63f5ca53aa1b26aac3c3abccf59848302
['992c3f6d50884490a67eb05d6b9c7b8c']
I was writing a code in C to find whether a given triangle is equilateral,isosceles or scalene. I have written it as : #include<stdio.h> #include<math.h> int main() { float x1,x2,x3,y1,y2,y3; float d1,d2,d3; printf("Enter the co-ordinates of 1st vertex: \n"); scanf("%f%f", &x1,&y1); printf("Enter ...
7a6eed0daf77cfd527b10e71f834995a0cb58ca81abcf601eb37aa467d45f19d
['992c3f6d50884490a67eb05d6b9c7b8c']
Regarding this question, for code snippet for (i = 1; i <= n; i++) int x = 10; It is written there in the comment section that space complexity will be O(1). According to me, it should be O(n). My Reasoning : Variable "x" should not be destroyed after each iteration of "for" loop. According to the scope rul...
ad3d09fe594a6aac15332771a93f372218486dbb9a834da7976c592304463411
['992cfb8464c54c599e62bd52e1111fbf']
I'm new to obj-c, here writing a convenience routine to fetch entities from a Core Data store. XCode is warning me that I'm missing a return value. Why? - (NSArray *)findEntities:(NSString *)entityName byField:(NSString *)fieldName andValue:(id)fieldValue { NSFetchRequest *fetchRequest = [NSFetchRequest fetchReq...
150b030a7c8de5c68c8e25884ecedc67c0664a8d1635e6b7e6fe19063a1c687c
['992cfb8464c54c599e62bd52e1111fbf']
I have a vertical stack view which can contain 1-3 subviews. The subviews should have height about 1/3 of stack view height, even when there's only one or two of them. I tried adding: view.heightAnchor.constraint(equalTo: stack.heightAnchor, multiplier: 0.3) but it throws a constraint conflict, because stack view pins...
42d681da2955ff298cbe9662cfd4d5889284031e120063b08f84b4d83c985e23
['994a485188284825870899f2b88cfdd4']
I found one fix: DO NOT attempt to boot the machine from the install. (may have to hard shutdown the machine) Boot the machine from the Ubuntu 14.04 live DVD. Change the root directory of the live session to the root directory of the install. Rename the directory back to etc.
2941c568e25677a4167da0806a7366490db3b11faff883bf726accca8319f940
['994a485188284825870899f2b88cfdd4']
I am a certified XenApp 6.5 Admin. Basically, you are going to need an entire Windows Domain in order to get XenApp running. This means paying for Window Server licensing fees, buying a huge server with an i7 and loads of memory, paying for Citrix XenApp licenses, etc. This is the reason that it will be overkill for a ...
ef96dd82b6dec672dcc7ac7318ecdb9260cee4a9d2574b5485c92d657f26ca6c
['994b7c99046944d6a7bd0f2c1e11c266']
Well, I've manage to get all the books with the attachment by adding in the contextual filter with the relation : Content:Nid > Content referencing Content from field entity reference to the author. However, now I still get a duplicate book node, ex: if the author only has one book, the book still shows....
d8aeb7edbe4bef4c1185232242ea750454aad0ff89bad29ca22ec1dfe4719a58
['994b7c99046944d6a7bd0f2c1e11c266']
Suppose I have a sequence of positive continuous random variables $\{X_k\}_{k=1}^\infty$ with (unknown) MGF's $M_{X_k}(s)$. Furthermore, it is known that \begin{equation}\frac{X_n-n\mu}{\sqrt{n}\sigma}\rightarrow\mathcal{N}(0,1),\end{equation} for some known $\mu$ and unknown $\sigma$. Given the function \begin{equatio...
ddd1561df88ddd0893039fcee1df980fed2a5993d0921cb208f5cb5020d28ebe
['99697b2f77ff4aad8bf99aa5151c2d5a']
Okay, so I'm making a program where you have two radio boxes to choose from, for the time being, lets call them rb1 and rb2. And so, Which ever one you choose, you press the launch button (BtnLaunch) and the program will launch depending on which radiobox you chose. The problem I am having is that it only works on my c...
83459a59861c7c17189f41d332a8dcb912a3257e8c685c8af5143e5552ce9ce6
['99697b2f77ff4aad8bf99aa5151c2d5a']
so I'm currently developing my first app. I'm just creating a simple map app with different markers on it. So it's all working perfectly well in the emulator. But when I run the published .apk on my phone, the map doesn't show. It has the GUI but there aren't any continents. Does this have something to do with the API ...
ffa8579631b0c6395b8689ccf359850878d833d10ff360c11e9c45aeed60eaf4
['998706e5b31f457f96139d8fdd541c8e']
I want show own loaction from a address was input by user use LocationOverlay and show position by a small dot or anything by icon....(ex: can show this position by a flag.png )But now i don't know how show it on map.Can you help me! source code: public class Main extends MapActivity implements LocationListener { priva...
d7d5107770b6737291dece7d90c6f30015078b0e7e147f45be4650a98cfbb699
['998706e5b31f457f96139d8fdd541c8e']
I writen a application use webview. When i run on android 4.4 or less, my application run normal. But when run it on android 5.0, my webview don't show content of combobox as on screenshot. When i use webrowser default of android, it load my web normal. When i run my application When i use webrowser default of android...
8a5fccedd18e70326d425a1f0458e704070d9a27f78e7945f4578ca8c0181672
['9987d76bd23540d7bc45176ea1e7f29e']
I want to download only the last line displayed on the server to my android device. Can you please tell me the process or give a basic idea. I am trying to download files and then compare. But cant we do by just fetching the last line. try { BufferedReader br1 = new BufferedReade...
efbc6a1a77da53c51dad2ad4398683cf7414ad8efb3ac25a26031aedf5dbfb9f
['9987d76bd23540d7bc45176ea1e7f29e']
i have made a server using php. The server is getting new information after some time. I want the server page to display only the current information. when a new information is received, it should delete the previous one and show only the recent. Can you help me in this. my current code is: <?php $fp=fopen(...
ad6e7a16e43fd048e9a3688a685bc8d196ba452dd8349c7150eb73a42a541f48
['998b42870fde4deab5932b4e79f81531']
Given an array of positive integers, find the max no that can be formed by any permutation of the arrangement. I would like to know if there are any better Data Structures which can allow to give a more elegant solution for problem. import java.util.ArrayList; import java.util.Collections; import java.util.List; import...
5145ef5a6bdeb3a4be4139a22193b784a897df62ab06a204e9e6ecb267056eef
['998b42870fde4deab5932b4e79f81531']
Please try using NSIS (http://nsis.sourceforge.net/Main_Page). Basically you will need to write a NSIS script to do the following Check if JAVA exists. [Depending on 32 or 64 bit machine you need to check different node] Get the java path Run the command java -jar XXXX There are many sample scripts available on NSIS ...
8574457d5b9e52fff082a97721051566c5608f3ab1902f79c5a49617a91e7841
['99985463bc7d4c2d83d16039e7c89df6']
I have solved the problem with recursion. I simply divide the dataset into an almost equal part for every iteration. public int recursion(int M, int N) { if (N - M == 1) { return M ^ N; } else { int pivot = this.calculatePivot(M, N); if (pivot + 1 == N) { return this.recursio...
7137eca5f340305cdc02eb7b6409d1807b6172b0f7ed261a7f9c574ac832e987
['99985463bc7d4c2d83d16039e7c89df6']
I'm trying to implement a reminder app.I have all reminder details stored in sqlite database such id,title,dateInfo,timeInfo etc. I want to notify the user at appropriate time about the reminder for which i would be using AlarmManager. Is the below given steps feasible. Providing id of row as requestCode in pendentingI...
b244d4f1c58933f0b6b2c780b2f8b1f24a1c72451878b8eb2d87967ae1884748
['9998c1c2c82e4e9ca83d8db4ad2815f7']
I have a Booking model which contains created_at and updated_at attributes. I am using association and making use of joins. But when i am doing this i am get createdAt, created_at for attribute created_at and updatedAt, updated_at for attribute updated_at. I am unable to figure what i making it to return 2 column for s...
b6cd2c6a4439fb7812aed6e435670b8437fcf71f610a3e0b32a6a40ac83e3486
['9998c1c2c82e4e9ca83d8db4ad2815f7']
I am trying to setup semantic ui react using the steps given https://react.semantic-ui.com/theming. But i don't know what is going wrong here. /craco.config.js module.exports = { plugins: [{ plugin: require('@semantic-ui-react/craco-less') }], } /src/semantic-ui/theme.config .... /******************************* ...