Questions tagged [block]

DO NOT USE This tag is scheduled for removal because it can refer to many different things depending on the use of other tags with it.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

CloudFlare WAF Custom Rule Issue

I am using the CloudFlare WAF Custom Rule: (ip.geoip.country ne "US") with action set to Block. This works great on the first domain I set it up on but doesn't work on any other domain. All ...
Ping's user avatar
  • 191
0 votes
0 answers
14 views

Cakephp 4.X - Add via plugin a script block in every page/view

I have a question about Cakephp 4.X. Maybe you know a simple and quick way to permanently add a Javascript file to all views in the script block using the plugin system. How can this be achieved?
ProfDaniBest's user avatar
-1 votes
0 answers
71 views

Why am I getting Access blocked: Authorization Error, Error 400: invalid_request?

I'm trying to get the access but I'm getting this error. what should I do? Access blocked: Authorization Error The version of the app you're using doesn't include the latest security features to keep ...
yolda rise's user avatar
0 votes
0 answers
108 views

How do I block a path in traefik?

How do I block a path in traefik? For example, I created an IP whitelist middleware which works correctly and when applied blocks any domain I want using: **rule = Host(domain.com) ** and also blocks ...
alexv305's user avatar
1 vote
1 answer
24 views

How to define unequal allocation of groups in blockrand() in R

