title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
I'm getting an error when I try to use extern to have variables across multiple source files | <p><strong>EDIT: I forgot to use the std namespace. That fixed some errors but not all.</strong></p>
<p>I'm making a text-based game. Originally, the game was in one, main source file. Now, for ease of navigation (the game is open-sourced, and I'm trying to encourage modding), I want to split it up into several files.... | 3 | 2,386 |
Issue with updating field with embedded map in orientdb | <p>I have a javascript function in orientdb studio(2.1.12) where I am trying to update field called "node" with json whose property is of type embeddedMap in uiJson Document/Class.Find the code below:</p>
<pre><code> var dt = db.query("SELECT * from uijson");
childUijson = dt[0].getRecord();
node = childUijso... | 3 | 1,514 |
Hide 1 row above and 8 rows below a cell which changes based on picklist from another sheet | <p>I'm trying to automate a reporting form. Text values selected from from a validation dropdown list on Sheet1 designate (by way of formulae) whether or not cells on Sheet9 have a value of "" or a concatenated hybrid of values entered on the first sheet.</p>
<p>Sheet9 basically contains 200 blank tables (including ro... | 3 | 1,349 |
mvn -Pandroid gluonfx:build fails to locate Graalvm installation directory | <p>I hope this isn't a simple error pertaining to a misuse of environment variables!</p>
<p>[EDIT: YEP that's what happened. I think I might just delete this whole question so as not to clog the topic for other Gluon/Graavlm questions.]</p>
<p>The <a href="https://docs.gluonhq.com/#platforms_android" rel="nofollow nore... | 3 | 2,564 |
ASP.NET Core application deployed on Azure cannot logout(received 302) on one of the environments | <p>We have deployed the application on 3 environments: DEV, QA and UAT. On DEV and UAT everything is going well, but on QA the logout is not possible: it returns "302 Found" and redirect to the home page without logging it out.</p>
<p>The environments have different databases. DEV and QA use the same Azure B2... | 3 | 1,385 |
Why doesn't paperclip save uploaded image? | <p>I have a model called employers and I'm using paperclip to upload images. It was working before but for some reason, it has stopped working. I am asking the user to fill a form out with name, company, and a profile pic. In my controller, I have set it so the form doesn't get submitted if something is wrong. The user... | 3 | 1,635 |
Java HyperLinkListener JTextPane Null url | <p>I have a JTextPane with a HyperLinkListener</p>
<pre><code> m_textPane.addHyperlinkListener(new HyperlinkListener()
{
@Override
public void hyperlinkUpdate(HyperlinkEvent hyperlinkevent)
{
EventType eventType = hyperlinkevent.getEventType();
if (eventType == HyperlinkEvent.EventType.ACTI... | 3 | 1,228 |
InjectMocks doesn't work with Kotlin constructor arguments with default values | <p>EDIT: I've created a ticket with mockito-kotlin <a href="https://github.com/mockito/mockito-kotlin/issues/439" rel="nofollow noreferrer">here</a></p>
<p>I have a class defined like so:</p>
<pre><code>package me.jpalacios.poc
class MyClass(
private val myDependency: MyDependency = MyDependency()
) {
fun run(... | 3 | 1,415 |
MailChimp API v3.0 batch request responds with "total_operations": 0 | <p>I'm quite certain I've done something stupid, but I've been staring at this for hours now and I need someone smarter than I am. Below is js code in an aws-lambda function that makes a POST request to the mailchimp batches API. The goal is to create a batch of DELETE operations for multiple members of a list. It firs... | 3 | 1,324 |
Mongodb storing JSON file in binary form | <p>I'm new to Mongodb and Backend Development. I have a created a system where a user can create a json. I'm storing the json in the data base but when I retrieve the data is appearing as Binary Data. How do I convert this to JSON. There is no converter online, I have google extensively. Thanks. </p>
<p>This is what I... | 3 | 1,056 |
New event count on each day | <p>I have a table Events which has 2 columns <code>dt</code> (Date) and <code>event</code>. I am trying to get the new event count for each day. For e.g. if the event appeared today and tomorrow, then it should only be counted for today (as it is show for the first time) and should be excluded from tomorrow's count.</p... | 3 | 1,070 |
C TCP sockets: read () on socket returns Resourse temporarily unavailable | <p>The system I realize consists of a ring of tokens (each token is a ckient-server process).</p>
<p>I tested it runnimy two processes.</p>
<p>In function <code>serverMessageProcessor()</code> I call <code>readMessage()</code> function, in which I use <code>read()</code> to read all parts of a message from an (in)soc... | 3 | 6,260 |
Retaing the original list position after search filter in custom listview uses Array adapter filterable | <p>I have a Custom listView which is filterable. It gets filter currently. But after filtering the original position get lost and for that when I set <code>onClickListener</code> it is showing the wrong result. Is there any way to get the original position? </p>
<p><strong>Search Adapter</strong></p>
<pre><code>publi... | 3 | 4,109 |
Google Play Service FATAL ERROR | <p>In my project I use GCM for push notification from server.</p>
<p>I foollow instruction <a href="https://developers.google.com/android/guides/setup" rel="nofollow">https://developers.google.com/android/guides/setup</a> to add Google Play Service in my project.</p>
<p>And everything work fine on my device (Galaxy N... | 3 | 1,114 |
postgres window function trebles query time | <p>I'm using postgres 10, and have the following query</p>
<pre><code>select
count(task.id) over() as _total_ ,
json_agg(u.*) as users,
task.*
from task
left outer join taskuserlink_history tu on (task.id = tu.taskid)
left outer join "user" u on (tu.userId = u.id)
group... | 3 | 3,842 |
Spring security and multiple log in forms | <p>I have a web application using spring security in order to manage authentication.
My client has 2 login forms, my spring security config is as follows:</p>
<pre><code><http auto-config="true" use-expressions="true" create-session="always">
<intercept-url pattern="/**" access="permitAll" />
... | 3 | 1,127 |
i am trying to extract youtube url in exoplayer. and i want to extract my sparsarray value in log | <p>in log i want to see the structure of the array and also each index value of array in log. in log i print my arrays value in string. but i want to print each value of index individually using loop</p>
<pre><code> private void extractYoutubeUrl() {
new YouTubeExtractor(this) {
@Override
... | 3 | 3,205 |
Format text in php | <p>I have this code in java and i want to convert it into php. With this function i want to format some data and write them in a txt file.</p>
<p>Is there any classes as the text class in java to handle it?
here is the code :</p>
<pre><code>public static void printAll(int n1, int n2, double[][] m,
String[... | 3 | 1,284 |
RecyclerView showing nothing | <p>I'm making an app that, in theory, have to load images from my internal storage an showing it up on a RecyclerView. I think I followed all the steps correctly and after many unsuccessful tries I'm asking here. So I think the code to catch up the data to the adapter is wrong, but I cannot think of anything to verify ... | 3 | 1,287 |
RSS deleted entries still showing in asp.net reader after deletion from Tumblr | <p>I've successfully created an ASP.NET RSS feed reader that I am using with Tumblr for a website. It works in that it grabs the most recent 3 posts. I have 6 posts to test and I deleted 3 but my reader is not showing the original three posts. It keeps showing the last 3 that were deleted. I have put the RSS in the bro... | 3 | 1,089 |
JS/Webpack : Target container is not a DOM element | <p>I'm curently building a React JS app and I've this error when I go on the '/' of my project :
<strong>"Uncaught Error: Target container is not a DOM element."</strong></p>
<p>In my project I've some components and few pages, and when I run my server with "npm start" I can't access to my main page... | 3 | 1,219 |
Algorithm "brotliCompress" is not found in "zlib" | <p>I have installed <code>compression-webpack-plugin</code> using <a href="https://webpack.js.org/plugins/compression-webpack-plugin/" rel="nofollow noreferrer">this</a> link and added Compression plugin in plugin section of <code>webpack.config.js</code> file as suggested <a href="https://webpack.js.org/plugins/compre... | 3 | 1,601 |
InnerHTML not updating? | <p>Trying to load product recommendations into HTML, I can see the response is good and I am receiving the expected data but I'm not seeing any changes to the DOM. Most of this code was pulled from Shopify documentation, not sure what the problem is. All of this code is inside of a cart-drawer.liquid file</p>
<p><div c... | 3 | 1,177 |
Why do I not get the result back from my startActivityForResult? | <p>I have one class <code>LogBeerActivity</code> that extends <code>AppCompatActivity</code> and has these two methods:</p>
<pre><code>public void gotoAddBrewery(View view) {
String breweryNameEntered = breweryTextView.getText().toString();
Intent intent = new Intent(this, AddBreweryActivity.class);
intent... | 3 | 1,476 |
Android Beacon Library detecting iBeacon fails! not fair :( | <p>I try to use the Android Beacon Library to detect iBeacons but it doesn't work.</p>
<p>The output from the logcat ist just:</p>
<p><code>I/SELinux﹕ Function: selinux_android_load_priority [0], There is no sepolicy file.
I/SELinux﹕ Function: selinux_android_load_priority , spota verifySig and checkHash pass. priori... | 3 | 1,193 |
no post using ion library | <p>I am trying to post a json object through android ion library on a computer in my local network with the following code :</p>
<pre><code>String url = "http://192.168.1.23/ws/svn/branches/application/public/connectMobile";
try {
JsonObject json = new JsonObject();
... | 3 | 2,972 |
Nightsbridge booking calender, Send input values to a redirect page after form submission | <p>I'm working on a simple peace of code to Send input values to a redirect page after form submission.</p>
<p>However my skill set to complete the script is a bit too basic, i want the below script to redirect as explained below:</p>
<p>Herewith the form to generate the "Check in and Check out input fields:</p>
<pr... | 3 | 1,143 |
Multi access array/list in thread-safe mode? | <p>has for some time that I'm trying to make sure this class with threads.
Unfortunately I can not understand where to act properly.</p>
<p>The problem:</p>
<p>The saving procedures take a long time, therefore I would like to use it in a dedicated thread.
The idea is that every change in the root node, is increased ... | 3 | 4,896 |
Accessing filtersource in MVC Razor syntax | <p>How do I implement what's in the <code>change:function(e)</code> in MVC Razor shown below? I have been pounding my head against this for days and cannot find anything. </p>
<pre><code>$(document).ready(function() {
var items = [
{value : '1',
desc : 'fred'},
{value : '2',
desc : 'wilma'},
{va... | 3 | 1,624 |
CSS3 + Jquery animation on scroll | <p>I have a set of icons that I want to be visible one by one using animations slideLeft when it scroll down. I'm found this css3 animations</p>
<p><a href="http://www.justinaguilar.com/animations/index.html#" rel="nofollow noreferrer">http://www.justinaguilar.com/animations/index.html#</a></p>
<p>Here is a fiddle of... | 3 | 2,382 |
React hooks disable button if item already exists in the array | <p>I have a Cart component where I save products in an array.</p>
<p>I have also multiples buttons with differents id's that I would
to disable independently, depending of each id when I add the product
to the array.</p>
<p>once I remove the item from the array I would like to turn back the button
to able again.</p>
<p... | 3 | 1,425 |
How can I save an html file and remove script and unwanted tag when dowloading? | <p>I have an <a href="/questions/tagged/html" class="post-tag" title="show questions tagged 'html'" rel="tag">html</a> file with lots of tags with <code>contenteditable="true"</code> attribute. I also added a lot of jquery/js inside.</p>
<p>What I'm trying to achieve is:</p>
<ol>
<li>Let user modify t... | 3 | 1,405 |
Dagger2- Retrofit is not injecting in ApiHelperImpl | <p>Hi I am trying to inject <code>retrofit</code> in <code>ApiHelperImpl.kt</code> class. I have below module and component.</p>
<p>AppComponent.kt</p>
<pre><code>@Component(modules = arrayOf(AndroidInjectionModule::class, AppModule::class, ActivityBuilder::class))
@Singleton
interface AppComponent {
fun inject(a... | 3 | 2,482 |
Why can't I specify NamedArgs and item elements on cellFactory? | <p>I have the following tableView in fxml</p>
<pre><code><TableView fx:id="tableView" prefHeight="525.0" prefWidth="814.0">
<columns>
<TableColumn prefWidth="75.0">
<graphic><ToggleButton fx:id="mainToggleButton" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308... | 3 | 2,514 |
SQL query not returning the criteria set | <p>I am developing a flowerbed planting system, and have written an SQL statement which queries 8 tables in order to return a list of suitable plants. </p>
<p><strong>Table structure:</strong> <a href="http://pastebin.com/0DUYQis1" rel="nofollow">http://pastebin.com/0DUYQis1</a> [outputted from phpmyadmin]</p>
<p><st... | 3 | 1,225 |
ElasticSearch Indexing and Searching Not Working Correctly | <p>When I Indexed data and then Searched data in one Thread(Process) It works . If I Indexed and stop the process then run only searching to find indexed data, no hits. What is the reason of this propblem or what is my mistake client or something ? I am new at Elastic Search, so I cant find the reason Please Help me.</... | 3 | 1,135 |
Protocol Buffer Corrupting Data | <p>This is my first question on here and first project on my own. I have a client (C++ on Windows 10) using the SimConnect SDK to pull data from the Prepar3D Flight Simulator and a server (C on Ubuntu) that is receiving this data. I am using sockets and Protocol Buffers. The client receives the data from the sim, maps ... | 3 | 2,781 |
How are these double precision values accurate to 20 decimals? | <p>I am testing some very simple equivalence errors when precision is an issue and was hoping to perform the operations in extended double precision (so that I knew what the answer would be in ~19 digits) and then perform the same operations in double precision (where there would be roundoff error in the 16th digit), b... | 3 | 1,489 |
How make AND and OR wordpress query | <p>I made a (taxonomy) query with relation OR and that works. </p>
<p>But I have a couple of filters that I woud combine. </p>
<p>Then I should use AND (relation) but when the visitor not set an filter (in dropdown see filter) than query shows nothing. </p>
<p>How to make a query with AND and OR function?</p>
<pre>... | 3 | 1,057 |
deploy .net 4.0 wpf application problem | <p>I been working on a application that I am planing on distributing. For some reason I am not able to install it on other computers. first let me show you my deployment settings maybe I am doing something wrong in there (I left all the defaults).</p>
<h2>Deployment settings:</h2>
<p><img src="https://i.stack.imgur.c... | 3 | 1,086 |
retrieving select information from nsarray | <p>I have an array containing the following dictionaries:</p>
<pre><code><array>
<dict>
<key>date</key>
<string>15/Feb/14</string>
<key>name</key>
<string>Victor</string>
<key>sale</key>
<string>3</string>
</... | 3 | 1,510 |
setText method does not work inside the onViewCreated method | <p><strong>DetailsFragment -> onCreateView</strong></p>
<pre><code>@Override
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
if (fragmentBinding == null)
fragmentBinding = FragmentDetails.inflate(inflater, container, false);
return fragment... | 3 | 1,720 |
RecyclerView not populating, likely a silly adapter problem | <p>I used a working <code>RecyclerView</code> as a template for another, but I made some sort of mistake in its implementation and I can't find it. Here is the code that initializes the view:</p>
<pre><code> mMessageThreadList = new ArrayList<>();
mRecyclerView = findViewById(R.id.chat_list_recycler_view... | 3 | 3,572 |
Type Mismatch during json parsing in flutter | <p>I have a json which is returning as a List. I am trying to parse it but I am getting an error named </p>
<p>_InternalLinkedHashMap' is not a subtype of type 'List'
Here is my code - </p>
<pre><code> List data = json... | 3 | 1,051 |
Multimap to JSON | <p>I have a very huge Multimap. I an trying to convert this Multimap to JSONArray as a key value. But i am getting the following Error:</p>
<pre><code>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(Ab... | 3 | 1,238 |
Swift For In loop not maintaining variable value in Archive | <p>I have a piece of code that works fine when deployed via Xcode directly onto the device but if I install the application via an adhoc archive it fails miserably.</p>
<p>This is the code, it is full of log statements as I wasn't able to utilise the debugger so I had to rely on the console output to work out what was... | 3 | 1,415 |
font-awesome icon as a link and a-checker does not like the link | <p>The icon is:</p>
<pre><code> <i class="fa fa-facebook" aria-hidden="true"></i> font-awesome
</code></pre>
<p>Page info to use this as the link to the icon. I am using [added spaces]:</p>
<pre><code> < i >< a href = "#" class="fa fa-facebook fa-3x" >... | 3 | 1,193 |
Possible to avoid a FOR loop in this very simple R code? | <p>The answers below are very helpful. But I oversimplified my original question. I figured I learn more if I oversimplify and then adapt to my actual need, but now I am stuck. There are other factors that drive the amortization. See more complete code here. I like the response using "amort$end_bal <- begin_bal... | 3 | 1,455 |
Migration css rails login form to bootstrap | <p>Need help migration to bootstrap.</p>
<p>bootstrap sound easy just go get all scss and samples to paste. But I don't know how to insert "@user, url: signup_path" into/or replace in bootstrap code to work in rails app.</p>
<p>html:</p>
<pre><code><div class="row">
<div class="col-md-6 col-md-offset-3">... | 3 | 1,293 |
Validating if the fish is caught | <p>So I have a working grid and random placement of the fish in the grid, what I am unsure is; the user will input a coordinate on the 2x2 grid, and an * will appear on the grid with the fish, but I have no idea how to do that. Also I am unsure on how to validate if the fish and line are in the same cell, meaning the u... | 3 | 1,782 |
How can one break up an UPDATE into subqueries? | <p>There exists a table:</p>
<pre><code>CREATE TABLE person
(
id INT(10) PRIMARY KEY AUTO_INCREMENT,
nameFirst VARCHAR(255) DEFAULT '?',
nameSecond VARCHAR(255) DEFAULT '',
fatherNameFirst VARCHAR(255) DEFAULT NULL
);
</code></pre>
<p>Note: There are actually other columns there, 18 in total, but they... | 3 | 1,176 |
Why CSS hover state removed? | <p>I have created a simple navigation and sub navigation(activated after hover on parent element), But In my project when I hover on subnavigation's last child the active class removed. Unable to figured out the problem. Please help. </p>
<p>Here is the code and JSFIDDLE</p>
<p>HTML</p>
<pre><code><div class="men... | 3 | 1,167 |
Centering My Navbar Links | <p>So I've been desperately trying out every method I can find online for centering my nav bar links. </p>
<p>However whatever I do, they seem to either line horizontally (like I want) but to the left of the page (not what I want), or they line vertically (not what I want) but to the center of the page (what I want). ... | 3 | 1,042 |
Editing nested attribute/model rails | <p>Hello I have being using @jordanhudgens nested attribute tutorial to build a rails app to handle @sites and @site_assets. I can add new @site_assets and delete them, but I am struggling to edit them.</p>
<p>I get the following error when I try to edit</p>
<pre><code>ArgumentError in Sites::SiteAssets#edit
Showing ... | 3 | 2,549 |
Display all event handlers tied to a dynamically generated element? | <p>I have the following HTML. I have provided it only to provide context, and it doesn't need to be reviewed in detail.</p>
<p>When clicking a <code>a.displayDetail</code> which is dynamically generated, <code>dialog2</code> pops up as expected. But for my actual application, it then proceeds to redirected to anothe... | 3 | 1,496 |
Can't populate cells with an array when I have loaded a second UITableViewController | <p>I'm very new to iPhone programming, I'm creating my first app, (a world cup one)
the first view is a table view. the cell text label is filled with an array, so it shows all the groups (group a, B, c,etc) then when you select a group, it pulls on another UITableViewcontroller, but whatever I do I cant set the text ... | 3 | 1,948 |
How to keep language changed even after my app is closed in flutter | <p>I am using <code>easy_locatizations</code> package for changing my language. Whenever I am changing language in my app, it works only before i close and restart my app. In that case, language is set back to english. I am using <code>provider</code> for state management and <code>shared_preferences</code> for saving ... | 3 | 2,402 |
Ignore output - it should not print on screen | <p>I can add <code>LogOnAsAService</code> privilege to a specific user or groups. While running the function, it is showing output. </p>
<p>My requirement is it should not print the output. </p>
<p>I have below working function for logon as a service right.</p>
<pre><code>#region LogOnAsService-Right
Function LogOnA... | 3 | 1,550 |
How to ship file in our desktop folder and how to create shortcut to desktop folder? | <p>I want to ship file to our target folder and create shortcut to desktop folder.my wix coding is
enter code here`</p>
<pre><code> <?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="5A157ECF-D387-43EF-855E-C39E9F26B463" Name="DesktopPermiss... | 3 | 1,155 |
Issue with substitution in sendgrid | <p>I've to send a mail with substitution using sendgrid.
I use the following code : </p>
<pre><code> public async Task SendConfirmationMailAsync(UserCreateViewModel model, string domain, ApplicationUser user)
{
string q = _encryption.EncryptText(model.Email + "|" + model.Password, _configuration["Securi... | 3 | 1,669 |
cant detect same pixels with given color and distance | <p>Consider that two points p0 and p1 are at euclidian distance d1 and the Lab color value of given two pixels/voxels are (L0,a0,b0) and (L1,a1,b1). Now if i change the position of a rigid object which contains given two points than shouldn't it be possible to detect those points at the same distance(mm) and with the s... | 3 | 2,901 |
OpenGL ES 2.0 Android Alpha Shows as black | <p>I am able to successfully render an bitmap onto a Texture and display it on the phone screen no problem. What I am trying to do it render another texture from a PNG on top of it. The overlay png contains some transparent (alpha) pixels. </p>
<p>I can get the overlay to render on top of the background texture image ... | 3 | 1,940 |
ASP.NET 5.0 build issue on TFS build server 2013 | <p>I recently added a test project to an ASP.NET 5.0 project. The tfs build server is unable to find assemblies for my test project. project.json file below</p>
<pre><code>{
"version": "1.0.0-*",
"description": "ConfigTests test project",
"authors": [ "" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "... | 3 | 1,255 |
T-SQL SQL Server - Stored Procedure with parameter | <p>Please, the first TSQL works FINE, the second does not. I guess it must be a simple mistake, since I am not used to T-SQL. Thank you for the answers. R Conte.</p>
<pre><code>*** WORKS FINE *********************************** (parm hard-coded)
ALTER PROCEDURE rconte.spPesquisasPorStatus
AS
SET NOCOUNT ON
SELECT p... | 3 | 1,522 |
Dynamically assign with jquery css top and left for an image map? | <p>I have an image map that has a function return text from the alt attribute. At the moment the pop is a css layer called overlay that is assigned top and left coordinates, so that the popup no matter where on the image map will always be in the same position, however I'm wondering if there is a way to assign the top ... | 3 | 1,260 |
My XML file doesn't seem to be pushing the values to my code. Causing my tests to be skipped | <p>I am setting up test cases for practice and trying to feed the parameters from an XML file for the website url, and the desired browser if available. The Switch logic, and webdriver commands look solid, but maybe i missed something that makes it skip them entirely. Should output that login was successful on both occ... | 3 | 1,036 |
Why didn't printf print out the string in this buffer overflow? | <p>I'm learning buffer overflow. I wrote a small C program: </p>
<pre><code>#include<stdio.h>
#include<string.h>
void vuln();
void win();
void main(int argc, char *argv[]){
vuln();
}
void win (){
printf("Pwned!!");
}
void vuln(){
char buffer[256];
printf("Enter a string: ")... | 3 | 2,285 |
Why is the status bar disabled in BasicActivity? | <p>I am using a Basic Activity to show some results but the top bar is not visible in this activity like other actives.how can i do it ? Advance thanks for any comment on this</p>
<p><a href="https://i.stack.imgur.com/WYeLc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WYeLc.png" alt="enter image ... | 3 | 1,060 |
How to access `matched_queries` in a `painless` script for creating buckets | <p>I am working with Elasticsearch 5.3.3 on AWS</p>
<p>I have multiple filters in a search query, each with an <code>_name</code>. These names are reflected in the results as <code>matched_queries</code>. I would like to group these results into different buckets where the selection criteria for each bucket is the pre... | 3 | 1,190 |
Highcharts accessibility / VUE.js | <p>we have a client wanting full screen read and keybaord navigation for their site (hosted on squarespace and we made a vue plugin for them)</p>
<p>I got all areas of their site to work including leaflet but high charts i am having no luck with keyboard navigation
html line in vue</p>
<pre><code> <highcharts
... | 3 | 1,498 |
Elementor Back End Code Appearing at the Front End | <p>after an error occurred with my website, I received an email from WordPress saying a fatal error happened with Elementor. After I recovered access to the website, a line of code is appearing at the top of every page of my non-logged-in users</p>
<p>This is what is appearing:
home1/shap71/public_html/wp-includes/func... | 3 | 1,253 |
High Charts Live Data multiple series from php files | <p>Im fairly new to js and php , I am trying to load a live chart with mutliple series of btc price from exchanges from php files. Ive tried and failed, i can only get 1 of the data series to load , they all work individually but getting all of them to load as seperate points on the chart at the same time eludes me.</p... | 3 | 1,318 |
Issue using render props to create toggle button to show/hide child components | <p>Using below Original HTML I would like to show/hide a couple child components based on a toggle click. The issue I am having is the EditToggle link needs to show next to the h2 (inside "subtitle-container") but the two components need to render below (outside of "subtitle-container").</p>
<p>When using the EditTogg... | 3 | 1,047 |
Tap gesture causes strange behavior | <p>I’m building a reaction test that requires the user to tap on the target dot, while other non-target dots come down. It works most of the time but sometimes after tapping on a target dot it will display several other dots with weird behavior. I’ve been looking at the code for days and I can’t find the problem. Do... | 3 | 3,009 |
android layout with fluid header | <p>I need to create a custom header for my android app.
I would create something like</p>
<pre><code>+----------------+------------+
| | |
| background | Logo |
| repeat | fixed |
| | right |
+----------------+------------+
| ... | 3 | 1,028 |
How to delete all numbers from a string? | <p>Below is an example of a test case:</p>
<pre class="lang-python prettyprint-override"><code>inpoot = "A.p.p.l.e (45) Orange (5.11) Kiwi" # WE HAVE
outpoot = "A.p.p.l.e () Orange () Kiwi" # WE WANT
</code></pre>
<p>The only reason I spelled <code>inpoot</code> incorrectly is because <code>input<... | 3 | 6,513 |
Avoid vertical scrollbar shift in container | <p>In html, I have a panel with a fixed height which contains cards. It can contain one card or many cards. Hence, because the panel has a fixed height, it can be needed to have a scrollbar displayed in order to visualize all cards. This works properly with the property <code>overflow: auto</code>.</p>
<p>However, when... | 3 | 1,490 |
Can't upload image in Symfony | <p>I want to upload an image in Symfony but the path is <code>null</code> in the database. I have the rest of champ in entity not null and the value write in Form.
The path is null but the rest (name and updated_at) is not null and have value write in form.</p>
<p>This is my Media.php:</p>
<pre><code><?php
na... | 3 | 6,281 |
Calculate Working Days in PHP - Doesn't work for months where the 12th is on Monday | <p>I have the strangest issue. I have a script that calculates what the current work day is in a month along with the total amount of working days for the month. For example, today June 25, the script would output "day 17/21".</p>
<p>The strange thing is, for months where the 12th falls on a monday, from the 12th till... | 3 | 2,273 |
How to save time zone information in R | <p>I am trying to find out if it is possible to save the date time zone into a
file in R.
Lets create a date/time variable set to EST time.</p>
<pre class="lang-r prettyprint-override"><code>x <- as.POSIXct("2015-06-01 12:00:00", tz = "EST")
x
#> [1] "2015-06-01 12:00:00 EST"
lubrid... | 3 | 1,079 |
Errors using Proguard in new IBM MobileFirst 7.1 project | <p>I am learning how to implement Proguard for Java obfuscation in MobileFirst 7.1. I created a new MobileFirst project with Android environment and followed the process described in IBM documentation:</p>
<p><a href="http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.deploy.doc/admin/t_pg_creati... | 3 | 2,623 |
EPIPE Error with ExpressJS, nginx proxy server | <p>I am running multiple ExpressJS Node apps through an Nginx proxy server, and am getting an EPIPE Error thrown whenever my users try to download a file. This does not happen on my local setup (which is identical to the server's except for the proxy server), so I figure it has something to do with my Nginx configurati... | 3 | 1,090 |
Setting 0,0 as the origin in a c3 graph (eliminating padding) | <p>I am using c3 to make a graph and I am looking to get the origin of the graph to be 0,0 without any padding. With this code I have my y-axis right on the line (x-axis), but on the x axis there is still a gap between the 0 tick mark and the y axis.</p>
<p>I tried a couple different things and it looks like the paddi... | 3 | 1,232 |
Saving an IEnumerable Model | <p>I have a view that has 2 date pickers, one of which is a start date and the other of which is end date. I am able to get the user to select the start and end dates, redirect to a view that will have a list of Time worked where the user could change the date, enter time, and once they are done they should be able to... | 3 | 2,382 |
scheduled tweets | <p><strong>tried to write a script that sends the date to twitter (scheduled tweets) but for some reason Twitter resets my date. How to fix it to make it work?</strong></p>
<pre><code>(function () {
"use strict";
var _main = document.querySelector("#react-root");
var d = new Date();
var dSp... | 3 | 2,118 |
flutter and firebase error: type 'String?' can't be assigned to the parameter type 'Object' | <p>I am creating a workout app using flutter & firebase. I have an <code>ExerciseStream</code> class which contains a StreamBuilder widget. in the StreamBuilder contains a ListView. in the ListView I pass the <code>ExerciseCard</code> class. In the ExerciseCard class I have if statements which determines which type... | 3 | 13,274 |
Not able to run python code in sublime text 3 | <p>Whenever I tried to run my python code in sublime text 3 it shows the error of long paragraph like this:</p>
<pre><code>Traceback (most recent call last):
File "C:\Users\Abhishek Kumar\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals... | 3 | 1,152 |
authentication is not working with firebase using react-native-redux + redux-thunk | <p>the code is working and app also showing on mobile but the problem is that the authentication is always failed even i entered the correct email/pass.</p>
<p>this authAction.js file.
</p>
<pre><code>import firebase from 'firebase';
import { LOGIN_USER_FAIL, EMAIL_CHANGED , PASSWORD_CHANGED , LOGIN_USER_SUCCESS, LOG... | 3 | 2,191 |
Data is retrieved triple duplicately in a table view cells from SQlite in Swift ios | <p>I am retrieving the data from <code>SQLite</code> to a table view cells, but the data is being retrieved duplicate triple times, means on each data there should be a single cell in which the retrieved data will be. but the current situation is that for each data the three cells are being showed in a table view cell,... | 3 | 3,083 |
StackOverflowError in JSF composite component recursion | <p>According to <a href="https://stackoverflow.com/a/8446728/1797006">https://stackoverflow.com/a/8446728/1797006</a> using the JSF composite component <code>nested:cif</code> recursively and terminating the recursion with <code>c:if</code> should work:</p>
<pre><code><?xml version='1.0' encoding='UTF-8' ?>
<... | 3 | 2,883 |
Native PHP session variables are automatically destroy after Facebook PHP login | <p>I am using facebook php sdk 4 for my application. I have added few data on $_SESSION. But those session variables are getting erased after login using FacebookRedirectLoginHelper::getLoginUrl. Here is code below:</p>
<pre><code>session_start();
session_regenerate_id(true);
define( 'ROOT', dirname( __FILE__ ) . '/... | 3 | 1,635 |
Gmail contextual gadget recipientToScope not being passed | <p>In my Gmail contextual gadget, I can obtain the "From" address, but not the "To" address(es).</p>
<p>Here are my extractors from the manifest file:</p>
<pre><code><Extension id="ex1" type="contextExtractor">
<Name>Email Recipient</Name>
<Url>google.com:RecipientToEmailExtractor</... | 3 | 1,262 |
Creating a View Controller that only appears on first app open | <p>I am creating a View Controller that only appears the first time the user opens the app. I had it working by just pushing the welcome view controller, but then I couldn't get it to push the normalViewController when the user was done in the welcomeViewController. I then then tried to set the welcomeViewController as... | 3 | 1,082 |
Making simple of Stored Procedure code | <p>Could you any one suggest me, what is the alternate approach to write the below stored procedure in a simple way</p>
<p>If you observ in all insert statements WHERE condition is changing<br>
<strong>Please see below where conditions</strong> </p>
<pre><code>WHERE TCS.ChamberAvailaBilityDate = DATEADD(DAY,1,@lC... | 3 | 2,699 |
Initializing an Angular Directive in JavaScript | <p>I have a directive in my template. It's working great:</p>
<pre><code><ul class="activity-stream">
<my-activity-stream-item ng-repeat="activity in vm.activities" activity="activity"></my-activity-stream-item>
</ul>
</code></pre>
<p>I'd basically like to include the same HTML in that tem... | 3 | 1,145 |
Character attacks sometimes collide when collision isn't taking place. - Unity Collision | <p>I'm working on a 3D top down game in Unity 2021.3.4f1 (HDRP). In the game I have a player character that's already placed in the game scene before it starts and enemy characters that are instantiated at random spawn points within a certain distance of the player. The enemies and player can use melee attacks to att... | 3 | 1,091 |
Struggling to enable SSLv2Hello in Apache CXF, Java 8, No Spring | <p>This is going to seem backwards, but I'm developing a web server specifically to interface with a third party client. This third party client only supports SSLv3, TLSv1.0, or TLSv1.1. </p>
<p>I'm also seeing the following errors on my side when they try to connect: </p>
<pre><code>SSLHandshakeException: SSLv2Hel... | 3 | 5,869 |
The API request from the Vuejs component is executed twice | <p>I am creating To-do Application using Vuejs, Expressjs, and Mongodb.</p>
<p>I have already written through the New Component with a separate link. This is normal, but I am currently using the New Component by importing it into the Root Component without any additional links.</p>
<p>This works, but the API request ... | 3 | 1,377 |
NHibernate and runtime expression | <p>I write access permission checker for entity obtain from db.
I have declared base rule class:</p>
<pre><code>abstract class AccessRule
{
private Func<object, Entities.User, bool> _canViewCompiledExpression;
public abstract Expression<Func<object, Entities.User, bool>> RawCanEditExpression... | 3 | 1,713 |
Rails complex filter with pagination | <p>I am working on a project in which I have to show groups.</p>
<p>Following models are involved</p>
<p><strong>Group</strong></p>
<pre><code>class Group < ApplicationRecord
has_many :user_groups, dependent: :destroy
has_many :users, through: :user_groups
belongs_to :creator, :class_name => "User&quo... | 3 | 3,321 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.