Skip to content

Instantly share code, notes, and snippets.

View rommelporras's full-sized avatar
🎯
Focusing

Rommel Porras rommelporras

🎯
Focusing
View GitHub Profile

Error

$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
Temporary failure in name rerolution

$ host google.com
;; connection timed out; no servers could be reached
@rommelporras
rommelporras / software-devops-engineer-ubuntu-localhost-setup.md
Last active December 6, 2021 09:28
Web Developer / DevOps - Ubuntu Local Machine Setup

#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!

I hope it helps you too!

fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup

@rommelporras
rommelporras / pagination-bulma.blade.php
Created May 28, 2017 13:41
Bulma pagination for Laravel - Laravel Bulma Pagination
@if ($paginator->hasPages())
<nav class="pagination is-centered">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<a class="pagination-previous" disabled>Previous</a>
@else
<a href="{{ $paginator->previousPageUrl() }}" class="pagination-previous" rel="prev">Previous</a>
@endif
{{-- Pagination Elements --}}