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 |
|---|---|---|---|---|---|
12,875,887 | I have two combobox where Parent has to show the list of Countries and the child combo has to show a list of cities of the choosen country.
The data is stored in a `Dictionary<Int32, List<String>>` which has the name `CountriesCitiesList`.
I have the following code
```
<ComboBox x:Name="cbCountriesList"
DataConte... | 2012/10/13 | [
"https://Stackoverflow.com/questions/12875887",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/113424/"
] | If your dictionary `CountriesCitiesList` contains country Id as Key and List as cities name, you can bind it in pure xaml way something like this -
```
<ComboBox x:Name="cbCountriesList"
ItemsSource="{Binding CountriesCitiesList}"
IsSynchronizedWithCurrentItem="True">
<ComboBox.ItemTemplate>
... | For the parent ComboBox, bind the `SelectedItem` to a property on your model:
```
<ComboBox x:Name="cbCountriesList"
DataContext="{Binding CountriesCitiesList}"
IsSynchronizedWithCurrentItem="true"
ItemSource="{Binding}"
SelectedItem={Binding Path=SomePropertyOnModel} />
```
Where `SomePropertyOnMod... |
12,875,887 | I have two combobox where Parent has to show the list of Countries and the child combo has to show a list of cities of the choosen country.
The data is stored in a `Dictionary<Int32, List<String>>` which has the name `CountriesCitiesList`.
I have the following code
```
<ComboBox x:Name="cbCountriesList"
DataConte... | 2012/10/13 | [
"https://Stackoverflow.com/questions/12875887",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/113424/"
] | If your dictionary `CountriesCitiesList` contains country Id as Key and List as cities name, you can bind it in pure xaml way something like this -
```
<ComboBox x:Name="cbCountriesList"
ItemsSource="{Binding CountriesCitiesList}"
IsSynchronizedWithCurrentItem="True">
<ComboBox.ItemTemplate>
... | ----------------------------MASTER-------------------------
```
<ComboBox
x:Name="CityCB"
ItemsSource="{Binding CitiesList}"
DisplayMemberPath="CITYNAME"
IsSynchronizedWithCurrentItem="True"/>
```
----------------------------DETAIL-------------------------
```
<ComboBox
x:Name="RegionCB"
... |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | You can remove an option like
```
$("#selectBox option[value='option1']").remove();
``` | Here first you get the element in jQuery selector through id or class the find the option which you want to delete or remove.. like if first element then eq(0), if second then eq(1) and so on.. then remove function to remove value
```
$('#Combobox_id').find("option").eq(0).remove()
``` |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | You can remove an option like
```
$("#selectBox option[value='option1']").remove();
``` | Try this...
```
$( "#myselect option:selected" ).remove(); // because your deleted user id will be selected
``` |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | Yes,If you know the value which you want to delete,
Try
```
$("#selectionid option[value='deletedUser']").remove();
```
Note:Do it in Ajax success function | Here first you get the element in jQuery selector through id or class the find the option which you want to delete or remove.. like if first element then eq(0), if second then eq(1) and so on.. then remove function to remove value
```
$('#Combobox_id').find("option").eq(0).remove()
``` |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | Yes,If you know the value which you want to delete,
Try
```
$("#selectionid option[value='deletedUser']").remove();
```
Note:Do it in Ajax success function | Try this...
```
$( "#myselect option:selected" ).remove(); // because your deleted user id will be selected
``` |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | You could try something like this:
```
$(function delete(id) {
$('#my-select option[value="'+ id +'"]').remove();
});
``` | Here first you get the element in jQuery selector through id or class the find the option which you want to delete or remove.. like if first element then eq(0), if second then eq(1) and so on.. then remove function to remove value
```
$('#Combobox_id').find("option").eq(0).remove()
``` |
18,417,815 | I am having a list of users with `delete` hyperlink assume
```
<a href="#" onclick="delete(id)">Delete</a>
```
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the dele... | 2013/08/24 | [
"https://Stackoverflow.com/questions/18417815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2146803/"
] | You could try something like this:
```
$(function delete(id) {
$('#my-select option[value="'+ id +'"]').remove();
});
``` | Try this...
```
$( "#myselect option:selected" ).remove(); // because your deleted user id will be selected
``` |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | You can conditionally add a space between words based on word's position. The following snippet shows how to add a whitespace after all but last word.
```
<xsl:template match="//words">
<xsl:for-each select="word">
<xsl:value-of select="."/>
<!-- Check word's position -->
<xsl:if test="position()... | try this adding &npsp after valueof tag |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | Add a space character.
Simple way:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:value-of select="./nbest"/> 
</xsl:for-each>
</Paragraph>
```
Slightly more complex way to effectively trim the string:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:if test="not(positio... | try this adding &npsp after valueof tag |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | it is almost like "aku" answer.
But "aku" answer creats one paragraph.
```
<xsl:for-each select="./speaker/segment">
<Paragraph>
<xsl:for-each select="./nbest/word"/>
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">
<xsl:text> </xsl:text>
</xsl:if> ... | try this adding &npsp after valueof tag |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | The reason they are running together is because the stylesheet is using a built-in template to match against which is collapsing the white space. I don't see where you are explicitly calling the `<word/>` or surrounding XML, so I'm assuming it's an `<xsl:apply-templates />` call somewhere. You should just need to just ... | try this adding &npsp after valueof tag |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | Add a space character.
Simple way:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:value-of select="./nbest"/> 
</xsl:for-each>
</Paragraph>
```
Slightly more complex way to effectively trim the string:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:if test="not(positio... | You can conditionally add a space between words based on word's position. The following snippet shows how to add a whitespace after all but last word.
```
<xsl:template match="//words">
<xsl:for-each select="word">
<xsl:value-of select="."/>
<!-- Check word's position -->
<xsl:if test="position()... |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | Add a space character.
Simple way:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:value-of select="./nbest"/> 
</xsl:for-each>
</Paragraph>
```
Slightly more complex way to effectively trim the string:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:if test="not(positio... | it is almost like "aku" answer.
But "aku" answer creats one paragraph.
```
<xsl:for-each select="./speaker/segment">
<Paragraph>
<xsl:for-each select="./nbest/word"/>
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">
<xsl:text> </xsl:text>
</xsl:if> ... |
412,687 | I have an xml that has text within "word" elements e.g
```
<word>Police</word>
<word>confirmed</word>
<word>they are</word>
<word>questioning</word>
<word>a</word>
<word>man</word>
```
The problem is when I apply the xslt the text appears like "Policeconfirmedthey arequestioningaman".
Here is the xslt snippet that ... | 2009/01/05 | [
"https://Stackoverflow.com/questions/412687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44649/"
] | Add a space character.
Simple way:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:value-of select="./nbest"/> 
</xsl:for-each>
</Paragraph>
```
Slightly more complex way to effectively trim the string:
```
<Paragraph>
<xsl:for-each select="./speaker/segment">
<xsl:if test="not(positio... | The reason they are running together is because the stylesheet is using a built-in template to match against which is collapsing the white space. I don't see where you are explicitly calling the `<word/>` or surrounding XML, so I'm assuming it's an `<xsl:apply-templates />` call somewhere. You should just need to just ... |
46,406,772 | This one:
```
value="<?php echo isset($quantity_taxation_sort_order) ? $quantity_taxation_sort_order : '' ?>"
```
to become in twig format. I tried with this one, but it's not correct:
```
value="{{ quantity_taxation_sort_order is defined ? quantity_taxation_sort_order : '' }}"
``` | 2017/09/25 | [
"https://Stackoverflow.com/questions/46406772",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8113391/"
] | Print it using twig if statement:
```
value="{% if quantity_taxation_sort_order %}{{ quantity_taxation_sort_order }}{% endif %}"
```
or in case of strict twig mode:
```
value="{% if quantity_taxation_sort_order is defined %}{{ quantity_taxation_sort_order }}{% endif %}"
```
More info on [Twig documentation](https... | Twig is a view file templating engine. Separate your concerns!
Business Logic **doesn't belong** in a view. Echoes and loops are the only real code a view file should contain. So the correct way to do it is, either:
1. Generate the output in PHP, then pass the output to the twig layout for echoing.
2. Create a twig e... |
46,406,772 | This one:
```
value="<?php echo isset($quantity_taxation_sort_order) ? $quantity_taxation_sort_order : '' ?>"
```
to become in twig format. I tried with this one, but it's not correct:
```
value="{{ quantity_taxation_sort_order is defined ? quantity_taxation_sort_order : '' }}"
``` | 2017/09/25 | [
"https://Stackoverflow.com/questions/46406772",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8113391/"
] | I found this way:
```
value="{{ (quantity_taxation_sort_order is defined) ? quantity_taxation_sort_order : '' }}"
``` | Twig is a view file templating engine. Separate your concerns!
Business Logic **doesn't belong** in a view. Echoes and loops are the only real code a view file should contain. So the correct way to do it is, either:
1. Generate the output in PHP, then pass the output to the twig layout for echoing.
2. Create a twig e... |
66,031,155 | No error for below line
```
#import <GoogleMobileAds/GoogleMobileAds.h>
```
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
Here is screenshots. How to fix Admob/GoogleMobileAds ?
[](https://i... | 2021/02/03 | [
"https://Stackoverflow.com/questions/66031155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2173428/"
] | AdMob just did a major version update to 8.0.0 with several API changes.
Either
* Lock the pod to 7.x with `pod 'Google-Mobile-Ads-SDK', '~> 7.69'`
* Do the 8.x migration documented at <https://developers.google.com/admob/ios/migration> | GoogleMobileAds 8.0.0 iOS GADInterstitialAd FullScreen Ads Code:
// In .h File
```
#import <GoogleMobileAds/GoogleMobileAds.h>
@interface AppController : NSObject <GADFullScreenContentDelegate>
@property(nonatomic, strong) GADInterstitialAd *interstitial;
```
// In .m file
```
- (BOOL)application:(UIApplication ... |
66,031,155 | No error for below line
```
#import <GoogleMobileAds/GoogleMobileAds.h>
```
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
Here is screenshots. How to fix Admob/GoogleMobileAds ?
[](https://i... | 2021/02/03 | [
"https://Stackoverflow.com/questions/66031155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2173428/"
] | AdMob just did a major version update to 8.0.0 with several API changes.
Either
* Lock the pod to 7.x with `pod 'Google-Mobile-Ads-SDK', '~> 7.69'`
* Do the 8.x migration documented at <https://developers.google.com/admob/ios/migration> | Example of using GADInterstitialAd in GoogleMobileAds 8.0 (Admob iOS)
```
import UIKit
import GoogleMobileAds
class ViewController: UIViewController, GADFullScreenContentDelegate {
var ad: GADInterstitialAd!
override func viewDidLoad() {
super.viewDidLoad()
loadAd()
}
func loadAd() ... |
66,031,155 | No error for below line
```
#import <GoogleMobileAds/GoogleMobileAds.h>
```
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
Here is screenshots. How to fix Admob/GoogleMobileAds ?
[](https://i... | 2021/02/03 | [
"https://Stackoverflow.com/questions/66031155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2173428/"
] | AdMob just did a major version update to 8.0.0 with several API changes.
Either
* Lock the pod to 7.x with `pod 'Google-Mobile-Ads-SDK', '~> 7.69'`
* Do the 8.x migration documented at <https://developers.google.com/admob/ios/migration> | If you are **NOT** seeing the following warning in your list of imports:
>
> No such module `GoogleMobileAds`
>
>
>
...yet you **ARE** seeing the following warning elsewhere in your code:
>
> Cannot find type `GADInterstitialAd` in scope
>
>
>
...check that you are not muddling the implementation for v7 and... |
66,031,155 | No error for below line
```
#import <GoogleMobileAds/GoogleMobileAds.h>
```
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
Here is screenshots. How to fix Admob/GoogleMobileAds ?
[](https://i... | 2021/02/03 | [
"https://Stackoverflow.com/questions/66031155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2173428/"
] | Example of using GADInterstitialAd in GoogleMobileAds 8.0 (Admob iOS)
```
import UIKit
import GoogleMobileAds
class ViewController: UIViewController, GADFullScreenContentDelegate {
var ad: GADInterstitialAd!
override func viewDidLoad() {
super.viewDidLoad()
loadAd()
}
func loadAd() ... | GoogleMobileAds 8.0.0 iOS GADInterstitialAd FullScreen Ads Code:
// In .h File
```
#import <GoogleMobileAds/GoogleMobileAds.h>
@interface AppController : NSObject <GADFullScreenContentDelegate>
@property(nonatomic, strong) GADInterstitialAd *interstitial;
```
// In .m file
```
- (BOOL)application:(UIApplication ... |
66,031,155 | No error for below line
```
#import <GoogleMobileAds/GoogleMobileAds.h>
```
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
Here is screenshots. How to fix Admob/GoogleMobileAds ?
[](https://i... | 2021/02/03 | [
"https://Stackoverflow.com/questions/66031155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2173428/"
] | Example of using GADInterstitialAd in GoogleMobileAds 8.0 (Admob iOS)
```
import UIKit
import GoogleMobileAds
class ViewController: UIViewController, GADFullScreenContentDelegate {
var ad: GADInterstitialAd!
override func viewDidLoad() {
super.viewDidLoad()
loadAd()
}
func loadAd() ... | If you are **NOT** seeing the following warning in your list of imports:
>
> No such module `GoogleMobileAds`
>
>
>
...yet you **ARE** seeing the following warning elsewhere in your code:
>
> Cannot find type `GADInterstitialAd` in scope
>
>
>
...check that you are not muddling the implementation for v7 and... |
66,319,254 | I see that similar questions were answered before but my scenario is a little bit different:
* I need to store a command in a variable in order to I can log it before running
* the command contains variables that can contain space between the words
* the result of the execution must assign to a new variable
**This is... | 2021/02/22 | [
"https://Stackoverflow.com/questions/66319254",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2169845/"
] | There are some general issues I'll try to address.
---
1. There's no [Bash Shebang](https://linuxize.com/post/bash-shebang/)
2. While creating the command, your username contains a space (`DB_USERNAME="SYS as SYSDBA"`) therefore you'll need to wrap those in quotes;
```
COMMAND="... -v -U '${DB_USERNAME}' -P ${DB_PAS... | In general it is not a good practice to define a bash command as a variable. I would recommend:
1. Create an alias
2. Create a bash [function](https://ryanstutorials.net/bash-scripting-tutorial/bash-functions.php)
3. Create a bash [script](https://linuxcommand.org/lc3_wss0120.php) and call it with either `source` or `... |
31,394,983 | **Situation:**
* I am developing an ASP.NET website for my organization using Microsoft SQL Server and C# .NET. This will be an Intranet website.
* The MS SQL Server database contains sensitive data in some columns. There are about 320,000 rows in about 6 tables. The data is top-secret for me because I manually prepar... | 2015/07/13 | [
"https://Stackoverflow.com/questions/31394983",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5112809/"
] | UPDATE: You can run the logic with your secret data on a different box. Make an api that uses your data but doesn't expose it. This will need to be on a box you control. If that's not possible then you're SOL.
Why are you building a server application that only you can use? Why not just keep it on your desktop?
It w... | 1. For each query download all strings to the client, decrypt them and search them.
2. Or, use <https://en.wikipedia.org/wiki/Homomorphic_encryption> which is probably unrealistic.
3. Or, generate all possible substrings to be found by like. Encrypt them and store them. Then, you can equality match on them. For an N ch... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | You could use `java.net.URI` to extract to parts of the uri and then build the new uri string with the port added. Example:
```
val uri = URI.create("ws://chat-jugar.rhcloud.com/room/chat?username=felipe")
val newUriString = "%s://%s:%d%s?%s".format(uri.getScheme, uri.getHost, 8000, uri.getPath, uri.getQuery)
newUri... | You could use `java.net.URI` instead.
```
def changePort(uri: java.net.URI, port: Int) = new java.net.URI(uri.getScheme, uri.getUserInfo, uri.getHost, port, uri.getPath, uri.getQuery, uri.getFragment)
```
and then
```
scala> changePort(new java.net.URI("ws://chat-jugar.rhcloud.com/room/chat?username=felipe"), 8000)... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | You could use `java.net.URI` to extract to parts of the uri and then build the new uri string with the port added. Example:
```
val uri = URI.create("ws://chat-jugar.rhcloud.com/room/chat?username=felipe")
val newUriString = "%s://%s:%d%s?%s".format(uri.getScheme, uri.getHost, 8000, uri.getPath, uri.getQuery)
newUri... | You might like to try out my [Bee Client API](http://www.bigbeeconsultants.co.uk/bee-client), which contains a [PartialURL](http://www.bigbeeconsultants.co.uk/docs/bee-client/latest/#uk.co.bigbeeconsultants.http.url.PartialURL) class for processing URLs (complete or otherwise) according to their structure.
The general... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | You could use `java.net.URI` to extract to parts of the uri and then build the new uri string with the port added. Example:
```
val uri = URI.create("ws://chat-jugar.rhcloud.com/room/chat?username=felipe")
val newUriString = "%s://%s:%d%s?%s".format(uri.getScheme, uri.getHost, 8000, uri.getPath, uri.getQuery)
newUri... | Just for the record, this is the small utility helper that I came out with using the java.net.URI as drexin told
```
package utils.http
case class Uri(
protocol: String, userInfo: String,
host: String, port: Int,
path: String, query: String, fragment: String
) {
lazy val javaURI = {
new java.net.URI(
... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | You could use `java.net.URI` to extract to parts of the uri and then build the new uri string with the port added. Example:
```
val uri = URI.create("ws://chat-jugar.rhcloud.com/room/chat?username=felipe")
val newUriString = "%s://%s:%d%s?%s".format(uri.getScheme, uri.getHost, 8000, uri.getPath, uri.getQuery)
newUri... | Bit late to the party, but you can do this with `scala-uri` (disclaimer: this is my own library):
```
import com.github.theon.uri.Uri._
val uri = "ws://chat-jugar.rhcloud.com/room/chat?username=felipe"
val newUri = uri.copy(port = Some(8000))
newUri.toString //This is: ws://chat-jugar.rhcloud.com:8000/room/chat?user... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | You could use `java.net.URI` instead.
```
def changePort(uri: java.net.URI, port: Int) = new java.net.URI(uri.getScheme, uri.getUserInfo, uri.getHost, port, uri.getPath, uri.getQuery, uri.getFragment)
```
and then
```
scala> changePort(new java.net.URI("ws://chat-jugar.rhcloud.com/room/chat?username=felipe"), 8000)... | You might like to try out my [Bee Client API](http://www.bigbeeconsultants.co.uk/bee-client), which contains a [PartialURL](http://www.bigbeeconsultants.co.uk/docs/bee-client/latest/#uk.co.bigbeeconsultants.http.url.PartialURL) class for processing URLs (complete or otherwise) according to their structure.
The general... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | Just for the record, this is the small utility helper that I came out with using the java.net.URI as drexin told
```
package utils.http
case class Uri(
protocol: String, userInfo: String,
host: String, port: Int,
path: String, query: String, fragment: String
) {
lazy val javaURI = {
new java.net.URI(
... | You could use `java.net.URI` instead.
```
def changePort(uri: java.net.URI, port: Int) = new java.net.URI(uri.getScheme, uri.getUserInfo, uri.getHost, port, uri.getPath, uri.getQuery, uri.getFragment)
```
and then
```
scala> changePort(new java.net.URI("ws://chat-jugar.rhcloud.com/room/chat?username=felipe"), 8000)... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | Just for the record, this is the small utility helper that I came out with using the java.net.URI as drexin told
```
package utils.http
case class Uri(
protocol: String, userInfo: String,
host: String, port: Int,
path: String, query: String, fragment: String
) {
lazy val javaURI = {
new java.net.URI(
... | You might like to try out my [Bee Client API](http://www.bigbeeconsultants.co.uk/bee-client), which contains a [PartialURL](http://www.bigbeeconsultants.co.uk/docs/bee-client/latest/#uk.co.bigbeeconsultants.http.url.PartialURL) class for processing URLs (complete or otherwise) according to their structure.
The general... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | Bit late to the party, but you can do this with `scala-uri` (disclaimer: this is my own library):
```
import com.github.theon.uri.Uri._
val uri = "ws://chat-jugar.rhcloud.com/room/chat?username=felipe"
val newUri = uri.copy(port = Some(8000))
newUri.toString //This is: ws://chat-jugar.rhcloud.com:8000/room/chat?user... | You might like to try out my [Bee Client API](http://www.bigbeeconsultants.co.uk/bee-client), which contains a [PartialURL](http://www.bigbeeconsultants.co.uk/docs/bee-client/latest/#uk.co.bigbeeconsultants.http.url.PartialURL) class for processing URLs (complete or otherwise) according to their structure.
The general... |
13,988,956 | I have the following url:
```
ws://chat-jugar.rhcloud.com/room/chat?username=felipe
```
And I'd like to just add a non-default port, like this
```
ws://chat-jugar.rhcloud.com:8000/room/chat?username=felipe
```
I first tried with java.net.URL to start parsing and manipulating the url, but I got
```
scala> val u =... | 2012/12/21 | [
"https://Stackoverflow.com/questions/13988956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] | Just for the record, this is the small utility helper that I came out with using the java.net.URI as drexin told
```
package utils.http
case class Uri(
protocol: String, userInfo: String,
host: String, port: Int,
path: String, query: String, fragment: String
) {
lazy val javaURI = {
new java.net.URI(
... | Bit late to the party, but you can do this with `scala-uri` (disclaimer: this is my own library):
```
import com.github.theon.uri.Uri._
val uri = "ws://chat-jugar.rhcloud.com/room/chat?username=felipe"
val newUri = uri.copy(port = Some(8000))
newUri.toString //This is: ws://chat-jugar.rhcloud.com:8000/room/chat?user... |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I think you'll need to use a combination of [`array_merge`](http://us.php.net/manual/en/function.array-merge.php) (adds the two arrays together) and [`array_unique`](http://us.php.net/manual/en/function.array-unique.php) (removes duplicate values).
```
$resulting_array = array_unique(array_merge($array1, $array2));
`... | Does php's array\_diff() do what you want?
<http://us.php.net/manual/en/function.array-diff.php>
or more likely array\_diff\_assoc:
<http://us.php.net/manual/en/function.array-diff-assoc.php> |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I'm tempted to sell you on CakePHP, since it has a number of functions that makes this easy in its "Set" class. Your problem is that you have the results in a nested array. A simple "array\_unique" does not work in a nested array.
I'd do it the old fashioned way...
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['nam... | Does php's array\_diff() do what you want?
<http://us.php.net/manual/en/function.array-diff.php>
or more likely array\_diff\_assoc:
<http://us.php.net/manual/en/function.array-diff-assoc.php> |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | There isn't a direct function for handling what you are looking for in php, probably you need to write a function for it.
What I understood from your question is that you have 2 arrays :
```
$a = array( array( 'name' => 'Omid' ), 12 );
$b = array( array( 'name' => 'testing' ) );
```
and you want to merge them to ge... | Does php's array\_diff() do what you want?
<http://us.php.net/manual/en/function.array-diff.php>
or more likely array\_diff\_assoc:
<http://us.php.net/manual/en/function.array-diff-assoc.php> |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I think you'll need to use a combination of [`array_merge`](http://us.php.net/manual/en/function.array-merge.php) (adds the two arrays together) and [`array_unique`](http://us.php.net/manual/en/function.array-unique.php) (removes duplicate values).
```
$resulting_array = array_unique(array_merge($array1, $array2));
`... | Does [array\_diff](http://nz.php.net/array_diff) work for you?
```
Description
array array_diff ( array $array1 , array $array2 [, array $ ... ] )
Compares array1 against array2 and returns the difference.
``` |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I'm tempted to sell you on CakePHP, since it has a number of functions that makes this easy in its "Set" class. Your problem is that you have the results in a nested array. A simple "array\_unique" does not work in a nested array.
I'd do it the old fashioned way...
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['nam... | Does [array\_diff](http://nz.php.net/array_diff) work for you?
```
Description
array array_diff ( array $array1 , array $array2 [, array $ ... ] )
Compares array1 against array2 and returns the difference.
``` |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | There isn't a direct function for handling what you are looking for in php, probably you need to write a function for it.
What I understood from your question is that you have 2 arrays :
```
$a = array( array( 'name' => 'Omid' ), 12 );
$b = array( array( 'name' => 'testing' ) );
```
and you want to merge them to ge... | Does [array\_diff](http://nz.php.net/array_diff) work for you?
```
Description
array array_diff ( array $array1 , array $array2 [, array $ ... ] )
Compares array1 against array2 and returns the difference.
``` |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I'm tempted to sell you on CakePHP, since it has a number of functions that makes this easy in its "Set" class. Your problem is that you have the results in a nested array. A simple "array\_unique" does not work in a nested array.
I'd do it the old fashioned way...
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['nam... | I think you'll need to use a combination of [`array_merge`](http://us.php.net/manual/en/function.array-merge.php) (adds the two arrays together) and [`array_unique`](http://us.php.net/manual/en/function.array-unique.php) (removes duplicate values).
```
$resulting_array = array_unique(array_merge($array1, $array2));
`... |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I think you'll need to use a combination of [`array_merge`](http://us.php.net/manual/en/function.array-merge.php) (adds the two arrays together) and [`array_unique`](http://us.php.net/manual/en/function.array-unique.php) (removes duplicate values).
```
$resulting_array = array_unique(array_merge($array1, $array2));
`... | There isn't a direct function for handling what you are looking for in php, probably you need to write a function for it.
What I understood from your question is that you have 2 arrays :
```
$a = array( array( 'name' => 'Omid' ), 12 );
$b = array( array( 'name' => 'testing' ) );
```
and you want to merge them to ge... |
1,396,037 | I have two arrays that I would like to compare and ultimately wind up with a single array with everything combined, **having no duplicates**. Can someone please tell me which function I should use? There are so many that it's a bit confusing.
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['name'] = 'Jim, Miller';
``... | 2009/09/08 | [
"https://Stackoverflow.com/questions/1396037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] | I'm tempted to sell you on CakePHP, since it has a number of functions that makes this easy in its "Set" class. Your problem is that you have the results in a nested array. A simple "array\_unique" does not work in a nested array.
I'd do it the old fashioned way...
```
$array1[]['name'] = 'Kim, Jones';
$array1[]['nam... | There isn't a direct function for handling what you are looking for in php, probably you need to write a function for it.
What I understood from your question is that you have 2 arrays :
```
$a = array( array( 'name' => 'Omid' ), 12 );
$b = array( array( 'name' => 'testing' ) );
```
and you want to merge them to ge... |
3,968,135 | I was watching a lecture and the example given: a car travelled 240 miles in 3 hours and during the interval of [0, 3], there is at least once that the speed equals the average speed.
How do I use the Mean Value Theorem to proof this example?
Please pardon me for asking the answer as I am self-learning Calculus by wa... | 2020/12/31 | [
"https://math.stackexchange.com/questions/3968135",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/9832/"
] | Think of the trajectory of the car as a differentiable function $d(x)$, with $x\in[0,3]$. Then, by the mean value theorem there is an $x\_0\in(0,3)$ that
$$\frac{d(3)-d(0)}{3-0}=d'(x\_0),$$
where $d(3)=240$ and $d(0)=0$. So in the left hand you get the average speed, and in the right hand is the speed in some specifi... | Think about the following:
Can the speed be always strictly less than the average speed? |
78,329 | ```
CREATE TABLE `messages` (
`mes_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT 'номер объявления',
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'дата/время дачи/изменения объявления',
`expire` date NOT NULL COMMENT 'Дата истечения объявления',
`paid_top_cat` tinyint(1) unsigned NOT ... | 2014/10/03 | [
"https://dba.stackexchange.com/questions/78329",
"https://dba.stackexchange.com",
"https://dba.stackexchange.com/users/5061/"
] | When update executed once it's guaranteed that all rows that satisfy conditions will be updated (or none in case of error). 4 separate updates may update different rows (something may change between updates, and you're using MyIsam, so transactions won't help; in addition, your `update` depends on non-deterministic `NO... | If your base accumulates rapidly incoming inserts, the good idea is to split long-lasting query into the sequence of small queries. That prevents DB from connections shortage when the connections are wait for the table will be unlocked and new connection being refused and data is being lost.
Then you'll get the execu... |
38,441,082 | I initially had a branch, but I accidentally overwritten it with another branch with git branch -M command.
Is there a way to restore a overwritten branch (hash)?
Reflog doesn't show any previous commit hash, and I cannot find a commit hash for the original branch anywhere. | 2016/07/18 | [
"https://Stackoverflow.com/questions/38441082",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/894233/"
] | I made a test.
```
$ git branch
* master
$ git reflog master
63fa031 master@{0}: clone: from git://192.168.70.128/
$ git branch -M master nice
$ git branch
* nice
$ git reflog master
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like th... | Unfortunately, it seems renaming a branch also renames (and in your case, overwrites) its reflog, so you cannot access the reflog of the overwritten branch anymore.
But the commit hash can still be mentioned in `git reflog`, because it logs branch checkouts. If that commit is not mentioned in reflog (or you are not su... |
7,254,410 | I have 2 servlets.
One In GWT module i.e **BasicServiceImpl** extends RemoteServiceServlet implements BasicMassUpdateService
and other servlet **TargetServlet** extends HttpServlet in TargetServlet in diff module/package com.comp.server.servlets
I am using GWT-RPC in my gwt module. I want to write one method getRec... | 2011/08/31 | [
"https://Stackoverflow.com/questions/7254410",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/297907/"
] | Based on what it sounds like you are trying to do, you may consider contextualizing your ContentProvider's database access (this may be another way of describing what @Gary B. was getting at):
When you initialize the content provider, create a database within which you will store the list of user/server combinations. ... | An [SQLiteOpenHelper](http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html) is usually the place to do database creation. More specifically the [`onCreate(SQLiteDatabase)`](http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#onCreate%28android.database.sq... |
705,974 | I'm having a problem with IE only in my Silverlight application. Since Silverlight 2 doesn't include a mechanism for file downloads I was left to my own devices to come up with a solution. The way I did it was as follows:
HtmlPage.Window.Navigate(new Uri(sb.ToString(), UriKind.Relative));
My StringBuilder contains th... | 2009/04/01 | [
"https://Stackoverflow.com/questions/705974",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/83091/"
] | I had exactly the same problem. The solution for me was to not use HtmlPage.Window.Navigate, but to instead use a HyperlinkButton and dynamically set the NavigateUri property.
Saving and restoring the app state as suggested above didn't work. Well, it did, but it was impossible to determine when it needed to be done a... | In my case only happended the first time (using IE 7), maybe that happens on your local dev instance?
I think there's not much you can do, even MSDN pages tells you that "a message will appear on top of...", things that could mitigate this:
* Warn the user that the message will be shown, then once he clicks the app i... |
705,974 | I'm having a problem with IE only in my Silverlight application. Since Silverlight 2 doesn't include a mechanism for file downloads I was left to my own devices to come up with a solution. The way I did it was as follows:
HtmlPage.Window.Navigate(new Uri(sb.ToString(), UriKind.Relative));
My StringBuilder contains th... | 2009/04/01 | [
"https://Stackoverflow.com/questions/705974",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/83091/"
] | I had exactly the same problem. The solution for me was to not use HtmlPage.Window.Navigate, but to instead use a HyperlinkButton and dynamically set the NavigateUri property.
Saving and restoring the app state as suggested above didn't work. Well, it did, but it was impossible to determine when it needed to be done a... | Try HtmlPage.PopupWindow instead of HtmlPage.Window.Navigate. This has helped me get around IE's "Automatic prompting for file downloads" setting being disabled by default for Internet zone sites. |
705,974 | I'm having a problem with IE only in my Silverlight application. Since Silverlight 2 doesn't include a mechanism for file downloads I was left to my own devices to come up with a solution. The way I did it was as follows:
HtmlPage.Window.Navigate(new Uri(sb.ToString(), UriKind.Relative));
My StringBuilder contains th... | 2009/04/01 | [
"https://Stackoverflow.com/questions/705974",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/83091/"
] | I had exactly the same problem. The solution for me was to not use HtmlPage.Window.Navigate, but to instead use a HyperlinkButton and dynamically set the NavigateUri property.
Saving and restoring the app state as suggested above didn't work. Well, it did, but it was impossible to determine when it needed to be done a... | This is my code solution to open URL for download and override **Automatic prompting for file downloads** option issue in IE 8.
It also use **HyperlinkButton**, but all is called from code:
```
public class BrowserHelper
{
private sealed class HyperlinkButtonCaller : HyperlinkButton
{
public static vo... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | Do you need this data properly integrated in WordPress or merely available for users to view?
If latter I'd not bother with import and just used something more fitting like [Google Docs](https://docs.google.com/) to put spreadsheet online and [embed](http://docs.google.com/support/bin/answer.py?hl=en&answer=55244) at ... | If you want to show the data in the excel as an HTML table, you may need to add extra table in the WP database and export the data in the excel file there. Then pull the content of that table, paginate it and return it as a shortcode, so you could easily put it in a post or even inside a custom template.
Jeff Star at ... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | Do you need this data properly integrated in WordPress or merely available for users to view?
If latter I'd not bother with import and just used something more fitting like [Google Docs](https://docs.google.com/) to put spreadsheet online and [embed](http://docs.google.com/support/bin/answer.py?hl=en&answer=55244) at ... | 1300 rows is a LOT for a user to browse through. However, if you do want it as a table in a WP page use the WP Table Reloaded plugin (<http://wordpress.org/extend/plugins/wp-table-reloaded/>). You can set the resulting table to paginate, be searchable and be sortable. If you want more spreadsheet functionality than tha... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | Do you need this data properly integrated in WordPress or merely available for users to view?
If latter I'd not bother with import and just used something more fitting like [Google Docs](https://docs.google.com/) to put spreadsheet online and [embed](http://docs.google.com/support/bin/answer.py?hl=en&answer=55244) at ... | ### update 1/15/2011
I ended up using these steps -
1. Go to **Google Docs**
2. open the spreadsheet
3. click **Share**
4. **Publish as a web page**
5. select the sheet to publish
6. click Start publishing
7. click on All cells field
8. insert the cells range, e.g. A2:A3
9. click **Republish now**
10. copy *the-link*... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | 1300 rows is a LOT for a user to browse through. However, if you do want it as a table in a WP page use the WP Table Reloaded plugin (<http://wordpress.org/extend/plugins/wp-table-reloaded/>). You can set the resulting table to paginate, be searchable and be sortable. If you want more spreadsheet functionality than tha... | If you want to show the data in the excel as an HTML table, you may need to add extra table in the WP database and export the data in the excel file there. Then pull the content of that table, paginate it and return it as a shortcode, so you could easily put it in a post or even inside a custom template.
Jeff Star at ... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | If you're using Google Docs, then this plugin [Google Spreadsheet Viewer](http://wordpress.org/extend/plugins/inline-google-spreadsheet-viewer/) might be helpful. | If you want to show the data in the excel as an HTML table, you may need to add extra table in the WP database and export the data in the excel file there. Then pull the content of that table, paginate it and return it as a shortcode, so you could easily put it in a post or even inside a custom template.
Jeff Star at ... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | If you're using Google Docs, then this plugin [Google Spreadsheet Viewer](http://wordpress.org/extend/plugins/inline-google-spreadsheet-viewer/) might be helpful. | 1300 rows is a LOT for a user to browse through. However, if you do want it as a table in a WP page use the WP Table Reloaded plugin (<http://wordpress.org/extend/plugins/wp-table-reloaded/>). You can set the resulting table to paginate, be searchable and be sortable. If you want more spreadsheet functionality than tha... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | 1300 rows is a LOT for a user to browse through. However, if you do want it as a table in a WP page use the WP Table Reloaded plugin (<http://wordpress.org/extend/plugins/wp-table-reloaded/>). You can set the resulting table to paginate, be searchable and be sortable. If you want more spreadsheet functionality than tha... | ### update 1/15/2011
I ended up using these steps -
1. Go to **Google Docs**
2. open the spreadsheet
3. click **Share**
4. **Publish as a web page**
5. select the sheet to publish
6. click Start publishing
7. click on All cells field
8. insert the cells range, e.g. A2:A3
9. click **Republish now**
10. copy *the-link*... |
6,859 | I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it.
I tried making an html table, but it's huge.
I looked into some kind a database plugin that would let me import a cvs and then let users browse it, but I can't even figure out the right search terms.
I would appreciate any input.... | 2011/01/13 | [
"https://wordpress.stackexchange.com/questions/6859",
"https://wordpress.stackexchange.com",
"https://wordpress.stackexchange.com/users/2469/"
] | If you're using Google Docs, then this plugin [Google Spreadsheet Viewer](http://wordpress.org/extend/plugins/inline-google-spreadsheet-viewer/) might be helpful. | ### update 1/15/2011
I ended up using these steps -
1. Go to **Google Docs**
2. open the spreadsheet
3. click **Share**
4. **Publish as a web page**
5. select the sheet to publish
6. click Start publishing
7. click on All cells field
8. insert the cells range, e.g. A2:A3
9. click **Republish now**
10. copy *the-link*... |
12,687,683 | Hi i have been exhausted too many if comparization. and switch case methods. i have been read below issue:
[Best table / enum driven method calling system](https://stackoverflow.com/questions/214017/best-table-enum-driven-method-calling-system)
this usage is good. Look Vivek's responses.
My usage Below but i can n... | 2012/10/02 | [
"https://Stackoverflow.com/questions/12687683",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/298875/"
] | Refactor your code a little bit, rather than using delegate, *template pattern* should be better:
```
public enum messageType
{
Sms, Mms
}
public class Message
{
public MessageType MessageType { get; get; }
public string Data { get; set; } // assume data to be processed
}
interface IHandler
{
void Pr... | Your dictionary is not instantiated:
Change `Dictionary methods;` to:
```
Dictionary methods = new Dictionary();
```
You could easily see this also by debugging |
26,463,804 | I have 2 MySQL tables:

I store the `admin_vat_id` in the `Fac__Article` table which is actually a reference to the `id` of the `Fac__Admin_vat`:

**What I'm trying to do**
I wan... | 2014/10/20 | [
"https://Stackoverflow.com/questions/26463804",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1280520/"
] | Try this (correct the table names if i misspelled): `SELECT *, Fac__Admin_vat.rate FROM Fac__Article LEFT JOIN Fac__Admin_vat ON Fac__Admin_vat.id = Fac__Article.admin_vat_id` | Try using left join, a rough example below.
```
SELECT *, Fac__Admin_vat.rate as admin_rate FROM Fac__Article LEFT JOIN Fac__Admin_vat ON Fac__Article.admin_vat_id = Fac__Admin_vat.id
```
This will allow you to use admin\_rate in your code to get the data you want. Hope this helps. |
26,463,804 | I have 2 MySQL tables:

I store the `admin_vat_id` in the `Fac__Article` table which is actually a reference to the `id` of the `Fac__Admin_vat`:

**What I'm trying to do**
I wan... | 2014/10/20 | [
"https://Stackoverflow.com/questions/26463804",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1280520/"
] | All you need is a simple `LEFT JOIN`:
```
SELECT
fa.id,
fav.rate,
fa.article_number,
fa.name,
fa.description,
fa.unit,
fa.price,
fa.stock,
fa.stock_warning,
fa.visible
FROM `fac_article` fa
LEFT JOIN `fac_admin_vat` fav
ON fa.admin_vat_id = fav.id
```
[**SQL Fiddle**](htt... | Try this (correct the table names if i misspelled): `SELECT *, Fac__Admin_vat.rate FROM Fac__Article LEFT JOIN Fac__Admin_vat ON Fac__Admin_vat.id = Fac__Article.admin_vat_id` |
26,463,804 | I have 2 MySQL tables:

I store the `admin_vat_id` in the `Fac__Article` table which is actually a reference to the `id` of the `Fac__Admin_vat`:

**What I'm trying to do**
I wan... | 2014/10/20 | [
"https://Stackoverflow.com/questions/26463804",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1280520/"
] | All you need is a simple `LEFT JOIN`:
```
SELECT
fa.id,
fav.rate,
fa.article_number,
fa.name,
fa.description,
fa.unit,
fa.price,
fa.stock,
fa.stock_warning,
fa.visible
FROM `fac_article` fa
LEFT JOIN `fac_admin_vat` fav
ON fa.admin_vat_id = fav.id
```
[**SQL Fiddle**](htt... | Try using left join, a rough example below.
```
SELECT *, Fac__Admin_vat.rate as admin_rate FROM Fac__Article LEFT JOIN Fac__Admin_vat ON Fac__Article.admin_vat_id = Fac__Admin_vat.id
```
This will allow you to use admin\_rate in your code to get the data you want. Hope this helps. |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I just found this problem too. The bug appears to be in latest (v3.7) of their API, so if you specify v3.6 via the URL parameter ?v=3.6 it'll work fine.
**Update:** In version 3.8+ (I think) you can use optimized: false to force a retina image, if you are using one. This is because optimized: true takes all your spri... | If you encounter any switching of icons to lower resolution, it's because the maps api uses canvas to render the icons (grouping them and whatnot?) for a faster user experience apparently. So it isn't technically a bug, but it does cause buggy things to happen in certain browsers (like older ie)
But there is a setting... |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I found my solution to this by using `scaledSize` instead of `size` to define the width and height of the image. | I just found this problem too. The bug appears to be in latest (v3.7) of their API, so if you specify v3.6 via the URL parameter ?v=3.6 it'll work fine.
**Update:** In version 3.8+ (I think) you can use optimized: false to force a retina image, if you are using one. This is because optimized: true takes all your spri... |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I just found this problem too. The bug appears to be in latest (v3.7) of their API, so if you specify v3.6 via the URL parameter ?v=3.6 it'll work fine.
**Update:** In version 3.8+ (I think) you can use optimized: false to force a retina image, if you are using one. This is because optimized: true takes all your spri... | Scaled Size property is the correct one to use as referenced by Google here: <https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon> |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I just found this problem too. The bug appears to be in latest (v3.7) of their API, so if you specify v3.6 via the URL parameter ?v=3.6 it'll work fine.
**Update:** In version 3.8+ (I think) you can use optimized: false to force a retina image, if you are using one. This is because optimized: true takes all your spri... | Simply use an object with `url`, `size`, and `scaledSize` attributes:
```
var icon = {
url: 'path/img/marker@2x.png',
size: new google.maps.Size(30, 40),
scaledSize: new google.maps.Size(30, 40)
};
```
Where `path/img/marker@2x.png` is a `60px` x `80px` PNG. |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I found my solution to this by using `scaledSize` instead of `size` to define the width and height of the image. | If you encounter any switching of icons to lower resolution, it's because the maps api uses canvas to render the icons (grouping them and whatnot?) for a faster user experience apparently. So it isn't technically a bug, but it does cause buggy things to happen in certain browsers (like older ie)
But there is a setting... |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | If you encounter any switching of icons to lower resolution, it's because the maps api uses canvas to render the icons (grouping them and whatnot?) for a faster user experience apparently. So it isn't technically a bug, but it does cause buggy things to happen in certain browsers (like older ie)
But there is a setting... | Scaled Size property is the correct one to use as referenced by Google here: <https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon> |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | Simply use an object with `url`, `size`, and `scaledSize` attributes:
```
var icon = {
url: 'path/img/marker@2x.png',
size: new google.maps.Size(30, 40),
scaledSize: new google.maps.Size(30, 40)
};
```
Where `path/img/marker@2x.png` is a `60px` x `80px` PNG. | If you encounter any switching of icons to lower resolution, it's because the maps api uses canvas to render the icons (grouping them and whatnot?) for a faster user experience apparently. So it isn't technically a bug, but it does cause buggy things to happen in certain browsers (like older ie)
But there is a setting... |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I found my solution to this by using `scaledSize` instead of `size` to define the width and height of the image. | Scaled Size property is the correct one to use as referenced by Google here: <https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon> |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | I found my solution to this by using `scaledSize` instead of `size` to define the width and height of the image. | Simply use an object with `url`, `size`, and `scaledSize` attributes:
```
var icon = {
url: 'path/img/marker@2x.png',
size: new google.maps.Size(30, 40),
scaledSize: new google.maps.Size(30, 40)
};
```
Where `path/img/marker@2x.png` is a `60px` x `80px` PNG. |
9,208,916 | I'm developing an iPhone app in html5 and making the build with Phonegap.
In the app there's a Google map with custom markers, the way the marker icons are created is as follows:
```
var image = new google.maps.MarkerImage("hat.png", null, null, null, new google.maps.Size(20,30));
var shadow = new google.maps.MarkerIm... | 2012/02/09 | [
"https://Stackoverflow.com/questions/9208916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460448/"
] | Simply use an object with `url`, `size`, and `scaledSize` attributes:
```
var icon = {
url: 'path/img/marker@2x.png',
size: new google.maps.Size(30, 40),
scaledSize: new google.maps.Size(30, 40)
};
```
Where `path/img/marker@2x.png` is a `60px` x `80px` PNG. | Scaled Size property is the correct one to use as referenced by Google here: <https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon> |
79,304 | First LOLCODE program, run [here](http://www.tutorialspoint.com/execute_lolcode_online.php). This program inputs a Fibonacci number from the user, then determines and prints whether the number is in the Fibonacci series. What do you think?
```
HAI 1.2
HOW IZ I GetNum
VISIBLE "Entr yr numbr: "
I ... | 2015/02/01 | [
"https://codereview.stackexchange.com/questions/79304",
"https://codereview.stackexchange.com",
"https://codereview.stackexchange.com/users/-1/"
] | ```
BOTH SAEM Fibo2 AN BIGGR OF Num AN Fibo2
O RLY?
YA RLY
DIFFRINT Num AN Fibo1, O RLY?
YA RLY
DIFFRINT Num AN Fibo2, O RLY?
YA RLY
VISIBLE "BOO, IZ NO FIBONACCI NUM!"
GTFO
NO WAI
... | ### Separation of concerns
I like that you extracted `ProovFibo`... but I find it's doing too many things: I would have expected a function that returns a Boolean (`Troof`), and does nothing else.. but your procedure is keeping that information all for itself, and takes the responsibility of *also* outputting the resu... |
16,122,963 | I've found two solution to ignore non mapped properties but [one of them](https://stackoverflow.com/a/8071038/1133338) also ignore the conventional mappings, and the [second](https://stackoverflow.com/questions/954480/automapper-ignore-the-rest/6474397#6474397) doesn't work with [QueryableExtensions](https://github.com... | 2013/04/20 | [
"https://Stackoverflow.com/questions/16122963",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1133338/"
] | When using [QueryableExtensions](https://github.com/AutoMapper/AutoMapper/wiki/Queryable-Extensions) you have to be explicit with some type conversions, such as `int?` to `int`. This is probably the source of the "Argument types do not match" exception.
If you have many properties that need a type conversion -- like i... | Problem solved. It was in this line of code
`.ForMember(p => p.Gender, opt => opt.MapFrom(c => c.GenderCode))`
where p.Gender was of type int and GenderCode of type int?. so changing to
`.ForMember(p => p.Gender, opt => opt.MapFrom(c => c.GenderCode ?? 0))`
fixed the problem. What made it hard to troubleshoot is t... |
16,122,963 | I've found two solution to ignore non mapped properties but [one of them](https://stackoverflow.com/a/8071038/1133338) also ignore the conventional mappings, and the [second](https://stackoverflow.com/questions/954480/automapper-ignore-the-rest/6474397#6474397) doesn't work with [QueryableExtensions](https://github.com... | 2013/04/20 | [
"https://Stackoverflow.com/questions/16122963",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1133338/"
] | Chaining at the end of the mapping with the `.ForAllOtherMembers(opt => opt.Ignore());` worked for me. This should be the last method in the method chain. | Problem solved. It was in this line of code
`.ForMember(p => p.Gender, opt => opt.MapFrom(c => c.GenderCode))`
where p.Gender was of type int and GenderCode of type int?. so changing to
`.ForMember(p => p.Gender, opt => opt.MapFrom(c => c.GenderCode ?? 0))`
fixed the problem. What made it hard to troubleshoot is t... |
91,397 | I read about the quantum quench problem in condensed matter physics.
But what does really mean? Has anybody a good explanation about the origin of quantum quench problem? | 2013/12/26 | [
"https://physics.stackexchange.com/questions/91397",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/26690/"
] | I don't know if this is what you mean to ask, but what I know as a quantum quench is a sudden change in the potential, sufficiently fast that it can be considered instantaneous. In that case the state doesn't change instantaneously, but obviously its time evolution does: from that point it evolves according to the new ... | I searched for "Quantum Quench" with Google, found <http://www.physics.rutgers.edu/~eyuzbash/papers/PhysRevLett_105_135701.pdf> (PDF link, but freely available) and looked at the first paragraph and found
>
> The shattering of cold glass in hot water is but one of
> many spectacular effects that can be induced by a ... |
36,377,931 | Alright so I imploded RVM and switched to rbenv but now I think I'm having all kinds of problems with the gem path. I think some part of my system still thinks gems are supposed to be found with RVM and it's messing everything up. I'm terrible at fixing config issues like this so your help is greatly appreciated.
This... | 2016/04/02 | [
"https://Stackoverflow.com/questions/36377931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5957091/"
] | A glyphicon is like a character. You can change it's color by changing the color property of the span style.
```
<button type="button" class="btn btn-default btn-lg" id="refresh">
<span class="glyphicon glyphicon-star-empty"></span>
</button>
.glyphicon-star-empty {
color: yellow;
}
```
However, the icon you ... | You may use a full icon and color then redraw the outside via text-shadow with black or any other color.
```css
.glyphicon-star {
color: yellow;
text-shadow:0 0 black,0 0 black,0 0 black,0 0 black,0 0 black;
}
.bis.glyphicon-star {
text-shadow:0 0 1px black,0 0 1px black,0 0 1px black,0 0 1px blac... |
36,377,931 | Alright so I imploded RVM and switched to rbenv but now I think I'm having all kinds of problems with the gem path. I think some part of my system still thinks gems are supposed to be found with RVM and it's messing everything up. I'm terrible at fixing config issues like this so your help is greatly appreciated.
This... | 2016/04/02 | [
"https://Stackoverflow.com/questions/36377931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5957091/"
] | A glyphicon is like a character. You can change it's color by changing the color property of the span style.
```
<button type="button" class="btn btn-default btn-lg" id="refresh">
<span class="glyphicon glyphicon-star-empty"></span>
</button>
.glyphicon-star-empty {
color: yellow;
}
```
However, the icon you ... | I am not sure about getting it exactly similar to your star.png, while you can use javascript to set css color property on the button or you might want to use background-color property.
Here is a simple demo
<http://jsbin.com/netufaruxa/1/edit?html,js,output>
HTML:
```
<body>
<button id="myBtn" type="button" class=... |
36,377,931 | Alright so I imploded RVM and switched to rbenv but now I think I'm having all kinds of problems with the gem path. I think some part of my system still thinks gems are supposed to be found with RVM and it's messing everything up. I'm terrible at fixing config issues like this so your help is greatly appreciated.
This... | 2016/04/02 | [
"https://Stackoverflow.com/questions/36377931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5957091/"
] | You may use a full icon and color then redraw the outside via text-shadow with black or any other color.
```css
.glyphicon-star {
color: yellow;
text-shadow:0 0 black,0 0 black,0 0 black,0 0 black,0 0 black;
}
.bis.glyphicon-star {
text-shadow:0 0 1px black,0 0 1px black,0 0 1px black,0 0 1px blac... | I am not sure about getting it exactly similar to your star.png, while you can use javascript to set css color property on the button or you might want to use background-color property.
Here is a simple demo
<http://jsbin.com/netufaruxa/1/edit?html,js,output>
HTML:
```
<body>
<button id="myBtn" type="button" class=... |
19,134,932 | For instance, I have this markup:
```
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
<Button x:Na... | 2013/10/02 | [
"https://Stackoverflow.com/questions/19134932",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1013131/"
] | Try to use `Grid` with `IsSharedSizeScope`, instead of `StackPanel`, like below:
```
<Grid Grid.IsSharedSizeScope="true" HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="buttons"/>
<ColumnDefinition SharedSizeGroup="buttons"/>
<ColumnDefinition SharedSizeGr... | You could also use a uniform grid which will make sure all the buttons are the same size. |
19,134,932 | For instance, I have this markup:
```
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
<Button x:Na... | 2013/10/02 | [
"https://Stackoverflow.com/questions/19134932",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1013131/"
] | Try to use `Grid` with `IsSharedSizeScope`, instead of `StackPanel`, like below:
```
<Grid Grid.IsSharedSizeScope="true" HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="buttons"/>
<ColumnDefinition SharedSizeGroup="buttons"/>
<ColumnDefinition SharedSizeGr... | Use a `UniformGrid`:
```
<UniformGrid Rows="1">
<Button x:Name="PreviousPage"
Content="Previous" />
<Button x:Name="Info"
Content="Information" />
<Button x:Name="InetTicket"
Content="Internet ticket" />
<Button x:Name="FindStation"
Content="Find station... |
12,825,463 | I am trying to get each row in a table to appear as part of a survey. The following code is returning only the first row in the table (so users can see only one question). I've been over and over this and can't see what I'm doing wrong. Would much appreciate any input.
Thank you!
```
function getQuestions ($dbc) <!--... | 2012/10/10 | [
"https://Stackoverflow.com/questions/12825463",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1680641/"
] | First of all you don't need to echo so much using php...
You have to use `//` or `/* */` to comment in PHP and not `<!---->` cuz that's for HTML
Secondly coming to your code..
Why you are using?
```
function getQuestions($dbc) //I dont know what this is doing here, why you are wrapping your code in a function???
`... | The results are now two entry forms (an improvement) but still not displaying the text of the two rows from the database. Instead of the row text, I get the > character where the text should be. Here is the updated code, adapting the suggestion of @Mr. Alien:
```
function getQuestions($dbc) {
$result = mysqli_query($... |
41,989,953 | I've been trying to compile an app that uses the QtWebEngine from PyQt5. The app works as intended but it fails when compiling. I've spent a couple of days looking for solution but so far I had no luck. I've installed python from both brew and downloading the package form it's website. I've also installed PyQt5 form br... | 2017/02/01 | [
"https://Stackoverflow.com/questions/41989953",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4229933/"
] | It worked for me after using [this branch](https://github.com/pyinstaller/pyinstaller/pull/2519) and adding some [custom patching](https://github.com/qutebrowser/qutebrowser/blob/master/scripts/dev/build_release.py):
```
def patch_osx_app():
"""Patch .app to copy missing data and link some libs.
See https://gi... | It`s some problem with the QtWebEngine. I believed that exists patch to fix this bug.
You can see other informations in <https://github.com/pyinstaller/pyinstaller/issues/2566> |
41,989,953 | I've been trying to compile an app that uses the QtWebEngine from PyQt5. The app works as intended but it fails when compiling. I've spent a couple of days looking for solution but so far I had no luck. I've installed python from both brew and downloading the package form it's website. I've also installed PyQt5 form br... | 2017/02/01 | [
"https://Stackoverflow.com/questions/41989953",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4229933/"
] | It worked for me after using [this branch](https://github.com/pyinstaller/pyinstaller/pull/2519) and adding some [custom patching](https://github.com/qutebrowser/qutebrowser/blob/master/scripts/dev/build_release.py):
```
def patch_osx_app():
"""Patch .app to copy missing data and link some libs.
See https://gi... | The files:
```
icudtl.dat
qtwebengine_devtools_resources.pak
qtwebengine_resources.pak
qtwebengine_resources_100p.pak
qtwebengine_resources_200p.pak
```
need to be in .app/Contents/Resources |
1,452,227 | Is anyone able to help me with the following equation concerned the floor function $\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$
I don't know how to deal with the floor terms properly. | 2015/09/26 | [
"https://math.stackexchange.com/questions/1452227",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/269348/"
] | The solution of,
$$(1) \quad x^2-3\cdot x+2=0$$
Is, $x=1$ or $x=2$.
To find solutions to,
$$(2) \quad [x^2]-[3\cdot x]+2=0$$
We must solve six systems of equations. However, we'll solve eight for instructive purposes. The first is,
$$[x^2]=0$$
$$[3 \cdot x]=2$$
$$(a) \quad {2 \over 3} \le x \lt 1$$
The second i... | For any $x$ that provide a solution for your problem, $x$ must satisfy these
two inequalities
$$
x^2-3x+2 \geq 0\\
x^2-3x+2<1
$$
From the first equation we see that $(x-2)(x-1)\geq 0$ so we have narrowed the solution space to $\mathbb{R}\setminus ]1,2[$.
The second equation gives us $x^2-3x+1<0$ which gives us the s... |
1,452,227 | Is anyone able to help me with the following equation concerned the floor function $\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$
I don't know how to deal with the floor terms properly. | 2015/09/26 | [
"https://math.stackexchange.com/questions/1452227",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/269348/"
] | The solution of,
$$(1) \quad x^2-3\cdot x+2=0$$
Is, $x=1$ or $x=2$.
To find solutions to,
$$(2) \quad [x^2]-[3\cdot x]+2=0$$
We must solve six systems of equations. However, we'll solve eight for instructive purposes. The first is,
$$[x^2]=0$$
$$[3 \cdot x]=2$$
$$(a) \quad {2 \over 3} \le x \lt 1$$
The second i... | $$\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$$
----------------------------------------------
\begin{matrix}
x-1 &\lt &\lfloor x\rfloor &\lt &x+1\\
x^2-1 &\lt &\lfloor x^2\rfloor &\lt &x^2+1\\
\\
3x-1 &\lt &\lfloor 3x\rfloor &\lt &3x+1\\
-3x-1 &\lt &-\lfloor 3x\rfloor &\lt &-3x+1\\
\\
x^2-3x-2 &\lt &\lfloor x^2... |
1,452,227 | Is anyone able to help me with the following equation concerned the floor function $\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$
I don't know how to deal with the floor terms properly. | 2015/09/26 | [
"https://math.stackexchange.com/questions/1452227",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/269348/"
] | From the definition of the floor function we have
[correction here]
$$\begin{align}
x^2-1 &< &\lfloor x^2 \rfloor &\le x^2 \\
3x-1 &< &\lfloor 3x \rfloor &\le 3x
\end{align}$$
and so
$$\lfloor x^2 \rfloor - \lfloor 3x \rfloor + 2 > x^2-3x-1+2=x^2-3x+1$$
So all solutions to the floor equation must lie between the t... | For any $x$ that provide a solution for your problem, $x$ must satisfy these
two inequalities
$$
x^2-3x+2 \geq 0\\
x^2-3x+2<1
$$
From the first equation we see that $(x-2)(x-1)\geq 0$ so we have narrowed the solution space to $\mathbb{R}\setminus ]1,2[$.
The second equation gives us $x^2-3x+1<0$ which gives us the s... |
1,452,227 | Is anyone able to help me with the following equation concerned the floor function $\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$
I don't know how to deal with the floor terms properly. | 2015/09/26 | [
"https://math.stackexchange.com/questions/1452227",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/269348/"
] | $$\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$$
----------------------------------------------
\begin{matrix}
x-1 &\lt &\lfloor x\rfloor &\lt &x+1\\
x^2-1 &\lt &\lfloor x^2\rfloor &\lt &x^2+1\\
\\
3x-1 &\lt &\lfloor 3x\rfloor &\lt &3x+1\\
-3x-1 &\lt &-\lfloor 3x\rfloor &\lt &-3x+1\\
\\
x^2-3x-2 &\lt &\lfloor x^2... | For any $x$ that provide a solution for your problem, $x$ must satisfy these
two inequalities
$$
x^2-3x+2 \geq 0\\
x^2-3x+2<1
$$
From the first equation we see that $(x-2)(x-1)\geq 0$ so we have narrowed the solution space to $\mathbb{R}\setminus ]1,2[$.
The second equation gives us $x^2-3x+1<0$ which gives us the s... |
1,452,227 | Is anyone able to help me with the following equation concerned the floor function $\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$
I don't know how to deal with the floor terms properly. | 2015/09/26 | [
"https://math.stackexchange.com/questions/1452227",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/269348/"
] | From the definition of the floor function we have
[correction here]
$$\begin{align}
x^2-1 &< &\lfloor x^2 \rfloor &\le x^2 \\
3x-1 &< &\lfloor 3x \rfloor &\le 3x
\end{align}$$
and so
$$\lfloor x^2 \rfloor - \lfloor 3x \rfloor + 2 > x^2-3x-1+2=x^2-3x+1$$
So all solutions to the floor equation must lie between the t... | $$\lfloor{x^2}\rfloor−\lfloor{3x}\rfloor+2=0$$
----------------------------------------------
\begin{matrix}
x-1 &\lt &\lfloor x\rfloor &\lt &x+1\\
x^2-1 &\lt &\lfloor x^2\rfloor &\lt &x^2+1\\
\\
3x-1 &\lt &\lfloor 3x\rfloor &\lt &3x+1\\
-3x-1 &\lt &-\lfloor 3x\rfloor &\lt &-3x+1\\
\\
x^2-3x-2 &\lt &\lfloor x^2... |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | Try this:
```
for(char c = 'A'; c <= 'Z'; c++) {
int key = c - 'A' + 1;
dictionary.Add(key, c.ToString());
}
```
Char is actually a numeric type, so you can use it accordingly. | I'm not exactly sure why you don't want to use an array, but it's possible to use ASCII
Use the key 65 - 64 (which will be equal to 1) and for letter `(char) 65` A.
Run this from i = 65 (A) to i = 90 (Z) |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | Try this:
```
for(char c = 'A'; c <= 'Z'; c++) {
int key = c - 'A' + 1;
dictionary.Add(key, c.ToString());
}
```
Char is actually a numeric type, so you can use it accordingly. | char and int are interchangeable and you can just do this
Dictionary dictionary = new Dictionary();
```
for (char c = 'A'; c <= 'Z'; c++)
dictionary[c - 64] = c.ToString();
``` |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | Try this:
```
for(char c = 'A'; c <= 'Z'; c++) {
int key = c - 'A' + 1;
dictionary.Add(key, c.ToString());
}
```
Char is actually a numeric type, so you can use it accordingly. | You could use a collection initializer on the Dictionary object:
```
var i = 0;
var dictionary = new Dictionary<int, string>
{
{++i, "A"},
{++i, "B" }
// etc.
};
``` |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | Try this:
```
for(char c = 'A'; c <= 'Z'; c++) {
int key = c - 'A' + 1;
dictionary.Add(key, c.ToString());
}
```
Char is actually a numeric type, so you can use it accordingly. | >
> I don't want to first store the alphabet in an array and then in a dictionary.
>
>
>
Then just Initialize your dictionary:
```
Dictionary<int, string> alphabet= new Dictionary<int, string>()
{
{ 1, "A" },
{ 2, "B" },
{ 3, "C" } // etc
};
```
If you wanted to do it dynamically with ASCII, I'd pro... |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | char and int are interchangeable and you can just do this
Dictionary dictionary = new Dictionary();
```
for (char c = 'A'; c <= 'Z'; c++)
dictionary[c - 64] = c.ToString();
``` | I'm not exactly sure why you don't want to use an array, but it's possible to use ASCII
Use the key 65 - 64 (which will be equal to 1) and for letter `(char) 65` A.
Run this from i = 65 (A) to i = 90 (Z) |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | >
> I don't want to first store the alphabet in an array and then in a dictionary.
>
>
>
Then just Initialize your dictionary:
```
Dictionary<int, string> alphabet= new Dictionary<int, string>()
{
{ 1, "A" },
{ 2, "B" },
{ 3, "C" } // etc
};
```
If you wanted to do it dynamically with ASCII, I'd pro... | I'm not exactly sure why you don't want to use an array, but it's possible to use ASCII
Use the key 65 - 64 (which will be equal to 1) and for letter `(char) 65` A.
Run this from i = 65 (A) to i = 90 (Z) |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | char and int are interchangeable and you can just do this
Dictionary dictionary = new Dictionary();
```
for (char c = 'A'; c <= 'Z'; c++)
dictionary[c - 64] = c.ToString();
``` | You could use a collection initializer on the Dictionary object:
```
var i = 0;
var dictionary = new Dictionary<int, string>
{
{++i, "A"},
{++i, "B" }
// etc.
};
``` |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | char and int are interchangeable and you can just do this
Dictionary dictionary = new Dictionary();
```
for (char c = 'A'; c <= 'Z'; c++)
dictionary[c - 64] = c.ToString();
``` | >
> I don't want to first store the alphabet in an array and then in a dictionary.
>
>
>
Then just Initialize your dictionary:
```
Dictionary<int, string> alphabet= new Dictionary<int, string>()
{
{ 1, "A" },
{ 2, "B" },
{ 3, "C" } // etc
};
```
If you wanted to do it dynamically with ASCII, I'd pro... |
47,893,595 | I have a requirement to store the alphabet in a Dictionary. I have followed the below steps to do so:
```
static void Main(string[] args)
{
char[] c = "ABCDFFGHIJKLMNOPQRSTUVWXYZ".ToCharArray();
int key = 1;
Dictionary<int, string> dictionary = new Dictionary<int, string>();
foreach (char value in c)
... | 2017/12/19 | [
"https://Stackoverflow.com/questions/47893595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5329076/"
] | >
> I don't want to first store the alphabet in an array and then in a dictionary.
>
>
>
Then just Initialize your dictionary:
```
Dictionary<int, string> alphabet= new Dictionary<int, string>()
{
{ 1, "A" },
{ 2, "B" },
{ 3, "C" } // etc
};
```
If you wanted to do it dynamically with ASCII, I'd pro... | You could use a collection initializer on the Dictionary object:
```
var i = 0;
var dictionary = new Dictionary<int, string>
{
{++i, "A"},
{++i, "B" }
// etc.
};
``` |
47,199,264 | I am new to Jqgrid. I have a question about the pagination.
**JSP**
```
$("#jqGridTable").jqGrid({
colModel: [
{ label: 'A', name: 'a', key: true, width: 120, align:'center',sortable:false},
{ label: 'B', name: 'b', width: 120, align:'center',sortable:false },
{ label: 'C', name: 'c', width: 170, ali... | 2017/11/09 | [
"https://Stackoverflow.com/questions/47199264",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2831313/"
] | `fetch` is an asynchronous, Promise-based operation and it doesn't return value right away. It returns Promise. This is why your code is not working. You're basically trying to display Promise's `value` property which is not what you want. You want to wait for the Promise to resolve (in other words: for fetch to finish... | lukaleli is right. You should get familiar with [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).
Another option for you would be use [`async` & `await`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await):
```
async function GetApiCon... |
38,114,832 | I'm currently setting up Keycloak to offer protection for some services. There will be both external customers and internal services consuming the same endpoints on my services.
Can I set the token expiry on a user or role or client level, or use a mix of tokens and Basic auth? | 2016/06/30 | [
"https://Stackoverflow.com/questions/38114832",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/921713/"
] | [](https://i.stack.imgur.com/rkKOE.png)
It can be done on realm only, correctly mentioned by @maslick as Keycloak do SSO and expects multiple clients in one realm.
Although, you can code accordingly in your application picking the Keycloak session if... | Unfortunately, token expiration time can be set on a per-realm basis only. |
38,114,832 | I'm currently setting up Keycloak to offer protection for some services. There will be both external customers and internal services consuming the same endpoints on my services.
Can I set the token expiry on a user or role or client level, or use a mix of tokens and Basic auth? | 2016/06/30 | [
"https://Stackoverflow.com/questions/38114832",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/921713/"
] | It is possible to configure a different lifespan for access tokens on a per client basis. In Keycloak admin console go to a client settings page and expand the "Advanced Settings" section.
This screenshot is taken from Keycloak **4.8.1.Final**.
[](... | Unfortunately, token expiration time can be set on a per-realm basis only. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.