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 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: checkout shared library | |
uses: actions/checkout@v2 | |
with: | |
repository: voxmedia/github-actions-shared-library | |
token: ${{ secrets.GITHUB_ACCESS_TOKEN }} | |
ref: v3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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 }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div{ | |
height: 100px; | |
width: 100px; | |
background: #C15244; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Categorization < ActiveRecord::Base | |
belongs_to :post | |
belongs_to :category | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% 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 %> |
NewerOlder