Skip to content

Instantly share code, notes, and snippets.

@nwade
nwade / README.md
Last active April 22, 2024 02:22
Remove SentinelOne Agent - macOS High Sierra/Mojave

Warning - use at your own risk

Remove SentinelOne agent from Mac

  1. Boot into Recovery Mode by holding Cmd+R during reboot
  2. Open Terminal from top menubar
  3. Run /Applications/Utilities/Disk\ Utility.app/Contents/MacOS/Disk\ Utility to open Disk Utility
  4. If your startup disk is encrypted, use Disk Utility to mount it
  5. In Terminal, run chroot /Volumes/Macintosh\ HD
  6. Execute the deletion commands or script
@nwade
nwade / config.js
Created August 29, 2015 22:54
Deploy ghost blog to Cloud Foundry (Pivotal Web Services)
var path = require('path'),
config;
var env = process.env.NODE_ENV || 'development';
var production = env === 'production';
var cfenv, appenv, sqlCredentials, mailCredentials;
if (production) {
cfenv = require('cfenv');
appenv = cfenv.getAppEnv();
@nwade
nwade / Gruntfile.js
Last active August 29, 2015 14:21
How to get grunt-newer to compile parent jade templates that include modified templates
grunt.initConfig({
// ...
newer: {
options: {
override: function (detail, include) {
if (detail.task === 'jade') {
checkForNewerImports(detail.path, detail.time, include);
} else {
include(false);
@nwade
nwade / go-brew-cross-compile
Last active December 23, 2015 07:39
Install go using homebrew with cross-compile support on Mountain Lion using llvm
brew install go --cross-compile-all --use-llvm