text stringlengths 175 47.7k | meta dict |
|---|---|
Q:
How to avoid Chrome bug with zero height nested flexbox?
I've run into a weird situation with flexbox where I'd like to have a nested flex container with a different flex-direction, but for some reason that container takes up 0 height, causing elements to overlap.
https://jsfiddle.net/4co25fau/
Snippet:
body, htm... | {
"pile_set_name": "StackExchange"
} |
Q:
How to give greater than or equal to in Search API
/sites/my/_api/search/query?querytext=%27(ContentTypeId:0x01489534544341EDD* AND ListId:C694N7-C900-48BE-V1E3-5094087615F2 AND FYOWSNMBR>=2000) %27&rowlimit=30&TrimDuplicates=true&selectproperties=%27ListItemID,Title,FYOWSNMBR%27
The above url is the one i use fo... | {
"pile_set_name": "StackExchange"
} |
Q:
Integration with Limits
Find $$\displaystyle \lim_{n \to \infty} \int^{1}_{0}(x^{n}+(1-x)^{n})^{\frac{1}{n}}dx$$
Now, the solution was hinted like this:
using the property $$f(x)=f(2a-x)$$ the limit becomes half
$$2 \displaystyle \int^{\frac{1}{2}}_{0} (x^{n}+(1-x)^{n})^{\frac{1}{n}} dx$$.....$$(1)$$
plz see caref... | {
"pile_set_name": "StackExchange"
} |
Q:
Angular : how to call finally() with RXJS 6
I was using RXJS 5, now as I upgraded it to 6, I am facing some problems.
Previously I was able to use catch and finally but as per update catch is replaced with catchError (with in the pipe) now how to use finally?
Also I have some questions :
Do I need to change throw-... | {
"pile_set_name": "StackExchange"
} |
Q:
Why is linux boot sequence in sh and not in c
I have an embedded device which runs linux.
I'm trying to speed up the boot sequence. Would rewriting large parts of the boot sequence in C speed up a lot?
for example I have a lot of scripts which test for this or that, then mount this or that. This is /etc/rcS.d/S03s... | {
"pile_set_name": "StackExchange"
} |
Q:
How can I use JavaScript code in Angular 7?
I'm trying to make a collapsible navbar with the help of MaterializeCSS when used on mobile screen and need to use JavaScript code in it.
Where should I write this JavaScript code?
This is the code I want to use:
**$(document).ready(function(){
$('.sidenav').sidenav(... | {
"pile_set_name": "StackExchange"
} |
Q:
Can I change the default `login_required value for all pages in Django-CMS?
I've been tasked with creating a Django-CMS web application that should only be available to logged-in users. After some struggling I've settled to just check "Login Required" on Permissions for all pages, but it is bothersome to do this b... | {
"pile_set_name": "StackExchange"
} |
Q:
Prevent website being accessed NOT via the intended domain name
I have an nginx server on Debian with multiple domains. They all live in the html folder. Then the A records are pointed to my server and you can access the files in /var/www/html/mywebsite.biz by going to https://mywebsite.biz. I also assign them TLS... | {
"pile_set_name": "StackExchange"
} |
Q:
DateTime format with REST and json
I'm having a huge problem trying to figure out a json response from a REST endpoint I'm getting information from.
The date that is coming back looks like this 1319068800000
if I attempt to convert this value like so:
DateTime currentServerTime = DateTime.FromFileTimeUtc(131906880... | {
"pile_set_name": "StackExchange"
} |
Q:
Join and showing different columns from tables
I have a simple SQL question, I thought it would be quite straight forward but have got myself in a muddle. Any help would be appreciated
I have table A which contains a last updated
Table A has a one to many with Table B
Table B has a one to many with Table C
I want ... | {
"pile_set_name": "StackExchange"
} |
Q:
Adjust Kendo DatePicker Value after other DatePicker
I have two Kendo DatePickers to select the start date and the end date. When the page is loaded they both show today's date. When the start date is selected I wrote a script that is limiting the user to chose a date that is after the start date. However would li... | {
"pile_set_name": "StackExchange"
} |
Q:
Cannot attach Events in module init()-method
I read about some of the best practices for ZF2. There, it was explained to attach the events from MVC in the init()-Method of the module's Module class:
class Module {
public function getAutoloaderConfig() {
return array(
'Zend\Loader\ClassMapAutoload... | {
"pile_set_name": "StackExchange"
} |
Q:
Where can I level Puppetmaster from 75 to 80 solo?
What are some good camp sites in Final Fantasy XI where I can solo past level 75 on my Puppetmaster? Preferably ones that don't require a Scholar support job, since I haven't leveled that job yet.
A:
Campaign!
Seriously though, why level solo anymore? Have you t... | {
"pile_set_name": "StackExchange"
} |
Q:
Strike out the text for the options instead of disabling them - select2 v4
I'm trying to show the strikeout text for the options instead of disabling them so there should be a possibility to select them again.
I tried adding css like below:
$(this).css('text-decoration','line-through');
$(this).css('background',... | {
"pile_set_name": "StackExchange"
} |
Q:
Updating year in datetime variable
I'm playing around with manipulating a datetime variable. I can't seem to find a way to update a datetime variable year to the current year.
For example I have
2007-12-01 00:00:00.000
But I would like that to be
2012-12-01 00:00:00.000 (The current year were in)
I've been ... | {
"pile_set_name": "StackExchange"
} |
Q:
Fade Out and Fade the whole screen having tabbar controller
I am having tabbarController in my app, which is consistent over the app, and i have respective viewcontroller attached to the tabbarItem, so on one of the viewcontroller1 i am having a ClickMeButton on its click i am presenting viewController2, before pr... | {
"pile_set_name": "StackExchange"
} |
Q:
Why did Crouch have Krum torture Cedric instead of just stun him?
In the Harry Potter and the Goblet of Fire, Barty Crouch Jr. as Moody tries to get Harry to the cup first by taking out the other champions. He says that he stunned Fleur and then had Krum take out Diggory. This seems illogical, though, because Harr... | {
"pile_set_name": "StackExchange"
} |
Q:
can we use media queries and JQM together?
I am trying to build a mobile website. should I use media queries and Jquery Mobile together in this project or is it redundant to use both together. Also sites built using JQM looks horrible in Desktop screens so does that mean that I have to make two separate HTML files... | {
"pile_set_name": "StackExchange"
} |
Q:
Converting DFA to RE
I am using JFLAP to convert a DFA to RE for the language
"Even a and Odd b"
This last step is not clear to me as shown in figure how it get this final RE
final RE
((ab(bb)*ba+aa)*(ab(bb)*a+b)(a(bb)*a)*(a(bb)*ba+b))*(ab(bb)*ba+aa)*(ab(bb)*a+b)(a(bb)*a)*
My confusion is at the term a(bb)*ba+b... | {
"pile_set_name": "StackExchange"
} |
Q:
Product Recommendation based on purchase history
I am dealing with problem where i have to increase the sales by product recommendation.I only have customer data and product that they have purchased.No ratings,reviews or feedback is present.What approach fit best for my problem.
A:
Even if you don't have ratings... | {
"pile_set_name": "StackExchange"
} |
Q:
AppDomain unhandled exceptions
There are plenty of topics covering the question. But nevertheless I have a problem.
I load the assembly into new AppDomain like this:
public void Run()
{
//There's the problem.
//As Panos Rontogiannis mentioned the thread is created in default AppDomain
new Thread(RunApp... | {
"pile_set_name": "StackExchange"
} |
Q:
History of interpretation of Newton's first law
Nowadays it seems to be popular among physics educators to present Newton's first law as a definition of inertial frames and/or a statement that such frames exist. This is clearly a modern overlay. Here is Newton's original statement of the law (Motte's translation):... | {
"pile_set_name": "StackExchange"
} |
Q:
Numbering of persons
It is conventional to number the three persons of Latin and Greek and many other languages so that the first person is the speaker, the second one is the listener, and the third one is anyone else.
Did the ancient grammarians already have this numbering?
If yes, was it an explicit numbering (f... | {
"pile_set_name": "StackExchange"
} |
Q:
Including a PHP file in Drupal via BLOCKS, or REGION
Hi I am newbie in Drupal, I have problem about theming.
I have a PHP file ads.php that contains random advertisements now just wondering what is the perfect way to include that ads.php
Can I just use the PHP include command
include('ads.php');
or import it a... | {
"pile_set_name": "StackExchange"
} |
Q:
iMovie - freeing up space
I'd like to free up some iMovie space but not sure how to do it.
Here are a few files I have associated with iMovie:
389MB: /Users/snowcrash/Movies/iMovie Events.localized/Pads/IMG_0760.mov
and
1.81GB: /Users/snowcrash/Movies/iMovie Library.imovielibrary
Is there anything I can to do s... | {
"pile_set_name": "StackExchange"
} |
Q:
CORS: How to solve security Issue with Safari and Firefox while using AWS S3 and canvas.toDataUrl?
I am using Meteor with React, react-image-crop, which I pass an Image src hosted by S3 and Cloudfront, deployed on Heroku. To achieve canvas.toBlob() functionality on Safari and Firefox I added Javascript-Canvas-To-B... | {
"pile_set_name": "StackExchange"
} |
Q:
Stability of a dimer on a square grid after $n$ random steps
On a white square grid there are two black cells. Each step consists of each of the cells 'moving' in one of the four directions with equal probability $p_0=1/4$ (a cell can't stay in the same place).
Let's say we start with a dimer (two cells sharing t... | {
"pile_set_name": "StackExchange"
} |
Q:
CounterStrike: GO - Xbox 360 controller not moving
I enabled the controller in the settings but I am unable to move in-game using the control sticks. This controller works with most other games that have controller support on steam.
A:
Against my better judgement I'm going to answer this and hope that one day yo... | {
"pile_set_name": "StackExchange"
} |
Q:
Android fragment Application not working on mobile devices
My android application not working on mobile devices it just working on Samsung mobiles whole application running on samsung devices but not on other phone please help me out here is my code.
@Override
protected void onCreate(Bundle savedInstanceState) {
... | {
"pile_set_name": "StackExchange"
} |
Q:
Org-mode `org-move-subtree-down` function strange behavior
The function org-move-subtree-down exhibits an unwanted behavior IMO: when moving the subtree it considers the whitespace above the subtree that will be moved as "part" of it. I think it's better explained visually:
When we try to move down this subtree, ... | {
"pile_set_name": "StackExchange"
} |
Q:
Css transition not applying in child elements
I'm currently facing the following problem.
I have a <section> element that has some <div> as children.
The height of the <section> is set as a percentage of the parent div, and the <div>'s height is also set as a percentage of the <section>.
I'm using Jquery to add a ... | {
"pile_set_name": "StackExchange"
} |
Q:
Sequelize queries with node.js
I am trying to determine a better way for my query. I have two tables, one is for recipes, and another is for reviews. Currently, I have two separate queries to find the recipe, and then find the reviews associated with the recipe. Is there a better way I could be doing this?
Reci... | {
"pile_set_name": "StackExchange"
} |
Q:
how to writhe a Php inside HTML with substr
I write this bellow code
<div class="description"><?php echo substr($data['description'],strpos($data['description'],$info['title']),100); ?></div>
when I change method to this bellow code I get an error!!
<?php echo'<div class="description">'.substr('.$data['descripti... | {
"pile_set_name": "StackExchange"
} |
Q:
The css BEM concept
I am trying to get around the Block-Element-Modifier concept of the CSS and I am a bit confused. Here is a sample code
<div class="block">
<div class="block-header">
<h3>Block Title</h3>
</div>
<div class="block-content">
<p>Lorem Ipsum</p>
</div>
<div class=... | {
"pile_set_name": "StackExchange"
} |
Q:
"M-" bindings in vim on iTerm2/Terminal don't work
I noticed that iTerm2 offers the very convenient feature of using "Option key as +ESC" (or as meta, but apparently that's obsolete).
I tried them both and the option key works as expected in Bash (set -o emacs mode) and Emacs, but not in Vim. Thus, I can't make u... | {
"pile_set_name": "StackExchange"
} |
Q:
My python script suddenly stops
My python script suddenly stops when it executes a certain piece of code and before that it was working fine but now it like crashes when it executes it
Here is my code:
import random; from time import sleep
while True:
if 'playerName' in locals() or 'playerName' in globals():
... | {
"pile_set_name": "StackExchange"
} |
Q:
Design decision: (VB.NET) Should I create a class or module to easily connect to one of many databases?
Basically, we have three databases to grab data from. One is a SQL Server database, one is an Access database (which is particularly annoying to connect to because we have to map a network drive and such), and t... | {
"pile_set_name": "StackExchange"
} |
Q:
Reasons for rejecting iPhone application by Apple store
Can anybody help me out to know the possible reasons for which Apple store can reject or raise objection to submit any iPhone application.
A:
Here are possible reasons (unofficial, from here):
Vibration. It is not permitted to use continuous vibration in ... | {
"pile_set_name": "StackExchange"
} |
Q:
replace properties in a properties file by using GNU tools
is there an easy way to accomplish ant expandproperties functionality in Makefiles?, an example follows:
Given the three files:
File main.properties
principal.name=John
File 1.properties
name=${principal.name}
File 2.xml
<properties name="${principal.nam... | {
"pile_set_name": "StackExchange"
} |
Q:
How to find distance between 2 elements in html using beautifulsoup
The goal is to find the distance between 2 tags, e.g. the first external a href attribute and the title tag, using BeautifulSoup.
html = '<title>stackoverflow</title><a href="https://stackoverflow.com">test</a>'
soup = BeautifulSoup(html)
ext_link... | {
"pile_set_name": "StackExchange"
} |
Q:
Why move my $http calls into a service?
Currently I have calls like this all over my three controllers:
$scope.getCurrentUser = function () {
$http.post("/Account/CurrentUser", {}, postOptions)
.then(function(data) {
var result = angular.fromJson(data.data);
if (result !... | {
"pile_set_name": "StackExchange"
} |
Q:
商用と非商用でライセンスを分けることは可能か
非商用の場合はMIT、商用の場合は有料ライセンスにすることは可能でしょうか?
また、Githubで開発を行なっているのですが、LICENCEファイルは作成せずに、
README.mdや公式サイト等にライセンスについて記述すればいいのでしょうか?
A:
利用者に2つのライセンスのどちらかを選ばせることは一般的に行われていて、デュアルライセンスと呼ばれています。ですがMITライセンスは負わせる責務が著作権表示のみですので、商用利用を禁じることはできません。
MITではなくより強いライセンス、例えばソースコードを開示する義務が発生するGPLやAGPLをオープンソース側に採用すれば... | {
"pile_set_name": "StackExchange"
} |
Q:
How to get Category name by id post in wordpress
I want to make an api in wordpress, then I have a create a code like this :
case 'product_onsale':
$response = array();
$args = array(
'post_type' => 'product',
'posts_per_page' => 30,
'meta_query' => array(
'relation' => 'OR',
array( // Simple... | {
"pile_set_name": "StackExchange"
} |
Q:
text in HTML becomes split / malformed in the DOM when elements are inserted around text and then removed (preserving the inner text, though)
So, here is normal text: just your standard paragraph.
I have javascript that will insert a span around selected text (for highlighting purposes).
The problem is that when ... | {
"pile_set_name": "StackExchange"
} |
Q:
Convert a string to number
I need help regarding the following;
I have the following script :
SETLOCAL DisableDelayedExpansion
for /f "delims=" %%a in (stores1.txt) do (
set /p stores=%%a )
stores.txt has the content like:
0010
0011
0012
etc.
The solution that I found is set /p stores=%%a
This output : 0010,00... | {
"pile_set_name": "StackExchange"
} |
Q:
Threading not working
I am trying to get this little file copy application working which shows a progress bar, but I am not understanding why this won't work, as it locks up the gui whilst updating the gauge.
import shutil
import os
import threading
import wx
class MyFrame(wx.Frame):
def __init__(self, parent... | {
"pile_set_name": "StackExchange"
} |
Q:
Syntax-error: Non keyword-arg after keyword arg - OpenErp
I got this error
Client Traceback (most recent call last):
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\http.py", line 203, in dispatch
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\we... | {
"pile_set_name": "StackExchange"
} |
Q:
Получить имена доступных сетевых папок
Есть сервер с несколькими расшаренными папками, например
\\MyServer\Directory1
\\MyServer\Directory2
...
\\MyServer\DirectoryN
как можно получить список всех этих папок если
\\MyServer
не доступна?
A:
Попробуйте через WMI:
GetObject("winmgmts:\\MyServer\root\CIMV2").Exe... | {
"pile_set_name": "StackExchange"
} |
Q:
Showing ManyToManyField in Django Admin Site
I'm going through the Mozilla's django tutorial. They're basically creating a public library. They do not really talk about ManyToMany relationships, and have set it up so that one book can only have one author.
While going through this tutorial, I decided to instead o... | {
"pile_set_name": "StackExchange"
} |
Q:
Reading, processing and counting an array setting limits
Last weekend my teacher asked me to create code to solve a problem:
Giving a dynamic array, we want to pass the array elements from a file. The first number in the file N gives us the array length. They follow N numbers, the actual elements of the array.
... | {
"pile_set_name": "StackExchange"
} |
Q:
CSS Flex Box won't align properly
I have the following html code:
body{
background-color: #ddd;
}
.container{
/*width: 100%;
height: 1100;
background-color: #666;*/
display: -webkit-flex;
display: flex;
/*flex-direction:column;
flex-wrap: column nowrap;
flex-flow:col... | {
"pile_set_name": "StackExchange"
} |
Q:
Prove that: $\lambda^{d}(s_{a}(M))=a^{d}\lambda^{d}(M)$ for any lebesgue-measurable set where $s_{a}(M)=aM$
Let $s_{a}$ be the scaling by a certain factor $a >0$, then show that $\lambda^{d}(s_{a}(M))=a^{d}\lambda^{d}(M)$ for any lebesgue-measurable set.
Define the generator of the borel$-\sigma-$algebra, namely, ... | {
"pile_set_name": "StackExchange"
} |
Q:
Using nested case statement in MySQL
I have a query like so:
UPDATE image
SET angle = CASE
WHEN id = 1000
THEN 90
ELSE
angle
END WHERE
id IN(1000)
As you might have guessed, this SQL is built dynamically so that using a single statement I can update multiple records. What I want is that instead of updat... | {
"pile_set_name": "StackExchange"
} |
Q:
How to display columns as rows in a SQL query?
I'm trying to display exam results form simple database containing two tables tblStudents and tblExamResults.
tblstudents contains student ID and Full_Name columns
In tblexamResults columns are Student_id, Subject and Marks.
as in below Picture
1- Currently I am disp... | {
"pile_set_name": "StackExchange"
} |
Q:
Google authentication accessing api through custom service?
I have a web based service (running for years) that works with google apis.
Now I would like to create an android and iphone ui (using xamarin) that uses my web services which in turn talks to google apis.
Given that I don't talk directly to google apis f... | {
"pile_set_name": "StackExchange"
} |
Q:
Singleton object using unique_ptr
I have the below CPP source code for creating a Singleton Object of a class using unique_ptr:
#include <iostream>
#include <memory>
class A
{
public:
std::unique_ptr<A> getInstance(int log);
~A();
private:
static bool instanceFlag;
static std::unique_ptr<A> sing... | {
"pile_set_name": "StackExchange"
} |
Q:
SQL select with multiple values and variable data
I have a table that contains a Job Number field (jobno). This field contains data that looks like '123456' or it could look like '345678 Acme'. Users of the website will type in a request for a job number. I have no problem searching and returning the desired da... | {
"pile_set_name": "StackExchange"
} |
Q:
I can't get re.split to work with numbers, but keep them in the string and together,
I can't get re.split to work with numbers, but keep them in the string and together
Example:
s = ['Amount A 7,791.23', 'Amount B 6,318.94']
for i in range(len(s)):
re.split('(\d)+', s)
Output should be:
['Amount A', '7,791.2... | {
"pile_set_name": "StackExchange"
} |
Q:
Supress comments in output of "gcc -E" preprocessed code
For a simple C program I did gcc -E hello.c -o hello.pp to see how the program looks after preprocessing.
In the output file I can see many lines which start with #, that look like comment. What are these lines?
How can I see only the C code, without those ... | {
"pile_set_name": "StackExchange"
} |
Q:
Blacklist domains that hotlink to files in a sub-directory - nginx
I am looking to blacklist certain websites from hotlinking to my files in a certain sub-directory. By default, I want to allow everyone but block only certain websites that hotlink without attribution. How can this be done in nginx? Is it possible ... | {
"pile_set_name": "StackExchange"
} |
Q:
Setting an environment variable from within the sbt shell
I would like to be able to set an environment variable from within the interactive sbt shell, and I can't seem to find a way to do that. (I have looked on the official sbt docs as well as on stackoverflow without success).
I want to make it clear that I don... | {
"pile_set_name": "StackExchange"
} |
Q:
"Checkbox"/option type MongoDB schema design
I am looking to implement some type of checkbox functionality for settings on an account, e.g.
option:
value1: true
value2: false
value 3: false
My first thought was to have an array key named option and then have an array of Strings from an enum, like so:
... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the geometric motivation for quotienting out boundaries in homology?
I know that being contractible is strictly stronger than being homotopically trivial, see e.g. this question. Now, trying to understand p. 100 of Hatcher's Algebraic Topology, the intuitive reason we factor out $n-$cycles which enclose $n... | {
"pile_set_name": "StackExchange"
} |
Q:
How to parse psql output with subprocess.Popen
I want to execute the command psql --username=fred myDB < //10.0.0.1/share/dump.sql.pgdump but through subprocess.Popen, so that I can parse the output. However, I get the following error when doing so:
>>> psql: warning: extra command-line argument "<" ignored
>>> ps... | {
"pile_set_name": "StackExchange"
} |
Q:
How to calculate inflection point in C# by a given function
My function always looks like this: y = beta1 / (1 + exp(beta2 + beta3 * x)). With the data it can get, it always looks like a mirror of that (it starts with high values, then decreases)
I have the values beta1, beta2 and beta3. Now I need to calculate t... | {
"pile_set_name": "StackExchange"
} |
Q:
Get notified on file changes in iCloud
I create a file with name File - 1.jpg on two different devices and put it in iCloud container.
I don't use UIDocument and even though I tried to use it, it does not create a conflict. Instead what I see is that documents are being automatically renamed and moved by iCloud. ... | {
"pile_set_name": "StackExchange"
} |
Q:
Exclude posts from widget while post is showing on home, single and categories
Im using this widget.
but im trying to figure out how to get it to not display any posts that are currently being
displayed on the home page, single post and categories.
Another user raised the same question here
Which provided the foll... | {
"pile_set_name": "StackExchange"
} |
Q:
A good way to implement useable Callbacks in C++
I have a custom Menu class written in C++. To seperate the code into easy-to-read functions I am using Callbacks.
Since I don't want to use Singletons for the Host of the Menu I provide another parameter (target) which will be given to the callback as the first para... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I scrape the data only for a specific year and month?
I'm trying to scrape the review identifier and review date in MDY format (e.g. January 6, 2018) from trip advisor website. Since there are a lot of reviews even for one hotel, I'm trying to scrape the review data within a certain period of time only. Let... | {
"pile_set_name": "StackExchange"
} |
Q:
Confusing in fork( ) system call
I have created a parent and a child process using fork( ), and both share a memory address called "ptr". But i am confused due to the one output of a program:
1) Address of ptr: 123456
NOTE: Same address for both parent and child, so expected is if one process alters this address,... | {
"pile_set_name": "StackExchange"
} |
Q:
Is there a difference between "Etc/UTC" and "UTC" in logstash?
Im parsing W3C IIS logs and I'm using what I found in this article as a starter.
But this part of his logstash config Im unsure of:
## Set the Event Timesteamp from the log
#
date {
match => [ "log_timestamp", "YYYY-MM-dd HH:mm:ss" ]
ti... | {
"pile_set_name": "StackExchange"
} |
Q:
Is atheism a requirement for a consistent existentialist philosophy?
Søren Kierkegaard is generally considered to be the "father of existentialism". This always bothered me, since to me Sartre and Camus are the defining figures of the movement, and it seems that there is no room for God in an existential worldview... | {
"pile_set_name": "StackExchange"
} |
Q:
How to find out programmatically if a domain name is registered or not
I use pywhois to determine if a domain name is registered or not. Here is my source code. (all permutations from a.net to zzz.net)
#!/usr/bin/env python
import whois #pip install python-whois
import string
import itertools
def main():
ch... | {
"pile_set_name": "StackExchange"
} |
Q:
Read first row/column of an Excel spreadsheet with Visual Basic
I need to read the data from an Excel spreadsheet like so using Visual Basic.
v|123|t
t|123|t
g|123|t
I want to read the first column of the spreadsheet and check if it is a V or not. I'm looking to build a script that will delete everything that is ... | {
"pile_set_name": "StackExchange"
} |
Q:
VBA macro to Copy a SQL error code into Excel
I am trying to write/adopt a macro in VBA to copy a SQL query into Excel.
I have it connecting and executing. When I run it manually in SQL, this is the error code in SQL:
Msg 3701, Level 11, State 5, Line 1
Cannot drop the table '#MSP_History3', because it does not ex... | {
"pile_set_name": "StackExchange"
} |
Q:
Getting JS runtime error ONLY when debugging in VS 2010
For some reason when I am trying to debug my site in VS I get the error
JavaScript runtime error: Unable to set property 'value' of undefined
or null reference
when using a date picker. I can hit continue and everything works perfectly fine. If I run the... | {
"pile_set_name": "StackExchange"
} |
Q:
Is it possible to add SSL support after a build is up and running?
I recently tried to upgrade my postgresql from 9.0 to 9.1.
I got to a point where I was able to get both builds to run concurrently (on different ports).
Then I tried copying some settings from the old config file into the new one, and one of the s... | {
"pile_set_name": "StackExchange"
} |
Q:
How to get particular notification count number
I have three categories of UILocalNotification - every Sunday, Monday and Saturday Notifications.
How to get the particular notification i.e Monday triggered count number.
I have a notification UILocalNotification (not remote or push notification).
How do I get coun... | {
"pile_set_name": "StackExchange"
} |
Q:
Use of dollar sign in data frames with missing end of the name
Maybe this is not the place to ask this. I recently run into a weird
error that took hours to debug. Finally I saw that one of the column names
was outputing a wrong value. The issue can be simplified to this simple example.
dframe1 = data.frame(
he... | {
"pile_set_name": "StackExchange"
} |
Q:
SSH key auth, but still need password for sudo?
SSH with public-private key authentication comes enabled by default with most Linux distributions. This is great because when I create accounts for remote users I don't have to email them sensitive info(passwords).
However, this process becomes useless when these use... | {
"pile_set_name": "StackExchange"
} |
Q:
Preserving tabs and line breaks in when switching from HTML to Visual Editor
Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to visual editors. Is there a setting in TinyMCE to avoid this?
BEFOR... | {
"pile_set_name": "StackExchange"
} |
Q:
Updating android widgets every 1 minute
I'm writing an Android Widget. I want to update it every 1-5 minutes to monitor data from web service but I discovered that android:updatePeriodMillis cannot be less than 30 minutes. How can I obtain this result with a widget?
Thanks and greetings.
A:
Register an AlarmMana... | {
"pile_set_name": "StackExchange"
} |
Q:
array within indexed numbers
I tried to test a new thing and just saw an unusual output I am unable to get what exactly is happening within the loop can anyone explain me what happens if we take an array and assign that array to a variable we run a for loop and we provide $array and index of $array with the initit... | {
"pile_set_name": "StackExchange"
} |
Q:
Como gerar classes compiladas e manter os .java no maven?
Galera sempre que faço o maven install ele compila as classes e gera o xxx.class, até ai tudo bem.
Gostaria de saber se é possível gerar o .class e manter também todos os .java, na aplicação que estou fazendo vou precisar mostrar a página e o código exemplo... | {
"pile_set_name": "StackExchange"
} |
Q:
Configuring yslow on Jenkins
Could I get some help on configuring Jenkins to use yslow?
I saw on the lightning speach for yslow that it can be implemented with CI, but it didn't give very much information on how one would go about doing this. I've done quite a bit of searching on google for yslow and CI or jenkin... | {
"pile_set_name": "StackExchange"
} |
Q:
What does "it" refer to in "it's raining"?
I wanted to leave the question title as is so as not to take away from my amusement :).
Anyway,
It's raining.
What is raining? Is it the sky? The clouds? The weather? The rain? What is "it"? Any historical insights on the statement?
A:
Definitions for it in my Webste... | {
"pile_set_name": "StackExchange"
} |
Q:
Check if point lies between two sets of co-ordinates
I am creating a tower defence game and want to prevent the user placing towers on the path. The path is stored as an array of objects with properties x and y. I'll do a quick example to explain. Many "levels" (aka paths) are stored inside an array. Inside this a... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the maximum distance for blowing optical cable through pipes?
What is the maximum distance for blowing optical fiber cable with compressed air through pipes?
The method known also as Cable jetting.
Taking into consideration no lubricant is used.
I am asking for the existence of a general rule or recommen... | {
"pile_set_name": "StackExchange"
} |
Q:
Basic Holder's inequality question?
Suppose $f$,$g$ are non-negative functions on a space $X$, with $\mu(X)=1$, such that $fg\ge1$ a.e.
Prove that $(\int f)(\int g)\ge1$.
We know that if both functions are larger or equal to 1, we are done, So it remains to check when one functions is larger than 1, the other is... | {
"pile_set_name": "StackExchange"
} |
Q:
Refused to apply style from... because its MIME type ('text/html') is not a supported style-sheet MIME type, and strict MIME checking is enabled
This error shows only in chrome. I am searching this issue but not yet found any
satisfactory solution.I attached a screenshot of that error. Please suggest some idea fo... | {
"pile_set_name": "StackExchange"
} |
Q:
Cooccurrence in Mongodb
I am familiar with relationnal database such as Mysql. Recently I'm working on project that use MongoDb to stock 100000 Documents. The structure of these Docs is as such :
{
"_id" : "1",
"abstract" : "In this book, we present ....",
"doi" : "xxxx/xxxxxx",
"author... | {
"pile_set_name": "StackExchange"
} |
Q:
1978 disco song with lyrics "Keep on, keep on, keep on dancing"
I'm looking for a 1978-1979 disco song where the lyrics went "Keep on, keep on, keep on dancing". I believe it was on a compilation cassette in 1978 where one of the last songs was Exile's "Kiss you all over", but I'm not sure about the last. Can you ... | {
"pile_set_name": "StackExchange"
} |
Q:
What does it mean if your confidence interval does not contain the 'true' value?
I have a sample of a stochastic process (blue) for which I have developed point estimates for each time step (red). I have then proceeded to bootstrap 95% confidence intervals for the point estimates (black), which is shown in the fig... | {
"pile_set_name": "StackExchange"
} |
Q:
Creating a magazine issue model to sell via in-app purchase
We have developed a magazine style app for a client. Even though we're pretty happy about it we want to migrate to a in-app purchase version ASAP. The idea is to have an app much like Wired or Popular Science where you can purchase issues on a monthly ba... | {
"pile_set_name": "StackExchange"
} |
Q:
RewriteRule not redirecting
Due to request, every page needs to be prefixed with "index.php"; if the path was first /it, now it needs to be /index.php/it.
I have tried changing base url in settings.php. But it doesnot works.Tried rewriting in .htaccess also. I have tried the following code
RewriteBase /
RewriteCon... | {
"pile_set_name": "StackExchange"
} |
Q:
Refresh a tkinter frame on button press
I am utilising code from Switch between two frames in tkinter to make my GUI. I have a frame with refresh and restart buttons.
My original idea was for the restart button to go to the start page as in the code below but if this frame is called again it has the entries from ... | {
"pile_set_name": "StackExchange"
} |
Q:
SSMS SQL Return only a few characters after a specific string is found the first time
I'm trying to return only 9 characters (or the total $ amount) after a certain string is found the first time in a column.
Example Input 1: "The amount you currently owe is $5,000.00 The amount you do not owe is $2,000.00"
Exampl... | {
"pile_set_name": "StackExchange"
} |
Q:
Symfony2 - How to only show specific elements to ROLE_USER
I am trying to hide CRUD elements in TWIG so that it only appears for the specified ROLE_USER.
Right now I am using IS_AUTHENTICATED REMEMBERED which works against anonymous users but other logged in users are still able to see this.
{% if is_granted('IS_... | {
"pile_set_name": "StackExchange"
} |
Q:
How about Artificial Post Reviewer that finds potential problems in the posts and suggests fixes before users posts?
Why wasn't a thing like this implemented? We could forget about code with no fixed-font, about no 'i's that deserve to be capital and etc. It will lead new users to understand our standard format. W... | {
"pile_set_name": "StackExchange"
} |
Q:
Install Net 3.5 Framework on Windows Server 2012 without DVD
I am trying to enable Net 3.5 Framework on Windows Server 2012. However, all the instructions I find on the Internet say I must have DVD of Windows Server 2012.
http://en.community.dell.com/techcenter/os-applications/w/wiki/4146.installing-net-3-5-framew... | {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.