Skip to content

Instantly share code, notes, and snippets.

View alex-left's full-sized avatar

Alex alex-left

View GitHub Profile
@alex-left
alex-left / change_versions.py
Created November 27, 2018 12:11
simple pyhton script to change versions (taken from envvars) in build time for ios apps
#!/usr/bin/env python
from os import getenv
info_plist_path = "ios/app_react/Info.plist"
pairs = {
"version_string": {"value": getenv("BITRISE_GIT_TAG", default="untagged"), "key": "CFBundleShortVersionString"},
"version_build": {"value": getenv("BITRISE_BUILD_NUMBER"), "key": "CFBundleVersion"}
}
@alex-left
alex-left / pedantically_commented_playbook.yml
Created May 21, 2018 13:20 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@alex-left
alex-left / gist:7967dac44f2d2e31eabba2fae318a402
Created June 28, 2017 22:38
Play acestream easily in any linux system
Follow this steps to play a acestream link in any linux system using docker engine
1. Install docker engine, depending of your distro follow the instructions here:
https://docs.docker.com/engine/installation/
2. Up docker acetream proxy server:
``` docker run -d --name aceproxy -p 8000:8000 sergelevin/acestream-debproxy ```
This docker image works perfectcly, thanks to https://github.com/sergelevin/docker-acestream-debproxy
3. In this point you can play with for example, vlc player, a acestream aganist your local aceproxy.
4. you can use my script for more convenience:
https://github.com/alex-left/run-ace-proxy