Skip to content

Instantly share code, notes, and snippets.

Script URL substrings used to detect the embeddings from the companies offering session replay services

  • mc.yandex.ru/metrika/watch.js
  • mc.yandex.ru/metrika/tag.js
  • mc.yandex.ru/webvisor/
  • fullstory.com/s/fs.js
  • d2oh4tlt9mrke9.cloudfront.net/Record/js/sessioncam.recorder.js
  • ws.sessioncam.com/Record/record.asmx
  • userreplay.net
  • script.hotjar.com
@int3h
int3h / Time.com-example.json
Created July 28, 2017 09:16
"Websta for Instagram" Chrome extension spyware - example of data collected
[
{
"type": "banner",
"width": 300,
"height": 250,
"actualWidth": 300,
"actualHeight": 254,
"inFrame": true,
"pageUrl": "http://time.com/",
"referrerUrl": "http://time.com/",

New OS X Computer Setup

Below are the programs I install, the Preferences I change, and the configurations I tweak after doing a fresh install of macOS.

Homebrew / Cask

http://brew.sh/

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@RavenHursT
RavenHursT / js-phonescreen-questions.js
Last active August 12, 2022 22:22
Questions for JavaScript phone screen
//What does this do? What is it called? What is it typically used for?
(function () {
// Code
})();
//What does this do and what does it output?
function Obj() {
this.foo = "FOO"
this.func = function () {
var self = this
@cowboy
cowboy / Cowboy Presentation.tmTheme
Created November 17, 2010 21:41
A very quickly thrown-together TextMate theme for presenting, place into ~/Library/Application Support/TextMate/Themes/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Cowboy</string>
<key>comment</key>
<string>Thrown together by Cowboy in 7 minutes, right before a presentation</string>
<key>name</key>
<string>Cowboy - Presentation</string>
@evocateur
evocateur / fixconsolas
Created March 15, 2009 00:15
Fix Consolas's line-height on OS X
#!/bin/bash
#
# Requires ftxdumperfuser from http://developer.apple.com/textfonts/download/
#
# Usage: fixconsolas [files ...]
# When called with no arguments, it attempts to operate on every TrueType
# file in the current directory.
#
# References:
# http://bandes-storch.net/blog/2008/12/21/consolas-controlled/#comment-2042