git pull fails "unable to resolve reference" "unable to update local ref"

Using git 1.6.4.2, when I tried a git pull I get this error: error: unable to resolve reference refs/remotes/origin/LT558-optimize-sql: No such file or directory From...

Upgraded to SDK 2.3 - now no emulators have connectivity

I've upgraded from 2.2 to 2.3. I originally thought that I had just a problem with my own Google maps application not working and posted a question link text I now realise that the problem is...

Is it possible to pass a python string by reference through ctypes?

I'm sorry, but I generally have a hard time reading the current ctypes docs... If I have a C function that takes a const char * pointer, and I know it will neither modify the passed in string, nor...

How to access global resources in a view using asp.net mvc razor

Using ASP.NET MVC Razor, I have a resource file in App_GlobalResources named General.resx and General.fr.resx with a name value pairings of "Hello" and "Hello" and "Hello" and "Bonjour". How do I...

GLFW Won't Link Correctly

So recently I've started a project involving GLFW (64-bit, with GLEW). However, I can't seem to get it to link correctly. Here's how I'm set up: OS: Windows 8 64-bit Compiler: mingw64 IDE:...

How to show all rows from database to jsp page using struts 2?

I am new in Struts2 and Hibernate. I want to create a drop-down list like the following [ using hibernate and struts] which pops up a menu dynamically and when an id will be selected, it shows all...

Can I add 'ON DELETE CASCADE' to tables managed by Hibernate?

I have some tables managed by Hibernate with various foreign key constraints. Cascade on delete is currently managed by Hibernate alone. For playing around with test data I often create and remove...

How to crop image inside the circle in UIImageView in iOS

I have an app where I have a UIImageView which displays main image and another UIImageView being used as a mask which shows a circle which is transparent and outside its opaque, this circle can be...

MongoEngine get_or_create Alternatives

I've been using the get_or_create method with MongoEngine in a Django app. Today, I noticed there were a few duplicate entries. I came across this in the MongoEngine API Reference for...

Accessing protected variable in googletest

I have this class testC that is meant for google testing class testC : public A { }; and then bunch of TEST's that are in the same file. TEST(test_case_name, test_name) { ... test body...

Why can't I store a value and a reference to that value in the same struct?

I have a value and I want to store that value and a reference to something inside that value in my own type: struct Thing { count: u32, } struct Combined<'a>(Thing, &'a u32); fn...

Use application icon for shortcut icons in WIX installer

My C#.net application has a .ico file in the Resources directory (e.g. MyProject/Resources/icon.ico), I have created an installer using the WIX toolset. When I install the application the icon...

How to download entire folder from Firebase Storage?

I want to download an entire folder from Firebase storage. I can download single files using DownloadURL as follows, but it does not work for folders. var storageRef =...

google query, limit, "reference cell"

I'm trying to use a reference cell to inform a Google sheets query limit. The =QUERY statement I'm trying to use is: =QUERY(mrclean,"SELECT T,U where V='Unique' And W='no match' order by U desc...

Visual Studio 2017, JavaScript intellisense inconsistencies

TL;DR: How do you include a tsconfig.json file in Visual Studio 2017 and still have JavaScript intellisense work like it does by default, giving code hints both for your own code and 3rd-party...

In Google Directory API, how do I add a user using javascript?

I have the Google Directory API Javascript quickstart working. This part of the code lists the first 10 users in the directory: gapi.client.directory.users.list({ 'customer':...

Artifactory/JFrog is producing the wrong parent artifactId in generated POM

I have encountered a strange bug while trying to deploy new release builds to my company's JFrog.io (fka: ArtifactoryOnline.com) repository. The project I'm working on has multiple maven modules,...

Object reference not set to an instance of an object for SOAP WebService in Java

I have created one SOAP Application to connect to QuickBooks Desktop via QuickBooksWebConnector. I have given my wsdl url to WebConnector. While calling 1st callback of authentication, connector...

C++ Armadillo library gives undefined reference to `arma::arma_rng_cxx11_instance'

I used CMake to build my project and Catch2 to do the testing. The following is my project structure ├── build ├── CMakeLists.txt ├── compile_commands.json ├──...

Using Revision Variable in Docker Build Step

Trying to use the $(Rev:.r) variable in my docker build steps (version 1.*) for tagging and it doesn't seem to work. I always get 2019-01-14T21:42:24.4149933Z ##[error]invalid...

What is the Lexical Scope in dart?

Basically I am going through the definition of closure functions which says - A function that can be referenced with access to the variables in its lexical scope is called a closure So I want to...

Efficient GraphQL query to retrieve ALL commits in a repository via GitHub's v4 API?

I am trying to construct a GraphQL query for GitHub's v4 GraphQL API to retrieve all commits from a given repository (regardless of branch). With the github/training-kit repository as an example,...

Can't access process.env values using dynamic keys

I have a nextjs (not sure if it has any relevance or does it apply to nodejs as a whole) project in which I would like to access a value from process.env using a dynamic key: const myKey =...

Overriding config file with env variable in Cypress

I am using this link as a reference to pass configuration to my cypress tests : https://docs.cypress.io/api/plugins/configuration-api.html#Switch-between-multiple-configuration-files My sample...

How do you create a project in a specific group via GitLab API?

I tried to use GitLab API to create a new project. This worked, but this is in my user space: curl \ --header "Authorization: Bearer ${GITLAB_API_TOKEN}" \ ...

Azure B2C password field text and placeholder

I have selected pt-Br language customization for my signin page flow, but some elements are not translated properly (or not translated), then i uploaded an override file with email claim display...

How to Add uirevision Directly to Figure in Plotly Dash for Automatic Updates

I have a Plotly figure built in Python that updates automatically. I want to preserve dashboard zooms even with automatic updates. The documentation in Plotly says this can be done using the...

How to identify an EC2 Classic Instance

Recently got an email titled, "Important News from AWS About Amazon EC2-Classic" describing some changes that need to occur. These emails from AWS usually reference the effected resources though...

CS8032 Warnings when building solution with referenced analyzer projects in VS

The issue For many weeks it worked fine, I was able to compile and test the projects. A few weeks ago, VS started displaying the following warning when building the solution or any project that is...

Is it safe to bind an unsigned int to a signed int reference?

After coming across something similar in a co-worker's code, I'm having trouble understanding why/how this code executes without compiler warnings or errors. #include <iostream> int main...