text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Water coming back into the dishwasher?
I just installed a new dishwasher, replacing an old one. Everything is working properly, but the problem I'm having is, after it has ran it's cycle and drained out and done and clean, after about 4 - 6 hours sitting there is water that has drained back into the dishwasher.
Descr... | common-pile/stackexchange_filtered |
AngularJS - Use attribute directive conditionally
I am using "draggable" directive to support image dragging. However, as per the role of the user, I need to disable image dragging for certain groups of users. I have used following code.
<!--draggable attribute is used as handle to make it draggable using jquery event-... | common-pile/stackexchange_filtered |
Difference between Lindlar and Rosenmund catalysts
Is there any difference between the Lindlar and Rosenmund catalysts? I've checked around, and it seems the same compounds are used to make both. Is there a difference in their reactivities or are they essentially the same?
The additive.$%stuff in comments =D$
This is... | common-pile/stackexchange_filtered |
writing ansible facts to a file from a playbook
I know I can use the command below to save all ansible facts to a file:
ansible all -m setup --tree facts.d/
But I want to do this within a playbook. Currently I have:
- name: Collect facts
setup:
fact_path: facts.d
But nothing is collected when I run the task. ... | common-pile/stackexchange_filtered |
Rails ajax authenticity
Hello guys I am developing an application in ruby on rails I am trying save the contents of a form through ajax
Here is the code of my form :
<%= form_for([@question, @question.answers.build],remote: true) do|f|%>
<h2>Link</h2>
<%= f.text_field :link ,:id=>'link'%>
<h2>Time... | common-pile/stackexchange_filtered |
Altium Designer New Template
I have just prepared a new template for Altium Designer schematics. I included an image to template. My question is that if i prepare a project with this template, how can i embed this image when i need to send another person? Because after i sent a project with my new template, i realized ... | common-pile/stackexchange_filtered |
Why does concentrated acid react differently to metals than dilute acid
I am asking this because the answers on this Stack Exchange all have 2 severe problems which have not been asked. Why does concentrated acid (98% sulfuric, 75% nitric etc) react differently with metals. In stack exchange, we say the reason is due ... | common-pile/stackexchange_filtered |
How to modify specific parts of a post content in WordPress
I'm trying to insert some custom code in each post in Wordpress, provided that it complies wit certain conditions. My problem is that the content needs to be added in an specific location that is not the top or the bottom. I know the HTML structure of the post... | common-pile/stackexchange_filtered |
Android TV layout Eligibility Issue on Play store
I'm trying to make my app available on the play store for TVs, but google is rejecting it claiming vertical letterboxing, but I don't know what that is, and in the emulator, all screens work fine
Error
Screen 1
Screen 2
Screen 3, its a webview
Preload Screen
https://de... | common-pile/stackexchange_filtered |
How to think of homogeneous Sobolev spaces
The homogeneous Sobolev space $\dot H^s(\mathbb{R}^d)$ can be defined as the completion of $\mathscr{S}(\mathbb{R}^d)$ (the space of Schwartz functions) under the norm
$$
\|f\|_{\dot H^s(\mathbb{R}^d)} = \||\xi|^s\hat{f}\|_{\mathbb{R}^d}.
$$
The corresponding homogeneous spac... | common-pile/stackexchange_filtered |
R - how to find out people whose event 1 disappeared after event 2 happened
I have a dataset in which each person has multiple visits and Event1 and Event2 were documented at each visit (1=yes, 0=no). Not everyone has Event1 or Event2 happened. How do I pick out people whose Event1 disappeared after or at the same time... | common-pile/stackexchange_filtered |
Android Warning: CHECK surface infomation creating=false
When I run my Android application I noticed the following warning in the LogCat window:
Tag: SurfaceView
Text: CHECK surface infomation creating=false formatChanged=false
sizeChanged=false visible=false visibleChanged=true surfaceChanged=true
realSizeChanged=fa... | common-pile/stackexchange_filtered |
error logic and display in php?
ok im makeing an application im going to tell how i do error logic and displaying in my application
// ERROR CHECK
if ( !empty( $user_status ) )
$errors[] = language( 'ERROR_USERNAME_USED' );
if ( empty( $_POST['username'] ) )
$errors[] = language( 'ERROR_USERNAME_NULL' );
if (... | common-pile/stackexchange_filtered |
programmatically start the game engine?
I have this piece of code that's meant to start the game engine (and it does so if I just run this on the default screen)...I have a script that generates an environment with planes, spheres, etc. and appended this piece of code on the bottom but I'm getting a poll() context erro... | common-pile/stackexchange_filtered |
C# Induce class name through generics and dependency injection?
I am using an external FileHelpers library to validate my csv file by creating a class where the properties would match the csv columns
http://www.filehelpers.net/example/ErrorHandling/ErrorMode.SaveAndContinue/
With this implementation I need to pass a cl... | common-pile/stackexchange_filtered |
Why find is giving inaccurate responses for 1M and 1G size?
Why find is giving inaccurate/weird responses when I try to look for files that are 1 megabyte size or 1 gigabyte size ? Or even less than 1 megabyte or 1 gigabyte.
[root@server1 ~]# ls -lh
total 7.8M
-rw-------. 1 root root 1.7K Jan 24 00:15 anaconda-ks.cfg
-... | common-pile/stackexchange_filtered |
How does one implement simple authentication middleware in react js
I'm a newbie that just started learning reactjs and things are a bit here and there for me. I want to implement a basic middleware that checks if user's token is correct before rendering the app. I'm currently stuck :( Any help will be appreciated
This... | common-pile/stackexchange_filtered |
examples of interpreting schemes (Eisenbud)
I am having trouble understanding the role primary decomposition plays in ``interpreting'' the geometric picture of a scheme. Here are the examples I am struggling with from Eisenbud's Commutative Algebra With a viewpoint towards Algebraic Geometry. Assume $k$ is algebraicall... | common-pile/stackexchange_filtered |
How to access ArcSDE metadata using OGR?
I'm trying to get a list of all layers in an ArcSDE database hosted in oracle
here is the command I'm using:
ogrinfo -al SDE:localhost,5151,sde,sde,sde
Note: I've replace the database, username and password values with sde
When I execute the above I get the following message:
F... | common-pile/stackexchange_filtered |
How can I describe for accessibility inspector the action of tapping a UIImageView?
I have a UIImageView that has a UITapGestureRecognizer which is set as a button in the property
accessibilityTraits. I want to describe the content description of the action when it's tapped for people with vision deficits.
How can i ac... | common-pile/stackexchange_filtered |
how can get data from data base using ajax in laravel
I am tring to get data from controller which has taken the data from the database
Blade:
@foreach($categories as $category)
<option value="{{ $category->id }}" name="category">{{ $category->category }}</option>
@endforeach
</select><br>
... | common-pile/stackexchange_filtered |
Cannot set a very simple object attribute to an object with a many:many relationship
I'm learning django and cannot seem to just literally add a message to an automation. I have a POST method and I should be able to add a message to an automation (both Message and Automation classes have a many to many relationship).
T... | common-pile/stackexchange_filtered |
on_member_join can't print a message
I'm doing a Discord bot with Python 3.8 and I have a problem with my event on_member_join().
@bot.event
async def on_member_join(member):
embed = discord.Embed(
title=f"that doesn't function")
channel = discord.utils.get(member.guild.channels, name='WELCOME_CHANNEL_NAME... | common-pile/stackexchange_filtered |
Python one-line binary search
import random
myNumbers = [random.randint(1, 10) for i in range(0, 7)]
myNumbers.sort() #Binary search works on a sorted list.
print(myNumbers)
#How about this code:
binSearch = lambda anyList, item: anyList[int(len(anyList)/2)] \
if anyList[int(len(anyList)/2)] == item \
else None \ ... | common-pile/stackexchange_filtered |
TransactionScope and Optimistic concurrency
I would like to use optimistic concurrency with TransactionScope. Here's the code I come up so far:
var options = new TransactionOptions {IsolationLevel = IsolationLevel.ReadCommitted};
using (var scope = new TransactionScope(TransactionScopeOption.Required, options))
{
u... | common-pile/stackexchange_filtered |
Where were the early kings of Scotland buried?
According to tradition and to most historians until recently, many of the early Scottish kings were buried on the island of Iona. For example, the 2004 Oxford Dictionary of National Biographypaywall entry for Kenneth I or Kenneth Macalpine (d. 858) by Marjorie Anderson sta... | common-pile/stackexchange_filtered |
Accessing binned data in another dataframe?
I have a two dataframes, generally structured as below:
The binned values in df2 correspond to the same variable as "A" in df1, but is based on a larger dataset, and provides values for a different variable, "C." I would like to adjust the values in "B" based on the correct ... | common-pile/stackexchange_filtered |
Xul tree, editable attribute
I have a xul tree already created and I'd like to make it no editable.
For that, via javascript, I put:
document.getElementById("myTree").setAttribute("editable", "false");
But it doesn't have any effects.
I'd like the tree doesn't accept drag and drop, context menu, and keyboard shortcuts... | common-pile/stackexchange_filtered |
Calculating EV of poker move
This book, "The Mathematics of Poker," doesn't make sense here.
"It's the flop of a $30$-$60$ holdem game. Player A holds
$A\diamondsuit K\diamondsuit$, and player B holds
$7\clubsuit$$8\clubsuit$. The flop is $A\clubsuit
K\spadesuit4\clubsuit$. There is just $195$ in the pot, and AK bet... | common-pile/stackexchange_filtered |
When a Case is set to Closed we would like all un-Completed Activities on the Case to have their Status changed (eg to Cancelled
anyone have a working model of this. we thought about drupal/civi rules but may just add in an extension.
seems to us that it could be quite a generic solution, after all, when a Case is Clo... | common-pile/stackexchange_filtered |
Is my jsch connection pool being used thread safely in Spring controller?
I'm trying to implement a connection pool using https://commons.apache.org/proper/commons-pool/ with JSch and use it in a Spring rest controller. I coded based on this stackoverflow answer: https://stackoverflow.com/a/53101465/5617549
I'm trying ... | common-pile/stackexchange_filtered |
How do I correctly store an (Objective-C) SKProduct* in a C++ std::map?
I have a std::map<std::string, SKProduct*> which I populate like this:
// Assume s_map is always accessed in a thread safe way
static auto s_map = std::map<std::string, SKProduct*>{};
-(void)productsRequest:(SKProductsRequest *)request didRece... | common-pile/stackexchange_filtered |
SSRS Reports : 'ConsumeContainerWhiteSpace' property can't find in Visual Studio 2010
I can't find the report property 'ConsumeContainerSpace' in Visual Studio 2010.
Do you have a solution ?
Thank you
I've found the solution. Actually, I didn't click in the right zone. There must be doing a left click not on the repor... | common-pile/stackexchange_filtered |
Nemo Custom Action (.sh script) does not execute
I created a .sh script for simple OCR-ing of screenshots that I make with Shutter.
The script looks like this (ocrFile.sh):
#!/bin/bash
convert $1 /tmp/output.pnm
cat /tmp/output.pnm | pamstretch 4 > /tmp/stretched.pnm
convert /tmp/stretched.pnm -colorspace gray /tmp/ou... | common-pile/stackexchange_filtered |
AFNetworking PostPath php Parameters are null
I am trying to send a username and password from an iOS app using AFNetworking framework to a php script. The iOS app continues to receive status code 401 which I defined to be "not enough parameters". I have tried returning the "username" from the php script to the iOS app... | common-pile/stackexchange_filtered |
error occurs at second run
Im developing a little navigation based application. Part of the programe, It passes CGpoint value to its superclass. There is no problem on the first attempt but error always occurs when re run the same process right after first execution. Is this because about memory management? I just dont... | common-pile/stackexchange_filtered |
X509_STORE_CTX_init calls free on X509_STORE_CTX?
I ran into an issue of a segfault when calling X509_STORE_CTX_init. gdb showed it was calling X509_STORE_CTX_free on the 1st arg X509_STORE_CTX. This link https://linux.die.net/man/3/x509_store_ctx_init says it's not a good idea to do this
X509_STORE_CTX ctx;
X509_STORE... | common-pile/stackexchange_filtered |
FactoryBot and Devise Users can't login during tests with ajax form
I did an override of the default devise/sessions/new.html.erb to make use of AJAX requests with the remote: true option:
<%= form_for(resource, as: resource_name, url: session_path(resource_name), remote: true, disable_with: '...') do |f| %>
<div cla... | common-pile/stackexchange_filtered |
Excel function to sort two columns into one
I have two txt files. First one has data like so.
A
B
C
D
E
the second one has data like so.
A1
A2
+++
B1
B2
B3
+++
C1
C2
C3
C4
+++
+++
E1
E2
E3
E4
E5
E6
I want them sorted like so.
A,A1
A,A2
B,B1
B,B2
B,B3
...
...
...
D,
E,E1
E,E2
E,E3
E,E4
E,E5
E,E6
Notice that column D... | common-pile/stackexchange_filtered |
calilng echo through execv() prints extra character
I wrote a small program to test my knowledge of fork / exec / wait, but the program is behaving very strangely. Here is the program:
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
int main() {
pid_t child = fork();
if(child != 0) {
printf("th... | common-pile/stackexchange_filtered |
Error reading from a file
Here is my code.
myDir is created without any problem with permissions 755.
I could opendir without any problem.
Its readdir that is returning NULL?
if(myvalue){
Sint32 rtn=0;
DIR *mydir;
rtn = mkdir("myDir", _S_IREAD|_S_IWRITE|_S_IEXEC);
if... | common-pile/stackexchange_filtered |
Why JDK7 not allow method local Inner Class to access its own method's local variables
class MyOuter2{
private String x;
void doStuff(){
int mloc= 100;
x ="Outer class variable";
class MyInner{
public void seeOuter(){
System.out.println("Access both: " + x+" and " + mloc);
Sy... | common-pile/stackexchange_filtered |
Speeding up reading JPEG2000 images using Python
I am trying to read JPEG2000 images which are roughly 86kB (size = (4096,21504)) using Python. I used skimage and pillow modules to read them. The time it takes to read either of these files is ~1s.
Here are snippets on how I read the images.
SKIMAGE
im = io.imread(fil... | common-pile/stackexchange_filtered |
Force Contributors to add Tags via edit-tags.php
I need to be able to stop contributors to the website from adding new Tags when they create or edit a Post in WP.
The reason is that I need them to enter an additional field at the same time which I can achieve via ACF in the edit-tags.php page.
However, no matter what I... | common-pile/stackexchange_filtered |
Designing a printed form - How to handle boxes for characters?
I am designing a printed form that will be printed on paper, where the user can only put a certain number of characters per an answer. The form is printed off and given to the end user.
Example:
What is your Post Code?
[ ][ ][ ] [ ][ ][ ]
The user's a... | common-pile/stackexchange_filtered |
What is the difference between a solar eclipse seen from Earth, the Moon, and from 1 one of Jupiter's Galilean moons (ex. Io)?
A solar eclipse viewed from Earth reveals the sun's corona and you can only see the brightest stars from Earth.
However a solar eclipse viewed from the moon would show the red ring around Eart... | common-pile/stackexchange_filtered |
Client server communication using ruby
Am new to ruby
i want to run a ruby script in ubuntu machine.
Inside the ruby script i need to call an exe file from windows machine(C:\data\file.exe)...
How can i achieve the client server communication for this purpose?
or any other methods used for calling an exe file
Pleas es... | common-pile/stackexchange_filtered |
How to execute a function inside if without being repetitive if the condition is not met?
This is code for relay mutation, I have to do this reload so the store will be in sync with the database because for some reason if the text is same as the previously added text relay store throws an error flattenChildren...
_ha... | common-pile/stackexchange_filtered |
Equals values with the last limited row
I use a limit query to get a list of the top 5 directors counting also the total of their works e.g.
a 137
b 120
c 90
d 76
e 52
It really works but what about if with the last row there are also some names with equal works. And it usally happens...
f 52
g 52
h 52...
the query i... | common-pile/stackexchange_filtered |
Unidirectional relationship in databases
Reading a book about UML, it mentiond that DB does not support unidirectional relationships. Is that correct? I thought there were ways how to achieve that but my knowledge of DBs is very limited.
I just wonder if that could be a book by Scott Ambler by any chance? Anyway, it i... | common-pile/stackexchange_filtered |
Bootstrap-Select z-index Issue with Accordion
I have implemented Bootstrap-Select Dropdown with accordion. Below is the code:
HTML:
<div class="row">
<div class="col-lg-12">
<div id="accordionGESearch" class="ui-accordion ui-widget ui-helper-reset" role="tablist">
<h3 class="ui-accordion-header ui-state-def... | common-pile/stackexchange_filtered |
How to fill Matplotlib Rectangle patch with .png image
I would like to add a patches.Rectangle() element with a .png image fill. Any help would be much appreciated.
Current attempt to simply overlay an image over the rectangle of the same size:
import numpy as np
import matplotlib.hatch
import matplotlib.pyplot as plt
... | common-pile/stackexchange_filtered |
Enter Australia on an expired passport
I am a dual Australian/British citizen. I have let my Australian passport expire, however due to a change in circumstances in the UK I am looking to return to Australia permanently within the next couple of weeks.
Will I be able to:
board a flight out of the UK on a one-way ticke... | common-pile/stackexchange_filtered |
Using the Stopwatch to mesaure abstract method run time
I would like to create an abstract class with an abstract method which can measure how long it takes to run.
public abstract class Monitor
{
protected Stopwatch Timer = Stopwatch.StartNew();
public abstract void Run();
}
public class Concrete : Monitor... | common-pile/stackexchange_filtered |
Can I use the ! operator on a property?
Is it possible to use the !(not, or bang) operator on a property? The reason I would want to do this is because I might find a property that does the exact opposite of what I want it to do. Here is an example of what I have in mind.
GKMatchRequest *request = [[GKMatchRequest allo... | common-pile/stackexchange_filtered |
How to read HttpResponseMessage in IOS from web API?
We have asp.net Web API developed. In Web API controllers there are the Filters which generating HttpResponseMessage as response. These API's are consuming by IOS device application. All actions in API are returning HttpResponseMessage. If Filter executes without any... | common-pile/stackexchange_filtered |
How do I know which peer is the primary peer and which peer is the secondary peer in a realm?
RFC6733 say that "At a minimum, a Diameter node
SHOULD have an established connection with two peers per realm, known
as the primary and secondary peers.the mechanisms (manual configuration and DNS)are used to discovery ... | common-pile/stackexchange_filtered |
SQLite query that converts Unix epoch date/time and works with DST in C#
I am querying and retrieving data from an SQLite3 database in C# which stores its date/times in Unix epoch time
Some are stored as the number of seconds since 01/01/1970
And some are stored as the number of seconds since 01/01/2001
This is all fin... | common-pile/stackexchange_filtered |
QGIS: Error loading NetCDF files
Background:
At 3.14.16, using the 64-bit network installer, under Windows 10, I am unable to load any NetCDF files.
For example, this instructional blog post:
https://opengislab.com/blog/2020/10/10/wind-vector-mapping-and-animation-in-qgis
has a link to its sample netCDF data
I have uns... | common-pile/stackexchange_filtered |
How to generate random number as an id / primary key of an object in Django
How do you generate a unique, random number to set as the primary key of an object in django?
EDIT - The random number doesn't have to be the primary key, but it needs to be unique for each object such that I can reference/get/call the object b... | common-pile/stackexchange_filtered |
SearchDisplayController in a TableViewController
Is possible to lock/fix the position of the searchbar of the SearchDisplayController at the top of the tableview even when the table view scroll? For example "contacts" in IOS.
Thanks.
Don't Put the searchDisplayController on the table view instead put it before table v... | common-pile/stackexchange_filtered |
iOS: NavigationController: BarBackButtonItem influence width
How can I influence the width of a BarBackButtonItem. The title of my former UIViewController is very long and I expected iOS to shorten it a bit with '...' truncation in the middle but this is not the case. How can I implement that?
It sounds like you need ... | common-pile/stackexchange_filtered |
How to tackle sugar addiction
My toddlers like to have ice-cream, candy, sweet, and high sugar cookies. I just worried it could lead to sugar addiction. What are persuasive techniques to reduce sugar intake?
They are toddlers. Stop giving them sugar. You are the parent and make the decisions.
for toddlers this is e... | common-pile/stackexchange_filtered |
Return Authors by latest published book + Authors with no published books
I have two tables :
•Table 1: Books
•Table 2: Authors
I have the following query:(This query returns all authors with book title and date published)
SELECT Authors.AuthorName, Books.BookTitle, Books.DatePublished, Books.Author
FROM Authors LEFT ... | common-pile/stackexchange_filtered |
Invalid value encountered in greater - numpy array logic
The question "Why do I get an invalid value ..." has been discussed a few times already. Here is another variant which I don't quite understand yet - this is why I am opening this thread:
(1) in
y = np.nan
(~np.isnan(y)) & (y > 5.)
I get the correct result and ... | common-pile/stackexchange_filtered |
Escape a text for javascript from resource bundle
I'm setting a javascript variable to a text from a resource bundle:
var errorMessage = '<s:text name='base.error'/>';
This works correctly as far as the text in the resource bundle doesn't contain a quote (') character.
Do you know how can I encode the text for javas... | common-pile/stackexchange_filtered |
How to simulate a network loss issue while Testing?
I am working on mobile applications.
As we know every user shall have experienced network loss issues due to various reasons while using an app. Now my requirement is that how shall I guarantee an app that I have tested survive a network loss. In other words how shall... | common-pile/stackexchange_filtered |
Deleting a row using LINQ query - model mapped is not a column in table - MySqlException: Unknown column
I'm trying to delete a record from table "blog" with blogId, but I'm receiving the below error when clicking the delete button in the view
MySqlException: Unknown column 'b.lastName' in 'field list'
From my understa... | common-pile/stackexchange_filtered |
Converting RGB value into an integer pixel - Odd values occurring?
Before you say this is a duplicate question, hear me out. I've looked at the other questions, and I'm using (presumably) the correct method for getting the RGB values and storing it as an integer pixel.
My code:
// load pixels into an image
Buffered... | common-pile/stackexchange_filtered |
EF Data Migrations does not work after close project
i'm using entity framework data migrations. if i change something about entites or something else, i try to use "add-migration MyFirstMigration" on Package Manager Console. But it returns an exception :
The term 'add-migration' is not recognized as the name of a cmdl... | common-pile/stackexchange_filtered |
How to model a ManyToOne and ManyToMany relationship on the same table in Hibernate?
I would like to create the following relationship between the tables
Tables -
Owner - Owner table contains details about owner.
DietPlans - DietPlans table contains all diet plans that can be created by the owner. A owner can create n... | common-pile/stackexchange_filtered |
Asking about ML recursive function
I have been doing with ml function and got some annoying things.
I will explain it with simple code.
For example if there is a list(int*int) and I want to examine that there are some tuples that contains 3 for the first element.
L = [(1,2),(2,3),(3,5),(3,4)]
so in this list, I want ... | common-pile/stackexchange_filtered |
Ant script javac command converted to a groovy script AntBuilder.javac
Hi im new in the jenkins/ant/groovy world and google couldnt help me to solve my problem.
My task is to get rid of ant scripts in the build process (with jenkins) and include them into the jenkins job (Execute system Groovy script).
The bold section... | common-pile/stackexchange_filtered |
Cannot draw rect on QPixmap with QPainter
I have a problem with drawing a rect on QPixmap, which I loaded from file. And I also want to use this pixmap as a icon in listView.
Code:
QPixmap pixmap(100, 100);//(temp);// = QPixmap(temp);
pixmap.load(temp);
QPainter* painter = new QPainter(&pixmap);
painter->setPen(QPen... | common-pile/stackexchange_filtered |
Fullpage.js - Horizontal Scrolling
I'm trying to make a webpage that scrolls horizontally using fullpage.js.
I have the divs set-up and it works perfectly when I click the dot menu or use my keyboard to control it. Now I need it to work with scrolling.
So When I scroll down, I want to go to my 2nd div anchor point (jus... | common-pile/stackexchange_filtered |
Common Paypal Button to accept payments
I have e-book selling website where I used a paypal button to accept the payment. The button is created from paypal website and its code snippet is added in the form to show the button(not via api). When I set the currency of the button to USD then indian paypal users are not abl... | common-pile/stackexchange_filtered |
Need batteries for backpack operation
I am building an HF backpack rig using an Icom IC-706MkIIG with a Opek HVT-400B antenna. The specifications on the radio say 20 A draw at high power, so what size and type batteries would be suitable for a backpack operation?
Welcome to ham.stackexchange.com!
What voltage, how lo... | common-pile/stackexchange_filtered |
How to make absolute redirect in Drupal?
From my custom module in Drupal 7 I want to make the redirect.
So, inside a function, I have:
$my_calculated_path = $base_url . '/dashboard/test/deliveries;
drupal_goto($my_calculated_path);
If I print the variable $my_calculated_path I have the full url:
www.mydomain.com/dashb... | common-pile/stackexchange_filtered |
Enabling SSL in checkout page, Unable to proceed to next step after billing
In magento, If I didnt enable the SSL, the site and checkout process works fine. If I enable the secure url, then when we enters to checkout page, after entering the billing information; If I click on continue, then it didnt proceed to next ste... | common-pile/stackexchange_filtered |
Wrangling Asynchronous chrome.history calls
In my Chrome extension, I have an array of URLs, and I want to find the first unvisited one. Because the chrome.history API is asynchronous, my first instinct would be to do some kind of grotesque recursive iteration, like this...
urls = [...];
function recur(idx) {
chrom... | common-pile/stackexchange_filtered |
A sphere teleports a boy to another world where mutants are trying to steal it
This movie is I think mid 80's or 90's.
A boy finds a sphere, which is some kind of teleporter to another world. There is an old man with funky clothing who I think has some kind of antenna on his head. The old man tells the kids about muta... | common-pile/stackexchange_filtered |
Powershell gets HTML instead of PDF from PDF link
I'm attempting to use Invoke-WebRequest to download a freely-available PDF. My URL points to a PDF, and the Get request made in-browser for my PDF points to my URL. I attempted
Invoke-WebRequest -uri "https://onlinelibrary.wiley.com/doi/pdf/10.1111/gec3.12537" -outfile ... | common-pile/stackexchange_filtered |
embed raster images in dwg file
I'm trying embedding raster images programmatically in dwg files by copying the images then pasting them as the manual way to do it. the problem here is that the quality is so bad because I'm copying the image directedly not by editing it in Paint them copy it from there. So what I need ... | common-pile/stackexchange_filtered |
Add an autogenerated id to h1/h2/h3's elements in questions and answers?
I'm trying link to the second part of this answer.
Is there any way to link to that specific h3 "If you're having problems with vips on heroku.."?
I tried looking for an id on that element:
If it's not possible to link to a section of a question ... | common-pile/stackexchange_filtered |
Help! My Uniform has Sha'atnez!
Note: this question is not lema'aseh. If it applies to you, please consult a competent halachic authority.
Suppose someone is part of a uniformed service. They are issued a uniform which, when checked, contains sha'atnez. They request a replacement and find that that too contains sha'atn... | common-pile/stackexchange_filtered |
Nginx + PHP-FPM Too Many Resources
My Server has the following Specs
CPU: 6 Cores Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
RAM: 32 GB
I have a problem with nginx+php-fpm. They are taking too many resources for an unknown reason. Even if i restart the nginx + php-fpm the start up processes will use many resources.
My ... | common-pile/stackexchange_filtered |
Error: Backbone is not defined
I am trying to run a very simple an basic sample of a backbone model that is found on a tutorial for learning the library.
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.string/2.3.3/un... | common-pile/stackexchange_filtered |
Twig tag or function inside PHP String
Is there any way to use something like this?
$foo = "{{ object|filter }}";
Because I'm trying to write a dynamic image converter that needs to output something like the example, but when in my twig I use {{ foo }}, it just outputs a raw string {{ object|filter }} instead of execut... | common-pile/stackexchange_filtered |
How to get email (default IM) of a google talk chat client instead of public IM
Currently I'm developing a XMPP Google talk chat application. The app is working fine and by analyzing incoming packets(messages) from a specific chat client, I get the username(email) of the sender as<EMAIL_ADDRESS>In my case I want to get... | common-pile/stackexchange_filtered |
r shiny - upload all files from shinyDirChoose folder to server
I saved the path of a user-defined folder with shinyDirChoose. Now I want to upload files from that user's folder, but I cannot figure out how to do it.
1) All on the server end?
2) Feeding the file paths to fileInput somehow?
This is how I construct the ... | common-pile/stackexchange_filtered |
Preventing UIPopoverController from covering ADBannerView
I have PhotoViewController that contains OverlayView and ADBannerView. OverlayView has some buttons which display UIPopoverControllers. Sometimes this popovers display over ADBannerView and I get a warning:
WARNING A banner view (0x193930) has an ad but may be... | common-pile/stackexchange_filtered |
Add elements to the DOM then remove them after n seconds?
I want to create animation effect on click. I need to append element and remove it in 3 sec on every click. Not one element, if users clicks 100 times in 3 seconds, I should append 100 elements and remove it.
click() {
// create element
// append element to ... | common-pile/stackexchange_filtered |
Showing $\lim_{x\to 0} \frac{x - 1}{\sqrt{x} - 1} = 1$
I'd like to use the sequential definition of a limit to show $\lim_{x\to 0} \frac{x - 1}{\sqrt{x} - 1} = 1$.
Here's the definition I'm using:
Given a function $f : D \rightarrow \mathbb{R}$ and a limit point $x_{0}$ of its domain $D$, for a number $\ell$, we write... | common-pile/stackexchange_filtered |
Breadth-first tree traversal using STL list
I am writing code for breadth-first search of a tree with C++'s STL. Please help as I am new to the STL.
#include<iostream>
#include<malloc.h> //on llvm we don't need this
#include<list>
using namespace std;
typedef struct Node{
int val;
struct Node* left;
struct... | common-pile/stackexchange_filtered |
How to scroll to the place where I've just typed the command in Linux terminal
In the terminal sometimes I typed some command that produces a long output. After it finishes I want to scroll to the beginning of the output text to read it but that's very hard to find. I colored the prompt string but many people don't and... | common-pile/stackexchange_filtered |
in jsp,how to bypass the URL using http proxy
In my jsp page(say sample.jsp), it has some links like Google.com.if i click Google.com link, it should connect to another web server via http proxy.How to implement this.
It's not very clear what you are trying to achieve. You cannot control the proxy sever configuration ... | common-pile/stackexchange_filtered |
How to nest inline template components?
I have an <overview> component, holding all of my contacts in a prop.
Within the overview, I iterate through the contacts and display table rows accordingly.
However, within every table row, I would like to use a dedicated <contact> component for specific methods.
I want to use t... | common-pile/stackexchange_filtered |
How can I parse plain text log following ECS (elastic common schema) with logstash?
I am using rsyslog to send plain text log to logstash. But I cannot assign data to host.name or host.ip fields by grok. The system through following error:
Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id... | common-pile/stackexchange_filtered |
Change default line color?
The default line color in Visio is blue. How can I change that default?
We have found that you can change each line as you draw but that is a hassle.
I have tried changing the color in the styles menu but it will only hold for one line then flips back to the default.
possible duplicate... | common-pile/stackexchange_filtered |
MSBuild on Visual Studio Command Line
I am trying to call msbuild on a .sln with a post build build-event
something like:
xcopy "$(TargetDir)$(TargetName)*" "C:\TEST\" /Y.
Can I do that in just one line??? Basically I want to have something like:
msbuild Solution.sln xcopy "$(TargetDir)$(TargetName)" "C:\TEST\"
... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.