I hereby claim:
- I am hikmahgumelar on github.
- I am hikmahgumelar (https://keybase.io/hikmahgumelar) on keybase.
- I have a public key ASCbtOfZZMuXGhWvoohoZq-kAHTo56ubk9xuzZzh3CNIIgo
To claim this, I am signing this object:
| image: docker:latest | |
| variables: | |
| REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME> | |
| REGION: eu-central-1 | |
| TASK_DEFINTION_NAME: <TASK DEFINITION NAME> | |
| CLUSTER_NAME: <CLUSTER NAME> | |
| SERVICE_NAME: <SERVICE NAME> | |
| services: |
| #!/bin/bash | |
| # | |
| ## redis backup script | |
| ## usage | |
| ## redis-backup.sh port backup.dir | |
| port=${1:-6379} | |
| backup_dir=${2:-"/data/backup/redis"} | |
| cli="/usr/local/bin/redis-cli -p $port" |
| import json | |
| import requests | |
| from lxml import html | |
| from collections import OrderedDict | |
| import argparse | |
| def parse(source,destination,date): | |
| for i in range(5): | |
| try: | |
| url = "https://www.expedia.com/Flights-Search?trip=oneway&leg1=from:{0},to:{1},departure:{2}TANYT&passengers=adults:1,children:0,seniors:0,infantinlap:Y&options=cabinclass%3Aeconomy&mode=search&origref=www.expedia.com".format(source,destination,date) |
I hereby claim:
To claim this, I am signing this object:
| // in AngularJS (client) | |
| myApp.config(['$httpProvider', function($httpProvider) { | |
| $httpProvider.defaults.useXDomain = true; | |
| delete $httpProvider.defaults.headers.common['X-Requested-With']; | |
| }]); | |
| // in Express/nodeJS |