rvm pkg install openssl rvm remove x.x.x rvm install x.x.x -C --with-openssl-dir=$HOME/.rvm/usr
This file contains 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
Errors were encountered while processing: | |
linux-firmware | |
linux-image-generic-hwe-18.04 | |
linux-generic-hwe-18.04 | |
system76-driver | |
linux-image-4.15.0-45-generic | |
initramfs-tools | |
linux-image-4.18.0-14-generic | |
linux-image-4.18.0-15-generic | |
E: Sub-process /usr/bin/dpkg returned an error code (1) |
This file contains 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
<template> | |
<div class="login"> | |
<form action="/create" method="post" v-on:submit.prevent="login"> | |
<div class="d-flex align-items-center justify-content-center bg-br-primary ht-100v"> | |
<div class="login-wrapper wd-300 wd-xs-400 pd-25 pd-xs-40 bg-white rounded shadow-base"> | |
<div class="signin-logo tx-center tx-28 tx-bold tx-inverse"><span class="tx-normal">Welcome back!</span></div> | |
<div class="tx-center mg-b-40">Record-Keeping For Perfectionists & {{ store.entities.data.test_message }}</div> | |
<div class="form-group"> | |
<input type="text" class="form-control" placeholder="Enter your email" v-model="store.user_logins.email" autofocus> | |
</div><!-- form-group --> |
This file contains 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
// UserLogin Model | |
import { Model } from '@vuex-orm/core'; | |
export default class UserLogin extends Model { | |
static entity = 'user_logins' | |
static fields() { | |
return { | |
email: this.attr('test@example.com'), | |
password: this.attr('123456'), |
This file contains 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 Vue from "vue"; | |
import Vuex from "vuex"; | |
import VuexORM from '@vuex-orm/core'; | |
import Axios from "axios"; | |
// Model imports | |
import UserLogin from '../models/sessions/UserLogin'; | |
import Account from '../models/Account'; | |
import Address from '../models/Address'; | |
import Answer from '../models/Answer'; |
This file contains 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
=== npm audit security report === | |
# Run npm update fsevents --depth 4 to resolve 13 vulnerabilities | |
┌───────────────┬──────────────────────────────────────────────────────────────┐ | |
│ Low │ Regular Expression Denial of Service │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ | |
│ Package │ debug │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ | |
│ Dependency of │ webpack [dev] │ | |
├───────────────┼──────────────────────────────────────────────────────────────┤ |
This file contains 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 Mapper = require('mapper'); | |
var conn = { user: 'grace', password: 'secret', database: 'app_dev' }; | |
// set verbose flag to trace SQL | |
// set strict to be warned of invalid columns in JSON objects | |
Mapper.connect(conn, {verbose: true, strict: false}); | |
// what triggers the connection from my html site? Do I need to wrap this inside an event listener (i.e. on document load)? |
This file contains 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
const massive = require('massive'); | |
const connection_infos = { | |
host: 'ramon-dev.c6nail1iwzsm.us-east-1.rds.amazonaws.com', | |
port: 3306, | |
database: 'demo', | |
user: 'dev', | |
password: 'j3fpT4xAnjTKLaQKEceK' | |
} | |
massive(connection_infos).then(db => {...}); |
This file contains 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've tried the following --> | |
<%= f.collection_select( | |
:doctor_full_name, | |
@resident.doctors, | |
:full_name, | |
:full_name, | |
{ selected: f.object.doctor_full_name, prompt: true } | |
) %> |
This file contains 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
<div id="content-container"> | |
<div class="page-head"> | |
<div id="page-title"> | |
<h1 class="page-header text-overflow">Create <%= @resident.full_name.pluralize %> Medication Record</h1> | |
<!--Searchbox--> | |
<div class="searchbox"> | |
<div class="input-group custom-search-form"> | |
<input type="text" class="form-control" placeholder="Search.."> | |
<span class="input-group-btn"> | |
<button class="text-muted" type="button"><i class="demo-pli-magnifi-glass"></i></button> |