Skip to content

Instantly share code, notes, and snippets.

View kevineduardo's full-sized avatar
:octocat:
Unplugged from the internet

Kevin Eduardo kevineduardo

:octocat:
Unplugged from the internet
  • Portugal
  • 05:35 (UTC +01:00)
View GitHub Profile
@kevineduardo
kevineduardo / tailwindcss.blade.php
Created January 28, 2022 11:52 — forked from mazedlx/tailwindcss.blade.php
Tailwind CSS template for Laravel pagination
@if ($paginator->hasPages())
<div class="flex items-center">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<span class="rounded-l rounded-sm border border-brand-light px-3 py-2 cursor-not-allowed no-underline">&laquo;</span>
@else
<a
class="rounded-l rounded-sm border-t border-b border-l border-brand-light px-3 py-2 text-brand-dark hover:bg-brand-light no-underline"
href="{{ $paginator->previousPageUrl() }}"
rel="prev"
@kevineduardo
kevineduardo / openssh-lpk.schema.ldif
Created May 25, 2020 18:02 — forked from moriyoshi/openssh-lpk.schema.ldif
Add SSH LDAP Public Key schema to Active Directory
dn: CN=sshPublicKey,CN=Schema,CN=Configuration,DC=testing,DC=example,DC=com
changetype: add
cn: sshPublicKey
name: sshPublicKey
lDAPDisplayName: sshPublicKey
adminDisplayName: sshPublicKey
objectClass: attributeSchema
attributeID: 1.3.6.1.4.1.24552.500.1.1.1.13
attributeSyntax: 2.5.5.10
schemaIDGUID:: +jduGq6aTj+LLL7JZhfWpw==
@kevineduardo
kevineduardo / Laravel on VestaCP.md
Created November 7, 2017 14:49 — forked from peterbrinck/Laravel on VestaCP.md
Laravel web templates for VestaCP

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html