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 App = angular.module('App', []); | |
| App.controller('TodoCtrl', function($scope, $http) { | |
| $http.get('todos.json') | |
| .then(function(res){ | |
| $scope.todos = res.data; | |
| }); | |
| }); |
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
| // Word Wrapping | |
| @mixin word-wrap() { | |
| -ms-word-break: break-all; | |
| word-break: break-all; | |
| word-break: break-word; | |
| -webkit-hyphens: auto; | |
| -moz-hyphens: auto; | |
| hyphens: auto; | |
| } | |
| .word-wrap { |
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
| require 'restclient' | |
| require 'json' | |
| require 'digest' | |
| class IGDownloader | |
| def initialize(output_path) | |
| @base_output_path = output_path | |
| 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
| /* | |
| * From css-tricks.com | |
| * http://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
| */ | |
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ |
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
| // Sample grunt-jekyll grunt.js file | |
| // https://github.com/dannygarcia/grunt-jekyll | |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| jekyll: { |
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
| /** | |
| * CSS Animated Repeating Gradient | |
| */ | |
| body { | |
| background: repeating-linear-gradient(-45deg,red,red 20px,blue 20px,blue 40px); | |
| background-size:56px 56px;/* This is unique for this background, need to find a pattern and develop a formula */ | |
| background-position-x:0%; | |
| -webkit-animation:'slide' 20s infinite linear forwards; | |
| } |
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
| # Normal CSS | |
| /* | |
| Filename | |
| Description of the file and it's contents (sometimes followed by a table of contents) | |
| */ | |
| /* Section heading | |
| -------------------------------------------------- */ |
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 | |
| /** | |
| * @file | |
| * Default theme implementation to display a block. | |
| * | |
| * Available variables: | |
| * - $block->subject: Block title. | |
| * - $content: Block content. | |
| * - $block->module: Module that generated the block. |
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
| /* | |
| Copyright (c) 2017 Chris Patuzzo | |
| https://twitter.com/chrispatuzzo | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
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
| .img_container { | |
| position: relative; | |
| display: inline-block; | |
| max-width: 900px; | |
| -webkit-box-shadow: 0px 2px 5px rgba( 0, 0, 0, 0.4 ); | |
| -moz-box-shadow: 0px 2px 5px rgba( 0,0,0,0.4 ); | |
| -o-box-shadow: 0px 2px 5px rgba( 0,0,0,0.4 ); | |
| box-shadow: 0px 2px 5px rgba( 0, 0, 0, 0.4 ); | |
| line-height: 0; | |
| margin-bottom: 50px; |