Skip to content

Instantly share code, notes, and snippets.

View pamo's full-sized avatar

Pamela Ocampo pamo

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 31 columns, instead of 22 in line 6.
TITLE,SALARY (USD),RACE / ETHNICITY,GENDER IDENTITY,SEXUAL ORIENTATION,EMPLOYMENT STATUS,YRS IN ROLE,YRS EXPERIENCE,INDIRECT REPORTS,DIRECT REPORTS,ADDITIONAL COMPENSATION,"OTHER NOTES, INCLUDING THINGS RELGIOUS PRACTICES, STARTING SALARY, ETC.",COUNTRY,,,,,,,,,,,,,,,,,,
Digital Designer,"60,000","Asian, Pacific Islander",Woman (cisgender),Straight,Full-Time,1,2,0,0,yearly bonus,"Starting salary at $60,000, was low-balled because I just graduated",,,,,,,,,,,,,,,,,,,
Research Analyst,"61,800",White,Woman (cisgender),Straight,Full-time,1,2,,,0,,,,,,,,,,,,,,,,,,,,
Editor,"$77,500",White,Woman (cisgender),Queer,Full-time,2,5,0,0,0,"Starting salary $75,000, one 2% raise",,,,,,,,,,,,,,,,,,,
Video Editor/Animator,"80,000",White,Woman (cisgender),Straight,Full-Time,4,4,,,10% bonus,,,,,,,,,,,,,,,,,,,,
Product Designer,"$110,000",White,Man (cisgender),Straight,Full time,1,5,0,0,$500 one time bonus,,,,,,,,,,,,,,,,,,,,
Sales Planner,"$58,500",White,Woman (cisgender),Straight,Full-time,1,1.5,0,0,N/A,Yearly Bonus,,,,,,,,,,
@pamo
pamo / new-relic.js
Created November 15, 2019 19:49
new relic agent
window.NREUM || (NREUM = {}),
(__nr_require = (function(t, e, n) {
function r(n) {
if (!e[n]) {
const o = (e[n] = { exports: {} });
t[n][0].call(
o.exports,
e => {
const o = t[n][1][e];
return r(o || e);
describe('Mock XHR Calls', () => {
beforeEach(() => {
cy.server();
cy.route({
method: 'GET',
url: '/api/heroes/11',
response: { id: 11, name: 'Bob the Builder' }
}).as('heroGet');
cy.route({
{"lastUpload":"2020-05-19T18:32:46.599Z","extensionVersion":"v3.4.3"}
@pamo
pamo / mactweaks.md
Last active July 18, 2018 21:25
Mac Tweaks

Opt-in setup tweaks for your new system:

Profile:

  # Better `ls`
  export CLICOLOR=1
  export LSCOLORS=GxFxCxDxBxegedabagaced
  alias ls='ls -p'

  # Better `grep`
@pamo
pamo / githubwiki.md
Created July 18, 2018 21:23
Git Tweaks

Displaying Git Branch in Console Prompt

If you'd like your terminal prompt to display your current Git branch in a nice format, the following is an excerpt from my .bash_login:

###############
# Custom prompt:

function find_git_branch {
  local dir=. head
@pamo
pamo / .cvimrc
Last active February 12, 2018 19:12
cvim config
" Settings
let barposition = "bottom"
" alias ':g' to ':tabnew google'
command g tabnew google
let completionengines = ["google", "amazon", "imdb"]
let searchalias g = "google" " Create a shortcut for search engines.
" For example, typing ':tabnew g example'
@pamo
pamo / config.yml
Created July 15, 2017 03:28
CircleCI 2.0 Workflows
defaults: &defaults
working_directory: ~/app
docker:
- image: circleci/node:8.1.4-browsers
version: 2
jobs:
build:
<<: *defaults
steps:
@pamo
pamo / windows-dev
Last active November 30, 2016 01:07 — forked from andersonvom/boxstarter-windev.ps1
BoxStarter .NET development box
# Open Internet Explorer and run the raw version of this url as the query parameter to BoxStarter's launcher:
# http://boxstarter.org/package/nr/url?<raw-version-of-this-gist>
# More Info: http://boxstarter.org/WebLauncher
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Update-ExecutionPolicy Unrestricted
cinst -y Microsoft-Hyper-V-All -source windowsFeatures
@pamo
pamo / SimpleHTTPServer.sh
Created April 24, 2016 22:55
bash server function
server ()
{
local port="${1:-8000}";
sleep 1 && open "http://localhost:${port}/" & python -c 'import SimpleHTTPServer;
map = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;
map[""] = "text/plain";
for key, value in map.items():
map[key] = value + ";charset=UTF-8";
SimpleHTTPServer.test();' "$port"
}