-
You will need rails 6 installed. (GoRails)[https://gorails.com/setup/] is the best resource I have found to date.
-
You will need the (heroku cli)[https://devcenter.heroku.com/articles/heroku-cli#download-and-install] tool installed.
-
You will need NodeJS installed: https://nodejs.org/en/download/
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
| <template> | |
| <nav id="pagination"> | |
| <ul class="page-numbers" v-if="$store.state.totalPageCount"> | |
| <li v-for="num in this.pageNumbers" v-if="num != null" v-bind:style="{ width: (100 / pageNumberCount) + '%' }"> | |
| <nuxt-link v-if="num != $route.query.page && num != currentPage" :to="{ path: '/', query: { page: num } }">{{ num }}</nuxt-link> | |
| <span v-else>{{ num }}</span> | |
| </li> | |
| </ul> | |
| <ul class="page-guides" v-if="this.$store.state.totalPageCount != 1"> | |
| <li> |
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
| // For Firefox's Web Console, creates the functions showAsPrint() and undoShowAsPrint() | |
| // to roughly emulate print media and revert | |
| function showAsPrint(){ | |
| var docSS = document.styleSheets, ss, oldMedia, newMedia, rules; | |
| var p2s = function(media){ | |
| if (media.indexOf('all') > -1) return media; //no need to change | |
| if (media == 'print') return 'all, wasprint'; //show on screen, too | |
| if (media.indexOf('print') > -1 && media.indexOf('screen') > -1) return media; //no need to change | |
| if (media == 'screen') return 'wasscreen'; //hide these rules | |
| if (media.indexOf('screen') > -1) return media.replace('screen', 'wasscreen'); //hide these rules |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a
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
| sudo apt-get install libsecret-1-0 libsecret-1-dev | |
| cd /usr/share/doc/git/contrib/credential/libsecret | |
| sudo make |
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
| exports.createPages = ({ graphql, actions }) => { | |
| return graphql(` | |
| { | |
| site { | |
| siteMetadata { | |
| githubOrgs | |
| } | |
| } | |
| } | |
| `).then(result => { |
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
| #!/usr/bin/env ruby | |
| require 'csv' | |
| # This assumes: | |
| # - Ruby 1.9's CSV library, if you are using 1.8, use FasterCSV. | |
| # | |
| # https://raw.github.com/hadley/data-baby-names/master/baby-names.csv | |
| csv_fname = "baby-names.csv" |
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
| <?php | |
| /** | |
| * Set up the Grid Loop | |
| * @author Bill Erickson | |
| * @link http://www.billerickson.net/genesis-grid-loop-content/ | |
| * | |
| */ | |
| function child_grid_loop_helper() { | |
| genesis_grid_loop( array( | |
| 'features' => 2, |