Questions tagged [purge]

222 questions
0
votes
2 answers

Purging UIViewController

I have a stack of UIViewControllers currently, each is a modal ViewController presented over the previous one. My problem is that I do not need a stack of UIViewControllers, I only need the last one. So when a new UIViewControllersis presented, its…
SPQR3
  • 647
  • 7
  • 20
0
votes
1 answer

Varnish 3.0.3 req.hash_always_miss vs Vary

I'm trying to build a system that can purge and regenerate URLs as required for a particular system. I previously was having issues with purging when the system located the object by hash but missed the variant as I didn't have a "purge;" in my…
Li1t
  • 622
  • 6
  • 16
0
votes
1 answer

Append parameter to page inside iframe

I am making a tiny bot-like page that will redirect the user to a certain page plus a paramater. Basically: A page inside an iframe redirects the user to a random page on my site (already done) The script appends ?action=purge to the page inside…
iggyvolz
  • 91
  • 1
  • 7
-1
votes
1 answer

how do i fix my purge function in discord.py?

this is my purge command. I am very new to slash commands. @bot.command(name="purge", description="Purge a specific amount of messages.", guild=guild_ID) @commands.guild_only() @commands.has_permissions(manage_messages=True) async def purge(ctx:…
Mads
  • 3
  • 2
-1
votes
1 answer

Purge in Discord.js

I am trying to create a purge command. In my research so far, this command was created in a separate file, in a commands folder, but I would like to put the command in my main.js However, the following error occurs: ReferenceError: args is not…
Mohid Mushtaq
  • 31
  • 1
  • 7
-1
votes
2 answers

Does the 'PURGE' method in HTTP only removes the object from cache memory?

I have searched for purge method but didn't found anything precise. A purge is what happens when you pick out an object from the cache and discard it along with its variants. Usually a purge is invoked through HTTP with the method PURGE. An HTTP…
-1
votes
1 answer

Discord.js bot, how to purge without pins?

This is my purge command, I want my purge to ignore pins, anyone knows how could I do it? This is what I got for now: } else if (message.content.toLowerCase().startsWith(`${PREFIX}purge`)) { if…
-1
votes
1 answer

How Remove and purge lam mpi from ubuntu 18.04

I recently tried to uninstall lam mpi on Ubuntu 18.04 to replace it with open MPI. I ran the following command: sudo apt install lam4-dev It did not work, what should I do?
João Melo
  • 387
  • 4
  • 11
-1
votes
2 answers

Delete folders having particular naming pattern in a path in windows

I have a directory that contains .exe executable and required input files. For each individual request, a separate directory (of the format Output_) is created in the same path and the respective output files are directed there. Now i am in need…
AsteriK
  • 39
  • 1
  • 9
-1
votes
1 answer

Can I safely purge IMAP in Direct Admin?

My users on my server in DirectAdmin consumes a lot of diskspace in their IMAP folders. I see there is an option to PURGE imap messages older dan X days (e.g. 30 days). For normal INBOX messages, this will not hurt my customers, because they have…
Arjan
  • 31
  • 3
-1
votes
2 answers

Simulate fresh testing conditions by purging cached files

For POCs, I have written test methods for multiple approaches to achieve the same result. Problem is when I run the first test, some (.txt) files are cached. It is visible with RAM usage going up pretty much by the same amount as the size of those…
displayName
  • 13,888
  • 8
  • 60
  • 75
-2
votes
1 answer

Purging Data to history database (Simple and short code)

I need to create a stored proc which to move the data in certain table in Production database which before 2010 to Archive database (created with the same structure as Production). The method I used is Copy the data from Production to Archive and…
Kiki
  • 5
  • 5
1 2 3
14
15