Skip to content

Instantly share code, notes, and snippets.

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

Ezeanyim Henry (Oracus) ezeanyimhenry

🏠
Working from home
View GitHub Profile
@ezeanyimhenry
ezeanyimhenry / .htaccess
Created September 3, 2024 07:01
workflow sample to deploy laravel/react app to cpanel using FTP account
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
<Files .env>
Order allow,deny
Deny from all
</Files>
<Files config>
Order Deny,Allow
@ezeanyimhenry
ezeanyimhenry / main.dart
Last active October 27, 2022 20:22
fascinating-rose-0694
import 'dart:math';
class Circle {
double radius;
String color;
Circle() : radius=1, color="red";
Circle.onlyRadius(this.radius) : color="red";
Circle.both(this.radius, this.color);