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
| #!/bin/bash | |
| find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head |
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
| # <ul> | |
| # <li class="parent"> | |
| # <a href="#">Link</a> | |
| # <ul> | |
| # <li></li> | |
| # <li></li> | |
| # </ul> | |
| # </li> | |
| # </ul> |
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
Show hidden characters
| { | |
| "shell_cmd": "valac --pkg gtk+-3.0 --pkg gee-1.0 --pkg sqlite3 main.vala DbWrapper.vala journal_entry.vala -o main && ./main" | |
| } |
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
| IEnumerator SpinObject(GameObject target) { | |
| while (true) { | |
| target.transform.Rotate (0, 0, 180 * Time.deltaTime); // 180 degrees per second | |
| yield return null; | |
| } | |
| } |
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
| var gulp = require('gulp'), | |
| gutil = require('gulp-util'), | |
| sass = require('gulp-ruby-sass'), | |
| coffee = require('gulp-coffee'), | |
| livereload = require('gulp-livereload'), | |
| autoprefixer = require('gulp-autoprefixer'); | |
| var assets_folder = "path/to/assets/folder/"; | |
| gulp.task('default', ['watch']); |
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
| #!/bin/bash | |
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| mysql -u dbuser -p123 dbname < $DIR/../schema/schema.sql |
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
| #!/bin/bash | |
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| mysqldump -u dbuser -p123 dbname > $DIR/../schema/schema.sql |
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
| $white : #FFFFFF | |
| $ghost : #FAFAFA | |
| $snow : #F9F9F9 | |
| $vapor : #F6F6F6 | |
| $white-smoke : #F5F5F5 | |
| $silver : #F0F0F0 | |
| $smoke : #EEEEEE | |
| $gainsboro : #DDDDDD | |
| $iron : #CCCCCC | |
| $base : #bdbdbd |
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 if (has_post_thumbnail( $post->ID ) ): ?> | |
| <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> | |
| <div id="custom-bg" style="background-image: url('<?php echo $image[0]; ?>')"> | |
| </div> | |
| <?php endif; ?> |
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
| // font-face | |
| =font-face($family, $path, $svg, $weight: normal, $style: normal) | |
| @font-face | |
| font-family: $family | |
| src: url('#{$path}.eot') | |
| src: url('#{$path}.eot?#iefix') format('embedded-opentype'), url('#{$path}.woff') format('woff'), url('#{$path}.ttf') format('truetype'), url('#{$path}.svg##{$svg}') format('svg') | |
| font-weight: $weight | |
| font-style: $style | |
| // use +font-face('Miso', '../fonts/miso-webfont', 'miso') |
NewerOlder