Questions tagged [timed]
110 questions
160
votes
4 answers
jQuery show for 5 seconds then hide
I'm using .show to display a hidden message after a successful form submit.
How to display the message for 5 seconds then hide?

josoroma
- 1,887
- 2
- 14
- 16
33
votes
6 answers
Google Play Timed Publishing
While updating an app with "Timed Publishing" on Google Play, after I upload the APK, should I select the "publish now to production" option? Will this submit the new APK to production or will Google play just process it and wait for me to click "Go…

Gowri Shankar Malapaka
- 331
- 1
- 3
- 6
21
votes
6 answers
bash script to run in 5 minutes
I just want a bash script to run 5 minutes after it's called. What am I doing wrong?
I have the command:
/path/to/my/script | at now + 5 min
And yet the script runs right away every time.

James Nine
- 2,548
- 10
- 36
- 53
8
votes
2 answers
Is unit testing timed-interval actions with Thread.Sleep bad?
If I have an subject under test with a timer that causes some action to be taken at a timed interval, what's a good way to test that?
One method is to wrap the timer in an interface and inject it as a dependency.
However, I'd like to avoid creating…

Jeff B
- 8,572
- 17
- 61
- 140
8
votes
1 answer
Powershell - Prompt user then expire prompt after xx seconds
I am trying to display a promp for user action and if no action is taken have the prompt close and teh script continue on. here is my command prompt dialog configuraiton
$yes = New-Object System.Management.Automation.Host.ChoiceDescription…

Ernest Vannorsdell
- 83
- 1
- 5
7
votes
1 answer
Problems getting timed events in Flurry Analytics to work
I have already checked out this link and followed the instructions exactly: Can Flurry analytics provide average of integer information?
Have also read the instructions from Flurry, provided when downloading the SDK. I am putting in a…

marhol682
- 91
- 1
- 3
4
votes
1 answer
Weekly shuffle of array
I have a set of 4 HTML list items and I'd like to shuffle the order they appear in once a week. I was wondering if anyone out there had a nice, elegant solution to this?
As always, I'd be enormously grateful for any input you might…

Alex Stanhope
- 51
- 1
- 6
4
votes
4 answers
3
votes
0 answers
io.micrometer @Timed not emitting metrics for @Override method in Java and Springboot App. Tried registering TimedAspect manually
I am trying to capture the metrics for an override method in Java / Springboot. Below is the snippet
@Override
@Timed(value = "processor_timer", histogram = true)
public void preProcess(byte[] key, byte[] event, Headers headers) {
…

Gupta
- 31
- 2
3
votes
2 answers
Android - Notification at specific time every day
I am trying to add a notification feature to my application. I want it to run a notification or action at the same time, every day. I have this code for my notification right now:
import android.support.v7.app.AppCompatActivity;
import…

Jacob
- 91
- 2
- 11
3
votes
4 answers
create a timed 3 state push button in arduino
Due to a shortage of pins on a esp8266 in arduino, I need a way to detect a button where;
momentary press runs snooze()
15 sec press runs conf_Desk()
30 sec press runs calibration()
the preconfig;
int buttonPin = D7;
pinMode( buttonPin…

user1213320
- 650
- 1
- 6
- 13
3
votes
2 answers
RxJs: How to emit events at predefined times?
I have some pre-defined events set to occur at specific times.
And I have a timer, like this:
const timer = Rx.Observable.interval(100).timeInterval()
.map(x => x.interval)
.scan((ms, total) => total + ms, 0)
The timer emits something close…

mookie the swede
- 427
- 6
- 13
2
votes
1 answer
Running an action in time intervals
I am developing an asp.net mvc application in which deliver some services to my customers. Every customer has a profile and in that profile there's is a field with customer's birthday date. I want my application to automatically be notified about my…

Babak Fakhriloo
- 2,076
- 4
- 44
- 80
2
votes
5 answers
Timed text swap?
is it possible to swap a paragraph of text with javascript/jQuery?
I want a delay timer of about 5 seconds, and then the text should swap to something else, like a image slide. Would be awesome with a fade or an effect, but whatever works. Can you…

lukas
- 23
- 1
- 3
2
votes
1 answer
Eclipse microprofile metrics @Timed does measure time, always 0
we have a problem with eclipse microprofile metrics @Timed annotation.
It does not seem to measure times (only counts number of calls).
Setup is with Payara 5 full.
Typical output via http://localhost:8080/metrics/application:
# TYPE…

wurznsepp
- 21
- 2