I want to design a randomized clinical trial using R v.4.0.3 and blockrand package. The following is my code: library(blockrand) library(writexl) library(openxlsx) set.seed(101) Mos1<-blockrand(n=...
Oscar's user avatar
  • 79
-3 votes
1 answer
41 views

Can I set the start block number while creating a datasource template in Subgraph?

https://thegraph.com/docs/en/developing/creating-a-subgraph/#data-source-templates The Graph supports starting a dynamically instantiated data source from a block earlier than the current block? The ...
dolchain's user avatar
0 votes
1 answer
56 views

How can I embed React Apps in WordPress blocks for rendering for end users?

I want to embed my React app in a WordPress Block and provide this app for end users. My expectation is that I can put my app in view.js, but I cannot get view.js content to render. I can run React ...
Bruce's user avatar
  • 53
0 votes
1 answer
27 views

Cannot save attributes and render on page custom block

A new custom block I created, it is visible in the block list and renders correctly on the edit page, but when saved, it is not rendered on the home page. functions.php <?php require 'inc/autoload....
Tsume's user avatar
  • 1
0 votes
0 answers
20 views

Facebook Graph API: How to get user blocked list

I need to retrieve the list of blocked users from a page of mine I created an app in Meta for developers. I have all the permissions. enter image description here I blocked a person on the facebook ...
Alana Soares Reis's user avatar
0 votes
1 answer
35 views

INSERT Block and Dynamically used content access in DXF with ezdxf

I want to make a table in python like the COUNT LIST command used in the drawing. I'm pulling the number of blocks used in the drawing, but I can't pull the number of dynamic blocks. What I want to do ...
Mehmet Kaplan's user avatar
0 votes
0 answers
121 views

rule on AWS WAF to block specific domain (URL)

I want to know how to set a rule on AWS WAF to block a specific domain (URL) ... should I use host header in the rule? if yes how it goes? I found something called Regex pattern set then I found that ...
Mohammed M. El-Sherif's user avatar
0 votes
1 answer
16 views

how do you block access to my site from any IP address other than mine

I have a staging site I do not want anyone to view except for me. I thought I had it blocked, but I found the staging site live while searching. I want to block all IPs except my IP from seeing the ...
David Beeson's user avatar
0 votes
0 answers
28 views

Will Select Statement Block other sessions - Oracle 12.1

Hello all, So far my understanding was Select Statement will not cause blocking other sessions, i am experiencing the block session due to Select statement in Oracle 12.1 version . Here is my example ,...
user1402648's user avatar
0 votes
1 answer
67 views

how does buf retain data in the next iteration although we are re-declaring it every time?

"Buf" should destroy after line #28, as it is local to if block and we are re-declaring then it may have some different values or at least a different memory address when re-declared. I ...
Ankit's user avatar
  • 3
0 votes
1 answer
47 views

How to check if a customer's visit overlaps a one hour time block

Our restaurant has 20 tables. We want to understand how many maximum tables have customers at any give hour. We want to allocate the staff accordingly, find out our busiest hours, etc. Customers can ...
Abeworld's user avatar
0 votes
0 answers
11 views

Does facebook graph api block endpoint(page-id/block) only work for facebook pages? Not for Instagram pages?

Does facebook graph api block endpoint(page-id/block) only work for facebook pages? Not for Instagram pages? Nothing like that mentioned in docs and I use other apis to get posts and comments and it ...
Fahimeh Rahmatipoor's user avatar
1 vote
1 answer
56 views

IBM Cognos 11...Using Conditional Block with variable to select a Date Selector Type in a drop down on a prompt page

I have the Prompt page working in Page Design, I have a Block variable and a "Current Block" setting for each of 3 selection possibilities, if the customer wants to only select entire Fiscal ...
WendellFry's user avatar
0 votes
0 answers
52 views

C# - AES first block decrypt TransformBlock return 0 bytes

I am creating a file encryption and decryption program. Since I need access to the encrypted and decrypted data during the encryption and decryption process, I cannot use CryptoStream. Therefore, I am ...
Bnogent's user avatar
  • 13
0 votes
0 answers
14 views

Wordpress templates not available when chnanging page template

Using wordpress 6.2.2 i have developed simple block theme with few templates. my-theme - templates - Index.html - Page.html - Home.html - Single.html - theme.json ....... When I ...
Sudheera's user avatar
  • 355
0 votes
0 answers
56 views

Custom block not showing up in block editor

I'm having an issue with a custom block that I created for WordPress. The block is supposed to show up in the "Custom Blocks" category in the block editor, but it's not appearing when I ...
The Blog 101's user avatar
0 votes
1 answer
45 views

Move Javascript const from block scope to global

I have a file I am including in my html files containing constants for my Javascript code. I also want to ensure that the constants are not redefined - a syntax error occurs if you try. If it was PHP ...
CraigW's user avatar
  • 23
0 votes
1 answer
71 views

Block store not storing data on Android 13

I have added storing and fetching data from Block store in a sample activity. When I call the method to store the data, and then afterwards read it the code works perfectly on all devices. However ...
Djuro Gluvajic's user avatar
0 votes
0 answers
83 views

How to block Url when user resends from browser in ASP.NET Core

I want once the Url has been successfully received, after that the user cannot resend the desired URL through the Inspect part of the browser and receive the information again. For example, shown in ...
Mohammad Hasan Salmanian's user avatar
0 votes
1 answer
32 views

Add a link next to the heading of a block

drupal block heading I'm trying to add a link next to the heading of this block by clicking it will goes to more news. I've used css pseudo ::after to add text and a logo. But I couldn't add a link to ...
tharinduka's user avatar
0 votes
0 answers
43 views

Rejecting SMS in BroadcastReceiver

Android allows to listen on incoming SMS. Can the message be rejected and non delivery report sent? After setting up the appropriate permissions and listeners, incoming SMS can be read. public class ...
devnet's user avatar
  • 1
0 votes
0 answers
76 views

How to prevent direct link access to files in a specific folder using nginx?

how to block direct link? I have files subtitles want to block direct link and access. But this referrer block access to my domain too location ~\.(vtt|srt|txt)$ { allow localhost; deny all; ...
Stevan Mars's user avatar
0 votes
0 answers
41 views

Content of extents with regard to partition key in an oracle partitioned table

I have a partitioned table in oracle. Partition key is the year. If I consider the partition for the year 2022, do the extents belonging to the segments of this concrete partition contain only records ...
Ali Tc's user avatar
  • 1
0 votes
0 answers
32 views

How do I put blocks inline in drupal without layout builder?

I am a beginner in Drupal. I am having a problem putting inline blocks. In layout builder, it is easy. add a section and put a block to the section. But I am building a site without a layout builder ...
MilanBogic's user avatar
0 votes
0 answers
15 views

How to start a process when tomcat is full started?

I am working on an application, using Spring and Camel, I need to treat bundles of messages, not message ONE by ONE. So I create a folder for each bundle, and I start process when the bundle is ...
Étienne Wattebled's user avatar
-1 votes
1 answer
103 views

Vexriscv - implement ram as block ram

How can I generate a Vexriscv core in a way that the generated ram is a vendor specific block ram (e.g. Intel/Altera or Xilinx)? I tried it by using the black boxing possibility (see https://spinalhdl....
jodá's user avatar
  • 342
0 votes
0 answers
58 views

Can I use image size of 224 with tf_efficientnetv2_b0

I am working on creating a classification model , and I chose tf_efficientnetv2_b0 from timm library in pytorch with my images but I don't know if the image size 224 is suitable for this model, also I ...
Manar Saad's user avatar
0 votes
0 answers
18 views

Assigning treatments to blocks in a RCBD experiment using SPSS

I wish to use SPSS or excel (preferably SPSS) to help me randomly assign 12 treatments each to 4 blocks in a Randomized Complete Block Design experiment. I would like to receive help on how to go ...
Blasio's user avatar
  • 1
-1 votes
1 answer
142 views

Overwrite "single-product" block template in WooCommerce for some products only

I have a couple of products, I need to render another block template than single-product.html, i.e. single-product-custom.html. The problem is, that there doesn't seem to be a similar logic to select ...
Adrian's user avatar
  • 2,243
0 votes
0 answers
12 views

Is it possible to create a script that automatically blocks busy IPs in nginx?

We find the parsing IP once a day. 82222 123.123.123.123 76661 123.123.123.123 30207 123.123.123.123 Record the number of records and IP in the log in the form above. How can I make this type of ...
andy reardon's user avatar
0 votes
1 answer
71 views

How to copy block definition in autocad?

I need to copy block definition (not block reference) and set to copy other name in autocad 2022 within one drawing. How can I do that?
graveman's user avatar
  • 111
0 votes
0 answers
50 views

Woocommerce Block Checkout Show Zero Rate Tax

In my Woocommerce Blocks checkout I would like to show the zero rate vat as "incl tax". Here you see how it appears when I give a country (US in this case) a 1% VAT rate: vat rate US 1% And ...
Bas's user avatar
  • 1
0 votes
0 answers
8 views

php - Magento 1 - Static blocks not appearing on frontend after db save

I have a script in which I replace the old content of the blocks with something else. At the end I just call $block->setContent($content)->save(). The issue is that after i run the script and ...
david's user avatar
  • 1
0 votes
0 answers
23 views

It is possible to block embedded movies popunder ads

It is possible to block embedded movies popunder or redirect ads From my website using any code or any plugin I am expecting a solution
Who Knows's user avatar
0 votes
0 answers
59 views

Wordpress 6 - Retrieve Plugin setting inside a Block Editor

I am developing a wordpress plugin, in which I need to store an API key in the settings page of the plugin itself and then use the api key to perform request inside a block editor. In the PHP file I ...
giuseppebrb's user avatar
0 votes
1 answer
2k views

Ansible: 'block' and 'with_items' [duplicate]

Is it OK / possible to use block in Ansible with with_items? Say I have a list of servers. Before performing any task on these servers, the server is pinged. If the ping succeeds, perform a block of ...
piercjs's user avatar
  • 133
0 votes
1 answer
2k views

How do I use Gradio blocks as variables that can be used in a local function?

Explanation I am trying to use Gradio blocks as inputs to create variables. The variables are then sent to a function to be used to format a string. The problem The variables that the Gradio blocks ...
Noam Siegel's user avatar
0 votes
1 answer
860 views

terraform - how to add a conditional block from map of strings, using map keys as argument names

I am trying to add a conditional block to a resource if an optional map variable has key/value pairs. If the map is not null, I want to add the argument as the key, and the value as the value. ...
network_slayer's user avatar
0 votes
0 answers
48 views

how to add a functionality to display the remaining days to retake a course using recompletion plugin in moodle

I used recompletion plugin to reassign a course to a user after a certain period after it is completed by them. I would like to display the remaining days to retake that particular course to the user ...
Tagnavi's user avatar
0 votes
1 answer
102 views

DXF acces points from a polyline (python)

I have a dxf files and I wan't to search points from a polyline in python. However, my files sections are differents than a dxf than I succeded to display points. I explain : In the dxf I succeded, ...
marie's user avatar
  • 1
0 votes
0 answers
42 views

Remove all blocks from wordpress and add only those from our plugins

We want to allow only a few block-types (5 or so). For each new block-type we want to have an extra plugin. For one plugin this is really easy: https://developer.wordpress.org/reference/hooks/...
ssilk's user avatar
  • 21
2 votes
1 answer
70 views

My extension method can get better? BlockBlobClient GetBlockById dotnet

I've made an extension method for the BlockBlobClient, to get a specific block by block id, and I want to know if this code snippet can be tweaked to increase performance/other things public static ...
Antonio Carlos's user avatar
1 vote
1 answer
34 views

How to wait but not block thread when getting a resource in python?

Suppose we need to create a database connection pool, the requirement is that when a client tries to get a connection, if all exisiting connections are busy, then need to wait for 30 second before ...
Daniel Wu's user avatar
  • 5,853
0 votes
0 answers
74 views

Smarty only expands the default block once

We use Smarty 4.0 with PHP 8.0. We have a default template from which everything else starts. This is followed by a custom template and a series of plugins that also change and extend template files ...
Chris's user avatar
  • 1
0 votes
0 answers
60 views

Remove WP Style Blocks inline on a page after using block_template_part();

If I'm using a php template in my theme for wordpress, for example editing this file: /themes/my-own-theme/header.php and I add in this code: <?php block_template_part( 'content-a' ); ?> it ...
Matt's user avatar
  • 1,811
2 votes
2 answers
265 views

Can I get a specific Block from an Azure Block Blob?

I want to get a specific block from an azure block blob with the blockId, is this even possible? something like var blockBlob = new BlockBlobClient(connectionString, containerName, blobName); var ...
Antonio Carlos's user avatar

1
2 3 4 5
73