Skip to content

Instantly share code, notes, and snippets.

View iCodeForBananas's full-sized avatar

Michael Calkins iCodeForBananas

  • AWS
  • Seattle, WA
View GitHub Profile

Introduction

  • Lead:
  • Thesis statement:
  • 1st main point: Caring for a dying child
  • 2nd main point: Care you hope to provide as a graduate nurse/RN for a dying child.

Part 1: Caring for a dying child

Address the kind of nursing care needed for children who are dying.

  • Symptom management
  • Including pain
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): 5.11.0
engines.npm (package.json): unspecified (use default)
@iCodeForBananas
iCodeForBananas / README.md
Last active September 15, 2016 06:07 — forked from stephank/README.md
PulseAudio homebrew formula
import axios from 'axios'
import { SET_CATEGORIES } from './actionTypes'
export function fetchCategories(categorySlug) {
return (dispatch) => {
axios
.get('/api/categories')
.then((response) => {
dispatch(setCategories(response.data))
Math.random = (function(rand) {
var salt = 0
document.addEventListener('mousemove', function(event) {
salt = event.pageX * event.pageY * window.innerWidth * window.innerHeight
})
return function() {
return (rand() + (1 / (1 + salt))) % 1;
}
})(Math.random)
{"version":1.02,"files":[{"file":".gitignore","content":{"type":"Buffer","data":[98,108,111,98,45,115,116,111,114,101,10,99,111,109,112,105,108,101,45,99,97,99,104,101,10,100,101,118,10,115,116,111,114,97,103,101,10,46,110,111,100,101,45,103,121,112,10,46,110,112,109,10]}},{"file":"config.cson","content":{"type":"Buffer","data":[34,42,34,58,10,32,32,34,97,116,111,109,45,98,101,97,117,116,105,102,121,34,58,10,32,32,32,32,103,101,110,101,114,97,108,58,10,32,32,32,32,32,32,95,97,110,97,108,121,116,105,99,115,85,115,101,114,73,100,58,32,34,99,57,48,97,49,100,55,97,45,56,49,100,55,45,52,48,48,102,45,97,99,48,52,45,55,97,49,97,51,50,51,53,54,51,51,52,34,10,32,32,34,97,116,111,109,45,109,97,116,101,114,105,97,108,45,117,105,34,58,10,32,32,32,32,99,111,108,111,114,115,58,10,32,32,32,32,32,32,97,98,97,115,101,67,111,108,111,114,58,10,32,32,32,32,32,32,32,32,97,108,112,104,97,58,32,49,10,32,32,32,32,32,32,32,32,98,108,117,101,58,32,50,52,51,10,32,32,32,32,32,32,32,32,103,114,101,101,110,58,32,49,53,48,10,32,32,32,32,32
{"version":1.02,"files":[{"file":".gitignore","content":{"type":"Buffer","data":[98,108,111,98,45,115,116,111,114,101,10,99,111,109,112,105,108,101,45,99,97,99,104,101,10,100,101,118,10,115,116,111,114,97,103,101,10,46,110,111,100,101,45,103,121,112,10,46,110,112,109,10]}},{"file":"config.cson","content":{"type":"Buffer","data":[34,42,34,58,10,32,32,34,97,116,111,109,45,109,97,116,101,114,105,97,108,45,117,105,34,58,10,32,32,32,32,99,111,108,111,114,115,58,10,32,32,32,32,32,32,97,98,97,115,101,67,111,108,111,114,58,10,32,32,32,32,32,32,32,32,114,101,100,58,32,51,51,10,32,32,32,32,32,32,32,32,103,114,101,101,110,58,32,49,53,48,10,32,32,32,32,32,32,32,32,98,108,117,101,58,32,50,52,51,10,32,32,32,32,32,32,32,32,97,108,112,104,97,58,32,49,10,32,32,32,32,32,32,112,114,101,100,101,102,105,110,101,100,67,111,108,111,114,58,32,34,66,108,117,101,34,10,32,32,32,32,102,111,110,116,115,58,32,123,125,10,32,32,32,32,116,97,98,115,58,32,123,125,10,32,32,32,32,116,114,101,101,86,105,101,119,58,10,32,32,32,32,32,32,99,111,109
[2016-05-12 22:57:53] local.ERROR: Exception: Must provide active tenant id in /home/vagrant/Code/fsadmin/app/Repositories/BaseTenantRepository.php:160
Stack trace:
#0 /home/vagrant/Code/fsadmin/app/Repositories/TenantWishlistRepository.php(261): App\Repositories\BaseTenantRepository->getTenantId()
#1 /home/vagrant/Code/fsadmin/app/Repositories/TenantWishlistRepository.php(247): App\Repositories\TenantWishlistRepository->findOrCreateFavoriteWishlist()
#2 /home/vagrant/Code/fsadmin/app/Http/Controllers/Api/ApiWishlistsController.php(194): App\Repositories\TenantWishlistRepository->findFavorite()
#3 [internal function]: App\Http\Controllers\Api\ApiWishlistsController->allFavorites()
#4 /home/vagrant/Code/fsadmin/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(256): call_user_func_array(Array, Array)
#5 /home/vagrant/Code/fsadmin/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(164): Illuminate\Routing\Controller->callAction('allFavorites', Array)
#6 /home/vagrant/Code/fsad
{"version":1.02,"files":[{"file":".gitignore","content":{"type":"Buffer","data":[98,108,111,98,45,115,116,111,114,101,10,99,111,109,112,105,108,101,45,99,97,99,104,101,10,100,101,118,10,115,116,111,114,97,103,101,10,46,110,111,100,101,45,103,121,112,10,46,110,112,109,10]}},{"file":"config.cson","content":{"type":"Buffer","data":[34,42,34,58,10,32,32,34,97,116,111,109,45,109,97,116,101,114,105,97,108,45,117,105,34,58,10,32,32,32,32,99,111,108,111,114,115,58,10,32,32,32,32,32,32,97,98,97,115,101,67,111,108,111,114,58,10,32,32,32,32,32,32,32,32,97,108,112,104,97,58,32,49,10,32,32,32,32,32,32,32,32,98,108,117,101,58,32,50,52,51,10,32,32,32,32,32,32,32,32,103,114,101,101,110,58,32,49,53,48,10,32,32,32,32,32,32,32,32,114,101,100,58,32,51,51,10,32,32,32,32,32,32,112,114,101,100,101,102,105,110,101,100,67,111,108,111,114,58,32,34,66,108,117,101,34,10,32,32,32,32,102,111,110,116,115,58,32,123,125,10,32,32,32,32,116,97,98,115,58,10,32,32,32,32,32,32,116,105,110,116,101,100,84,97,98,66,97,114,58,32,116,114,117,101,10,32
console.log('test')