qid
int64
1
74.7M
question
stringlengths
15
58.3k
date
stringlengths
10
10
metadata
list
response_j
stringlengths
4
30.2k
response_k
stringlengths
11
36.5k
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Change: ``` $('ul#accordion a:contains(bctext)').parent().parent().addClass('special'); ``` to: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ``` The first way, the way you had it, is telling JavaScript to use the string 'bctext' as the contains parameter. What you actual...
This is a **special-character-save** version, that uses **filter** instead of the deprecated **contains** method. `$('ul#accordion a').filter(function () { return $(this).text() == bctext; })`
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
You could use [Traversing/contains](http://docs.jquery.com/Traversing/contains) also: ``` $('ul#accordion a').contains(bctext); ```
This is a **special-character-save** version, that uses **filter** instead of the deprecated **contains** method. `$('ul#accordion a').filter(function () { return $(this).text() == bctext; })`
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
You could use [Traversing/contains](http://docs.jquery.com/Traversing/contains) also: ``` $('ul#accordion a').contains(bctext); ```
This line should be: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ```
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try: ``` $('ul#accordion a:contains(' + bctext + ')') ```
This line should be: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ```
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try: ``` $('ul#accordion a:contains(' + bctext + ')') ```
Change: ``` $('ul#accordion a:contains(bctext)').parent().parent().addClass('special'); ``` to: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ``` The first way, the way you had it, is telling JavaScript to use the string 'bctext' as the contains parameter. What you actual...
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Change: ``` $('ul#accordion a:contains(bctext)').parent().parent().addClass('special'); ``` to: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ``` The first way, the way you had it, is telling JavaScript to use the string 'bctext' as the contains parameter. What you actual...
This line should be: ``` $('ul#accordion a:contains(' + bctext + ')').parent().parent().addClass('special'); ```
1,274,710
I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: ``` $(document).ready(function(){ var ...
2009/08/13
[ "https://Stackoverflow.com/questions/1274710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
You could use [Traversing/contains](http://docs.jquery.com/Traversing/contains) also: ``` $('ul#accordion a').contains(bctext); ```
``` $('ul#accordion a').filter(':contains(' + bctext + ')' ``` is now preferred to the [deprecated](http://docs.jquery.com/Release:jQuery_1.2#Removed_Functionality) ``` $('ul#accordion a').contains(bctext); ``` (as commented by Crescent Fresh)
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
I am not getting how to do that, but i can able to achieve what i want. I have point to SDK path after first time installation of the Android Studio. My SDK is latest but still its updating it with screen i have posted in my question. After some time the process get finished and i am able to use my same sdk for both...
To map your already installed sdk path, 1. File->project Structure into Project Structure 2. Left > SDKs 3. SDK location select Android SDK location (old version use Press +, add another sdk)
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
You can go on Custom and after that choose path to existing SDK, and Android Studio will tell you that only missing files will be installed, so if your SDK have all, he won't install anything.
To map your already installed sdk path, 1. File->project Structure into Project Structure 2. Left > SDKs 3. SDK location select Android SDK location (old version use Press +, add another sdk)
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
To map your already installed sdk path, 1. File->project Structure into Project Structure 2. Left > SDKs 3. SDK location select Android SDK location (old version use Press +, add another sdk)
During first-time startup the setup wizard will offer to download the full Android SDK. Cancel the installation and choose to not rerun the wizard again. You will be able to start the IDE and then in Preferences setup the path to your Android SDK and Java SDK. It *may* offer to download some missing packages - in my ca...
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
To map your already installed sdk path, 1. File->project Structure into Project Structure 2. Left > SDKs 3. SDK location select Android SDK location (old version use Press +, add another sdk)
During the wizard flow (Android Studio 2.1), I selected "Custom install" then changed the Android SDK Location to where I have installed the SDK and got this output: [![enter image description here](https://i.stack.imgur.com/beCa5.png)](https://i.stack.imgur.com/beCa5.png) This shows that it is smart enough to recogn...
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
I am not getting how to do that, but i can able to achieve what i want. I have point to SDK path after first time installation of the Android Studio. My SDK is latest but still its updating it with screen i have posted in my question. After some time the process get finished and i am able to use my same sdk for both...
During first-time startup the setup wizard will offer to download the full Android SDK. Cancel the installation and choose to not rerun the wizard again. You will be able to start the IDE and then in Preferences setup the path to your Android SDK and Java SDK. It *may* offer to download some missing packages - in my ca...
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
I am not getting how to do that, but i can able to achieve what i want. I have point to SDK path after first time installation of the Android Studio. My SDK is latest but still its updating it with screen i have posted in my question. After some time the process get finished and i am able to use my same sdk for both...
During the wizard flow (Android Studio 2.1), I selected "Custom install" then changed the Android SDK Location to where I have installed the SDK and got this output: [![enter image description here](https://i.stack.imgur.com/beCa5.png)](https://i.stack.imgur.com/beCa5.png) This shows that it is smart enough to recogn...
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
You can go on Custom and after that choose path to existing SDK, and Android Studio will tell you that only missing files will be installed, so if your SDK have all, he won't install anything.
During first-time startup the setup wizard will offer to download the full Android SDK. Cancel the installation and choose to not rerun the wizard again. You will be able to start the IDE and then in Preferences setup the path to your Android SDK and Java SDK. It *may* offer to download some missing packages - in my ca...
27,074,524
Normally i am using Eclipse for building the android Application. That's why i have latest android sdk installed in my PC. But now i want to move on Android Studio for building Android Application. I have download the Android Studio and installed it. After installing it, it will launch for first time. At that time it...
2014/11/22
[ "https://Stackoverflow.com/questions/27074524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/881635/" ]
You can go on Custom and after that choose path to existing SDK, and Android Studio will tell you that only missing files will be installed, so if your SDK have all, he won't install anything.
During the wizard flow (Android Studio 2.1), I selected "Custom install" then changed the Android SDK Location to where I have installed the SDK and got this output: [![enter image description here](https://i.stack.imgur.com/beCa5.png)](https://i.stack.imgur.com/beCa5.png) This shows that it is smart enough to recogn...
361,004
I was just thinking about how to split my C partition and move the databases and log files to separate partitions. I read that the backup process is much easier than with one big system partition including everything. What are your experiences with it? I have a 500GB drive in my server - how would you split it to hav...
2012/02/16
[ "https://serverfault.com/questions/361004", "https://serverfault.com", "https://serverfault.com/users/43929/" ]
Sectors on an SSD aren't mapped to real sectors. When you write to a "sector", the firmware for the SSD is actually writing that data to a yet-unused part of the underlying SSD. It will always choose the part that's least been written to, to accomplish "wear levelling". That said, no disk utility should see bad sectors...
Most likely causes: 1. Buggy firmware. SSDs in particular are very "new" in relative terms, and the firmware doesn't have the decades of testing and evolution that the firmware in spinning rust drives has had. This is why so many people still recommend Intel SSDs versus other brands with better price/capacity or price...
361,004
I was just thinking about how to split my C partition and move the databases and log files to separate partitions. I read that the backup process is much easier than with one big system partition including everything. What are your experiences with it? I have a 500GB drive in my server - how would you split it to hav...
2012/02/16
[ "https://serverfault.com/questions/361004", "https://serverfault.com", "https://serverfault.com/users/43929/" ]
SSD wears out all the time, there’s a special region used for “remaps”. If your drive can’t remap and shows bad blocks it means you’re running out of spare blocks and your SSD is dead. Trash it or RMA if it’s under warranty still.
Most likely causes: 1. Buggy firmware. SSDs in particular are very "new" in relative terms, and the firmware doesn't have the decades of testing and evolution that the firmware in spinning rust drives has had. This is why so many people still recommend Intel SSDs versus other brands with better price/capacity or price...
361,004
I was just thinking about how to split my C partition and move the databases and log files to separate partitions. I read that the backup process is much easier than with one big system partition including everything. What are your experiences with it? I have a 500GB drive in my server - how would you split it to hav...
2012/02/16
[ "https://serverfault.com/questions/361004", "https://serverfault.com", "https://serverfault.com/users/43929/" ]
SSD wears out all the time, there’s a special region used for “remaps”. If your drive can’t remap and shows bad blocks it means you’re running out of spare blocks and your SSD is dead. Trash it or RMA if it’s under warranty still.
Sectors on an SSD aren't mapped to real sectors. When you write to a "sector", the firmware for the SSD is actually writing that data to a yet-unused part of the underlying SSD. It will always choose the part that's least been written to, to accomplish "wear levelling". That said, no disk utility should see bad sectors...
19,231,264
I have a few links that change content in a Div upon click. Now, one of the links has new content and I am trying to replace the existing div with a new one as follows ``` var terms = document.getElementsByClassName("tos")[0]; var faqs = document.getElementsByClassName("faq")[0]; $(terms).click(function(){ $("#menuit...
2013/10/07
[ "https://Stackoverflow.com/questions/19231264", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1456913/" ]
Use jQuery selectors, here is a working JSFiddle. When selecting elements via jQuery a `#` or 'hash' is for the `ID` attribute where as the `.` or 'period' is for the `class` attribute. So `$('.class-name');` or `$('#id-name');` <http://jsfiddle.net/GdSWX/1/> HTML ``` <a class="tos" href="#">TOS</a> <br> <a class="...
Try it this way by hiding your divs you want hidden on page load ``` $(document).ready(function(){ $("#newterms").hide(); $(".tos").click(function () { $("#menuitem").hide(); $("#newterms").show(); return false; }); $(".faq").click(function () { $("#newterms").hide(); $("#menuitem").show(); ...
15,063,631
I am using [node.js](/questions/tagged/node.js "show questions tagged 'node.js'") (express framework and hbs engine) and [mongodb](/questions/tagged/mongodb "show questions tagged 'mongodb'") to develop an application. I want to implement an ajax call to to page for partial post back.
2013/02/25
[ "https://Stackoverflow.com/questions/15063631", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2101827/" ]
As mentioned by others in comments, the best approach for this is described in [Ajax to refresh a partial view using express and JQuery?](https://stackoverflow.com/questions/6317219/ajax-to-refresh-a-partial-view-using-express-and-jquery?rq=1)
**>\**pass ur URL,and parameter to this function:It is working fine....*\*** function ajaxRequest(url, succesCallBck, completeCallBck, errorCallBck) { $.ajax({ url: url, type: "POST", dataType: "json", complete: completeCallBck, success: succesCallBck, error: errorCallBck }); }
64,212,912
The title is everything I have. I tried [two](https://stackoverflow.com/questions/12588537/how-to-change-jdk-version-for-an-eclipse-project) [answers](https://stackoverflow.com/questions/13635563/setting-jdk-in-eclipse/29640138) from previous users, but they didn't help me. Maybe I am too bad for this but I just can't ...
2020/10/05
[ "https://Stackoverflow.com/questions/64212912", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14395882/" ]
This error refers to Python not being in the agent tools directory, and therefore unavailable to the agent. Here are (incomplete) details for setting up the tools directory with Python: <https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-python-version?view=azure-devops#how-can-i-configure-a-self...
Did you follow [How can I configure a self-hosted agent to use this task?](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-python-version?view=azure-devops&viewFallbackFrom=azure-devops-2019#how-can-i-configure-a-self-hosted-agent-to-use-this-task) > > The desired Python version will have to b...
64,212,912
The title is everything I have. I tried [two](https://stackoverflow.com/questions/12588537/how-to-change-jdk-version-for-an-eclipse-project) [answers](https://stackoverflow.com/questions/13635563/setting-jdk-in-eclipse/29640138) from previous users, but they didn't help me. Maybe I am too bad for this but I just can't ...
2020/10/05
[ "https://Stackoverflow.com/questions/64212912", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14395882/" ]
This error refers to Python not being in the agent tools directory, and therefore unavailable to the agent. Here are (incomplete) details for setting up the tools directory with Python: <https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-python-version?view=azure-devops#how-can-i-configure-a-self...
Including @Krzysztof Madej's suggestion, you can also try to restart the self-hosted agent service.
67,758,487
I'm writing a Graphql API and defining types in typescript. I would like these types to be enforced as they describe the API input. I would like to know if I can do something like this: ``` enum ActionType { CREATE = 'create', DELETE = 'delete', } interface BaseAction { actionType: ActionType; }; type DeleteA...
2021/05/30
[ "https://Stackoverflow.com/questions/67758487", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1850978/" ]
I think [this](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions) is what you're looking for (What you are doing should work too). You may also benefit from [exhaustive checking](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#exhaustiveness-checking) in your reduced funct...
If you want to code automatically detect the type of actions when you create for instance a `DeleteAction`, you can change your types to classes and implement the `BaseAction` interface. Something like this : ``` enum ActionType { CREATE = 'create', DELETE = 'delete', } interface BaseAction { actionType: Action...
39,197,023
I'm having problems with my code and I know this problem is simple but I just can't figure it out how to solve it, I'll really appreciate if someone could tell me what I'm doing wrong: ``` import random from math import * def create_population(dim,pn): t = log(factor...
2016/08/29
[ "https://Stackoverflow.com/questions/39197023", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6768160/" ]
You don't need "score[z]" when you do "for z in score", z is not an index, is a value of the score list. You can just do ``` if z == maxx ```
As you delete things in a list, you end up with index problems using `range(len)`. If you have a list and then delete an item in it, you end up with a list whose length is now one less. This leads to `IndexErrors` as you try to access up to the original `len(list)`. Perhaps think of copying the original and working wi...
24,515,922
There is the simple solution for sticky footer when you know the height of the footer. <http://getbootstrap.com/examples/sticky-footer/> But when the footer height could change how can we solve the sticky footer
2014/07/01
[ "https://Stackoverflow.com/questions/24515922", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1033518/" ]
If you check the source code of the page you have mentioned, you will see there are actual **comments** telling you what to do to change the footer height: ``` body { /* Margin bottom by footer height */ margin-bottom: 60px; } .footer { /* Set the fixed height of the footer here */ height: 60px; } ```
Here's the code from the bootstrap example: ``` .footer { position: absolute; bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: 60px; background-color: #f5f5f5; } ``` You would change the height attribute... ``` .footer { height: auto; } ```
24,515,922
There is the simple solution for sticky footer when you know the height of the footer. <http://getbootstrap.com/examples/sticky-footer/> But when the footer height could change how can we solve the sticky footer
2014/07/01
[ "https://Stackoverflow.com/questions/24515922", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1033518/" ]
If you don't know the desired height of the footer remove "height: 60px" from .footer class. The footer height will now expand to fit its contents. ``` .footer { position: absolute; bottom: 0; width: 100%; background-color: #f5f5f5; } ``` You will also need to dynamically set margin-bottom of body so it does...
Here's the code from the bootstrap example: ``` .footer { position: absolute; bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: 60px; background-color: #f5f5f5; } ``` You would change the height attribute... ``` .footer { height: auto; } ```
40,873,527
I use Kendo UI for the first time and had a little problem. When I made a class with DateTime property and implement it in Kendo Grid, the field for DateTime always shows this "The field DateOfLastCheck must be a date.".I tried all, changed order, put an attribute, but always the same. This is my Kendo code: ``` @(Htm...
2016/11/29
[ "https://Stackoverflow.com/questions/40873527", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5982396/" ]
Your code: ``` columns.Bound(c => c.DateOfLastCheck).Format("{0:yyyy/mm/dd}").Width(200); ``` Note that `mm` is for *minutes*. You probably want `MM` for months here. My guess is that you have something like `2016/59/29`, because of this, which is clearly not a valid date.
For this you will want to set up a ViewModel, and set all date fields to a System.DateTime. Then bind the fields of the grid to use that ViewModel. I struggled with that for about an hour. The format is incorrect, but that will not prevent the data from displaying. I just tested that on one of my old Grid Project.
40,873,527
I use Kendo UI for the first time and had a little problem. When I made a class with DateTime property and implement it in Kendo Grid, the field for DateTime always shows this "The field DateOfLastCheck must be a date.".I tried all, changed order, put an attribute, but always the same. This is my Kendo code: ``` @(Htm...
2016/11/29
[ "https://Stackoverflow.com/questions/40873527", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5982396/" ]
Based on docs here here <http://docs.telerik.com/kendo-ui/framework/globalization/dateformatting> `mm` denotes minutes and not month. Also is your `DateOfLastCheck` attribute nullable ? You may want to check that too.
For this you will want to set up a ViewModel, and set all date fields to a System.DateTime. Then bind the fields of the grid to use that ViewModel. I struggled with that for about an hour. The format is incorrect, but that will not prevent the data from displaying. I just tested that on one of my old Grid Project.
9,493,078
I have an app with a main activity and an app widget. The app widget needs to be updated whenever the screen orientation changes (it computes its bitmap size and this depends on the current orientation). How can I cause the widget to update on orientation change? I found the ACTION\_CONFIGURATION\_CHANGED event but am...
2012/02/29
[ "https://Stackoverflow.com/questions/9493078", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1139880/" ]
Answering my own question. The right way is not to detect orientation change (which may or may not used by the home launcher) but to have a widget that adapts automatically to orientation change. Sometimes it is trivial, sometimes it is not. In my case for example I needed to show one bitmap for landscape and one for p...
The solution was to use the `onReceive()` method to call `onUpdate()`. Here is my code: ``` @Override public void onReceive(Context context, Intent intent) { super.onReceive(context, intent); String action = intent.getAction(); Toast.makeText(context, action, Toast.LENGTH_LONG).show(); if (action.e...
81,719
I'm using foobar2000 0.9.6.9 as my default MP3 player, and I've got seven playlist tabs open right now. How do I get foobar to shuffle between all the songs in all seven playlists instead of just one?
2009/12/11
[ "https://superuser.com/questions/81719", "https://superuser.com", "https://superuser.com/users/20944/" ]
Creating a rule in Outlook 2007 would make this posible. You could set that since you are using different accounts. Since pop3 is default to the PST file. Use a Rule to copy over receive items from your IMAP account to your inbox in PST file.
Native outlook will support as many email addresses as you like - I have a dozen or so from three different ISP's. They are all within a single Outlook .pst file. For POP3, you can set these up by email address. Outlook does not support aggregating email across mail types (that is POP3, IMAP, and other web based mail...
81,719
I'm using foobar2000 0.9.6.9 as my default MP3 player, and I've got seven playlist tabs open right now. How do I get foobar to shuffle between all the songs in all seven playlists instead of just one?
2009/12/11
[ "https://superuser.com/questions/81719", "https://superuser.com", "https://superuser.com/users/20944/" ]
Creating a rule in Outlook 2007 would make this posible. You could set that since you are using different accounts. Since pop3 is default to the PST file. Use a Rule to copy over receive items from your IMAP account to your inbox in PST file.
Using POP3 would tie your emails to one machine, where IMAP keeps them synchronised on all machines and the cloud. However, you cannot use one .pst file with multiple IMAP accounts. I have three Hotmail accounts, six POP3 accounts (from website mailboxes) and two IMAP accounts all *forwarding* to one externally hosted...
19,424,926
This is baffling us. I have a standard pivot table with a report filter on it that allows multiple selection of items. I can get the selected items in the report filter with: ``` Dim pi As PivotItem For Each pi In PivotTables("MyPivot").PivotFields("MyField").PivotItems If pi.Visible Then Debug.Print pi.Va...
2013/10/17
[ "https://Stackoverflow.com/questions/19424926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2061621/" ]
My collegue found the answer after much Googling in [this post](http://social.msdn.microsoft.com/Forums/office/en-US/01cb61c7-5e68-4a45-aeff-a70c6dbfe00f/excel-2007-accessing-pivotitemvisible-gives-error-if-the-field-item-value-is-a-date): > > For your information and for others with this problem - I have cracked it ...
I wrote a post some time back on this at <http://dailydoseofexcel.com/archives/2013/11/09/a-date-with-pivotitems/> What's weird is that this seems to affect some machines and not others, and also some versions and not others. I wrote a small test routine that sets up a pivot with two items in it - one a date, and one...
19,424,926
This is baffling us. I have a standard pivot table with a report filter on it that allows multiple selection of items. I can get the selected items in the report filter with: ``` Dim pi As PivotItem For Each pi In PivotTables("MyPivot").PivotFields("MyField").PivotItems If pi.Visible Then Debug.Print pi.Va...
2013/10/17
[ "https://Stackoverflow.com/questions/19424926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2061621/" ]
After researching this for a bit, everything I have found is pointing at this being a bug in the VBA library code. However, I did seem to (accidently) stumble across a method that appears to fix the error, that I did not see mentioned in any other threads / forums about this error. The pivot table I was working with b...
My collegue found the answer after much Googling in [this post](http://social.msdn.microsoft.com/Forums/office/en-US/01cb61c7-5e68-4a45-aeff-a70c6dbfe00f/excel-2007-accessing-pivotitemvisible-gives-error-if-the-field-item-value-is-a-date): > > For your information and for others with this problem - I have cracked it ...
19,424,926
This is baffling us. I have a standard pivot table with a report filter on it that allows multiple selection of items. I can get the selected items in the report filter with: ``` Dim pi As PivotItem For Each pi In PivotTables("MyPivot").PivotFields("MyField").PivotItems If pi.Visible Then Debug.Print pi.Va...
2013/10/17
[ "https://Stackoverflow.com/questions/19424926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2061621/" ]
My collegue found the answer after much Googling in [this post](http://social.msdn.microsoft.com/Forums/office/en-US/01cb61c7-5e68-4a45-aeff-a70c6dbfe00f/excel-2007-accessing-pivotitemvisible-gives-error-if-the-field-item-value-is-a-date): > > For your information and for others with this problem - I have cracked it ...
just ran into this issue, seemed that the multiple ways to format a date is really the bigger problem when working with pivot tables. if the format is a true dd/mm/yyyy (or mm/dd/yyyy) it seems fine, but shortening to yy gave me issues. changing the pi.value to string really did solve the issue with mismatch type error...
19,424,926
This is baffling us. I have a standard pivot table with a report filter on it that allows multiple selection of items. I can get the selected items in the report filter with: ``` Dim pi As PivotItem For Each pi In PivotTables("MyPivot").PivotFields("MyField").PivotItems If pi.Visible Then Debug.Print pi.Va...
2013/10/17
[ "https://Stackoverflow.com/questions/19424926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2061621/" ]
After researching this for a bit, everything I have found is pointing at this being a bug in the VBA library code. However, I did seem to (accidently) stumble across a method that appears to fix the error, that I did not see mentioned in any other threads / forums about this error. The pivot table I was working with b...
I wrote a post some time back on this at <http://dailydoseofexcel.com/archives/2013/11/09/a-date-with-pivotitems/> What's weird is that this seems to affect some machines and not others, and also some versions and not others. I wrote a small test routine that sets up a pivot with two items in it - one a date, and one...
19,424,926
This is baffling us. I have a standard pivot table with a report filter on it that allows multiple selection of items. I can get the selected items in the report filter with: ``` Dim pi As PivotItem For Each pi In PivotTables("MyPivot").PivotFields("MyField").PivotItems If pi.Visible Then Debug.Print pi.Va...
2013/10/17
[ "https://Stackoverflow.com/questions/19424926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2061621/" ]
After researching this for a bit, everything I have found is pointing at this being a bug in the VBA library code. However, I did seem to (accidently) stumble across a method that appears to fix the error, that I did not see mentioned in any other threads / forums about this error. The pivot table I was working with b...
just ran into this issue, seemed that the multiple ways to format a date is really the bigger problem when working with pivot tables. if the format is a true dd/mm/yyyy (or mm/dd/yyyy) it seems fine, but shortening to yy gave me issues. changing the pi.value to string really did solve the issue with mismatch type error...
48,484,440
When the right arrow key is pressed I would like to increment the left position of a `div` by `10px` using the `style` property. Here is my script and what I've tried so far: ```js document.onkeydown = KeyPressed; function KeyPressed(k) { var LeftBtn = 37; var RightBtn = 39; var UpBtn = 38; var ...
2018/01/28
[ "https://Stackoverflow.com/questions/48484440", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9188305/" ]
The `style` property of a DOM element is essentially a dictionary with **string** key-value pairs. It expects a CSS key, and a proper string value. Your current code comes out as `left: 10px10px` and that doesn't make much sense for CSS. In order for this to work, you'd have to regard the `px`. ```js document.onkeyd...
Remove `px` from `10`. ``` if (k.keyCode == RightBtn) { document.getElementById("test").style.left = document.getElementById("test").style.left + 10; } ```
48,484,440
When the right arrow key is pressed I would like to increment the left position of a `div` by `10px` using the `style` property. Here is my script and what I've tried so far: ```js document.onkeydown = KeyPressed; function KeyPressed(k) { var LeftBtn = 37; var RightBtn = 39; var UpBtn = 38; var ...
2018/01/28
[ "https://Stackoverflow.com/questions/48484440", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9188305/" ]
The `style` property of a DOM element is essentially a dictionary with **string** key-value pairs. It expects a CSS key, and a proper string value. Your current code comes out as `left: 10px10px` and that doesn't make much sense for CSS. In order for this to work, you'd have to regard the `px`. ```js document.onkeyd...
Try following way: ``` document.onkeydown = KeyPressed; function KeyPressed(k) { var LeftBtn = 37; var RightBtn = 39; var UpBtn = 38; var DownBtn = 40; if(k.keyCode == RightBtn) { document.getElementById("test").style.left = parseInt(document.getElementById("test").style.left || 0) + 10 ...
15,361
I was at lunch today and the conversation turned to almonds and their [cyanide](http://en.wikipedia.org/wiki/Cyanide_poisoning) content. One co-worker said almonds contain a lot of cyancide and the number of almonds that can kill you surprisingly low. ![Caution almonds](https://i.stack.imgur.com/wRJWI.jpg) My questi...
2013/03/14
[ "https://skeptics.stackexchange.com/questions/15361", "https://skeptics.stackexchange.com", "https://skeptics.stackexchange.com/users/5487/" ]
With bitter almonds, 8 - 32 almonds will give you the lethal dosage of cyanide. Bitter almonds yield [about 6.2 mg of cyanide per almond](http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1273391/?page=3) and the LD50 for cyanide is [50 mg - 200 mg.](http://www.cyanidecode.org/cyanide-facts/environmental-health-effects) Thi...
This is an addition to [Avi's answer](https://skeptics.stackexchange.com/a/15362/8865). The varieties are sweet and bitter almond (the latter is the one with [amygdalin which is the source of the cyanide as well as the aroma (benzaldehyde)](http://en.wikipedia.org/wiki/Amygdalin)) almonds, see <http://en.wikipedia.org...
73,132,118
I have dependency in my spring boot project which fetches values of some properties using Spring's EnvironmentPostProcessor. Now these properties are database credentials and not everyone has access to the credential since there is no dev environment for the db in question. I just want to change the configuration that ...
2022/07/27
[ "https://Stackoverflow.com/questions/73132118", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2772620/" ]
`@Lazy` is only to be used with `@Bean` or `@Component` (Or any `@Component`-based annotations ex. `@Service`) *Take note*: You can also add it to a `@Configuration` class, but that just means that all Beans in the class are annotated with `@Lazy` `@Lazy` is a bit of a weird annotation in general; it should be seen a...
According to [documentation](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/env/EnvironmentPostProcessor.html) `EnvironmentPostProcessor`s must be registered via `META-INF/spring.factories`: > > Allows for customization of the application's Environment prior to the > application context ...
21,918,516
What makes this construction? ``` int a[10]; int x; x = 2[a]; ``` I do not understand what makes 2 [a]. It is another senility of C language?
2014/02/20
[ "https://Stackoverflow.com/questions/21918516", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3257983/" ]
It is `2[a] = *(2 + a) = *(a + 2) = a[2]` Note: `+` operator holds commutative property
Array subscripting is commutative in C. `a[2]` and `2[a]` and `*(a + 2)` are equivalent, i.e. the compiler produces the same code. There is a [C FAQ](http://www.c-faq.com/aryptr/joke.html) for it.
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add box-sizing: border-box. It makes width be computed for the border-box, instead of the content-box. [Fiddle](http://jsfiddle.net/yLH7L/7/). It's support is [good enough](http://caniuse.com/#search=box-sizing), and forcing old browsers into quirks mode will make all elements render as border-box. (It's a good idea to...
Try [this](http://jsfiddle.net/yLH7L/9/) ``` .searchbox { width: 96%; height: 40px; background-color:#0099FF; padding: 0 2%; } .inputb { width: 100%; margin:0; padding:0; } @media (max-width: 490px) { .searchbox { width:94%; padding-left: 3%; padding-right:3%; ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add box-sizing: border-box. It makes width be computed for the border-box, instead of the content-box. [Fiddle](http://jsfiddle.net/yLH7L/7/). It's support is [good enough](http://caniuse.com/#search=box-sizing), and forcing old browsers into quirks mode will make all elements render as border-box. (It's a good idea to...
Try [this](http://jsfiddle.net/brendan34/yLH7L/4/). It uses percentage sizes. ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 2%; padding-right: 2%; } .inputb { width: 98%; } @media (max-width: 490px) { .searchbox { padding-left: 1%; pad...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add box-sizing: border-box. It makes width be computed for the border-box, instead of the content-box. [Fiddle](http://jsfiddle.net/yLH7L/7/). It's support is [good enough](http://caniuse.com/#search=box-sizing), and forcing old browsers into quirks mode will make all elements render as border-box. (It's a good idea to...
Use a `<div>` with negative margins ----------------------------------- For any child element, the maximum natural width cannot exceed that of the parent's content width — even if the parent has `box-sizing: border-box` defined. On typical block-level elements and most elements defined with `display: block`, you can ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add `box-sizing:border-box;` to your code and ready only works in recent browsers is css3 ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; box-sizing:border-box; --- take look a this ...
Use a `<div>` with negative margins ----------------------------------- For any child element, the maximum natural width cannot exceed that of the parent's content width — even if the parent has `box-sizing: border-box` defined. On typical block-level elements and most elements defined with `display: block`, you can ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
you can use `calc` function in css. chek this <http://jsfiddle.net/yLH7L/6/>
Try [this](http://jsfiddle.net/yLH7L/9/) ``` .searchbox { width: 96%; height: 40px; background-color:#0099FF; padding: 0 2%; } .inputb { width: 100%; margin:0; padding:0; } @media (max-width: 490px) { .searchbox { width:94%; padding-left: 3%; padding-right:3%; ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add box-sizing: border-box. It makes width be computed for the border-box, instead of the content-box. [Fiddle](http://jsfiddle.net/yLH7L/7/). It's support is [good enough](http://caniuse.com/#search=box-sizing), and forcing old browsers into quirks mode will make all elements render as border-box. (It's a good idea to...
Add `box-sizing:border-box;` to your code and ready only works in recent browsers is css3 ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; box-sizing:border-box; --- take look a this ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add `box-sizing:border-box;` to your code and ready only works in recent browsers is css3 ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; box-sizing:border-box; --- take look a this ...
Try [this](http://jsfiddle.net/brendan34/yLH7L/4/). It uses percentage sizes. ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 2%; padding-right: 2%; } .inputb { width: 98%; } @media (max-width: 490px) { .searchbox { padding-left: 1%; pad...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
Add `box-sizing:border-box;` to your code and ready only works in recent browsers is css3 ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; box-sizing:border-box; --- take look a this ...
Try [this](http://jsfiddle.net/yLH7L/9/) ``` .searchbox { width: 96%; height: 40px; background-color:#0099FF; padding: 0 2%; } .inputb { width: 100%; margin:0; padding:0; } @media (max-width: 490px) { .searchbox { width:94%; padding-left: 3%; padding-right:3%; ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
you can use `calc` function in css. chek this <http://jsfiddle.net/yLH7L/6/>
Add `box-sizing:border-box;` to your code and ready only works in recent browsers is css3 ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; box-sizing:border-box; --- take look a this ...
21,746,741
I've inserted an `<input type=text />` to the `.searchbox` div, but it's overflowing out of the body from the right because of the padding. How can I fix this? ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 20px; padding-right: 20px; } .inputb { width: 100%...
2014/02/13
[ "https://Stackoverflow.com/questions/21746741", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2912075/" ]
you can use `calc` function in css. chek this <http://jsfiddle.net/yLH7L/6/>
Try [this](http://jsfiddle.net/brendan34/yLH7L/4/). It uses percentage sizes. ``` .searchbox { width: 100%; height: 40px; background-color:#0099FF; padding-left: 2%; padding-right: 2%; } .inputb { width: 98%; } @media (max-width: 490px) { .searchbox { padding-left: 1%; pad...
6,413,708
I'm new to Ruby on Rails. I'm trying to install rails on an ubuntu linux platform. I've already installed RVM and ruby. When I type ``` gem install rails --version 3.0.0 ``` I get this error: ``` ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameErro...
2011/06/20
[ "https://Stackoverflow.com/questions/6413708", "https://Stackoverflow.com", "https://Stackoverflow.com/users/500144/" ]
looks like you dont have ZLib installed. try `gem install zlib` and also `apt-get install zlib zlib-dev` if you dont have the system library installed you need both the .so c-extension files (apt-get) and the ruby interface to them (gem ) also this may be the same thing as in [Antother Stackoverflow Question](https:/...
This has happened to me a few times. The answers near the bottom should fix it, but unfortunately you will need to remove and then recompile ruby :( I have never gotten it to work without totally removing ruby. <http://ubuntuforums.org/showthread.php?t=1494997>
6,413,708
I'm new to Ruby on Rails. I'm trying to install rails on an ubuntu linux platform. I've already installed RVM and ruby. When I type ``` gem install rails --version 3.0.0 ``` I get this error: ``` ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameErro...
2011/06/20
[ "https://Stackoverflow.com/questions/6413708", "https://Stackoverflow.com", "https://Stackoverflow.com/users/500144/" ]
looks like you dont have ZLib installed. try `gem install zlib` and also `apt-get install zlib zlib-dev` if you dont have the system library installed you need both the .so c-extension files (apt-get) and the ruby interface to them (gem ) also this may be the same thing as in [Antother Stackoverflow Question](https:/...
I guess you need zlib package to install rails. try ``` rvm pkg install zlib ``` after that ``` sudo apt-get install zlib1g ``` and then the development package. not sure why but you need it. ``` sudo apt-get install zlib1g-dev ``` then remove the current version of ruby because you didn't have zlib when ruby ...
6,413,708
I'm new to Ruby on Rails. I'm trying to install rails on an ubuntu linux platform. I've already installed RVM and ruby. When I type ``` gem install rails --version 3.0.0 ``` I get this error: ``` ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameErro...
2011/06/20
[ "https://Stackoverflow.com/questions/6413708", "https://Stackoverflow.com", "https://Stackoverflow.com/users/500144/" ]
I guess you need zlib package to install rails. try ``` rvm pkg install zlib ``` after that ``` sudo apt-get install zlib1g ``` and then the development package. not sure why but you need it. ``` sudo apt-get install zlib1g-dev ``` then remove the current version of ruby because you didn't have zlib when ruby ...
This has happened to me a few times. The answers near the bottom should fix it, but unfortunately you will need to remove and then recompile ruby :( I have never gotten it to work without totally removing ruby. <http://ubuntuforums.org/showthread.php?t=1494997>
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
[GetGo Download Manager](http://www.getgosoft.com/) seems to do that: > > You can easily set up a Batch Download > that not only downloads a large list > of files using an URL pattern > template, but also automatically > renames downloaded files using a > filename pattern template. > > >
Try [**Orbit Downloader**](http://www.orbitdownloader.com/). MANY options available with that.
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
I strictly recommend [**NeoDownloader**](http://www.neowise.com/neodownloader/). I've been using it for years. It downloads from password protected sites and supports downloading URL ranges.
Try [**Orbit Downloader**](http://www.orbitdownloader.com/). MANY options available with that.
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
[GetGo Download Manager](http://www.getgosoft.com/) seems to do that: > > You can easily set up a Batch Download > that not only downloads a large list > of files using an URL pattern > template, but also automatically > renames downloaded files using a > filename pattern template. > > >
I have had good luck with [Offline Explorer](http://www.metaproducts.com/mp/offline_explorer.htm). Allows you to access password protected pages and has lots of advanced options.
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
[GetGo Download Manager](http://www.getgosoft.com/) seems to do that: > > You can easily set up a Batch Download > that not only downloads a large list > of files using an URL pattern > template, but also automatically > renames downloaded files using a > filename pattern template. > > >
You can do this with [wget](http://www.gnu.org/software/wget/), and possibly a very simple script (depending on how the site is set up).
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
[GetGo Download Manager](http://www.getgosoft.com/) seems to do that: > > You can easily set up a Batch Download > that not only downloads a large list > of files using an URL pattern > template, but also automatically > renames downloaded files using a > filename pattern template. > > >
[HTTRACK](http://www.httrack.com/) works like a champ for copying the contents of an entire site. This tool can even grab the pieces needed to make a website with active code content work offline. ![alt text](https://i.stack.imgur.com/Rc1wU.png)
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
I strictly recommend [**NeoDownloader**](http://www.neowise.com/neodownloader/). I've been using it for years. It downloads from password protected sites and supports downloading URL ranges.
I have had good luck with [Offline Explorer](http://www.metaproducts.com/mp/offline_explorer.htm). Allows you to access password protected pages and has lots of advanced options.
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
I strictly recommend [**NeoDownloader**](http://www.neowise.com/neodownloader/). I've been using it for years. It downloads from password protected sites and supports downloading URL ranges.
You can do this with [wget](http://www.gnu.org/software/wget/), and possibly a very simple script (depending on how the site is set up).
60,012
> > **Possible Duplicate:** > > [How can I download an entire website](https://superuser.com/questions/14403/how-can-i-download-an-entire-website) > > > I'm looking a mass-downloader to help me download the entire database from a site I have an account on. The requirements are simple: 1. Login using my user a...
2009/10/24
[ "https://superuser.com/questions/60012", "https://superuser.com", "https://superuser.com/users/241/" ]
I strictly recommend [**NeoDownloader**](http://www.neowise.com/neodownloader/). I've been using it for years. It downloads from password protected sites and supports downloading URL ranges.
[HTTRACK](http://www.httrack.com/) works like a champ for copying the contents of an entire site. This tool can even grab the pieces needed to make a website with active code content work offline. ![alt text](https://i.stack.imgur.com/Rc1wU.png)
32,685,955
I have a JSfiffle <https://jsfiddle.net/zuer7g75/1/> ``` <ul class="dropdown-menu"> <li> <a href="/camera-photo"> Camera &amp; photo </a> </li> <li> <a href="/cell-phones"> Cell phones </a> </li> <li> <a href="/others"> ...
2015/09/21
[ "https://Stackoverflow.com/questions/32685955", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188601/" ]
By floating the font awesome icons to the right instead of the actual a tags i got it to work. Only thing is i couldn't get rid of the padding at the bottom. maybe you want it there? <https://jsfiddle.net/RachGal/zuer7g75/3/> ```js $(document).ready(function() { $('.navbar a.dropdown-toggle').on('click', function(e...
You can just make the a tags within the li to float left, then it should work. ``` .navbar-default .navbar-nav>li>a { float:left; } ``` Please change the css to be relevant to your project. In order to get the clicking of the arrow down to work: 1. close all other drop downs that are currently visible. 2. remo...
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
You can prevent the propagation of the event from the handler so that the ancestor element's handlers will not get executed ``` $("li[id^='m']").click(function(e){ e.stopPropagation() //my code to handle the click }); ```
Try: ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); e.preventDefault(); }); ```
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
You can prevent the propagation of the event from the handler so that the ancestor element's handlers will not get executed ``` $("li[id^='m']").click(function(e){ e.stopPropagation() //my code to handle the click }); ```
Well you can stop the event to bubble up; ``` $("li[id^='m']").click(function(ev){ //my code to handle the click ev.stopPropagation(); }); ```
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
You can prevent the propagation of the event from the handler so that the ancestor element's handlers will not get executed ``` $("li[id^='m']").click(function(e){ e.stopPropagation() //my code to handle the click }); ```
use stopPropagation to prevent the bubbling event ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); //my code to handle the click }); ``` **note**: In your dom structure li nested with another li ..so it could be bubbled event when you click
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
Well you can stop the event to bubble up; ``` $("li[id^='m']").click(function(ev){ //my code to handle the click ev.stopPropagation(); }); ```
Try: ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); e.preventDefault(); }); ```
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
use stopPropagation to prevent the bubbling event ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); //my code to handle the click }); ``` **note**: In your dom structure li nested with another li ..so it could be bubbled event when you click
Try: ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); e.preventDefault(); }); ```
24,734,768
I have a bootstarp multi-level side menu (not using jQuery UI menu). Unfortunately, when I click a submenu item, all its parents are triggered as well. This is because i have nested `<li>` elements with 'nested' id names. I need nested names in order to easily take all children content from the DB. jQuery UI `.menu()`...
2014/07/14
[ "https://Stackoverflow.com/questions/24734768", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3188355/" ]
Well you can stop the event to bubble up; ``` $("li[id^='m']").click(function(ev){ //my code to handle the click ev.stopPropagation(); }); ```
use stopPropagation to prevent the bubbling event ``` $("li[id^='m']").click(function(e){ e.stopPropagation(); //my code to handle the click }); ``` **note**: In your dom structure li nested with another li ..so it could be bubbled event when you click
116,826
I have following data. I am trying to get the number of days the project stayed in a particular status. Example below of raw data, I need to be able to get the result shown. Can I get some pointers on how I can achieve this? ### Raw data ```none ╔══════════════════════════════════╦════════╦════════════╗ ║ ...
2015/10/02
[ "https://dba.stackexchange.com/questions/116826", "https://dba.stackexchange.com", "https://dba.stackexchange.com/users/77350/" ]
You can group the data using a trick using row number - row number partitioned by status. That will create the same number for rows with the same status for a range of dates. This just takes the rows ordered by entry\_date and status, but you might want to do something better for the entries on the same day: ``` selec...
Windowed function `LAG` should give you the answer: [LAG (Transact-SQL)](https://msdn.microsoft.com/en-us/library/hh231256.aspx) This function allows it so you don't have to join to get [current]-nth value ``` SELECT *, LAG([ENTRY_DATE], 1, NULL) OVER ( PARTITION BY [ID], [STATE], [ENTRY_DATE] ...
12,622,585
I have a table which has both button and text box in some cells. Now I am able to put both the components in the table cell. Thanks for [OscarRyz's](https://stackoverflow.com/questions/2069641/adding-buttons-inside-cell-of-jtable-along-with-data.) code. Now my problem is I have to align these components such that the b...
2012/09/27
[ "https://Stackoverflow.com/questions/12622585", "https://Stackoverflow.com", "https://Stackoverflow.com/users/967638/" ]
A `JPanel` with `BorderLayout` where you put the `JTextField` in the `BorderLayout.CENTER` and the `JButton` in the `BorderLayout.EAST` should do it. And for future reference: bookmark the [Visual guide to layout managers](http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html) if you are looking for a `Lay...
* `JPanel` has implemented `FlowLayout` then to pretty accepting the `PreferredSize` came from its childs, * notice everything depends of your `TableCellRenderer` and `TableCellEditor` too * [my view, my example](https://stackoverflow.com/a/6355910/714968)
50,974,372
How can I use IPN for currency payments? <https://www.coinpayments.net/merchant-tools-ipn> I created a file and put the IPN code there, but what do I have to do "run form post" this file? Do I have to create an API? What I wanted with IPN was that when the payout was successful, I would execute a function in SQL. Bu...
2018/06/21
[ "https://Stackoverflow.com/questions/50974372", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9974444/" ]
Make sure you update the ipn\_url hidden field in your form with a url from your server which you want to serve as your callback url:) just like this form below. ``` <form action='https://www.coinpayments.net/index.php' method='post' id='form'> ..... <input type="hidden" name="ipn_url" value="https://$domain/myIpnPage...
I was facing the same problem few days ago. I switched to the api for getting the transactions details for a Tx id which was much simpler than IPN. Just paste the following code in Coinpayments library coinpayments.inc.php ``` } public function GetTransactionInformation($txId) { $req = array( 'txid'...
50,974,372
How can I use IPN for currency payments? <https://www.coinpayments.net/merchant-tools-ipn> I created a file and put the IPN code there, but what do I have to do "run form post" this file? Do I have to create an API? What I wanted with IPN was that when the payout was successful, I would execute a function in SQL. Bu...
2018/06/21
[ "https://Stackoverflow.com/questions/50974372", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9974444/" ]
Make sure you update the ipn\_url hidden field in your form with a url from your server which you want to serve as your callback url:) just like this form below. ``` <form action='https://www.coinpayments.net/index.php' method='post' id='form'> ..... <input type="hidden" name="ipn_url" value="https://$domain/myIpnPage...
There are 2 ways to register your IPN page on coinPayments: 1: put it in the form ``` <form action='https://www.coinpayments.net/index.php' method='post' id='form'> ..... <input type="hidden" name="ipn_url" value="https://$domain/myIpnPage.php"> ..... </form> ``` 2: setting IPN You can go to your 'acco...
14,609,868
> > **Possible Duplicate:** > > [I want to vertical-align text in select box](https://stackoverflow.com/questions/5439782/i-want-to-vertical-align-text-in-select-box) > > > In this [fiddle](http://jsfiddle.net/pollo/pYrBs/) the text in the drop down list is vertically centered in IE and Chrome...but not in Fir...
2013/01/30
[ "https://Stackoverflow.com/questions/14609868", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
The best way to handle this is not to assign a height to the select but to add padding to match the height of the other elements.
the problem lies with fiddle. Their iframe will only have the minimal necessary size (in firefox at least). Try something like ``` div { height: 10em; display: table-cell; vertical-align: middle; } ``` and place a `<div>` around your `<select>`. In a real scenario you might want to use `height: 100%`, ab...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
You're going to lose the Moon. At the Moon's current distance, the Earth's gravity can only change its velocity by $0.002m/s^2$ The mentioned acceleration of about $0.25m/s^2$ dwarfs that, and if at any time during this acceleration, the Moon's relative velocity to Earth exceeds Earth escape velocity for its distance...
**Goodbye, moon!** The moon's centripetal acceleration is always pointed at the earth, and has a value of just 0.0027 m/s^2. If you accelerate the earth in the opposite direction at 0.025g (0.245 m/s^2), the earth will move away from the moon with a net acceleration of 0.242 m/s^2. As the earth moves further away, the...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
**Depends on direction of thrust and relative position of bodies** Firstly, the Earth-Moon system will definitely be disturbed. The most likely scenario is ejection of the moon, though collision is possible if you happen to... well, accelerate the Earth into the Moon. You are applying the force to Earth only, which m...
There should be a way to do it without losing the Moon, but there would be a very narrow range of timing. If the acceleration is started just right before the Moon is in the part of its orbit away from the sun, the Earth would come towards the Moon. If it just passes the Moon, the distance could be small enough that th...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
**Farewell Luna. But, there might be a way...** I simulated the Sun-Earth-Moon system to determine the trajectories of Earth and moon. With your given acceleration $a=0.025g$ and $T\_{accel}=12\ \text{hours}$, the **Earth categorically, and quickly, leaves the moon behind**. One parameter we have to play with is the a...
**Depends on direction of thrust and relative position of bodies** Firstly, the Earth-Moon system will definitely be disturbed. The most likely scenario is ejection of the moon, though collision is possible if you happen to... well, accelerate the Earth into the Moon. You are applying the force to Earth only, which m...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
You're going to lose the Moon. At the Moon's current distance, the Earth's gravity can only change its velocity by $0.002m/s^2$ The mentioned acceleration of about $0.25m/s^2$ dwarfs that, and if at any time during this acceleration, the Moon's relative velocity to Earth exceeds Earth escape velocity for its distance...
Probably not with your criteria that the force only affects the Earth, for 12 hours, and at 0.025g. Others have explained well why that wouldn't work. We'd leave a lot of satellites behind as well. If the force affected the Earth/moon system, then sure. If the force only affected the Earth, it would have to be control...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
You're going to lose the Moon. At the Moon's current distance, the Earth's gravity can only change its velocity by $0.002m/s^2$ The mentioned acceleration of about $0.25m/s^2$ dwarfs that, and if at any time during this acceleration, the Moon's relative velocity to Earth exceeds Earth escape velocity for its distance...
**Farewell Luna. But, there might be a way...** I simulated the Sun-Earth-Moon system to determine the trajectories of Earth and moon. With your given acceleration $a=0.025g$ and $T\_{accel}=12\ \text{hours}$, the **Earth categorically, and quickly, leaves the moon behind**. One parameter we have to play with is the a...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
**Goodbye, moon!** The moon's centripetal acceleration is always pointed at the earth, and has a value of just 0.0027 m/s^2. If you accelerate the earth in the opposite direction at 0.025g (0.245 m/s^2), the earth will move away from the moon with a net acceleration of 0.242 m/s^2. As the earth moves further away, the...
You can do a rough calculation for the general case by calculating the Moon's kinetic energy with the Earth at rest, and let that be P. The Moon gravitational potential energy in respect to the Earth can also be calculated and let that be U. From the virial theorem stability yields 2P + U = 0 (approx). You can approxi...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
**Farewell Luna. But, there might be a way...** I simulated the Sun-Earth-Moon system to determine the trajectories of Earth and moon. With your given acceleration $a=0.025g$ and $T\_{accel}=12\ \text{hours}$, the **Earth categorically, and quickly, leaves the moon behind**. One parameter we have to play with is the a...
There should be a way to do it without losing the Moon, but there would be a very narrow range of timing. If the acceleration is started just right before the Moon is in the part of its orbit away from the sun, the Earth would come towards the Moon. If it just passes the Moon, the distance could be small enough that th...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
**Farewell Luna. But, there might be a way...** I simulated the Sun-Earth-Moon system to determine the trajectories of Earth and moon. With your given acceleration $a=0.025g$ and $T\_{accel}=12\ \text{hours}$, the **Earth categorically, and quickly, leaves the moon behind**. One parameter we have to play with is the a...
You can do a rough calculation for the general case by calculating the Moon's kinetic energy with the Earth at rest, and let that be P. The Moon gravitational potential energy in respect to the Earth can also be calculated and let that be U. From the virial theorem stability yields 2P + U = 0 (approx). You can approxi...
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
Answer: No, we loose the moon and all satellites too. Consider that your moving of the planet will also cause all LEO satellites to enter the atmosphere and burn up in first few hours. ISS is dead too, unless the astronauts take the life-raft down to earth in the first few hours. The only satellites to survive physic...
I think that the answer is that the moons orbit would be changed into a more eccentric orbit, since the gravity of earth will poon on the moon and she will come on our way, but the centrifugal force will make it stay in orbit, although maybe more eliptic. This, of course, is only if the earth were to speed away slowly....
194,847
I've been reading about stellar engines. [The Wikipedia article on them](https://en.wikipedia.org/wiki/Stellar_engine) says this about the acceleration they could provide to a star: > > Such thrust and acceleration would be very slight, but such a system could be stable for millennia. Any planetary system attached to...
2021/01/25
[ "https://worldbuilding.stackexchange.com/questions/194847", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/21222/" ]
There should be a way to do it without losing the Moon, but there would be a very narrow range of timing. If the acceleration is started just right before the Moon is in the part of its orbit away from the sun, the Earth would come towards the Moon. If it just passes the Moon, the distance could be small enough that th...
Answer: No, we loose the moon and all satellites too. Consider that your moving of the planet will also cause all LEO satellites to enter the atmosphere and burn up in first few hours. ISS is dead too, unless the astronauts take the life-raft down to earth in the first few hours. The only satellites to survive physic...
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
Install `Nuget Package` `Microsoft.Data.Sqlite` (not `Microsoft.Data.Sqlite.Core`). (my version is 2.2.2) and use **SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider\_e\_sqlite3());** ``` connection = new SqliteConnection("Data Source = Sample.db"); SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_s...
I got this issue when working with `Microsoft.EntityFrameworkCore.Sqlite` version 3.1.10. The above solutions did not work for me. Then I have modified the My DbContext as follows (added `SQLitePCL.Batteries.Init();` to `OnConfiguring` method) and the issue is gone!!! ``` public class ApplicationDbContext : DbContext ...
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
I got this issue when working with `Microsoft.EntityFrameworkCore.Sqlite` version 3.1.10. The above solutions did not work for me. Then I have modified the My DbContext as follows (added `SQLitePCL.Batteries.Init();` to `OnConfiguring` method) and the issue is gone!!! ``` public class ApplicationDbContext : DbContext ...
On Xamarin.iOs I had the same problem. Solution: Call `SQLitePCL.Batteries_V2.Init()` In the `FinishedLaunching` method of your `AppDelegate` class. Source: <https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/xamarin>
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
This happened to me when I tried to avoid any additional dependencies and went for the `Microsoft.EntityFrameworkCore.Sqlite.Core` package. You should install and use the `Microsoft.EntityFrameworkCore.Sqlite` package instead, which has a dependency upon the `SQLitePCLRaw` package.
On Xamarin.iOs I had the same problem. Solution: Call `SQLitePCL.Batteries_V2.Init()` In the `FinishedLaunching` method of your `AppDelegate` class. Source: <https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/xamarin>
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
Switching from `Microsoft.Data.Sqlite.Core` to `Microsoft.Data.Sqlite` as Patrick said [here](https://stackoverflow.com/questions/50746465/how-do-i-call-sqlitepcl-batteries-init#comment118334555_51570139) did the trick for me
I had the same issue when I try to use, Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.6". What I did was downgrade the version into 2.2.2 which I was previously used. Then issue not occur.
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
For some reason the `Nuget Package` hadn't installed the required references, reinstalled the package and it has corrected the issue! Missing the `SQLitePCL.raw*` references.
On Xamarin.iOs I had the same problem. Solution: Call `SQLitePCL.Batteries_V2.Init()` In the `FinishedLaunching` method of your `AppDelegate` class. Source: <https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/xamarin>
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
I got this issue when working with `Microsoft.EntityFrameworkCore.Sqlite` version 3.1.10. The above solutions did not work for me. Then I have modified the My DbContext as follows (added `SQLitePCL.Batteries.Init();` to `OnConfiguring` method) and the issue is gone!!! ``` public class ApplicationDbContext : DbContext ...
I had the same issue when I try to use, Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.6". What I did was downgrade the version into 2.2.2 which I was previously used. Then issue not occur.
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
Install `Nuget Package` `Microsoft.Data.Sqlite` (not `Microsoft.Data.Sqlite.Core`). (my version is 2.2.2) and use **SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider\_e\_sqlite3());** ``` connection = new SqliteConnection("Data Source = Sample.db"); SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_s...
For some reason the `Nuget Package` hadn't installed the required references, reinstalled the package and it has corrected the issue! Missing the `SQLitePCL.raw*` references.
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
This happened to me when I tried to avoid any additional dependencies and went for the `Microsoft.EntityFrameworkCore.Sqlite.Core` package. You should install and use the `Microsoft.EntityFrameworkCore.Sqlite` package instead, which has a dependency upon the `SQLitePCLRaw` package.
For some reason the `Nuget Package` hadn't installed the required references, reinstalled the package and it has corrected the issue! Missing the `SQLitePCL.raw*` references.
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
Install `Nuget Package` `Microsoft.Data.Sqlite` (not `Microsoft.Data.Sqlite.Core`). (my version is 2.2.2) and use **SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider\_e\_sqlite3());** ``` connection = new SqliteConnection("Data Source = Sample.db"); SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_s...
I had the same issue when I try to use, Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.6". What I did was downgrade the version into 2.2.2 which I was previously used. Then issue not occur.
50,746,469
I'm pulling distance/time information for a large number of origin/destination pairs using the Google Maps API in R. I'm currently using the [gmapsdistance](https://cran.r-project.org/web/packages/gmapsdistance/gmapsdistance.pdf) package but have looked at a few others. My premium API key includes 100k free queries pe...
2018/06/07
[ "https://Stackoverflow.com/questions/50746469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4698092/" ]
I got this issue when working with `Microsoft.EntityFrameworkCore.Sqlite` version 3.1.10. The above solutions did not work for me. Then I have modified the My DbContext as follows (added `SQLitePCL.Batteries.Init();` to `OnConfiguring` method) and the issue is gone!!! ``` public class ApplicationDbContext : DbContext ...
For some reason the `Nuget Package` hadn't installed the required references, reinstalled the package and it has corrected the issue! Missing the `SQLitePCL.raw*` references.
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
It sounds to me like one of your DLLs is the wrong version. There was an issue of some sort with the move from SQL2000 to SQL2005 that the creators of PHP didn't resolve themselves. There are a variety of posts about it here: [the following link](http://ca3.php.net/manual/en/function.mssql-connect.php) I believe the D...
stop using > > mssql\_connect > > > and start using > > sqlsrv\_connect > > > That will save you a lot of headaches. Plus, the function \*mssql\_connect\* has been deprecated. For using sqlsrv\_connect, you must download the driver and install it as an extension for PHP to recognize the *sqlsrv* functio...
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try calling [`mssql_get_last_message()`](http://www.php.net/mssql_get_last_message) to get the last error message: ``` $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer. Error: " . mssql_get_last_message()); ```
I had some difficulties with this a few months ago, and I found that the only way to make it work was to include the instance name when specifying the server. For example: ``` $myServer = "SERVER\INSTANCENAME"; ``` Specifying just the server would not work, even with TCP/IP enabled.
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
It sounds to me like one of your DLLs is the wrong version. There was an issue of some sort with the move from SQL2000 to SQL2005 that the creators of PHP didn't resolve themselves. There are a variety of posts about it here: [the following link](http://ca3.php.net/manual/en/function.mssql-connect.php) I believe the D...
I had some difficulties with this a few months ago, and I found that the only way to make it work was to include the instance name when specifying the server. For example: ``` $myServer = "SERVER\INSTANCENAME"; ``` Specifying just the server would not work, even with TCP/IP enabled.
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try calling [`mssql_get_last_message()`](http://www.php.net/mssql_get_last_message) to get the last error message: ``` $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer. Error: " . mssql_get_last_message()); ```
First try to do something like `phpinfo()` on your browser, than see which databases are allowed. If you don't see anything like `mssql` then it is not configured. So use the `odbc_connect()` which will be configured...your connection string will be like this: ``` $server = ''; $user = ''; $password = ''; $database ...
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
It sounds to me like one of your DLLs is the wrong version. There was an issue of some sort with the move from SQL2000 to SQL2005 that the creators of PHP didn't resolve themselves. There are a variety of posts about it here: [the following link](http://ca3.php.net/manual/en/function.mssql-connect.php) I believe the D...
if you using windows 10. step 1. click start button step 2. type Service and enter (open App Services) step 3. find - SQL Server (MSSQLSERVER) step 4. Right click ->select Properties step 5. show popup. you select 2nd tab (Log On) step 6. select local system account step 7. and check allow service to interact wi...
469,964
I am using the current code in attempt to access a msSQL 2005 db: ``` <?php $myServer = "[server]"; $myUser = "[username]"; $myPass = "[password]"; $myDB = "[db]"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); //select a d...
2009/01/22
[ "https://Stackoverflow.com/questions/469964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Late response, but it might help someone. we are nearly there, it is the problem with your connection parameters, probably you need to give servername as `IP:port` **servername::** The MS SQL server. e.g. `hostname:port (Linux), or hostname,port (Windows).` Server Name should be "server\instance" An instance is no...
if you using windows 10. step 1. click start button step 2. type Service and enter (open App Services) step 3. find - SQL Server (MSSQLSERVER) step 4. Right click ->select Properties step 5. show popup. you select 2nd tab (Log On) step 6. select local system account step 7. and check allow service to interact wi...