Skip to content

Instantly share code, notes, and snippets.

{
"header": {
"version": "2.1.0",
"mc_version": "1.16.5",
"name": "Copy 6",
"author": "iFunkyMunky",
"bounding_box": {
"min_x": 0,
"min_y": 0,
"min_z": 0,

Jira: [XXX-XXXX](link to issue)

Objective

Describe the problem and what is to be achieved with this pull request...

Type

  • Bug Fix
  • New Feature
@rhymeswithmogul
rhymeswithmogul / Revert-M365AppsFrom2104.ps1
Last active May 12, 2021 13:04
There are severe Outlook issues with version 2104. (Install-Script Revert-M365AppsFrom2104)
<#PSScriptInfo
.VERSION 1.0.1
.GUID ea95d532-3b54-48b0-97ef-45f16237e277
.AUTHOR Colin Cogle
.COPYRIGHT (c) 2021 Colin Cogle. All Rights Reserved. Licensed under the AGPLv3.
.TAGS Microsoft, screwed, up, again, 2104, Office, 2016, 2019, Current Channel, Outlook, bug, email, M365, update, devops-fail
.LICENSEURI https://www.gnu.org/licenses/agpl-3.0.en.html
.PROJECTURI https://gist.github.com/rhymeswithmogul/f6d5c37ed3058802e9cb94e637e989c9
.RELEASENOTES Documentation updates, link to PowerShell Gallery, remove swearing for broader public release.
#>
@hanspinckaers
hanspinckaers / .vimrc
Last active December 8, 2020 09:37
My full vimrc
syntax on
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree' " file list
Plug 'majutsushi/tagbar' " show tags in a bar (functions etc) for easy browsing
Plug 'vim-airline/vim-airline' " make statusline awesome
Plug 'vim-airline/vim-airline-themes' " themes for statusline
Plug 'jonathanfilip/vim-lucius' " nice white colortheme
Plug 'davidhalter/jedi-vim' " jedi for python
@OndraZizka
OndraZizka / switchHeadphones.sh
Last active May 29, 2024 13:43
Bluetooth headset - switch between quality sound + no mic (A2DP) and crappy sound and mic (HSP/HFP)
#!/bin/bash
#### Restart Bluetooth
if [ "$1" == "resetBT" ] ; then
sudo rfkill block bluetooth && sleep 0.1 && sudo rfkill unblock bluetooth;
exit;
fi;
#### Toggle listen/speak
if [ "$1" == "" -o "$1" == "toggle" ] ; then
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 17, 2024 04:00 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@corpit
corpit / upc_check_digit.py
Created January 1, 2014 02:59
Calculate UPC-A check digit in Python
def add_check_digit(upc_str):
"""
Returns a 12 digit upc-a string from an 11-digit upc-a string by adding
a check digit
>>> add_check_digit('02345600007')
'023456000073'
>>> add_check_digit('21234567899')
'212345678992'
>>> add_check_digit('04210000526')
@corpit
corpit / upca_to_upce.py
Last active August 8, 2019 22:58
UPC-A to UPC-E converter in Python
def upca_to_upce(upca):
"""
Takes a upc-a code (12 digits), including check digit,
as a string and returns upc-e representation.
UPC-E representation will be eight digits, including check digit
Returns None if no upc-e representation is possible
Rules from http://mdn.morovia.com/kb/UPCE-Specification-10634.html