Skip to content

Instantly share code, notes, and snippets.

View sidx1024's full-sized avatar

Sid sidx1024

View GitHub Profile
@sidx1024
sidx1024 / machine.js
Created July 23, 2021 08:57
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@sidx1024
sidx1024 / js_vs_ruby.md
Last active January 18, 2023 19:41
JavaScript vs Ruby
@sidx1024
sidx1024 / remove_google_search_annoying_people_also_search_for.md
Last active December 7, 2020 08:18
Remove Google Search's annoying "People also search for"

Remove Google Search's annoying "People also search for"

  1. Install uBlock origin extension.

  2. Go to extension preferences > "My filters".

  3. Add:

www.google.*##div[jscontroller]:if(h4:has-text(People also search for))
<!DOCTYPE html>
<html>
<!--[if IE 5]><b>Internet Explorer version 5 </b><![endif]-->
<!--[if IE 6]><b>Internet Explorer version 6 </b><![endif]-->
<!--[if IE 7]><b>Internet Explorer version 7 </b><![endif]-->
<!--[if IE 8]><b>Internet Explorer version 8 </b><![endif]-->
<!--[if IE 9]><b>Internet Explorer version 9 </b><![endif]-->
<br/><br/>
<script>
var _navigator = {};