.
├── bin
│ ├── www
│ └── deploy.sh
├── config
│ ├── env
│ ├── index.js
│ └── passport.js
├── controllers
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
Resources: | |
MyEC2Instance: | |
Type: AWS::EC2::Instance | |
Properties: | |
AvailabilityZone: us-east-1a | |
ImageId: ami-068663a3c619dd892 # Ubuntu Server 20.04 LTS | |
InstanceType: t2.micro | |
KeyName: my-test-key # Existing key pair | |
SecurityGroups: | |
- !Ref MyEC2SecurityGroup |
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
<?php | |
add_action( 'init', 'codex_book_init' ); | |
function codex_book_init() { | |
$labels = array( | |
'name' => _x( 'Books', 'post type general name', 'your-plugin-textdomain' ), | |
'singular_name' => _x( 'Book', 'post type singular name', 'your-plugin-textdomain' ), | |
'menu_name' => _x( 'Books', 'admin menu', 'your-plugin-textdomain' ), | |
'name_admin_bar' => _x( 'Book', 'add new on admin bar', 'your-plugin-textdomain' ), |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbHyitKvdYvS+sSKrprTbjasadLMPRfgsdibJBV1/fhXXx78b15eK/8MJY+PnjzwcFNRJ6lacCERPun1o7RqzSEbi+YVTs5tn0GnhsKETKq0UqJYEHawNX3jhx+FZXEn1/CdK7U4okPCFI4JthvUIyuu4PyJZ/rSfrUVz8X1gVY05SMgRM8Gfznjt6ntXEESxNp7GZ5OCP+YN/0cbZE6lQoOb1LskLXfxWAVFL6OdICSMK2IsqZYR8T5CShK7pLs0JkqQitSO4IS7Zjh/PnioD2z9ntjD/m1GSW6/9M0P6QoHy+nJnMNDv/xE3Eh+mWpNnkjZY4a//8RKzvxyI8xO5 [email protected] |
sudo rm /usr/bin/php
sudo ln -s /usr/bin/php5.6 /usr/bin/php
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 app = require('express')(); | |
var http = require('http').Server(app); | |
var io = require('socket.io')(http); | |
var port = process.env.PORT || 3000; | |
app.get('/', function(req, res){ | |
res.sendFile(__dirname + '/index.html'); | |
}); | |
app.get('/chat', function(req, res){ |
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
<script> | |
export default { | |
props: ['label', 'url', 'fields', 'columns'], | |
data() { | |
return { | |
defaultForm: {}, | |
form: { | |
editMode: false | |
}, | |
errors: [], |
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
<?php | |
namespace App\Http\Controllers\Auth; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Foundation\Auth\AuthenticatesUsers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
class LoginController extends Controller |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Vue.js Simple Example</title> | |
</head> | |
<style> | |
body { | |
font : 100% Helvetica, sans-serif; | |
color: #ecf0f1; |
NewerOlder