Skip to content

Instantly share code, notes, and snippets.

Ambroos Vaes Ambroos

Block or report user

Report or block Ambroos

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
Ambroos /
Last active Feb 13, 2020
Remove SentinelOne agent from Mac. Because honestly, it doesn't seem to do anything at all. Run as root, best is to do this from a recovery mode, single user mode with writeable filesystem, ...


This was only tested on a partial SentinelOne installation on the High Sierra beta, where SentinelOne was never allowed to enable it's kernel extension.

Ambroos / Ad.jsx
Created Apr 29, 2015
Loading synchronous / document.write-ing ads asynchronously against their will in a React component
View Ad.jsx
import React from 'react';
import $script from 'scriptjs';
require('postscribe/htmlParser/htmlParser.js'); // This is required for postScribe, postScribe is a bit annoying.
const postscribe = require('exports?postscribe!postscribe'); // Needs webpack exports-loader! Otherwise, just require it and use window.postscribe.
// This GlobalAdCodePromise is a simple promise that uses script.js to load a javascript file and then resolve.
const GlobalAdCodePromise = new Promise((resolve) => {
setTimeout(() => {
$script('', () => {

Keybase proof

I hereby claim:

  • I am ambroos on github.
  • I am ambroos ( on keybase.
  • I have a public key ASBkd67aigkVJqKwxTdkcCV3ZeDihU1VuqhnmaYZ8nHGTQo

To claim this, I am signing this object:

View partyparrots.yml
title: parrotparty
- name: aussiecongaparrot
- name: aussieparrot
- name: aussiereversecongaparrot
- name: bananaparrot
Ambroos / MyRouteHandler.js
Created Apr 20, 2015
Async data fetching sample with React-Router and Fluxible
View MyRouteHandler.js
import loadData from '../actions/loadData';
// Other imports
class MyRouteHandler extends React.Component { ... }
let Handler = connectToStores(MyRouteHandler, ...);
Handler.navigateActions = { // Where the magic happens
client: [ loadData ],
server: [ loadData ]
You can’t perform that action at this time.