Skip to content

Instantly share code, notes, and snippets.

View bksubramanyarao's full-sized avatar
💎
Looking for freelance projects

Subramanya Rao bksubramanyarao

💎
Looking for freelance projects
View GitHub Profile
@lukaszflorczak
lukaszflorczak / your-domain.com
Created August 11, 2018 22:45
Nginx configuration for Nuxt.js
server {
listen 80;
listen [::]:80;
index index.html;
server_name your-domain.com;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
@iturgeon
iturgeon / README.md
Last active October 30, 2023 14:06
How to run phpMyAdmin using the built in php webserver

Running phpMyAdmin localy on the built in php server

  1. make sure you have php 5.3+: run php -v
  2. Download phpmyadmin (github or main website)
  3. In the root directory, copy config.sample.inc.php > config.inc.php
  4. Edit config.inc.php, set $cfg['Servers'][$i]['host'] to the ip address of your mysql server (probably localhost or 127.0.0.1)
  5. In the root phpmyadmin directory run php -S localhost:8080
  6. open in your browser: http://localhost:8080
  7. log in by entering some valid credentials (a user you added or the root user)
@odan
odan / xampp_php7_xdebug.md
Last active March 7, 2024 21:27
Installing Xdebug for XAMPP
@SalvadorP
SalvadorP / l51_artisan_tinker_user_creation.sh
Last active November 19, 2020 17:11
Laravel 5.1 how to create a user using artisan tinker and the standard user model
php artisan tinker
$user = new App\User;
$user->name="Admin";
$user->email="admin@localhost.com";
$user->password=bcrypt('1234');
$user->save();