Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus| // Bind on click event on page startup using converse's jQuery | |
| converse.env.jQuery(function($) { | |
| $('#join-button').on('click', function() { | |
| converse.rooms.open('[email protected]'); | |
| }); | |
| }); | |
| converse.initialize({ | |
| .... |
| [Unit] | |
| Description=vault server | |
| Requires=network-online.target | |
| After=network-online.target consul.service | |
| [Service] | |
| EnvironmentFile=-/etc/sysconfig/vault | |
| Restart=on-failure | |
| ExecStart=/usr/local/sbin/vault server $OPTIONS -config=/etc/vault.d | |
| ExecStartPost=/bin/bash -c "for key in $KEYS; do /usr/local/sbin/vault unseal $CERT $key; done" |
| # install git with openssl | |
| ENV GIT_VERSION 1.9.1 | |
| ENV PLATFORM 1ubuntu0.1 | |
| ENV GIT ${GIT_VERSION}-${PLATFORM} | |
| RUN apt-get install -y build-essential dpkg-dev | |
| RUN mkdir -p git-openssl | |
| WORKDIR /tmp/git-openssl | |
| RUN apt-get source git=1:${GIT} | |
| RUN apt-get -y build-dep git | |
| RUN dpkg-source -x git_${GIT}.dsc |
about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar.
Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and
rendering normally. Some settings may also make firefox unstable.
I am not liable for any damages/loss of data.
Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions
(HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".
| #!/usr/bin/env bash | |
| # Clear out all previous attempts | |
| rm -rf "/tmp/source-git/" | |
| # Get the dependencies for git, then get openssl | |
| sudo apt-get install build-essential fakeroot dpkg-dev -y | |
| sudo apt-get build-dep git -y | |
| sudo apt-get install libcurl4-openssl-dev -y | |
| mkdir -p "/tmp/source-git/" |
| def get_regionserver_heap_size( | |
| storage_capacity_in_gb, | |
| region_max_filesize=10737418240, | |
| memstore_flush_size=134217728, | |
| replication_factor=3, | |
| memstore_heap_fraction=0.4 | |
| ): | |
| """ | |
| Calculates heap size required based on storage requirements. | |
| ambari-server stop | |
| ambari-agent stop | |
| pkill -9 java | |
| ################################# | |
| # Remove Packages | |
| ################################ | |
| yum -y remove ambari-\* | |
| yum -y remove hcatalog\* | |
| yum -y remove hive\* |
This is installation documentation for installing Koel on Debian 8.
Most packages can be installed via apt-get.
user@debian:~/$ sudo apt-get install -y apache2 mysql-server php5 php5-mysql g++ git curl
| from requests.auth import AuthBase | |
| import re | |
| import base64 | |
| import gssapi | |
| from requests.compat import urlparse | |
| class HTTPAuthSPNEGOGSSAPI(AuthBase): | |
| """Attaches HTTP GSSAPI/Kerberos Authentication to the given Request | |
| object.""" | |
| negoRegex = re.compile('(?:.*,)*\s*Negotiate\s*([^,]*),?', re.I) |