Skip to content

Instantly share code, notes, and snippets.

Avatar
✔️
Available

Samir Mammadhasanov samirmhsnv

✔️
Available
View GitHub Profile
@samirmhsnv
samirmhsnv / RouteServiceProvider.php
Last active Jun 26, 2022
Laravel Routing withController only - Using PHP 8 Attributes on Laravel Routing
View RouteServiceProvider.php
<?php
namespace App\Providers;
use App\Attributes\Route as RouteAttribute;
class RouteServiceProvider extends ServiceProvider
{
// ...
View romb.java
public class Main {
public static void main(String[] args) {
romb(10);
}
private static void romb (int k){
for (int i = 0; i < k; i++){
print_star(k, i);
}