I am trying to write some rspec tests and I want to mock a static method from a module. The setup is like this: module MyModule def self.my_method 'end' en
I have created a react app with: npx create-react-app my app Initially i had an images folder but it was outside the src folder so i could not use them then i
I would like to specify a default sort order in my model. So that when I do a .where() without specifying an .order() it uses the default sort. But if I speci
After testing my Android app with Android studio on several devices with no problem, since a few days I get the following log in the console: 14:48 Unable to o
I have a problem in my Java native audio library but first, here is my current approach: With a native method I'm opening a 'global' stream, which receives dat
i have a tab and has few pages on this tab control (say 8 pages) and each page has 2 or 3 listbox displaying some info related to that job (sales, admin, wareho
I have an odd task. I am simply trying to add an additonal function on an element when its clicked. I cant seem to trigger the addScroll function that is found
My Index.js is having a error. I can't understand why. const { Client, Collection } = require("discord.js"); const { readdirSync } = require("fs"); const { join
I am new to flutter and making an app with null safety but getting this error! I think the error is caused by misc.dart specifically while declaring the firesto