Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Zakk‭

Type On... Excerpt Status Date
Comment Post #286405 > this is a standardization for writing pseudo code. Yes, > for context-free grammars . What I have noticed, you are asking different questions on this site. It looks like you are trying to achieve something related to parsing.
(more)
almost 2 years ago
Comment Post #285999 @#8176 What about a minimal reproducible example?
(more)
about 2 years ago
Comment Post #286357 @#56529 Good code is simple, clear, unambiguous, self-explanatory and -when possible- short. That said, if you have ``` javascript if (condition) { action1(); } else { action2(); } // and nothing goes here ``` you can simplify it like ``` javascript if (condition) { ac...
(more)
about 2 years ago
Comment Post #286307 @#56529 You wrote in a [comment](https://software.codidact.com/comments/thread/6166#comment-17183): > If you meant that it's harmful to use on an entire document than I would agree that it's a problematic approach which can destroy **many passages of content**. What you asked for was straightfo...
(more)
about 2 years ago
Comment Post #286065 I don't know if this will solve your issue, but I think it's better to call `exit()` after `header()`: ``` header('Location: '.$_SERVER['REQUEST_URI']); // reload exit(); ``` You can make it as a reusable function if you wish: ``` function goto_page(string $page): void { header('...
(more)
about 2 years ago
Comment Post #286306 @#56529 Take a look at [this question](https://stackoverflow.com/questions/38872290/how-to-get-pseudo-element).
(more)
about 2 years ago
Edit Post #286307 Post edited:
Added a link to the user who helped : )
about 2 years ago
Suggested Edit Post #286307 Suggested edit:
Added a link to the user who helped : )
(more)
helpful about 2 years ago
Comment Post #286304 You already wrote an answer. No need to (re)write mine. Glad my answer helped!
(more)
about 2 years ago
Comment Post #286306 From [your previous post](https://software.codidact.com/posts/286304), it looks like you have a [XY Problem](https://xyproblem.info/).
(more)
about 2 years ago
Comment Post #286304 > ... **wherever it is in a webpage**, with vanilla JavaScript. > > **It doesn't matter where that character would appear**... > > ... **Wherever it will appear, it will be deleted.** The OP used **_wherever_**, **_It doesn't matter where_** and **_Wherever_**. He absolutely means everywhere. ...
(more)
about 2 years ago
Comment Post #286304 One solution would be to use `replace()` on `document.body.innerHTML`: ``` document.body.innerHTML = document.body.innerHTML.replace(/x/g, '*'); ```
(more)
about 2 years ago