Skip to content

Instantly share code, notes, and snippets.

View JSzaszvari's full-sized avatar

John Szaszvari JSzaszvari

  • All over the World
View GitHub Profile
@mfd
mfd / teams.sh
Last active December 2, 2025 21:01
Download any video from Microsoft Teams, SharePoint and OneDrive
2teams() {
NOW=$(date +"%Y-%m-%d_%H%M")
if [ ! -z $2 ] ; then
echo $NOW"_"$2.mp4
ffmpeg -i $1 -codec copy $NOW"_"$2.mp4
else
echo $NOW"_teamsvid".mp4
ffmpeg -i $1 -codec copy $NOW"_teamsvideo".mp4
fi
}
@opragel
opragel / lazy_install_microsoft_office2016vl.sh
Last active April 5, 2018 15:36
lazy_install_microsoft_office2016vl.sh
#!/bin/bash
CHOICES_XML_PATH="/tmp/office2016-choices.xml"
MSO2016_PKG_PATH="/tmp/microsoft_office2016_volumeinstaller.pkg"
MSO2016_SERIALIZER_PATH="/tmp/Microsoft_Office_2016_VL_Serializer.pkg"
INSTALLER_TARGET="/"
MAU_APP_PATH="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app"
DOUBLE_SECRET_MAU_PATH="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app"
@jcaraballo
jcaraballo / git-branch-between-different-repositories.md
Created March 6, 2012 01:05
How to fork a github repository in bitbucket

#Create bitbucket branch

##Create local branch

$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
  master
* sync