1 - Fork a repo
2 - Clone the sevntu.checkstyle project to your local machine (username – your Github user account name.):
$ git clone [email protected]:USERNAME/REPOSITORY.git3 - Configure remotes:
1 - Fork a repo
2 - Clone the sevntu.checkstyle project to your local machine (username – your Github user account name.):
$ git clone [email protected]:USERNAME/REPOSITORY.git3 - Configure remotes:
Case 1 - All the background details explicitly specified.
/* syntax */
background: [background-image]
[background-position]
[background-size]
[background-repeat]
[background-attachment]
[background-origin]| <?php | |
| function my_single_template_by_post_id( $located_template ) { | |
| return locate_template( array( sprintf( "single-%d.php", absint( get_the_ID() ) ), $located_template ) ); | |
| } | |
| add_filter( 'single_template', 'my_single_template_by_post_id' ); |
| // Sample grunt-jekyll grunt.js file | |
| // https://github.com/dannygarcia/grunt-jekyll | |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| jekyll: { |
| CULTURE SPEC.CULTURE ENGLISH NAME | |
| -------------------------------------------------------------- | |
| Invariant Language (Invariant Country) | |
| af af-ZA Afrikaans | |
| af-ZA af-ZA Afrikaans (South Africa) | |
| ar ar-SA Arabic | |
| ar-AE ar-AE Arabic (U.A.E.) | |
| ar-BH ar-BH Arabic (Bahrain) | |
| ar-DZ ar-DZ Arabic (Algeria) | |
| ar-EG ar-EG Arabic (Egypt) |
| .highlight { | |
| background-color: #efefef; | |
| padding: 7px 7px 7px 10px; | |
| border: 1px solid #ddd; | |
| -moz-box-shadow: 3px 3px rgba(0,0,0,0.1); | |
| -webkit-box-shadow: 3px 3px rgba(0,0,0,0.1); | |
| box-shadow: 3px 3px rgba(0,0,0,0.1); | |
| margin: 20px 0 20px 0; | |
| overflow: hidden; |
| var data = "do shash'owania"; | |
| var crypto = require('crypto'); | |
| crypto.createHash('md5').update(data).digest("hex"); |
| /* | |
| Hardboiled CSS3 Media Queries by Andy Clarke: | |
| http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
| Author: Andy Clarke | |
| Web site: http://stuffandnonsense.co.uk | |
| Twitter: http://twitter.com/malarkey | |
| Hardboiled Web Design |
| function slugify(text) | |
| { | |
| return text.toString().toLowerCase() | |
| .replace(/\s+/g, '-') // Replace spaces with - | |
| .replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
| .replace(/\-\-+/g, '-') // Replace multiple - with single - | |
| .replace(/^-+/, '') // Trim - from start of text | |
| .replace(/-+$/, ''); // Trim - from end of text | |
| } |