Skip to content

Instantly share code, notes, and snippets.

View bodny's full-sized avatar

Tomas Bodnar bodny

  • Bratislava, Slovakia
View GitHub Profile
@bodny
bodny / install-teams-on-linux.sh
Created July 13, 2021 08:16
MS Teams on Linux
wget https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.4.00.13653_amd64.deb
sudo apt-get install ./teams_1.4.00.13653_amd64.deb
@bodny
bodny / npm-fix-permissions.md
Created April 3, 2018 12:11
NPM - fix permissions as root (WARN EACCESS)

NPM - fix permissions as root (WARN EACCESS)

  • If npm detects it is running as root it drops to a non-privileged user which then doesn't have permissions to write to /root/.node-gyp. The --unsafe-perm option stops it from changing user.
  • e.g. following errors:
    • gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/aglio/node_modules/protagonist/.node-gyp"
    • gyp WARN EACCES user "nobody" does not have permission to access the dev dir "/usr/lib/node_modules/aglio/node_modules/protagonist/.node-gyp/8.11.1"
sudo npm install -g --unsafe-perm homebridge
@bodny
bodny / OurGrid - resources
Last active April 23, 2017 20:52
OurGrid resources - OurGrid website is not working anymore, therefore I've put together useful OurGrid resources
Former OurGrid website - archive version (4.4.0): http://ourgrid.lsd.ufcg.edu.br/index.php
Former OurGrid website - archive version (4.3.0): http://www2.lsd.ufcg.edu.br/~marcosancj/og430/
Download OurGrid binaries (4.3.1): http://www2.lsd.ufcg.edu.br/~marcosancj/ourgrid-4.3.1.tar.gz
Former OurGrid repo: https://www2.lsd.ufcg.edu.br/~abmar/og/repo/
https://www2.lsd.ufcg.edu.br/~abmar/og/
http://www2.lsd.ufcg.edu.br/~marcosancj/
@bodny
bodny / latest-ffmpeg-centos7.sh
Last active November 24, 2024 21:24 — forked from mustafaturan/latest-ffmpeg-centos6.sh
Installs latest ffmpeg on Centos 7
# source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide
yum -y install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
cd yasm-1.2.0