Skip to content

Instantly share code, notes, and snippets.

View justincampbell's full-sized avatar
🌯
🍩

Justin Campbell justincampbell

🌯
🍩
View GitHub Profile
@justincampbell
justincampbell / SKILL.md
Last active February 12, 2026 14:51
Claude Code skill: local code review with difit
name local-review
description Launch a local code review UI (difit) to review the current branch's diff against main, then address pasted review comments.
disable-model-invocation true

Local Review

Launch a diff review UI for the current branch, then address review feedback.

@justincampbell
justincampbell / matches.md
Last active February 10, 2026 15:01
Men's World Cup 2026 - Probabilities by Match/Team (10k Simulations)

Matches with Team Probabilities

Round of 32

June 28th - Ro32 Match 73 - Inglewood

  • South Korea 38.41%
  • Switzerland 34.49%
  • Mexico 29.26%
  • Canada 27.86%
@justincampbell
justincampbell / How-to-Win-Friends-and-Influence-People.md
Created September 19, 2013 17:11
Principles of How to Win Friends and Influence People

How to Win Friends and Influence People

Fundamental Techniques in Handling People

  1. Don't criticize, condemn, or complain.
  2. Give honest and sincere appreciation.
  3. Arouse in the other person an eager want.
  4. Never show others that you are not interested in what they have to say.
One Two Three Four Five Six
Span triple double
@justincampbell
justincampbell / after.sh
Created March 1, 2013 17:45
Jenkins + GitHub Commit Status API
if [[ $BUILD_STATUS == "success" ]]
then
export STATUS="success"
else
export STATUS="failure"
fi
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \
-H "Content-Type: application/json" \
-X POST \
@justincampbell
justincampbell / Vagrant Cloud API Example.md
Last active December 20, 2022 23:10
Vagrant Cloud API Example

Vagrant Cloud API Example

Create box

curl \
  --header "X-Atlas-Token: $VAGRANT_CLOUD_TOKEN" \
  --header "Content-Type: application/json" \
  https://app.vagrantup.com/api/v1/boxes \
  --data '{"username":"justin_hashicorp", "name":"test"}'
# H1

## H2

> Quote

Paragraph

```hcl

Keybase proof

I hereby claim:

  • I am justincampbell on github.
  • I am justincampbell (https://keybase.io/justincampbell) on keybase.
  • I have a public key ASABkQIYJSFWwtjsFtix7--wO-z9Uko8-JtQxhJfcd__TAo

To claim this, I am signing this object:

" vim-test
autocmd WinEnter,VimResized * call SetTestStrategy()
function! SetTestStrategy()
if (winheight('%') > 40)
let g:test#strategy = "tslime"
else
let g:test#strategy = "dispatch"
endif
endfunction
let g:tslime_always_current_session = 1
@justincampbell
justincampbell / test.md
Created October 18, 2018 14:59
GFM Test
{
  "test": 123
}