text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Inequality in Triangles
Given is a triangle on points x,y,z in the plane.
This triangle has two points a and b on different sides.
I would like to show that the following inequality has to hold:
$\max \{d(b,x), d(b,y), d(b,z)\} +
\max \{d(a,x), d(a,y), d(a,z)\} - d(b,a)
\geq \min \{d(x,y), d(x,z), d(y,z)\}$
where d(u... | common-pile/stackexchange_filtered |
Allocate values for each user in Performance Center
I have created a script in VuGen which has a parameter that is a dat file.
For that parameter I have specified how many values should be allocated to each user under Allocate Vuser values in the controller.
Now when I upload my scripts to Performance Center I can spe... | common-pile/stackexchange_filtered |
How to make adjust the line color opacity in turtle?
I want to adjust the opacity of the lines drawn by the pen in turtle to 50% but can't seem to find any solution. This link shows no solutions.
It seems like we can't use rgba as the color choice in this library? If so, any library that is recommended to use?
import t... | common-pile/stackexchange_filtered |
Org calendar : change date language?
I am able to set the date language with (setq system-time-locale "LOCALE") but it doesn't affect the calendar.
How can I change the language of calendar?
The Emacs Wiki node on calendar localization explains how to do this. For example, it shows that, for Italian, you would want t... | common-pile/stackexchange_filtered |
Display all current URL's in yii project
I have inherited a PHP YII project and I'm trying to figure out what it has and does. I was wondering if it's possible to display all URLs that the project routes to.
Examples would be
index.php
<controller.php>/index
<controller.php>/search
<controller.php>/add
For all control... | common-pile/stackexchange_filtered |
Can you use Awaken on an Insect Swarm and affect the whole swarm?
A swarm of insect technically counts as a single "creature", but Awaken only specifics targeting a "beast" or "plant". Note it doesn't say a single beast or plant, just a beast or plant. That being said a Swarm of Insects are called out as "Medium swarm ... | common-pile/stackexchange_filtered |
How can I specify which columns to select using read.table in R
I have a dataset with 100 columns and it doesn't have a header.
I have an int vector that consists of some numbers ranges between 1 to 100. For example, a vector with "2 5 62 78".
Now when I read the dataset using read.table, all I want is to select column... | common-pile/stackexchange_filtered |
How to open dialog at particular a location?
I want to open my dialog box at a particular location in my app. I want my dialog box to be open just below my actionbar and not at the centre of my screen. Is it possible to do so? I want it to look like this. ... | common-pile/stackexchange_filtered |
Password not right but still right?
I'm busy with creating a login for on my website, I'm stuck with this problem:
Logging in with the right or wrong password still delivers me a succesfull login...
$sql = "SELECT *
FROM `players`
WHERE `username` = '" . $_POST['username']
. "' AND `password`... | common-pile/stackexchange_filtered |
What would be the best Tauren equipment to maximize it's charging abilities?
I'm currently designing a Tauren race (as in Minotaur, not centaur), pretty similar to the ones found in the Warcraft universe*. They are a biped race, with the head and feet of a bull, arms and torso of a human and the neck being shaped as to... | common-pile/stackexchange_filtered |
Overlay window is displayed off screen when running Selenium Test
I have an issue when running a particular set of Selenium tests that act on an overlay window. The issue is that the overlay window is not contained within the Firefox browser window when it is displayed (the left side of the overlay is cut off).
The we... | common-pile/stackexchange_filtered |
Opening larger models on mobile devices using APS viewer (Autodesk.MemoryLimited)
I have an Autodesk platform services application that uses the viewer.
I encountered a problem that I can't load large models on iPad.
I tried solving the problem using Autodesk.MemoryLimited extension with limited success.
Is there any d... | common-pile/stackexchange_filtered |
Understanding Haskell's Cast Operator
Assume that we have imported Data.Typeable which contains cast :: (Typeable a, Typeable b) -> a -> Maybe b.
Consider that
> cast 'n' :: Maybe Char
Just 'n'
yet
> cast 7 :: Maybe Char
Nothing
I understand the above, but it seems to be a trivial example. It doesn't reveal why someo... | common-pile/stackexchange_filtered |
How do i change the default drag and drop cursor?
I use a simple JavaScript drag and drop system.
However I want to change the default drag and drop move cursor
to another cursor like the pointer for example:
How can I change the looks of my drag and drop cursor? I tried setting the cursor css on body:hover with no e... | common-pile/stackexchange_filtered |
Reactive rxjs subscribe not running on complete
I have DBService typescript class that has this function
`initialiseDb(): Observable < any > {
let source = Observable.create((observer) =>
{}
openRequest.onsuccess = (event: any) =>
{
console.log("Database open");
this.localDb = event.target.re... | common-pile/stackexchange_filtered |
Default Android 12 Camera with no access management of all file ResulltCode always 0
Default Android 12 Camera with no access management of all file ResulltCode always 0. But if using camera with Allow management of all files ResultCode 1. Anyway to fix this things? Thank You
PATH = "/storage/emulated/0/Android/media/b... | common-pile/stackexchange_filtered |
What does it mean that homogeneous spaces "look the same everywhere"?
In many places, including Wikipedia, a homogeneous space is informally described as "a space that looks the same everywhere, as you move through it, with movement given by the action of a group".
I am comfortable with the definition of a homogenous s... | common-pile/stackexchange_filtered |
Calculating CMMotionActivity interval
I'm trying to calculate the time interval for a given CMMotionActivity.
A CMMotionActivity is a CMLogItem subclass, and as such - has a the property: @property(readonly, nonatomic) NSTimeInterval timestamp.
This time stamp is defined as:
The time stamp is the amount of time in se... | common-pile/stackexchange_filtered |
Is the summation of Euclidean distance a smooth function?
Assuming I have 10 points (M1 , M2 .... Mn=10) that form a curve in three-dimensional space. Thus, Mi (XMi , YMi , ZMi).
To determine the distance from M1 to Mn, I have used the summation of the euclidean distances from i=1 to i=n using the normal Euclidean dist... | common-pile/stackexchange_filtered |
Higher ramification for cyclotomic extension of $\mathbb{Q}_p$
I am studying Serre's book Local Fields on ramification groups for cyclotomic extensions of $\mathbb{Q}_p$ (Section 4.4). Let $K_n = \mathbb{Q}(\zeta)$ be a totally ramified extension over $\mathbb{Q}_p$, where $\zeta$ is a $p^n$-th root of unity. Denote by... | common-pile/stackexchange_filtered |
How to get count in Django for a model two foreign keys away
I have three modles in my Django app as follows:
class City(models.Model):
city_name = models.CharField(length=50)
class Area(models.Model):
city = models.ForeignKey(City)
area_name = models.CharField(length=50)
class Person(models.Model):
a... | common-pile/stackexchange_filtered |
Apple tree - Is this a disease?
Started noticing this from last summer(December, NZ) and now getting bigger. Had a good harvest last season, but, getting worried :( any information on what it is and whether to treat it or not will be very useful.
New closer images added
Good question and illustration, and the exce... | common-pile/stackexchange_filtered |
Why is Java Swing serializable?
When I create Swing apps for remote users, I just create jar files and create a WebStart file to let users download the app and then run it. I haven't heard of application servers serving up JFrames, etc, like JSPs. Was that the original intent?
Persistence.
If you want to have nothing ... | common-pile/stackexchange_filtered |
Django forms access (file) field from relation
I have a view that locks like this:
def table_form_combined(request: HttpRequest) -> HttpResponse:
if request.method == "POST":
formset = TransActionFormSet(data=request.POST)
print(formset.errors)
if formset.is_valid():
formset.s... | common-pile/stackexchange_filtered |
Parsing XML Document from Microsoft SEO Toolkit
I have an XML file generated by the Microsoft SEO toolkit in the following format:
<?xml version="1.0" encoding="utf-8"?>
<urls>
<url url="First URL">
<violations>
<violation code="HasBrokenLinks" url2="First URL - 1st Broken Link" />
</violations>
</url>
<url url="Seco... | common-pile/stackexchange_filtered |
Gradle initialization script for specific projects
I need to specify local publishing for certain projects with gradle, but not all.
Something like allprojects in init.gradle, similar to
allprojects {
apply plugin: 'maven-publish'
publishing {
repositories {
maven {
url 'htt... | common-pile/stackexchange_filtered |
Make gstreamer loop file names
I was able to successfully generate a hsl stream with gstreamer, with the following code:
gst-launch-1.0 -v \
videotestsrc is-live=true \
! omxh264enc target-bitrate=2000000 control-rate=variable \
! "video/x-h264,profile=high,width=600,height... | common-pile/stackexchange_filtered |
Curses: problems with "newterm" when calling it more then once
package My_Test;
use warnings;
use strict;
use Curses;
sub routine {
my $scr = newterm( $ENV{TERM}, \*STDERR, \*STDIN );
set_term( $scr );
noecho();
keypad( 1 );
printw "press a key: ";
refresh;
my $c = getch();
prin... | common-pile/stackexchange_filtered |
Using Git to sync Mac and Android
I have a folder on my Mac and corresponding folder on my Android phone, which I would like to keep in sync both ways. ie. sometimes work is done on my phone, sometimes work is done on my Mac.
I technically don't require versioning history, but nevertheless it's a nice to have.
I have t... | common-pile/stackexchange_filtered |
How to load cedet, semantic et. al only when .cxx,.h .cpp files are open
Because I use Emacs for many things these days I would like to only load cedet.el when I open a c/C++ source or header and not everytime emacs starts since it takes a significant toll on the startup time.
Right now the beginning of my init file lo... | common-pile/stackexchange_filtered |
How to assign a sum of values within fields to a variable?
I have an SQL statement which selects various data from a table in my database and I have declared variables within my code like:
DECLARE @TotalAge int;
Let's say one of the fields in the table is Age, how would I sum the collected values from the query and as... | common-pile/stackexchange_filtered |
Problems when reading a JSON
I am trying to read a JSON from the internal network of my company, I have configured
System.setProperty("java.net.useSystemProxies", "true");
or
System.setProperty("https.proxyHost", "XX.XX.XX.XX");
System.setProperty("https.proxyPort", "XXXX");
I can read the API publicly without ... | common-pile/stackexchange_filtered |
Is this graph with $n$ vertices a planar graph?
Let $n$ be a positive integer and let $G$ be a graph with vertices $2,...,n+1$ such that every vertex is connected to the vertex which is the number of its divisors. How can we prove that such a graph is planar? Also, does such a graph have a name?
I would have thought y... | common-pile/stackexchange_filtered |
dependent fields in django admin
I want to add, some fields depending on others. I have city and country model. I can include country as foreign key in city model. And then if I will add both city and country in another model ( say content) then will it be just like dependent selectboxes? like cities will be shown base... | common-pile/stackexchange_filtered |
Paths in Event Logs with spaces
I am using Write-EventLog to log some file not found errors, where the error text includes the path. And it works great other than the automatic link creation seems to be stuck in the 90's. So any path that has a space is broken when you look at it in Event Viewer. Is there a way to forc... | common-pile/stackexchange_filtered |
sending messages between clients in Android p2p wifi-direct
If there are three devices A,B and C are connected using Wifi-direct , assuming B is Group Owner.
How can A sends messages to C?On running the Android wifi direct demo ,I noticed that A and C knows about B's IP address.
There is no method avialable to get the ... | common-pile/stackexchange_filtered |
Is ApplicationContext automatically instantiated in Spring?
Is ApplicationContext automatically instantiated in Spring?
If I have my bean defined like this
@Component
public class Car{
...
}
and then I have my config class which tells Spring container where to look for beans through the annotation @ComponentScan
@C... | common-pile/stackexchange_filtered |
Generating new model is not possible after creating model in active admin for that in ROR
When i am trying to generate model using
'rails g model certificate'
but it shows me error that 'top required' after creating new model in active admin for that using
'rails g active_admin:resource certificates'.
Any one know ab... | common-pile/stackexchange_filtered |
Kubernetes join node preflight pending after docker version warning
I'm Doing some homework ( linuxacademy tutorial ) with kubernetes ( 1 masters and 2 nodes )
Trying add my node1 using command kubeadm join on the node.
The command is pending without any error or result.
I have tried on the node2 and I have the exact s... | common-pile/stackexchange_filtered |
confusion about SQL Server Express and localdb
I need to deploy a WCF service with a database on client machines. I am confused about SQL Server Express. I need to verify all of the following.
When attaching database files in the App_Data folder, do I still need to install SQL Server Express engine (Windows service) ... | common-pile/stackexchange_filtered |
Transition from TFVC Path-Based Branches to Git
We currently have one TFVC Repository with a lot of path-based branches at the folder levels. For example,
TFVC_Repo
Product A (Folder)
Dev (Branch)
Main (Branch)
Product B (Folder)
Dev (Branch)
Main (Branch)
If we convert this repo into Git... | common-pile/stackexchange_filtered |
How do you accept larger inputs in x86 assembly?
This program takes an a nonnegative integer as an input and determines if its prime. The problem is that<PHONE_NUMBER> needs to be taken as an input, but fails. I know the problem is that the number is too large and lies somewhere in the MyReadInt proc but i am not sure ... | common-pile/stackexchange_filtered |
Convert string with different format to date
I have a table with a string column (varchar(200)) that contain a date in different format. For example
may 24 1983 12:00AM
1981-01-13 00:00:00
1979-01-13 00:00:00:123
I want to convert this column in a date to extract year. How could i do? I have used STR_TO_DATE but don't... | common-pile/stackexchange_filtered |
How do I get the contents of two quotation marks that contain single quotes in c #?
Example, I have a string of html
<div id = "this is a new "id" and the new " attribute", ">
How do I get the content of id ; include quote, result like
this is a new "id" and the new " attribute", ;
I'm from Vietnam and the ability t... | common-pile/stackexchange_filtered |
Overwriting span tag when getting span data from another location
I have this HubL code (HubSpot): {{ post.summary }}. This pulls the summary of each blog post and adds it to wherever I put the HubL, in my case for an email.
However, it doesn't just pull the text, it pulls the the text sits it along with it's CSS. I.e... | common-pile/stackexchange_filtered |
Multiple clipboards software for Windows
I am looking for a program that lets me use many clipboards at the same time (around 100)
The software needs to remember each clipboard when I restart the computer
For example:
Ctrl+1 - Save to first clipboard
Ctrl+2 - Save to second clipboard
Ctrl+3 - Save to third... | common-pile/stackexchange_filtered |
General doubts on Navigation Controller - IOS
I have some general question about navigation controller. I have pushed a table view with navigation controller. (now table view showing) If I click on back button of navigation controller it brings me back to main view, now the memory allocated for table view will get rele... | common-pile/stackexchange_filtered |
Evaluating an object inside itself in python
I read about the repr() function in python . I thought of experimenting something and thought of evaluating the output of repr() inside the object itself to see what it leads to .
So I wrote the following code :
class no :
def __init__(self,a) :
self.a = a
... | common-pile/stackexchange_filtered |
I want to automate a scenario in which multiple products needs to be asserted with respect to filter values from a ecommerce website?
I want to automate a scenario in which multiple products needs to be asserted with respect to filter values from a ecommerce website. I want to know what could be the approach which we c... | common-pile/stackexchange_filtered |
Use of the String(String) constructor in Java
I've read on articles and books that the use of String s = new String("..."); should be avoided pretty much all the time. I understand why that is, but is there any use for using the String(String) constructor whatsoever? I don't think there is, and don't see any evidence... | common-pile/stackexchange_filtered |
SpringBootTest : No qualifying bean of type 'org.springframework.test.web.servlet.MockMvc' available:
Hey i have started learing spring-boot junit testing using spring boot Test framework at the time of creating the test case i am facing issues below .
import static org.hamcrest.Matchers.containsString;
... | common-pile/stackexchange_filtered |
Can you enter the Schengen area with a residency visa from another country?
The Schengen area has an Annex II list of countries, which grants passport holders the right to enter the Schengen area visa free. In addition, this right is present for citizens of non-Schengen members of the EU (Ireland, Romania, Croatia, Bul... | common-pile/stackexchange_filtered |
Bucketed Sink in scalaz-stream
I am trying to make a sink that would write a stream to bucketed files: when a particular condition is reached (time, size of file, etc.) is reached, the current output stream is closed and a new one is opened to a new bucket file.
I checked how the different sinks were created in the io ... | common-pile/stackexchange_filtered |
ID4037: The key needed to verify the signature could not be resolved from the following security key identifier
I have two web applications that are getting a SAML2 SSO between them. One direction is working fine. But the other results in this error:
ID4037: The key needed to verify the signature could not be resolved... | common-pile/stackexchange_filtered |
How to exclude an item from the search?
I have a search for items. The block in which the value is searched consists of several elements. I need to exclude the last item from the search. Those. so that this element is not affected, except for the rest.
I tried like this
$('.blog_content_item').not('.last').each(functio... | common-pile/stackexchange_filtered |
How prove $\left(\sum\cos{\frac{2k-1}{p}\pi}\right)\cdot\left(\sum\cos{\frac{2k-1}{p}\pi}\right)$
Question:let $p$ be an odd prime number,let $A$ be the set of the (postive and less than $p$) quadratic residues modulo $p$,and $B$ be the set of the (positive and less than $p$ quadraric non-residues modulo $p$,
if we le... | common-pile/stackexchange_filtered |
Automate updating DNS for Cloudflared Tunnel
I am happily deploying a Cloudflared Tunnel on Kubernetes with YAML that looks like this. This deploys the Tunnel itself just fine - however, updating a Cloudflared tunnel also requires updating Cloudflare's DNS records so that the domain name will point to the tunnel, and I... | common-pile/stackexchange_filtered |
Why some NPM script argument syntax in echo message work and others don't?
I wanted to use a dynamic message print call to trim NPM scripts, but stumbled on some curious differences.
My package.json looks like following:
"scripts": {
"foo": "echo \"\033[0;31m****\n This is foo message \n****\" && npm run test",
... | common-pile/stackexchange_filtered |
Group by minute and fill missing
How do you preform a GROUP BY minute statement in Postgres? I also wonder what if there is record missing how to replace missing with zero?
SELECT avg(load) as load, min(created_at) as create_at FROM stats GROUP BY ?what here?
So then I'll get rows like:
created_at | load
27.3.201... | common-pile/stackexchange_filtered |
Display Video on Linux
I need to write a small software that will show video.
I don't know any thing about graphics at C.
What classes are there?
Please point me to a place to start from.
Thanks,
Nahum
I think you are looking for libraries, not classes!
Another simple library to use to display video is OpenCV (cros... | common-pile/stackexchange_filtered |
What defines the reward a miner gets when it mines an empty block when there are no transactions?
When no transactions are submitted to the network, miner can mine empty blocks and generate ether as rewards.
What defines the amount of ether a miner gets rewarded when it mines an empty block?
If the miner itself decides... | common-pile/stackexchange_filtered |
Spring boot mongo template remove with limit query
I am trying to delete a limited set of mongo documents from a collection which have id less than 10 but want to remove them in sets of 3, so tried using limit, but it still deletes all the documents and ignores limit.
Query query = new Query();
query.addCriteria(Criter... | common-pile/stackexchange_filtered |
Why are transformers unregulated?
A transformer has a fixed output ratio. E.g. 10:1, for a 23Vac supply from 230Vac. But it is found that under light load the voltage rises above the nominal (at rated load) - why?
Are you looking at the actual AC output, or a smoothed DC output?
He said it's 23V AC!
It seems a lot o... | common-pile/stackexchange_filtered |
London dispersion forces and distance relationship
Why is the London dispersion force inversely related to distance but not to the second power but the sixth power? Why is there not an inverse square relationship as there is for Coulombic forces?
Is there something non-Coulombic about London dispersion forces?
There... | common-pile/stackexchange_filtered |
CUDA device heap memory for different applications
I am trying to do an experiment. I have two applications. In one application I change the heap memory from 8MB default to 4MB and then I launch the kernel and finally I busy wait.
In another application I simply query for the size of heap memory of the device. The inte... | common-pile/stackexchange_filtered |
Dict vs Record in elm
While implementing a simple app I ran into the problem of trying to update a nested record. I found a solution online but it really seems like a whole lot of bloated code.
As I was looking for alternatives I found Dictionaries. This seem like a solution to that problem -- If I use a dictionary in... | common-pile/stackexchange_filtered |
How to use FQL(Facebook Query Language) with asp.net?
I need to use FQL to get user's current Facebook Chat status. Its not supported by Facebook Graph API.
"online_presence" parameter returns the user's Facebook Chat status as i studied on http://developers.facebook.com/docs/reference/fql/user
But i didn't find anyth... | common-pile/stackexchange_filtered |
Github Release golang submodule
When you do a release on github for a repo you can do "tags" which makes it easier to track in your go.mod
But submodules (or multiple modules) the existing github release method does not work.
The "main" module will be tagged
But the "submodule" can't be referenced via that tag.
(Which ... | common-pile/stackexchange_filtered |
Unsafe Code requires `unsafe` command line option to be specified Monodevelop 4.0.12
I'm try to build the project SDRShare but When I come to the step buiild-all I get the following mistake
I try to do this:
Opción 1: Right click your project > Options > Compilation
(General) > Allow unsafe code
click Project - 'Sol... | common-pile/stackexchange_filtered |
How to compute $i^*:H^*(U^{m+n})\rightarrow H^*(U^m)\bigotimes H^*(U^n)$?
From $i:U^n\times U^m\rightarrow U^{m+n}$, one has $Bi:BU^n\times BU^m\rightarrow BU^{m+n}.$ The target is to compute $Bi^*.$ By the naturality of spectral sequence of $G\rightarrow EG\rightarrow BG,$ it's equivalent to compute $i^*.$
As $i^*:H^*... | common-pile/stackexchange_filtered |
Your application is currently targeting API level 23. However, it must target API level 26 to a minimum in order to benefit from the latest APIs
Please, I'm in the process of publishing an app on Google Play and I've had a problem with the version of the API, I've already tried to change the API version to the latest v... | common-pile/stackexchange_filtered |
Custom paths for Vagrant's files and dirs
I started use Vagrant (+ chef_solo) for my App, and now App's folder contain following files and dirs:
... app's files
.vagrant
Vagrantfile
Cheffile
Cheffile.lock
data_bags
cookbooks
projects_cookbooks
... app's files
It will be great if I can move files... | common-pile/stackexchange_filtered |
Specific Days, Specific image on Front Page
Is there a plugin that will allow me to do the above?
Basically I have a webcomic that updates twice a week with two different stories.
http://www.lunarblade.com
What I would like to be able to do is have it somehow automatically use image A for Tuesdays that'll tell people ... | common-pile/stackexchange_filtered |
Unable to install GridDB on Fedora
I am trying to install GridDB on my Fedora 33. I am trying to install it using the guide mentioned https://docs.griddb.net/gettingstarted/using-source-code/ downloaded the latest version using
$ git clone https://github.com/griddb/griddb.git
but it's not responding at all.
Is there a... | common-pile/stackexchange_filtered |
How to manipulate nodes added by Google-Tasks?
I'm currently trying to change style elements for this Google-tasks gadget:
https://mail.google.com/tasks/ig
using a chrome content script.
In this example, I'm removing the toolbar at the bottom. Because Google is generating the HTML with javascript, and puts it in an if... | common-pile/stackexchange_filtered |
Position figcaption vertically centered and next to image?
I have an image and a caption within a figure tag. I was wondering how I can get the figcaption positioned next to the img and vertically centered, like the image attached.
Here's a jsfiddle I set up.
Thank you!
Here you go, just replace the css with followin... | common-pile/stackexchange_filtered |
Break auto repair loop with faulty HDD
First of all: my HDD is faulty - it has bad sectors and I know that. All my important data is already backed up and a replacement is ordered, but I need system to boot and perform a simple service that is not HDD-bound right now. Those bad sectors do not multiply and do not affect... | common-pile/stackexchange_filtered |
Python Selenium scraper rate limited (429) by Google
I am scraping Google Patents with Selenium and, as expected, I am getting rate limited. I have tried all kinds of configurations (such as How can I make a Selenium script undetectable using GeckoDriver and Firefox through Python?, proxies, and so on), nothing works.
... | common-pile/stackexchange_filtered |
Outlook Add-in - Application_ItemSend fired twice
I'm writing an addin for Outlook that check if the appointment has been set between 13:30 to 14:30 and show the user a warning that he sent a meeting request between 13:30 to 14:00.
When someone sets a meeting in this time period it shows the message, but if for example... | common-pile/stackexchange_filtered |
Docker Container is disappeard after restart service
I stopped my docker container.
and i restart the service in linux (service docker restart)
after that my container is missing.
I typed docker ps -a but I can't find my splunk container.
I can find container directory and volume folder also.
also I have every folder i... | common-pile/stackexchange_filtered |
How to find and replace string with spaces for 8,000 plus HTML files
I want to perform a find and replace in my 8,000 (plus) records (html files) but the problem is the string that i will replace contains spaces.
I want to find all files that has an instance of </head> so I could insert my google analytics before the ... | common-pile/stackexchange_filtered |
parsing file in bash
I have a output in a file and i want to parse the file line by line to just get the line with the "ip address(<IP_ADDRESS>)" and the "Version: <IP_ADDRESS>" to the standard output. What would be the best way to parse using grep/awk or bash?
<IP_ADDRESS>
Executing (0,0,0,0,0,0,0,0,0,0):
==== pr... | common-pile/stackexchange_filtered |
nf_conntrack_ipv6 not tracking outgoing connections
I'm trying to get outgoing IPv6 routing going, my issue is, that conntrack is not working correctly.
I've dumped the traffic via tcpdump, which shows me that the packets go outside (e.g. internal interface -> router -> isp) and that I receive a response (isp -> router... | common-pile/stackexchange_filtered |
Vim 80 character marker without adding spaces
I have a marker at 80 characters which I set using
:set colorcolumn=80
But when I do this, if I'm highlighting and copying text to the clipboard, I get spaces after the last character on the line. This is very annoying if I'm sending code snippets to people which requires... | common-pile/stackexchange_filtered |
Run Python Code on NVIDIA GPU
I am new to programming in python on top of a NVIDIA GPU so have the following problem statement.
I'm trying to perform social network analysis on Youtube Dataset(http://netsg.cs.sfu.ca/youtubedata/) in 2 parts using python's igraph library.
In the 1st part I will be looking at degree dis... | common-pile/stackexchange_filtered |
Show a ComboBox based on the selected value of another ComboBox
I have a little problem - I want to show a "sub Combobox" with the help of a "super Combobox". I don't know it is possible because i'm beginner in VB.
My English is not so good so please see the below code to understand me :)
If combobox1.SelectedItem = "P... | common-pile/stackexchange_filtered |
Most innovative usage of C# attributes
What is the most innovative usage of C# attributes you've implemented or have seen implemented?
Should be Community Wiki
See also https://stackoverflow.com/questions/144833/most-useful-attributes
Before LINQ to SQL (and when I wasn't allowed to use Open Source or Off-The-Shelf ... | common-pile/stackexchange_filtered |
Generating an http client behind a typescript interface? Is it possible?
I am trying to understand decorators which are not java's annotations but more like pre-processors in this article and I also found this SO question on setting info on a function. Let's say I have an interface like so
export default interface Use... | common-pile/stackexchange_filtered |
Could ions inside lungs produce hydroxyl?
I am not proficient in either biology or chemistry. However, I have a question which I can't find answer to. It seems to belong somewhere between chemistry and biology. I apologize for any errors and inconsistencies in this post.
There is a page (https://allergytech.com/sharp_p... | common-pile/stackexchange_filtered |
Spring Integration DSL - How to create an XPath Splitter?
How do you create an XPath Splitter using Spring Integration DSL? What is the DSL equivalent of this:
<!-- Split the order into items creating a new message for each item node -->
<int-xml:xpath-splitter id="orderItemSplitter"
input-channel="... | common-pile/stackexchange_filtered |
What should our help center documentation contain?
Edit: Now that we have some moderators, hopefully we can start moving towards getting a basic draft ready.
As you can see, our pages that list types on-topic is currently set to the default, which is not site specific. This post is for getting some ideas as to what thi... | common-pile/stackexchange_filtered |
How to setup detect Data changes in Power BI
I have setup detect data changes in power bi for Incremental refresh using lastupdatedDate.For handling deletes,I have setup a flag IsDeleted and update the flag and lastupdateddate everytime a record is deleted in DB.
To remove deleted records in power BI,i have also filte... | common-pile/stackexchange_filtered |
Two programmers debug their automated reasoning system at a startup.
A
Waajid, our theorem prover keeps failing on these logical expressions. Look at R(x, f(a, y)) and R(b, z) - they should match somehow, but the system can't see the connection.
B
The expressions look different, but they're describing the same relati... | sci-datasets/scilogues |
AWK from text with modification
I have the following file:
hello there. let's try&ACCT=1&bla bla bla&EX=1118&anything ss &SERIAL=1011&DEAL=NO
BLA BLA BLA&TOM=1&ACCT=2&LSLSLSLSL&none=1&EX=1218&lord=1&ok=1&SERIAL=201&flag=non
from which I need to extract the field values of ACCT=, EX= and SERIAL= so that the output bec... | common-pile/stackexchange_filtered |
SDL library couldn't be found in cmake
I am trying to write a cmake.I will use OpenGL, SDL and OpenCV together. The things is cmake operation is done properly but if I enter make command, it says that "No such file or directory" for SDL/SDL.h
my cmake is like this:
cmake_minimum_required (VERSION 3.2)
set(CMAKE_CXX_STA... | common-pile/stackexchange_filtered |
Android studio Application Not Install error [INSTALL_FAILED_UID_CHANGED]
i am getting Failure "[INSTALL_FAILED_UID_CHANGED]" when ever i run the application.
i check the various solutions in stack but the solution was not help full
also i am getting another error in same project
"Unexpected Error
Local path doesn't ... | common-pile/stackexchange_filtered |
How can I avoid "ConnectionShutdown('CRC mismatch on header')"?
I'm using Datastax's python driver to submit concurrent requests like so:
concurrent.execute_concurrent(...concurrency=50)
The total number of requests submitted is around 200, and some result sets have thousands of rows.
I occasionally run into the follo... | common-pile/stackexchange_filtered |
Using 'each' to get a link to insert into a jQuery tooltip
I'm using this tooltip from jquerytools:
$("li img").tooltip({ position: "bottom right"});
and want to insert a link into it from an existing "More Info" link in the same li:
var morelink;
morelink = $(this).find("li a").attr("href");
$(".tooltip").append('... | common-pile/stackexchange_filtered |
Range Color change error, when calling from a third Sub procedure, in VBA for Excel
As in the below three sub procedures, i intend to set the color (and the fonts and other more not shown here in the sample codes, but the issue remains the same) of a range when some conditions are met . Calling directly the Sub Set_Ran... | common-pile/stackexchange_filtered |
How to extract unique values of each group of groupBy query?
If I have a query with groupBy:
Table::select('a','b','c','d')->groupBy('a','b','c','d')->get();
How can I extract the unique values in each group?
For example if the dataset returned is:
Row1 = a1, b1, c1, d1
Row2 = a1, b1, c1, d2
Row3 = a2, b2, c2, d3
Row4... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.