This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import random | |
import multiprocessing | |
def createChildProcess(sec): | |
q = multiprocessing.Queue() | |
n = os.fork() | |
for i in range(1, sec): | |
if n==0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Morning | |
- ajwain water - soak it over night and next day boil n drink | |
- 1 fruit | |
- Workout | |
- Tea | |
- Breakfast is oats chilla | |
Afternoon | |
- Lunch - a raita - a chapati - 1 chapati - salad | |
- A snack (fruit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def FibonacciSeries(n): | |
if n<=0: | |
print("Incorrect input") | |
elif n==1: | |
return 0 | |
elif n==2: | |
return 1 | |
else: | |
return FibonacciSeries(n-1)+FibonacciSeries(n-2) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-6.jar event-bus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-1.jar router --sessions http://localhost:5556 --distributor http://localhost:5553 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-7.jar distributor --sessions http://localhost:5556 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-7.jar sessions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-7.jar node --detect-drivers --publish-events tcp://hubIP:4442 --subscribe-events tcp://hubIP:4443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-7.jar hub --port 5555 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar selenium-server-4.0.0-alpha-6.jar node --detect-drivers |
NewerOlder