Quantcast
Channel: User dvdsmpsn - Stack Overflow
Browsing latest articles
Browse All 41 View Live

Comment by dvdsmpsn on Confluence User Macro for Week of Year

Oops, just noticed that you said week of yearnotday of week.

View Article



Comment by dvdsmpsn on I want to fetch all JIRA release versions to...

If you can get all the versions, create a user macro as described here davidsimpson.me/2014/06/23/… and loop through the versions.

View Article

Comment by dvdsmpsn on How to access a chrome extension's IndexedDB from an...

@jkupczak I didn't but I think that having a background page as a proxy to the IndexedDB is likely the way forward -- seems somewhat excessive though.

View Article

Comment by dvdsmpsn on Code splitting with create-react-app and...

@Tholle I've updated to just use the standard Loadable and yes, I get the same result. Also, it's the same single JS file if I use an async component as described here: serverless-stack.com/chapters/…

View Article

Comment by dvdsmpsn on Create a publicly accessible license report of...

🤦‍♀️ Well, yes. That seems obvious now. Thanks.

View Article


Comment by dvdsmpsn on Font Awesome & Unicode & Variable in React-Native

See also npmjs.com/package/react-native-fontawesome which seems rather easier to read than unicode characters

View Article

Comment by dvdsmpsn on How to write folder tree in confluence?

Can't you just use nested unordered lists? You won't get the lines, but your data will be represented in the same structure.

View Article

Comment by dvdsmpsn on React Code rendering as text and components are not...

Why are you passing the childrenComponent as a string?

View Article


Comment by dvdsmpsn on Webpack strips tags out of inline SVGs in my...

Yes. This worked, thank you. I also had to remove my use of gatsby-plugin-react-svg for inlining SVGs as react components as the 2 plugins seem to clash, and gatsby-plugin-svgr also seems to work fine...

View Article


Comment by dvdsmpsn on Using gatsby-image in mdx file with...

Take a look at the Gatsby tutorial, particularly part 7 - gatsbyjs.com/docs/tutorial/part-7

View Article

Comment by dvdsmpsn on How to fix Something went wrong installing the "sharp"...

This fixed Error: Something went wrong installing the "sharp" module Cannot find module '../build/Release/sharp-darwin-arm64v8.node' for me on moving from a Intel to arm based Mac.

View Article

