Skip to content

Instantly share code, notes, and snippets.

View dbirks's full-sized avatar
🦔

David Birks dbirks

🦔
View GitHub Profile
@dbirks
dbirks / exchange-calendar-notes.md
Last active November 17, 2017 14:39
Exchange calendar notes

Share Exchange calendar

Allow Mike Roe to see Samantha's calendar:

Add-MailboxFolderPermission -Identity samantha@internet.com:\Calendar -User "Mike Roe" -AccessRights Reviewer

Common roles with their associated permissions that you can assign with AccessRights are:

@dbirks
dbirks / set-OoO-template.md
Last active May 30, 2017 17:27
Set default Out of Office template

You can apply an Automatic Reply (Out of Office) message to a user with this powershell command:

Set-MailboxAutoReplyConfiguration testuser@domain.com –ExternalMessage External test message –InternalMessage Internal test message
@dbirks
dbirks / room-calendar-ics.md
Last active May 30, 2017 17:29
How to export a room calendar as .ics

Get a shell on Exchange Online by following Microsoft's guide.

Publish the calendar for the room:

Set-MailboxCalendarFolder RoomNameHere:\Calendar -DetailLevel fulldetails -PublishEnabled $true -reseturl

Show the .html link, as well as the .ics link:

@dbirks
dbirks / disable-system-beep.md
Last active June 21, 2017 12:23
To disable system beep

To disable the system beep on your Linux system, as root, enter:

rmmod pcspkr

Then to prevent the module from loading on reboot, enter:

echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist
@dbirks
dbirks / cloudSettings
Created March 29, 2017 17:11
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-03-29T17:10:55.267Z","extensionVersion":"v2.6.1"}
@dbirks
dbirks / restore-alsa.md
Last active July 20, 2017 12:34
Restore ALSA to default
alsactl restore -P
@dbirks
dbirks / speedtest-cli-edgerouter.md
Last active February 10, 2023 08:22
Make a Speedtest log on a Ubiquity Edgerouter

Tested on an Edgerouter Lite, EdgeOS 1.9.0

Enable the Wheezy repo

configure
set system package repository wheezy components 'main contrib non-free'
set system package repository wheezy distribution wheezy 
set system package repository wheezy url http://http.us.debian.org/debian
commit
save

ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0 -f alsa -ac 2 -i hw:0 output.mp4

@dbirks
dbirks / install-.net-3.5.md
Last active September 16, 2016 13:56
Install .NET 3.5 on Windows server

Installing .NET 3.5 on Windows Server

In an administrative command prompt or powershell console, enter:

dism /online /enable-feature /featurename:NetFx3 /all /source:e:\sources\sxs\

Where E:\ is where the install medium is mounted.

Tested on 2012 R2 and 2016 Tech Preview 5.