Based on:
Updated: 2017-06-26
Based on:
Updated: 2017-06-26
# reference: http://stackoverflow.com/questions/31230133/how-to-make-a-raspberry-pi-2-laravel-5-1-server | |
apt-get install mysql-server mysql-client apache2 php5 php5-cli libapache2-mod-php5 php5-mysql php5-curl php5-gd php-pear php5-imagick php5-mcrypt php5-memcache php5-mhash php5-sqlite php5-xmlrpc php5-xsl php5-json php5-dev libpcre3-dev | |
sudo curl -sS https://getcomposer.org/installer | sudo php5 | |
# create project | |
#composer.phar create-project laravel/laravel --prefer-dist projectName | |
#sudo chown -R www-data:www-data /var/www/ | |
#sudo chmod -R 775 projectName |
#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.
Run the following commands in sequence.
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
if [ "$(whoami)" != "root" ]; then | |
echo "root required!" | |
exit | |
fi | |
apt-get update | |
apt-get upgrade | |
apt-get dist-upgrade |
APP_ENV=testing | |
APP_KEY=SomeRandomString | |
DB_CONNECTION=testing | |
DB_TEST_USERNAME=root | |
DB_TEST_PASSWORD= | |
CACHE_DRIVER=array | |
SESSION_DRIVER=array | |
QUEUE_DRIVER=sync |
opendb () { | |
[ ! -f .env ] && { echo "No .env file found."; exit 1; } | |
DB_CONNECTION=$(grep DB_CONNECTION .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
DB_HOST=$(grep DB_HOST .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
DB_PORT=$(grep DB_PORT .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
DB_DATABASE=$(grep DB_DATABASE .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
DB_USERNAME=$(grep DB_USERNAME .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
DB_PASSWORD=$(grep DB_PASSWORD .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) |
// | |
// API.swift | |
// | |
// Created by AppleBetas on 2017-01-15. | |
// Copyright © 2017 AppleBetas. All rights reserved. | |
// | |
import Foundation | |
class API { |
diff --git a/node_modules/@remix-run/dev/compiler.js b/node_modules/@remix-run/dev/compiler.js | |
index 22c5ac0..d898697 100644 | |
--- a/node_modules/@remix-run/dev/compiler.js | |
+++ b/node_modules/@remix-run/dev/compiler.js | |
@@ -21,6 +21,8 @@ var chokidar = require('chokidar'); | |
var build$1 = require('./build.js'); | |
var config = require('./config.js'); | |
var invariant = require('./invariant.js'); | |
+var NodeGlobalsPolyfillPlugin = require('@esbuild-plugins/node-globals-polyfill').NodeGlobalsPolyfillPlugin; | |
+var NodeModulesPolyfillPlugin = require('@esbuild-plugins/node-modules-polyfill').NodeModulesPolyfillPlugin; |
# lilygo_t_display_rp2040_demo.py - show how to use LILYGO T display RP2040 board | |
# 23 Jun 2022 - @todbot / Tod Kurt | |
# https://github.com/Xinyuan-LilyGO/LILYGO-T-display-RP2040 | |
# https://github.com/adafruit/circuitpython/pull/6037 | |
# Install standard Raspberry Pi Pico UF2 firmware on the board | |
import time, random | |
import board | |
import busio, digitalio | |
import displayio |