Skip to content

Instantly share code, notes, and snippets.

View symstu's full-sized avatar
🏠
Working from home

Maksym Stukalo symstu

🏠
Working from home
View GitHub Profile
@symstu
symstu / most_used_commands.md
Last active September 8, 2020 07:47
Most used commands

Linux commands

# untar archive
tar zxvf tarball.tar.gz

Git

git init --bare
git clone --bare git@host:path
@symstu
symstu / amazon_sns_ios_push.py
Last active August 31, 2018 11:31
Send direct push notification on ios via Amazon SNS with boto module
import json
import boto.sns
class AmazonSNSIosPush:
def __init__(self, region_name, aws_access_key_id,
aws_secret_access_key, arn):
self.user_token = None
self.message = None
self.arn = arn
@symstu
symstu / README.md
Last active July 25, 2018 13:43
Python Create Redis Cluster

Python script for auto-creating redis cluster

Requirements

  • Python (Tested on 2.7.12 and 3.5.2)
  • PyPi module Redis
  • Installed and running Redis Servers

How to

from this_module import RedisCluster