A Pen by Stephen Peters on CodePen.
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
| ~/.../PryPress/pry-press-backend // ♥ > rails console | |
| The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. | |
| Running via Spring preloader in process 50251 | |
| Loading development environment (Rails 6.0.3.2) | |
| 2.6.1 :001 > user1 = User.create(name: "William T. Riker", street_address: "745 Maple lane", zipcode: "22302", isAdmin: false) | |
| (3.7ms) BEGIN | |
| User Create (14.3ms) INSERT INTO "users" ("name", "street_address", "zipcode", "isAdmin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "William T. Riker"], ["street_address", "745 Maple lane"], ["zipcode", "22302"], ["isAdmin", false], ["created_at", "2020-07-08 19:57:00.031328"], ["updated_at", "2020-07-08 19:57:00.031328"]] | |
| (32.0ms) COMMIT | |
| => #<User id: 1, n |
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
| -- | |
| -- PostgreSQL database dump | |
| -- | |
| -- Dumped from database version 11.6 (Ubuntu 11.6-1.pgdg19.04+1) | |
| -- Dumped by pg_dump version 12.1 (Ubuntu 12.1-1.pgdg19.04+1) | |
| -- Started on 2020-01-23 11:08:59 EST | |
| SET statement_timeout = 0; |
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
| -- | |
| -- PostgreSQL database dump | |
| -- | |
| -- Dumped from database version 11.6 (Ubuntu 11.6-1.pgdg19.04+1) | |
| -- Dumped by pg_dump version 12.1 (Ubuntu 12.1-1.pgdg19.04+1) | |
| -- Started on 2020-01-23 11:03:53 EST | |
| SET statement_timeout = 0; |
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 React from 'react'; | |
| import List from "./List"; | |
| import Search from "./Search"; | |
| class SearchableList extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| query: '', |
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
| -- phpMyAdmin SQL Dump | |
| -- version 4.8.3 | |
| -- https://www.phpmyadmin.net/ | |
| -- | |
| -- Host: localhost:3306 | |
| -- Generation Time: Jan 24, 2019 at 08:34 PM | |
| -- Server version: 5.7.23 | |
| -- PHP Version: 7.2.8 | |
| SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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 | |
| try { | |
| require_once 'includes/pdo_connect.php'; | |
| $prelim = | |
| "INSERT INTO prelim_guest_Info | |
| (first_name, last_name, email, phone_number) | |
| VALUES (:first_name, :last_name, :email, :phone_number)"; | |
| $stmt_prelim = $db->prepare($prelim); | |
| $stmt_prelim->bindParam(':first_name', $_POST["first_name"]); | |
| $stmt_prelim->bindParam(':last_name', $_POST["last_name"]); |
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
| -- phpMyAdmin SQL Dump | |
| -- version 4.8.3 | |
| -- https://www.phpmyadmin.net/ | |
| -- | |
| -- Host: localhost:3306 | |
| -- Generation Time: Dec 18, 2018 at 01:48 AM | |
| -- Server version: 5.7.23 | |
| -- PHP Version: 7.2.8 | |
| SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
A Pen by Stephen Peters on CodePen.
A Pen by Stephen Peters on CodePen.