Init a repo:
git init .
Make initial commit - it's required to add a subtree:
echo "git repo with subtrees" > README.md
git add README.md
git commit -m "Initial commit"
| #!/bin/bash | |
| brew install wine winetricks | |
| WINEARCH=win32 WINEPREFIX=~/.wine winecfg | |
| mkdir ~/.cache/winetricks/ | |
| winetricks settings fontsmooth=rgb | |
| winetricks -q dotnet45 corefonts tahoma |
| # copy to $HOME/ffmpeg_build/lib/pkgconfig/libmfx.pc | |
| # see https://trac.ffmpeg.org/wiki/CompilationGuide | |
| prefix=/opt/intel/mediasdk | |
| exec_prefix=${prefix} | |
| libdir=${prefix}/lib/lin_x64 | |
| includedir=${prefix}/include | |
| Name: libmfx | |
| Description: Intel Media Server Studio SDK | |
| Version: 16.5 |
| # for Debian 9 (Stretch) | |
| # roughly based on https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu | |
| sudo apt-get -y install pkg-config git build-essential autoconf libtool | |
| cd $HOME/src/fdk-aac | |
| autoreconf -fiv | |
| ./configure --prefix="$HOME/ffbuild" --disable-shared | |
| make && make install |
| git config --local core.pager "iconv -f cp1251 -t utf-8 | less" |
| # Add this snippet to the top of your playbook. | |
| # It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
| # [email protected] | |
| - hosts: all | |
| gather_facts: False | |
| tasks: | |
| - name: install python 2 | |
| raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
Init a repo:
git init .
Make initial commit - it's required to add a subtree:
echo "git repo with subtrees" > README.md
git add README.md
git commit -m "Initial commit"
| # after loading Rails console | |
| require 'factory_girl_rails' | |
| include FactoryGirl::Syntax::Methods |
# create user and groups for rbenv
useradd -U rbenv || true
usermod -G rbenv -a vagrant # add vagrant to rbenv group; discard if you are not using Vagrant
# install rbenv itself
git clone https://github.com/rbenv/rbenv.git /usr/local/rbenv
cd /usr/local/rbenv && ./src/configure && make -C src || true