Skip to content

Instantly share code, notes, and snippets.

Karl theangryangel

Block or report user

Report or block theangryangel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Microsoft Teams on Linux under Chrome/Chromium

This will result in working private voice calls, a working meetings and (as far as I can tell) functional chat on Chrome 71.0.3578.98. Screensharing does not seem to work.

  1. Install User Agent Switcher for Chrome,
  2. Import the user-agent-switcher.json in the User Agent Switcher for Chrome Options
  3. Navigiate to chrome://flags and set the following;
  • Hardware Acceleration
    • Override software rendering list: ENABLED
View ram.exs
src = %{
first: %{
buy: [
%{cost: 90.394, supply: 2.245},
%{cost: 90.15, supply: 1.305},
%{cost: 89.394, supply: 4.3}
sell: [%{cost: 100.003, supply: 2.4}, %{cost: 100.013, supply: 2.2}]
second: %{
View webpack.config.js
const path = require('path');
const glob = require('glob');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const css_loaders = [
View warn-expiring-passwords.ps1
import-module ActiveDirectory;
$smtpserver = ""
$smtpport = 25
$smtpfrom = ""
$maxPasswordAgeTimeSpan = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge
Get-ADUser -filter * -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires, EmailAddress, GivenName | % {

Keybase proof

I hereby claim:

  • I am theangryangel on github.
  • I am the_angry_angel ( on keybase.
  • I have a public key whose fingerprint is CCEE 2B7B 467E 6FFF 2FD9 A9B1 9C4E 1B64 F7F0 16E5

To claim this, I am signing this object:

theangryangel / fix-MS16-072.ps1
Created Jun 20, 2016
Add authenticated users with read permissions to address kb3159398/MS16-072
View fix-MS16-072.ps1
Get-GPO -All | ForEach-Object {
if ('S-1-5-11' -notin ($_ | Get-GPPermission -All).Trustee.Sid.Value) {
$_ | Set-GPPermission -PermissionLevel GpoRead -TargetName 'Authenticated Users' -TargetType Group -Verbose
theangryangel / TestController.js
Created Mar 9, 2013
Abusing sails' policies to use existing express middleware (ie. express-form)
View TestController.js
// api/controllers/TestController.js
var TestController = {
// since the policy will have run, we can now use req.form as "normal"
formtest: function(req, res)
if (!req.form.isValid)
// Handle errors
theangryangel / AuthController.js
Created Feb 28, 2013
sails (v0.8.82) + passport + passport-local Rough Example. For the love of all that is holy, don't use this in production.
View AuthController.js
// api/controllers/AuthController.js
var passport = require('passport');
var AuthController = {
login: function (req,res)
You can’t perform that action at this time.