Comment by dvdsmpsn on How to use the GAPI Client Library (Google Sign-In for...

Well, it still works when I added the extra meta tags, so isnt any worse. I guess we'll find out on April 1, 2023 😀

View Article

Answer by dvdsmpsn for Finding Macro in Confluence

This is the include macro. It includes the _allspaces-column page from the space with a space key of OP.

View Article


Answer by dvdsmpsn for WARNs in Confluence 6.0.1 after upgrade

Confluence collects analytics data about how you use the platform and reports it back to Atlassian. These warnings are part of that analytics package.One way to get rid of these warnings is to turn off...

View Article

Answer by dvdsmpsn for Formatting a compact code block in Confluenc

OOTB, the only way to do this is with monospace text, but you don't get the background and border.On Confluence Cloud, you have no other option.If you are on Confluence Server, you could add a new user...

View Article


Answer by dvdsmpsn for How to get the current logged in user in Bitbucket...

In old Stash (v3.6.x) terms this was:require(['stash/api/util/state'], function(state) { console.log('Current user', state.getCurrentUser());});This gives an output of:{"id": 2,"active": true,"name":...

View Article

Answer by dvdsmpsn for Is it possible to create a canonical URL for pages...

Instead of adding an incorrect URL, you could use a custom variable to record the space key, e.g. _paq.push(['setCustomVariable','1','Space Key', AJS.params.spaceKey]);

View Article


Answer by dvdsmpsn for Making text bold based on page tree depth in Confluence

If you are on Confluence Server, you can do this. On Confluence Cloud, you are out of luck, sorry.Add the following in Confluence Admin | Look and Feel | Custom HTML in At the end of the...

View Article

Answer by dvdsmpsn for So whats wrong with the embedded database?

The key point here is that it is a completely unsupported configuration and as such Atlassian Support will not help you if anything goes wrong with your installation. If you're fine with that, continue...

View Article

Answer by dvdsmpsn for Confluence: Bill plugins per specific users, not whole...

This is not possible. Each add-on/app has to be licenced for the same number of users as the Confluence instance.

View Article

Error posting to IBM Connections 4.5 activity stream

Using a browser REST client to POST to the activity stream at e.g.https://connectionsww.demos.ibm.com/connections/opensocial/basic/rest/activitystreams/@me/@all...with the settings prescribed in IBM...

View Article


Answer by dvdsmpsn for Code splitting with create-react-app and...

OK, I worked this out eventually...I had a file at /src/containers/index.js which contained the following line:export { default as AuthenticateContainer } from...

View Article


Image may be NSFW.
Clik here to view.

Answer by dvdsmpsn for Ways to connect mongodb to grafana

Try using MongoDB datasource for GrafanaIt should allow you to hook up your MongoDB data source just fine...Source

View Article

Answer by dvdsmpsn for Grafana with MongoDB as data source

Someone has written a plugin for that: mongodb-grafana

View Article

Answer by dvdsmpsn for List Items empty when requested via Microsoft Graph

This is something that's taken me a while to figure out from the docs.Firstly, don't do anything programmatically until you've got it working on the Microsoft Graph Explorer - it is just a big waste of...

View Article


Answer by dvdsmpsn for React native webview HTML5 video sound not working in...

Assuming that you're using expo and you have come up against this bug, you can get around this problem using the following:import { Audio } from "expo";... async playInSilentMode() { // To get around...

View Article

Answer by dvdsmpsn for How do you integrate Universal Analytics in to Chrome...

I wrote up a blog post on this - How to add Google’s Universal Analytics tracking to a Chrome extensionHere's the guts of it:// Standard Google Universal Analytics...

View Article

Answer by dvdsmpsn for Cannot read property 'empId' of undefined

Though this question seems a little incomplete, it looks like you have a typo in:this.data = reponse;Likely it should be:this.data = response;

View Article

Answer by dvdsmpsn for React Code rendering as text and components are not...

It looks like you should call myRender() in the return: return (<Fragment> {myRender()}</Fragment> );

View Article



Answer by dvdsmpsn for Use GET to return records based on nested fields

Try one of these:const res = await axios.get('/api/card',{ params:{ documentId: "5da713edf0a1645ae95b11oo" }});This would be a GET request to /api/card?documentId=5da713edf0a1645ae95b11ooorconst res =...

View Article

Webpack strips tags out of inline SVGs in my stylesheets and I don't know why

I'm using Gatsby with Tailwind CSS and the build step strips animations out of my inline SVGs in my stylesheet.Here's my /styles/global.css complete with animations in the inline SVG:@tailwind...

View Article

How do you open Chrome extension options page from a web page?

My Chrome extension has a content script that uses the following to inject HTML into the page:var optionsUrl = chrome.extension.getURL("src/options/options.html"); var content = '<a href="'+...

View Article

Answer by dvdsmpsn for How do I call Google Analytics Admin API (for GA4)...

The simple answer here is don't bother with the Node.js libraries for Google Analytics Admin & Google Analytics Data.Cut out the middleman and build a very simple wrapper yourself which queries the...

View Article


Answer by dvdsmpsn for How to use the GAPI Client Library (Google Sign-In for...

OK, now we're after March 31, 2023, I can answer this.The method described above, adding...<meta name="google-signin-plugin_name" content="My App Name Here" />..does appear to work just fine.Just...

View Article

Answer by dvdsmpsn for Get user's groups via Javascript in Atlasian Confluence

You can't access that in JavaScript without a little server side help...Edit the Main Layout in Confluence Admin | Look And Feel | LayoutsAdd this before the </head>...

View Article

Comment by dvdsmpsn on SvelteKit + docx – Can't read the data of 'the loaded...

@Dai Thanks. I hate it when GitHub does that. I've fixed the mime type of the Blob, but still get the same error :(

View Article


Comment by dvdsmpsn on Is there any API to revoke a user's token in mocrosoft...

This kills/revokes all sessions for all apps that the user has signed into. The use case for revokeSignInSessions is to deactivate the access for a lost device. The question asks to revoke for a single...

View Article


Answer by dvdsmpsn for How to refer to font file inside a Confluence plugin?

For Confluence Server, a basic plugin could be defined like so:With some files in the following...

View Article
Browsing latest articles
Browse All 41 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>