Skip to content

Instantly share code, notes, and snippets.

View swmcc's full-sized avatar
👷‍♂️
Building things

Stephen McCullough swmcc

👷‍♂️
Building things
View GitHub Profile
@swmcc
swmcc / github.json
Last active December 29, 2025 06:45
swm.cc GitHub activity data
[
{
"shortName": "second_breakfast",
"fullName": "swmcc/second_breakfast",
"commits": [
{
"message": "Bump bootsnap from 1.19.0 to 1.20.0\n\nBumps [bootsnap](https://github.com/rails/bootsnap) from 1.19.0 to 1.20.0.\n- [Release notes](https://github.com/rails/bootsnap/releases)\n- [Changelog](https://github.com/rails/bootsnap/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/rails/bootsnap/compare/v1.19.0...v1.20.0)\n\n---\nupdated-dependencies:\n- dependency-name: bootsnap\n dependency-version: 1.20.0\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] <[email protected]>",
"sha": "f9988232ab39c942018ca97805193b1b0cd49d0b",
"date": "2025-12-24T15:52:09Z"
},
@swmcc
swmcc / spotify.json
Last active December 29, 2025 06:12
swm.cc Spotify listening data
{
"items": [
{
"track": {
"album": {
"album_type": "album",
"artists": [
{
"external_urls": {
"spotify": "https://open.spotify.com/artist/3qm84nBOXUEQ2vnTfUTTFC"
@swmcc
swmcc / create_label.sh
Last active May 16, 2023 22:58
Creates a list of labels for a repo
gh label create "🐞 bug" --description "Something isn't working" --color d73a4a
gh label create "📚 documentation" --description "Improvements or additions to documentation" --color 0075ca
gh label create "\U0001f97d Testing" --description "Testing" --color bfdadc
gh label create "✨ enhancement" --description "New feature or request" --color a2eeef
gh label create "📦 project" --description "A project related issue" --color 0e8a16
gh label create "❓ question" --description "Further information is requested" --color d876e3
gh label create "👯\u200d♀️ duplicate" --description "This issue or pull request already exists" --color cfd3d7
gh label create "❌ wontfix" --description "This will not be worked on" --color ffffff
gh label create "🙏 help" --description "Extra attention is needed" --color 008672
gh label create "⛔️ invalid" --description "This doesn't seem right" --color e4e669
@swmcc
swmcc / keybase.md
Created October 1, 2019 10:56
key base file

Keybase proof

I hereby claim:

  • I am swmcc on github.
  • I am swmcc (https://keybase.io/swmcc) on keybase.
  • I have a public key ASBbACyzXjKYtoD4XJBvYQ2J6UUU5eZosMA3UHBLFES0Ogo

To claim this, I am signing this object:

<%= form_for(@post) do |f| %>
<%= f.collection_select(:category_id, Category.all, :id, :name, {prompt: "Choose a category" }) %><br>
<%= f.label :title %><br>
<%= f.text_field :title, placeholder: "Type the post title here" %><br>
<%= f.label :content %><br>
<%= f.text_area :content, size: "60x12", placeholder: "Type the post tect here" %><br>
<%= f.submit %>
<% end %>
<h1>Edit Post</h1>
<%= render ‘form’ %>
<%= link_to “Back”, root_path %>
<h1>New Post</h1>
<%= render ‘form’ %>
<%= link_to “Back”, root_path %>
<h1><%= @post.title %></h1>
<p><%= @post.content %></p>
<%= link_to "Edit", edit_post_path(@post) %>
<%= link_to "Delete", @post, method: :delete, data: { confirm: "Are you sure?" %>
<% @posts.each do |post| %>
<h1><%= link_to "post.title", post %></h1>
<p><%= post.content %></p>
<% end %>
#!/usr/bin/env ruby
output = `git log 2.20.1-rc1..develop --oneline --no-merges`
print output.split(/$/).map(&:strip)