Skip to content

Instantly share code, notes, and snippets.

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

Claudson Martins claudsonm

🏠
Working from home
View GitHub Profile
@claudsonm
claudsonm / Dockerfile
Created July 29, 2022 11:45
Docker image with PHP and Composer
FROM php:7.4-cli
RUN apt-get update && apt-get install -y \
curl \
build-essential \
git \
zip \
unzip \
libzip-dev \
libpng-dev \
@claudsonm
claudsonm / .hyper.js
Created October 8, 2021 12:18
Hyper Terminal settings https://hyper.is/
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs

Keybase proof

I hereby claim:

  • I am claudsonm on github.
  • I am claudsonm (https://keybase.io/claudsonm) on keybase.
  • I have a public key ASB2tUuhvQELEMfi_ZDOlqrFah_Mg8BLxlEOamLIwtRu7go

To claim this, I am signing this object:

@claudsonm
claudsonm / alpinejs-global-modal.php
Created July 25, 2020 17:51
Global confirmation modal with AlpineJS and PHP
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cool Modal</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
</head>
@claudsonm
claudsonm / forge_recipes.sh
Last active April 22, 2020 00:35
Forge Recipes Scripts
# Disable Services (run as root)
sudo systemctl stop beanstalkd
sudo systemctl disable beanstalkd
sudo systemctl stop memcached
sudo systemctl disable memcached
sudo systemctl stop redis-server
sudo systemctl disable redis-server
@claudsonm
claudsonm / eclipse-preferences-selected.epf
Last active August 27, 2017 18:30
Eclipse preferences including only Appearance, Code Style and Key configurations
#Sun Aug 27 15:21:54 BRT 2017
\!/=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentSuffixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldSuffixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localSuffixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=