Skip to content

Instantly share code, notes, and snippets.

@georgewritescode
georgewritescode / gist:b4435d9da14d61269093a2fe14088e57
Created September 15, 2024 23:09
groq step by step resoning test
import groq
import json
import time
import os
import dotenv
dotenv.load_dotenv()
client = groq.Groq(api_key=os.environ["GROQ_API_KEY"])
@georgewritescode
georgewritescode / LastSeen.php
Created January 27, 2018 03:06
database lastseen
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redis;
class LastSeen
{
@georgewritescode
georgewritescode / LastSeen.php
Created January 27, 2018 02:41
redis lastseen
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redis;
class LastSeen
{
@georgewritescode
georgewritescode / Deploying-a-Laravel-5.X-Web-App.md
Created September 6, 2017 03:21
Deploying a Laravel 5.5 Web App on Ubuntu

Deploying a Laravel 5.5 Web App

The Right Way with SSL, Server Updates, a Firewall and More

You don’t need a team of Dev-Op professionals to deploy and maintain your Web App!

This guide aims to: