Skip to content

Instantly share code, notes, and snippets.

View lambirou's full-sized avatar
🏠
Working from home

Roland Edi lambirou

🏠
Working from home
View GitHub Profile
## Hello World, I'm <a href="https://lambirou.github.io/">Roland Edi</a> ! 👋
Web / Mobile developer, Web designer.
<a href="https://www.twitter.com/lambirou225">
<img align="left" alt="Roland Edi Twitter" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/twitter.svg" />
</a>
<a href="https://www.linkedin.com/in/rolandedi">
<img align="left" alt="Roland Edi Linkdein" width="22px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/linkedin.svg" />
@lambirou
lambirou / MobileDetect.php
Created March 15, 2023 12:03
store redirect
<?php
namespace App\Providers;
/**
* Mobile Detect Library
* Motto: "Every business should have a mobile detection script to detect mobile readers"
*
* Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets).
* It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
li.menu-item-object-product_cat {
position: relative;
}
li.menu-item-object-product_cat:before {
position: absolute;
margin-top: 21px;
left: 5px;
content: "";
width: 8px;
<?php
use Illuminate\Container\Container;
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\ConnectionResolverInterface;
use Illuminate\Database\Migrations\DatabaseMigrationRepository;
use Illuminate\Database\Migrations\MigrationRepositoryInterface;
use Illuminate\Database\Migrations\Migrator;
use Illuminate\Events\Dispatcher;
@lambirou
lambirou / main.yml
Created April 25, 2021 13:48
Deploy to SSH
name: 🚀 Deploy on push
on:
push:
branches: [ master ]
jobs:
build:
@lambirou
lambirou / package.json
Created October 21, 2020 11:59 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@lambirou
lambirou / .htaccess
Created August 11, 2020 18:21 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/