Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
antonbabenko / gist:fc8b73b2086f488014b1a8b4de842863
Last active November 21, 2017 10:16
Upcoming HashiCorp User Group Oslo meetups
https://www.meetup.com/Oslo-HashiCorp-User-Group
20.11.2017 - Terraform Q&A - https://www.meetup.com/Oslo-HashiCorp-User-Group/events/243890303
* Anton Babenko, https://twitter.com/antonbabenko
Beginning/middle of January - Packer:
* Anders Bruvik, https://twitter.com/bruvik
* Marek Piątek, https://twitter.com/piontas
* Anton Babenko, https://twitter.com/antonbabenko
@fracasula
fracasula / setup.sh
Last active May 14, 2021 16:28
How to install Bluejeans on Ubuntu
sudo apt install alien -y
sudo alien --scripts bluejeans_1.28.9-2_amd64.rpm # or whatever is the file you downloaded from the bluejeans website
sudo dpkg -i bluejeans_1.28.9-2_amd64.deb
cd /lib/x86_64-linux-gnu
sudo ln -s libudev.so libudev.so.0
# now you can launch bluejeans
/opt/bluejeans/bluejeans-bin
@pylover
pylover / a2dp.py
Last active March 11, 2024 03:06
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
Licence: Freeware
sudo apt-get update
sudo apt-get install git python-setuptools python-dev sshpass libffi-dev libssl-dev make libxml2-dev libxslt1-dev acl build-essential -y
sudo easy_install pip
sudo pip install paramiko PyYAML jinja2 httplib2 requests lxml cssselect xmltodict sphinx
sudo pip install pywinrm
sudo pip install requests==2.13.0
sudo pip install packaging
#In order to build docs:
sudo apt-get install asciidoc -y
#
# Ce fichier de configuration Logstash permet d'effectuer la copie d'index soit:
# - à l'intérieur d'un même cluster Elasticsearch
# - entre différents clusters Elasticsearch
#
# Utile dans le cas où nous voulons réindexer un index à l'aide de nouveaux mappings ou pour
# dupliquer la production vers un autre environnement de tests.
#
# Pour invoquer la commande:
# LS_HEAP_SIZE="2048m" /path/to/bin/logstash -w 2 -f copie-elasticsearch.conf
#--------------------
#
# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
#