Skip to content

Instantly share code, notes, and snippets.

View KeitelDOG's full-sized avatar

Keitel Jovin KeitelDOG

View GitHub Profile
@AlexMcowkin
AlexMcowkin / CommondataController.php
Created January 15, 2018 14:55
laravel 5.5: yajrabox datatables add html code
<?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Model\Commondata;
use Illuminate\Http\Request;
use App\Http\Requests\CommondataRequest;
class CommondataController extends Controller
@ywwwtseng
ywwwtseng / host-react-app-on-apache-server.md
Last active March 8, 2024 12:16
Host react application on Apache server

Host react application on Apache server

Step 1 : Create your app

$ npm install -g create-react-app 
$ create-react-app my-app

Step 2 : Build it for production

@chadclark
chadclark / Robots Environment .htaccess
Last active October 17, 2022 11:48
Robots.txt for Staging and Production. By adding these rewrite rules to your .htaccess file, robots_dev.txt will be served as robots.txt on any non-production server.
RewriteEngine On
# Robots.txt for Staging and Production -- change productiondomain.com to the actual url of your production site
RewriteCond %{HTTP_HOST} !productiondomain.com$ [NC]
RewriteRule ^robots.txt robots_dev.txt [L]