Skip to content

Instantly share code, notes, and snippets.

@wcpines
wcpines / portable_vimrc.vim
Created January 14, 2020 21:06
Portable Vim Config
set belloff=all
syntax on " Enable syntax highlighting
filetype plugin indent on " Filetype detection[ON] plugin[ON] indent[ON].This command will use indentation scripts located in the indent folder of your vim installation.
set path+=** " Search into subfolders
set bs=2 " Backspace with this value allows you to use the backspace character for moving the cursor over automatically inserted indentation and over the start/end of line.
set expandtab " Use spaces when tab is hit
set gcr=n:blinkon0 " Turn off cursor blink
set hidden " Switch buffers and preserve changes w/o saving
set ignorecase " Ignore case for search patterns
set incsearch " Dyna
@wcpines
wcpines / fbClean.js
Last active March 11, 2019 17:11
Remove facebook advertisers
// NOTE: This is intended for moderately technical folks
// 1. Navigate to https://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen
// 2. Click on "Advertisers you've interacted with"
// 3. Open a developer console and paste the script below
// 4. (This should also work for the "Your Interests" section)
// WARNING: The class names used in the query selectors are probably dynamically
// generated and may not be the same for you. Try manually running some of
@wcpines
wcpines / background.json
Created April 29, 2017 21:56
Background, jsonified
{
"background": {
"companies": [
{
"name": "appnexus",
"industry": "adtech",
"skills_acquired": [
"bash",
"rest_apis",
"sql",