Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
74 views

here is how Superglobals are defined in PHP Superglobals — Built-in variables that are always available in all scopes And here is how $GLOBALS are defined here $GLOBALS — References all variables ...
1 vote
2 answers
158 views

If I had to run functions in the global scope e.g. in order to populate a static container in several cpp-files, then each time such a function is invoked I would have to initialize a new variable as ...
0 votes
1 answer
163 views

I see this Q&A here, but that's for an obvious global named Promise. I can find Promise in the MDN docs easily enough. But Rollup is renaming 4 of my consts that I don't find anywhere in any docs:...
10 votes
1 answer
506 views

What (I think) I need How can I define a type trait that checks whether, for a type T, the function ::foo(T) is declared? What I'm finding hard, is to have ::foo in SFINAE friendly way. For instance, ...
0 votes
1 answer
79 views

This may be a very dumb question but I've exhausted every search I can think of. I have a large set of data in a Google sheet that I run 3 separate scripts(1 tethered/2 standalone) on that pull data ...
1 vote
2 answers
104 views

I have a function named close in a js file that can't be renamed for some reason. Now whenever I want to use window.close function (to close the browser tab) I can't: my close function overrides that ...
0 votes
3 answers
194 views

I want to fill the ProductList in the code below but it's always null. do you have any solution? fun nameValidation(name: TextInputEditText, cactusDao: CactusDao): String? { val nameText =...
0 votes
1 answer
949 views

I'm working on getting a bunch of legacy inline scripts cleaned up. My question is: How do I call a function from an inline script that is compiled in WebPack. After trying a bunch of different ...
1 vote
1 answer
271 views

So I created a middleware to limit the data a connected user has access to by adding global scopes depending on some informations: public function handle(Request $request, Closure $next) { ...
0 votes
1 answer
86 views

How do I clean up my global space without having to create +1000 lines .gs files Here follows two photos of some of my files/folders. Mind how low the scroll bar can slide (30+ GAS files) ↓ In ...
1 vote
2 answers
354 views

Im using Laravel 9.39.0, php 8.1, mysql 8.0.31. My goal is to add a scope that will filter models where the user that user_id references has been archived or filtered in some way. The filtering of the ...
0 votes
2 answers
187 views

I'm developing a Dataflow streaming job for CSV check triggered by a creation of an object in Cloud Storage (via Pub\Sub notification). I'm using Dataflow because is a business requirement and for the ...
0 votes
1 answer
557 views

So, trying to scope what a user can see according to him belonging to a providers model, I have this global scope defined : class Provider extends Model { protected static function booted() { ...
0 votes
1 answer
944 views

I have a many (snowflake) javascript stored procedures per data pipeline , in all the procedures I have this function defined. create or replace procedure procedure1() returns strint language ...
0 votes
1 answer
628 views

In our project, we have anonymous global scope defined this way: static::addGlobalScope('user_team', function (Builder $builder) { $builder->where('team_id', '=', auth()->user()->team_id); }...

15 30 50 per page
1
2 3 4 5
...
8

AltStyle によって変換されたページ (->オリジナル) /