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 2018 Simon Davy | |
| # | |
| # 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: | |
| # | |
| # The above copyright notice and this permission notice shall be included in |
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
| module StartAppTest where | |
| import Html exposing (text, Html) | |
| import StartApp | |
| import Effects exposing (Effects) | |
| import Time | |
| import Signal exposing (Address) | |
| type alias Model = Float |
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
| #------------------------------------------------------------------------------ | |
| # ERROR REPORTING AND LOGGING | |
| #------------------------------------------------------------------------------ | |
| # - Where to Log - | |
| log_destination = 'csvlog' # Valid values are combinations of | |
| # stderr, csvlog, syslog, and eventlog, | |
| # depending on platform. csvlog | |
| # requires logging_collector to be on. |
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
| # This is a command configuration to be used with https://github.com/derhasi/buddy | |
| commands: | |
| # calls the global composer command from the root folder | |
| composer: | |
| cmd: composer | |
| workingDir: $DIR | |
| # Calls a local drush command in ./vendor/bin/drush | |
| drush: | |
| cmd: drush | |
| cmdDir: $DIR/vendor/bin |
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 | |
| * Contains Drupal\mymodule\Plugin\Block\ImageRenderExampleBlockByURI. | |
| */ | |
| namespace Drupal\mymodule\Plugin\Block; | |
| use Drupal\Core\Block\BlockBase; |
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 Path = require('path'); | |
| var Gulp = require('gulp'); | |
| var Elm = require('gulp-elm'); | |
| var Concat = require('gulp-concat'); | |
| var Newer = require('gulp-newer'); | |
| Gulp.task('elm-init', Elm.init); | |
| Gulp.task('elm', ['elm-init'], function () { |
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
| /* | |
| First time usage needs the following dependencies installed: | |
| sudo npm install --save-dev del gulp gulp-plumber gulp-sass gulp-watch gulp-autoprefixer gulp-debug gulp-css-globbing gulp-livereload gulp-order gulp-sourcemaps gulp-svg2png gulp-newer gulp-size | |
| bower init | |
| bower install susy --save | |
| bower install sass-toolkit --save | |
| bower install breakpoint-sass --save | |
| */ | |
| //Source / Destination / Path settings |
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
| ;; I am not a regular emacs user and haven't played with lisp for many years. | |
| ;; I struggled for a couple of days trying to tweak org-capture-templates to | |
| ;; get my desired behavior for journal entries. I hope this helps someone! | |
| ;; | |
| ;; I have been following the excellent guide http://doc.norang.ca/org-mode.html | |
| ;; The "journal" template was the one I wanted to tweak. I use a date-based | |
| ;; journal filename, e.g. "2015-09-22-Journal-Entry.org". The contents of the | |
| ;; file consist of a top-level headline with a human-friendly date, followed | |
| ;; by second-level headline with the time and brief journal note. For example: | |
| ;; |
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 | |
| # | |
| # Setup test running for Ubuntu 12.02 / Drone IO | |
| # | |
| # As drone.io build command put: | |
| # | |
| # # Launch the droneio test script from the repo | |
| # bash bin/droneio.bash # Whereever you put this script in your source code control | |
| # | |
| # |
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
| import Html exposing (div, button, text, input, node) | |
| import Html.Events exposing (onClick) | |
| import Html.Attributes exposing (type', class) | |
| import StartApp | |
| main = | |
| StartApp.start { model = model, view = view, update = update } | |
| model = [] |