Skip to content

Instantly share code, notes, and snippets.

name: checkout shared library
uses: actions/checkout@v2
with:
repository: voxmedia/github-actions-shared-library
token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
ref: v3
action description
create-release [meta] Automated tagging based on VERSION file.
linter Perform Vox-specific custom lints.
publish-charts Publish charts to helm-charts.voxmedia.com.
push-secrets [meta] Push GitHub secrets to other repositories.
setup-docker-ssh-exec Setup docker-ssh-exec used by many docker-compose files.
setup-helm Setup helm and authenticate with helm-charts.voxmedia.com.
@pam-
pam- / actions-checkout.yaml
Last active April 29, 2020 20:24
blog post
- name: Checkout private github actions
uses: actions/checkout@v2
with:
repository: ‘voxmedia/github-actions-shared-library’
path: ‘github-actions-shared-library’
token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
- name: Checkout private github actions
uses: actions/checkout@v2
with:
repository: ‘voxmedia/github-actions-shared-library’
path: ‘github-actions-shared-library’
token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
- name: Standard setup
run: github-actions-shared-library/standard-setup.sh
@pam-
pam- / content.html
Created January 3, 2015 00:53
contentEditable
<section class="new-question">
<div class="editable" contenteditable="true">
<p>Type text here</p>
<code> Enter code snippet here </code>
</div>
<div class="preview"></div>
</section>
@pam-
pam- / warmup
Created November 25, 2014 05:05
# Never a single answer!!
###Prompt:
####The Manager:
- You are the manager of TeeSwag, a small online t-shirt store where customers can't see what they ordered until it is delivered to their door.
- You decide to use an application that lets you manage your inventory and daily sales.
- You can record sales by tracking your customers' purchases.
####The Customer:
@pam-
pam- / practice.css
Last active August 29, 2015 14:06
jS shenan
div{
height: 100px;
width: 100px;
background: #C15244;
}
@pam-
pam- / rails_console_sandbox
Last active August 29, 2015 14:06
associations not working properly
me = User.create(*all the info*)
ruby = Language.create(name: 'ruby')
python = Language.create(name: 'python')
UsersLanguage.add_language(python, me)
=> true
UsersLanguage.add_language(ruby, me)
=> true
@pam-
pam- / categorization.rb
Last active August 29, 2015 14:04
categories struggle
class Categorization < ActiveRecord::Base
belongs_to :post
belongs_to :category
end
@pam-
pam- / _experience_form.html.erb
Created June 25, 2014 01:21
Error when I run specs: First argument in form cannot contain nil or be empty
<% if current_user?(@user) %>
<%= render 'shared/error_messages', object: f.object %>
<div class="title-area">
<%= f.text_field :title, placeholder: "Enter title..." %>
</div>
<div class="text-area">
<%= f.text_area :content, placeholder: "Compose new post..." %>
</div>
<%= f.submit "Post", class: "small-button", id: "post" %>
<% end %>