Skip to content

Instantly share code, notes, and snippets.

@cmdoptesc
cmdoptesc / facebook-privacy-guide.md
Last active March 28, 2018 08:40
Facebook Privacy Settings for those who still want to use Facebook

Facebook Privacy Settings for those who still want to use Facebook

Only have five minutes? Read the highlights.

Facebook is an advertising platform that builds profiles about its users through their browsing history and sells them.

Google does the same with your search history and YouTube views. On the other hand, Facebook tracks you because a great number of web sites are littered with Facebook's tiny "Share / Like this" button. A user thinks the button is just there to make sharing easier, but it allows Facebook to keep a record every site the user has been on.

example of tracking button

@cmdoptesc
cmdoptesc / uszipgeo.json
Last active February 20, 2018 23:11
uszipgeo.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cmdoptesc
cmdoptesc / .block
Last active February 14, 2018 22:16 — forked from mbostock/.block
Municipalities of Mexico II - How to convert a shapefile to TopoJSON by M Bostock
border: no
height: 600
license: gpl-3.0
@cmdoptesc
cmdoptesc / change_screenshots_path.md
Created February 1, 2018 15:06
Change macOS / OSX screenshots location

defaults write com.apple.screencapture location ~/Desktop/screenshots

killall SystemUIServer

@cmdoptesc
cmdoptesc / olo_widget.css
Last active December 21, 2017 20:55
OLO Widget
.up-olo-opener {
cursor: pointer;
}
.up-olo-container, .up-olo-overlay {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
@cmdoptesc
cmdoptesc / .macos
Created February 17, 2017 08:46
Mathias Bynen's macOS defaults script
#
# Originally..
# https://github.com/mathiasbynens/dotfiles/blob/master/.macos
#
#!/usr/bin/env bash
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding

Keybase proof

I hereby claim:

  • I am cmdoptesc on github.
  • I am cmdoptesc (https://keybase.io/cmdoptesc) on keybase.
  • I have a public key whose fingerprint is 59DA 9BAB 126F 9AFC BCFE 6BA8 1918 CAA8 286A 134E

To claim this, I am signing this object:

@cmdoptesc
cmdoptesc / hn_search_with_sort.js
Last active April 12, 2016 10:44 — forked from kristopolous/hn_seach.js
HackerNews "Who is Hiring" Search w/ Date Sorting
function query() {
var SORT_RECENT_FIRST = true;
var SEARCH_REPLIES = true;
var query_list = Array.prototype.slice.call(arguments);
var commentTable = document.querySelector('.comment-tree');
var commentNodes = Array.prototype.slice.call(commentTable.querySelectorAll('.athing'));
var COMMENT_TEXT_SELECTOR = '.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88';
@cmdoptesc
cmdoptesc / d3.slider.css
Last active April 6, 2020 09:50
D3: Map Timeline
.d3-slider {
position: relative;
font-family: Verdana,Arial,sans-serif;
font-size: 1.1em;
border: 1px solid #aaaaaa;
z-index: 2;
}
.d3-slider-horizontal {
height: .8em;
@cmdoptesc
cmdoptesc / README.md
Last active September 7, 2021 06:18 — forked from mbostock/.block
TopoJSON Examples

Some of these files are from the us-atlas:

  • us.json - make topo/us-10m.json
  • us-congress-113.json - make topo/us-congress-10m.json

Others are from the world-atlas:

  • world-50m.json - make topo/world-50m.json
  • world-110m.json - make topo/world-110m.json