Skip to content

Instantly share code, notes, and snippets.

@neerajgupta2407
neerajgupta2407 / celery.sh
Created October 10, 2023 10:42 — forked from amatellanes/celery.sh
Celery handy commands
/* Useful celery config.
app = Celery('tasks',
broker='redis://localhost:6379',
backend='redis://localhost:6379')
app.conf.update(
CELERY_TASK_RESULT_EXPIRES=3600,
CELERY_QUEUES=(
Queue('default', routing_key='tasks.#'),
import base64
import os
import time
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
"""
Desired Capabilities
"""
# TODO provide the desired cap as per your requirement
@neerajgupta2407
neerajgupta2407 / README.md
Created June 8, 2017 19:46 — forked from oodavid/README.md
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)

Sister Document - Restore MySQL from Amazon S3 - read that next

1 - Install s3cmd

this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc