Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mradcliffe's full-sized avatar
💭
I may be slow to respond.

Matthew Radcliffe mradcliffe

💭
I may be slow to respond.
View GitHub Profile
@jeremymaya
jeremymaya / dotnet-macOS.md
Last active April 12, 2024 11:36
ASP.NET Core Development with macOS
const data = require('../Downloads/Slack/diversity-inclusion/2019-03-07.json');
const usersExport = require('../Downloads/Slack/users.json');
// Load all users into memory.
const users = {};
const contributors = {};
usersExport.forEach(user => {
users[user.id] = user.profile.display_name_normalized ? user.profile.display_name_normalized : user.profile.real_name_normalized;
});
@jonjonw
jonjonw / README.md
Last active August 29, 2020 17:49
Patch for lib32-gtkglext in archlinux AUR

This a patch for https://aur.archlinux.org/packages/lib32-gtkglext/ to fix the compile error arond the use of the variable name 'index'.

To apply, clone the repo and apply git git patch before building:

git clone https://aur.archlinux.org/lib32-gtkglext.git
cd lib32-gtkglext
curl -LO https://gist.github.com/jonjonw/39031796ca230e240311fbb73085bd80/raw/lib32-gtkglext.git.diff
git apply lib32-gtkglext.git.diff
makepkg -si
@hisplan
hisplan / add-rsync-to-git-bash.md
Created February 21, 2018 09:02
Add rsync to git bash for windows
@anschaef
anschaef / bootstrap-4-sass-mixins-cheat-sheet.scss
Last active April 12, 2024 08:49
Bootstrap 4 Sass Mixins [Cheat sheet with examples]
/* -------------------------------------------------------------------------- */
// All Bootstrap 4 Sass Mixins [Cheat sheet]
// Updated to Bootstrap v4.5.x
// @author https://anschaef.de
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins
/* -------------------------------------------------------------------------- */
/*
// ########################################################################## */
// New cheat sheet for Bootstrap 5:
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active April 22, 2024 03:37
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@tegansnyder
tegansnyder / disable mcafee endpoint protection.md
Last active December 26, 2023 03:18
Disable McAffee Endpoint Protection OSX

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas

alternatively

sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload
@hyamamoto
hyamamoto / utf8_to_sjis.go
Created February 7, 2015 17:05
ShiftJIS <=> UTF-8 conversion samples in Go language.
package main
import (
"fmt"
"strings"
"bytes"
"io"
"io/ioutil"
"golang.org/x/text/transform"
// "code.google.com/p/go.text/transform" // deprecated