How to tell where a header file is included from?

How can I tell where g++ was able to find an include file? Basically if I #include <foo.h> g++ will scan the search path, using any include options to add or alter the path. But, at the end of...

FB OpenGraph og:image not pulling images (possibly https?)

First -- I do not believe this is a duplicate issue. I've searched for same or similar problems on SO extensively, and due to the nature of troubleshooting before asking, I believe this problem is...

WordPress - how to add a custom 500 server error page?

It seems easy to create a custom error page in WordPress for a bad page, i.e., a 404 not found - just create 404.php in the theme directory. I'd like to do the same for a server error, say if a...

reading environment variables from java using Eclipse

Everywhere I search, it says you can get an environment variable by using System.getenv(str). It's not working for me. Here's what I am doing: OS : Mac OS x 10.7 Java 1.6.x If I do export...

Postgres could not connect to server

After I did brew update and brew upgrade, my postgres got some problem. I tried to uninstall postgres and install it again, but it didn't work as well. This is the error message. (I also got this...

How to print degree symbol on the window using qt5(QtQuick 2.1) and above

When I was using up to qt4.8(qt quick 1.1) for gui then I am successfully able to print degree with \260 but when things got upgraded to qt5 and above then this stopped working. I searched on the...

How to check to see if a folder contains files using python 3

I've searched everywhere for this answer but can't find it. I'm trying to come up with a script that will search for a particular subfolder then check if it contains any files and, if so, write...

The content type application/xml;charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8), WCF

I know this question has been asked a few times before, but the solutions given either don't work for me or I'm too ignorant to fully understand how to implement the solution. So, the website I am...

How to exclude files from Eclipse indexing (Static Code Analysis)?

I have a makefile project comprised of many source, header and other files, which I am trying to convert to an Eclipse "native" project. The problem that the Indexer reports errors and warning on...

android - How to mux audio file and video file?

i have a 3gp file that is recorded from the microphone and a mp4 video file. i want to mux audio file and video file in to a mp4 file and save it. i searched a lot but didn't find any thing...

nginx & laravel: rewrite or internal redirection cycle while internally redirecting to "/index.php"

I am trying to upload my laravel app to my Digital Ocean droplet. I followed this tutorial and now I am getting 500 server error. here is my nginx error.log: 2016/11/22 02:21:30 [error] 7733#7733:...

How to open a file in a specific application from FZF

I'd like to use FZF to search for files and then have them open in an editor of my choice e.g. Sublime, Atom. I'm not sure how to configure my shell for this, I've tried the below but I can't get...

ACCESS VBA code to delete a table if it exists

First, I must admit, that I am not trained in coding with VBA. I use MS Access macros and queries to build my application. I use some temporary import files, and need to either run a macro, or...

Is there a way to download an MMS from command line using curl or wget?

I'm doing some Android malware research for MMS based attacks. And I'm looking for a manual way to retrieve or download a received MMS message. I was hoping to find some curl or wget lines to be...

aws lambda Unable to import module 'lambda_function': No module named 'requests'

I have recently started to use AWS Lambda to use triggers against some python code I have written. I currently have 2 lambda functions, both of which have been created with ZIP files. The second...

Log messages from .NET Standard class library

I have a solution with an ASP.NET Core (2.1.5) Web API project which references a couple of .NET Standard 2.0 class libraries projects. I want to implement some logging to my application and I...

installing GATTlib for Pybluez?

I try to run the Bluetooth Low Energy examples on the raspberry pi using PyBluez. All the examples require the gattlib module. I get the error from gattlib import * ImportError: No module named...

The type or namespace name 'UI' does not exist in the namespace 'UnityEngine'

I am doing a small course for beginners about Unity 3D here. After importing all the assets from the unity asset store, as explained in the course, I get an error that probably shouldn't be...

Why do I have to create index.js file for components?

I've recently started a react project and I found some util commands with npm to generate some projects automatically. No problem with that, but the project structure was a bit confusing for me so...

createHttpClient is not defined - flutter

I want to parse JSON through HTTP listener. I'm new to Flutter so i searched it on web and added http: ^0.12.2 package to dependencies in YAML file and still getting the error message: "The method...

Could not find com.mapbox.navigator:mapbox-navigation-native:7.0.0

I am currently building an android navigation app and have run into an issue. The full error is: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for...

Google Search Console - URL is not on Google: Indexing errors

I'm new in search marketing.I am trying to index one of the site, while inspecting the home page url in search console, it shows "URL is not on Google: Indexing errors" and under Indexing Allowed,...

How to import FreeType to my Android Studio NDK project using CMake

Hello I am beginner in Android NDK programming and I need some help getting freetype library to work with my project. I've been trying for 3 hours straight to somehow import freetype to my Android...

FireBase getAuth and onAuthStateChanged is not in "firebase/auth" import

I am trying to learn and use getAuth(), onAuthStateChanged() methods from "firebase/auth" But in the folder of node_modules/firebase/auth doesnt include those methods. It seems like changing dirs...

What numbers should be used with vbObjectError?

This page says: "If you are generating errors, then you should add your number to the vbObjectError constant. Eg Err.Raise Number = vbObjectError + 1000. The range 513 - 65535 is available for...

ASP.NET 6 + Identity + Sqlite, services.AddDbContext() how?

I am using a tutorial for ASP.NET Core 5.0 + SQL Server, but I am actually using ASP.NET Core 6.0 + Sqlite. The tutorial has the following code in StartUp.cs public void...

Could not find com.android.tools.build:gradle:7.0.3

I have a project and I have the apk,but I have changed a value in calculate.java file and I want to rebuild the project.But the following error is appeared.What should I do.I am not a android...

Yeoman SPFx issue with installing @microsoft/sharepoint generator

I'm trying to learn how to use SPFx, however I'm falling down at the first step when it comes to running yo @microsoft/sharepoint. I get the following error when running yo...

How to combine 2 vuex stores into a single store

Hi i have a requirement of combining 2 vuex store into a single store (both stores are of different projects) import storeA from '/path'; import storeB from '/path'; now combined both...

Calling external command in find and using pipe

I am wondering if there is a way to search for all the files from a certain directory including subdirectories using a find command on AIX 6.x, before calling an external command (e.g. hlcat) to...

Relevant tags